:root {
  --bg: #090b12;
  --panel: rgba(255,255,255,.075);
  --panel-strong: rgba(255,255,255,.12);
  --text: #f6f2e9;
  --muted: #a7afbf;
  --line: rgba(255,255,255,.14);
  --gold: #f6c96f;
  --mint: #72f5c8;
  --blue: #6d8dff;
  --danger: #ff6f91;
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans SC', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(114,245,200,.16), transparent 32rem),
    radial-gradient(circle at 85% 10%, rgba(109,141,255,.22), transparent 34rem),
    linear-gradient(180deg, #080911, #0f111b 46%, #070810);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000, transparent 90%);
}

.cursor-light {
  position: fixed;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(246,201,111,.16), transparent 65%);
  transform: translate(-50%, -50%);
  z-index: 1;
}

.topbar {
  width: min(var(--max), calc(100% - 40px));
  position: sticky;
  top: 18px;
  z-index: 20;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 11, 18, .74);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .04em; }
.brand-seal {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #101112;
  background: linear-gradient(135deg, var(--gold), var(--mint));
  font-weight: 900;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 10px 14px; color: var(--muted); font-size: 14px; border-radius: 999px; transition: .25s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.08); }
.nav-links .nav-cta { color: #0d1117; background: var(--text); font-weight: 800; }
.nav-toggle { display: none; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; }

main, footer { position: relative; z-index: 2; }
.hero {
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 98px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: center;
  padding: 74px 0 52px;
}

.eyebrow, .section-code {
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: .98;
  letter-spacing: -.07em;
}
.hero h1 span { color: var(--gold); }
.lead { max-width: 670px; color: #c7cfdb; font-size: 19px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.primary-btn, .ghost-btn, .inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 52px;
  padding: 0 24px;
  font-weight: 900;
  transition: .25s ease;
}
.primary-btn { color: #080911; background: linear-gradient(135deg, var(--gold), var(--mint)); box-shadow: 0 18px 44px rgba(246,201,111,.22); }
.ghost-btn { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.04); }
.primary-btn:hover, .ghost-btn:hover { transform: translateY(-3px); }

.hero-board {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.045));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 40px 120px rgba(0,0,0,.34);
  transform: rotate(1.5deg);
}
.board-head { display: flex; align-items: center; gap: 12px; padding: 12px; color: var(--muted); }
.board-head b { color: var(--text); margin-right: auto; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 8px rgba(114,245,200,.12); }
.board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.board-grid article {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.12)),
    radial-gradient(circle at top right, rgba(246,201,111,.28), transparent 16rem);
  border: 1px solid var(--line);
}
.board-grid article:nth-child(2) { background: radial-gradient(circle at top left, rgba(109,141,255,.32), transparent 16rem), rgba(255,255,255,.07); }
.board-grid span, .card-index { color: var(--gold); font-weight: 900; letter-spacing: .14em; }
.board-grid h3 { margin: 12px 0 8px; font-size: 26px; }
.board-grid p { margin: 0; color: var(--muted); }
.metrics-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.metrics-strip div { padding: 18px; border-radius: 22px; background: rgba(0,0,0,.24); border: 1px solid var(--line); }
.metrics-strip strong { display: block; font-size: 24px; }
.metrics-strip em { display: block; margin-top: 4px; color: var(--muted); font-style: normal; font-size: 13px; }

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255,255,255,.04); }
.ticker div { display: flex; width: max-content; animation: ticker 26s linear infinite; }
.ticker span { padding: 18px 44px; color: var(--gold); font-weight: 800; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

.split-section, .growth, .process, .webbuild, .quote-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 100px 0;
}
.split-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
.section-sticky { position: sticky; top: 120px; }
.section-sticky h2, .section-title h2, .growth-header h2, .web-card h2, .quote-card h2 { margin: 12px 0 16px; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -.05em; }
.section-sticky p, .growth-header p, .web-card p, .quote-card p { color: var(--muted); line-height: 1.9; }
.inline-link { margin-top: 18px; color: var(--gold); border: 1px solid rgba(246,201,111,.35); min-height: 46px; }

.listing-cards { display: grid; gap: 22px; }
.large-card {
  padding: 34px;
  min-height: 360px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.045));
  position: relative;
  overflow: hidden;
}
.large-card::before {
  content: '';
  position: absolute;
  inset: auto -30px -80px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114,245,200,.22), transparent 65%);
}
.large-card:nth-child(2)::before { background: radial-gradient(circle, rgba(109,141,255,.24), transparent 65%); }
.large-card h3 { font-size: 34px; margin: 26px 0 14px; }
.large-card p { color: #c7cfdb; line-height: 1.85; }
.large-card ul { padding: 0; margin: 24px 0 0; list-style: none; display: grid; gap: 12px; }
.large-card li { color: var(--muted); padding-left: 22px; position: relative; }
.large-card li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }

