/* Fivefold AI — dark, technical, premium. One accent: gold. */

@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/SpaceGrotesk-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2192, U+25B8;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/SpaceGrotesk-latin-ext.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF;
}

:root {
  --bg: #0a0a0c;
  --card: #101014;
  --card-2: #131318;
  --line: #232329;
  --text: #ededf0;
  --muted: #9a9aa3;
  --gold: #f5b942;
  --gold-dim: #3d3420;
  --display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --body: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark, .btn, .tile-name, .stat-n, .badge, .kicker {
  font-family: var(--display);
}

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(10, 10, 12, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.mark { width: 30px; height: 30px; color: var(--gold); }
.wordmark { font-weight: 700; letter-spacing: .14em; font-size: 15px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px;
  border: 1px solid var(--gold); border-radius: 8px;
  color: var(--gold); background: transparent;
  text-decoration: none; font-weight: 500; font-size: 16px;
  cursor: pointer; transition: all .2s;
}
.btn-gold:hover { background: var(--gold); color: #14100a; box-shadow: 0 0 32px rgba(245, 185, 66, .25); }
.btn-small { padding: 8px 18px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  min-height: calc(100svh - 60px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 64px 20px;
  background:
    radial-gradient(ellipse 60% 45% at 50% 38%, rgba(245, 185, 66, .07), transparent 70%),
    var(--bg);
}
.hero-mark { width: clamp(84px, 12vw, 128px); height: auto; color: var(--gold); margin-bottom: 40px; }
.spin { animation: spin 60s linear infinite; transform-origin: 50% 50%; transform-box: view-box; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }
.hero h1 {
  font-size: clamp(44px, 8vw, 88px);
  font-weight: 700; line-height: 1.04; letter-spacing: -.02em;
}
.hero-sub {
  margin: 26px 0 40px; max-width: 520px;
  color: var(--muted); font-size: clamp(17px, 2.2vw, 21px);
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) clamp(20px, 6vw, 96px); max-width: 1280px; margin: 0 auto; }
.kicker {
  color: var(--gold); font-size: 13px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px;
}
.kicker-live::before { content: '●'; margin-right: 8px; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.section h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; letter-spacing: -.015em; line-height: 1.1; margin-bottom: 28px; }
.lede { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 620px; }

/* ---------- domain grid ---------- */
.grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; }
.tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 26px 20px 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  color: var(--text); text-align: left; cursor: pointer;
  transition: border-color .2s, transform .2s, background .2s;
}
.tile:hover { border-color: var(--gold-dim); transform: translateY(-3px); background: var(--card-2); }
.tile.active { border-color: var(--gold); }
.tile-num { color: var(--gold); font-size: 13px; letter-spacing: .1em; opacity: .8; }
.tile-name { font-size: clamp(16px, 1.6vw, 21px); font-weight: 700; }
.badge {
  margin-top: 8px; padding: 4px 9px; border-radius: 5px;
  font-size: 10.5px; font-weight: 500; letter-spacing: .12em;
  color: var(--muted); border: 1px solid var(--line);
}
.badge-live { color: #14100a; background: var(--gold); border-color: var(--gold); }

.domain-detail {
  margin-top: 18px; padding: 28px 30px;
  background: var(--card); border: 1px solid var(--gold-dim); border-radius: 12px;
  animation: fadeup .35s ease both;
}
.domain-detail h3 { font-size: 21px; margin-bottom: 8px; color: var(--gold); }
.domain-detail p { color: var(--muted); max-width: 640px; }

/* ---------- showcase ---------- */
.showcase h2 { max-width: 700px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 52px 0; }
.stat {
  padding: 28px 26px; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px;
}
.stat-n { display: block; color: var(--gold); font-size: clamp(34px, 4vw, 46px); font-weight: 700; line-height: 1.1; }
.stat-l { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }

.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 48px; }
.shot { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.shot img { display: block; width: 100%; height: auto; }

/* ---------- beats ---------- */
.beats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.beat { padding: 30px 28px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.beat h3 { font-size: 20px; margin-bottom: 10px; }
.beat p { color: var(--muted); font-size: 15.5px; }

/* ---------- contact ---------- */
.contact form { max-width: 640px; margin-top: 36px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact label { display: block; margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.contact input, .contact select, .contact textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  background: var(--card); color: var(--text);
  border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--body); font-size: 16px;
  transition: border-color .2s;
}
.contact input:focus, .contact select:focus, .contact textarea:focus {
  outline: none; border-color: var(--gold);
}
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.form-status { margin-top: 14px; font-size: 15px; color: var(--muted); min-height: 1.4em; }
.form-status.ok { color: var(--gold); }
.form-status.err { color: #e0655a; }
#send-btn { margin-top: 6px; min-width: 140px; }
#send-btn[disabled] { opacity: .5; cursor: wait; }

/* ---------- footer ---------- */
.footer {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 44px 20px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
}
.footer .mark { width: 22px; height: 22px; opacity: .7; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid5 { grid-template-columns: repeat(2, 1fr); }
  .grid5 .tile:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .grid5, .stats, .beats, .shots, .frow { grid-template-columns: 1fr; }
  .grid5 .tile:last-child { grid-column: auto; }
  .tile { flex-direction: row; align-items: center; }
  .tile .badge { margin-top: 0; margin-left: auto; }
  .tile-num { min-width: 30px; }
}