.section-title { max-width: 780px; margin-bottom: 34px; }
.process-track { display: grid; grid-template-columns: repeat(6, minmax(210px, 1fr)); gap: 16px; overflow-x: auto; padding-bottom: 10px; }
.process-track article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.07);
}
.process-track span { color: var(--gold); font-weight: 900; }
.process-track b { display: block; margin: 34px 0 12px; font-size: 19px; }
.process-track p { color: var(--muted); line-height: 1.7; margin: 0; }

.growth-header { max-width: 740px; }
.service-masonry { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 18px; }
.service-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.07);
  overflow: hidden;
}
.service-card.tall { grid-row: span 2; }
.service-card.wide { grid-column: span 2; }
.service-card span { color: var(--mint); font-size: 13px; font-weight: 900; }
.service-card h3 { margin: 16px 0 10px; font-size: 25px; }
.service-card p { color: var(--muted); line-height: 1.75; margin: 0; }

.web-card {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 34px;
  align-items: center;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(246,201,111,.12), rgba(114,245,200,.05));
}
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag-row span { border: 1px solid var(--line); color: var(--text); padding: 9px 13px; border-radius: 999px; background: rgba(255,255,255,.06); }
.mock-phone { width: 220px; margin: 0 auto; padding: 14px; border-radius: 34px; background: #151825; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,.36); }
.phone-top { width: 72px; height: 7px; margin: 0 auto 12px; border-radius: 99px; background: rgba(255,255,255,.24); }
.phone-screen { min-height: 380px; border-radius: 24px; padding: 18px; background: linear-gradient(180deg, rgba(114,245,200,.18), rgba(255,255,255,.05)); display: grid; gap: 14px; align-content: start; }
.phone-screen span { display: block; height: 64px; border-radius: 18px; background: rgba(255,255,255,.14); }
.phone-screen span:first-child { height: 130px; background: linear-gradient(135deg, var(--gold), rgba(255,255,255,.12)); }

.quote-card { text-align: center; padding: 72px 34px; border-radius: 42px; border: 1px solid var(--line); background: radial-gradient(circle at top, rgba(109,141,255,.18), transparent 30rem), rgba(255,255,255,.07); }
.quote-card p { max-width: 760px; margin: 0 auto 28px; }

.footer { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 34px 0 50px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }
.footer b { color: var(--text); font-size: 20px; }
.footer a { color: var(--gold); font-weight: 900; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; top: 64px; left: 0; right: 0; padding: 12px; display: none; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 24px; background: rgba(9,11,18,.96); }
  .nav-links.open { display: flex; }
  .hero, .split-section, .web-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 54px; }
  .hero-board { transform: none; }
  .section-sticky { position: static; }
  .service-masonry { grid-template-columns: 1fr 1fr; }
  .service-card.tall, .service-card.wide { grid-row: span 1; grid-column: span 1; }
}

@media (max-width: 620px) {
  .topbar, .hero, .split-section, .growth, .process, .webbuild, .quote-section, .footer { width: min(100% - 24px, var(--max)); }
  .topbar { top: 10px; margin-top: 10px; }
  .brand span:last-child { display: none; }
  .hero h1 { font-size: 44px; }
  .lead { font-size: 16px; }
  .board-grid, .metrics-strip, .service-masonry { grid-template-columns: 1fr; }
  .board-grid article { min-height: 190px; }
  .large-card, .web-card { padding: 24px; }
  .process-track { grid-template-columns: 1fr; overflow: visible; }
  .mock-phone { width: 100%; max-width: 240px; }
  .footer { flex-direction: column; }
}

/* Brand logo */
.brand { min-width: 158px; }
.brand-logo { display: block; width: 164px; height: auto; }
.hero-logo { width: 214px; max-width: 70%; display: block; margin-bottom: 18px; filter: drop-shadow(0 18px 34px rgba(114,245,200,.16)); }
.footer-brand img { width: 170px; height: auto; display: block; margin-bottom: 10px; }
.footer-brand p { margin: 0; }
@media (max-width: 620px) {
  .brand { min-width: auto; }
  .brand-logo { width: 48px; content: url('assets/logo-mark.svg'); }
  .hero-logo { width: 176px; max-width: 82%; }
  .footer-brand img { width: 150px; }
}
