:root {
  --bg: #07060a;
  --ink: #f6f1e7;
  --muted: rgba(246, 241, 231, 0.66);
  --line: rgba(246, 241, 231, 0.12);
  --glass: rgba(18, 15, 12, 0.48);
  --glass-strong: rgba(14, 12, 10, 0.72);
  --gold: #e6c56f;
  --gold-2: #b98a3e;
  --gold-grad: linear-gradient(100deg, #8f6430 0%, #c9a45c 30%, #ecdf93 50%, #c9a45c 70%, #8f6430 100%);
  --radius: 22px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); letter-spacing: 0; }
::selection { background: var(--gold); color: #000; }

/* ---------- Stage ---------- */
.stage-bg {
  position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(120% 80% at 70% 10%, #3a2610 0%, rgba(58, 38, 16, 0) 55%),
    radial-gradient(90% 70% at 10% 100%, #2a1c0c 0%, rgba(42, 28, 12, 0) 60%),
    linear-gradient(180deg, #050405 0%, #0f0b07 50%, #1a130b 100%);
}
#stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-1%,3%)} 100%{transform:translate(0,0)} }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: #050405;
  display: grid; place-content: center; justify-items: center; gap: 18px;
  transition: opacity .8s ease, visibility .8s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-logo { width: 72px; height: 72px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(230,197,111,.45)); } }
.loader-bar { width: 160px; height: 1px; background: rgba(255,255,255,.12); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s ease; }
.loader-pct { font-size: 11px; letter-spacing: .2em; color: var(--muted); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 40px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.brand em { color: var(--ink); }
.nav-pill {
  display: flex; align-items: center; gap: 4px; padding: 6px;
  background: var(--glass); border: 1px solid var(--line); border-radius: 18px;
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.nav-pill > a:not(.btn) { padding: 9px 14px; font-size: 14px; color: var(--muted); border-radius: 12px; transition: color .2s, background .2s; }
.nav-pill > a:not(.btn):hover { color: var(--ink); background: rgba(255,255,255,.06); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(14px); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .3s, top .3s; }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: rgba(5,4,5,.92); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 28px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a { font-size: 34px; font-weight: 700; letter-spacing: -.02em; padding: 6px 0; border-bottom: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 8px 0 20px; border-radius: 14px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .25s ease, background .25s, box-shadow .25s;
}
.btn:not(:has(.arrow)) { padding: 0 22px; }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--ink); color: #0b0906; }
.btn-dark { background: #0b0906; color: var(--ink); height: 42px; }
.btn-glass { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: var(--ink); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.14); }
.btn-gold { background: var(--gold-grad); background-size: 200% 100%; color: #120d05; box-shadow: 0 10px 30px -10px rgba(230,197,111,.6); }
.btn-gold:hover { background-position: 100% 0; box-shadow: 0 14px 40px -10px rgba(230,197,111,.8); }
.btn.full { width: 100%; }
.arrow {
  width: 28px; height: 28px; border-radius: 50%; background: #0b0906; position: relative; flex: none;
}
.arrow::after {
  content: ""; position: absolute; left: 10px; top: 10px; width: 6px; height: 6px;
  border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg);
}
.btn-dark .arrow, .arrow.light { background: var(--ink); }
.btn-dark .arrow::after, .arrow.light::after { border-color: #0b0906; }
.btn-gold .arrow { background: #120d05; }

/* ---------- Layout ---------- */
.wrap { width: min(1160px, 100% - 2 * clamp(16px, 4vw, 40px)); margin: 0 auto; }
.section { padding: clamp(90px, 14vh, 160px) 0; position: relative; }
.center { text-align: center; }
h1 { font-size: clamp(46px, 8vw, 104px); line-height: .98; letter-spacing: -.04em; font-weight: 700; }
h2 { font-size: clamp(34px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; margin-bottom: 22px; }
h2.huge { font-size: clamp(44px, 8vw, 110px); }
h3 { font-size: 20px; letter-spacing: -.01em; font-weight: 700; margin-bottom: 8px; }
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 600; }
.muted { color: var(--muted); }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 470px; margin: 22px 0 30px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.glass-card {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%);
  padding: 28px;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
}

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: flex-end; padding: 120px 0 clamp(60px, 12vh, 120px); position: relative; }
.trust { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.dots { display: flex; }
.dots i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #0b0906; margin-left: -8px; }
.dots i:first-child { margin-left: 0; }
.dots i:nth-child(1) { background: #8f6430; } .dots i:nth-child(2) { background: #c9a45c; }
.dots i:nth-child(3) { background: #ecdf93; } .dots i:nth-child(4) { background: #f6f1e7; }
.scroll-hint {
  position: absolute; right: clamp(16px, 4vw, 40px); bottom: 60px; writing-mode: vertical-rl;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.scroll-hint::after { content: ""; display: block; width: 1px; height: 60px; margin: 12px auto 0; background: linear-gradient(var(--gold), transparent); animation: drip 2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Studio dash ---------- */
.glass-card.big { padding: clamp(22px, 4vw, 44px); }
.split-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; margin-bottom: 34px; }
.split-head > p { padding-top: 34px; }
.dash { display: grid; grid-template-columns: 180px 1fr; background: rgba(5,4,3,.65); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.dash-side { padding: 18px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.dash-side strong { font-size: 13px; padding: 4px 10px 12px; }
.tab { text-align: left; background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; padding: 9px 10px; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s; }
.tab:hover { color: var(--ink); }
.tab.active { background: rgba(230,197,111,.12); color: var(--gold); }
.dash-main { padding: 20px 22px; min-width: 0; }
.dash-top { display: flex; justify-content: space-between; align-items: flex-start; }
.dash-top small { font-size: 11px; color: var(--muted); }
.metric { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.metric b { font-size: 12px; color: #9ee6a7; font-weight: 600; }
.range { display: flex; gap: 4px; }
.range button { background: none; border: 0; color: var(--muted); font: inherit; font-size: 12px; padding: 5px 9px; border-radius: 8px; cursor: pointer; }
.range button.active { background: var(--ink); color: #0b0906; }
.chart { width: 100%; height: 150px; margin: 14px 0 8px; }
.chart path { transition: d .8s cubic-bezier(.2,.8,.2,1); }
.dash-rows { list-style: none; }
.dash-rows li { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- Logos ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.logo-grid div { padding: 32px 12px; text-align: center; font-weight: 700; font-size: 19px; color: rgba(246,241,231,.82); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: color .3s, background .3s; }
.logo-grid div:nth-child(4n) { border-right: 0; }
.logo-grid div:nth-last-child(-n+4) { border-bottom: 0; }
.logo-grid div:hover { color: var(--gold); background: rgba(230,197,111,.05); }
.logo-grid .serif { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 23px; }
.logo-grid .caps { letter-spacing: .24em; font-weight: 500; font-size: 14px; padding-top: 36px; }

/* ---------- Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(230,197,111,.12); border: 1px solid rgba(230,197,111,.28); margin-bottom: 40px; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cards-4 .glass-card { min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; }

/* ---------- Numbered features ---------- */
.feature { min-height: 90vh; display: flex; align-items: center; }
.feature-card { max-width: 500px; position: relative; padding: clamp(26px, 4vw, 44px); }
.feature.right .feature-card { margin-left: auto; }
.feature-card h2 { font-size: clamp(30px, 4vw, 48px); }
.feature-card p.muted { margin-bottom: 26px; }
.num { position: absolute; top: 22px; right: 28px; font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.stats div { padding: 26px 10px; border-top: 1px solid rgba(230,197,111,.4); }
.stats strong { display: block; font-size: clamp(40px, 5vw, 64px); letter-spacing: -.04em; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: 14px; display: block; margin-top: 10px; }

/* ---------- Quotes ---------- */
.quote blockquote { font-family: var(--serif); font-size: 24px; line-height: 1.3; margin-bottom: 30px; }
.quote figcaption { display: flex; flex-direction: column; font-size: 14px; }
.quote figcaption span { color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing .glass-card { display: flex; flex-direction: column; position: relative; }
.price { font-size: 46px; font-weight: 800; letter-spacing: -.04em; margin: 22px 0 18px; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pricing ul { list-style: none; margin-bottom: 28px; flex: 1; }
.pricing li { padding: 10px 0 10px 26px; border-top: 1px solid var(--line); font-size: 14px; position: relative; }
.pricing li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 5px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.featured { border-color: rgba(230,197,111,.5); background: linear-gradient(180deg, rgba(230,197,111,.12), rgba(18,15,12,.6)); }
.tag { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: var(--gold-grad); color: #120d05; }

/* ---------- Contact ---------- */
.final { min-height: 100vh; display: flex; align-items: center; }
.contact { max-width: 620px; margin: 40px auto 0; text-align: left; display: grid; gap: 14px; }
.contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact label span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; letter-spacing: .04em; }
.contact input, .contact textarea {
  width: 100%; font: inherit; color: var(--ink); background: rgba(0,0,0,.35);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; resize: vertical; transition: border-color .2s;
}
.contact input:focus, .contact textarea:focus { outline: none; border-color: var(--gold); }
.form-note { font-size: 14px; color: var(--gold); min-height: 1em; text-align: center; }

/* ---------- Footer ---------- */
.footer { padding: 30px 0 40px; border-top: 1px solid var(--line); background: rgba(5,4,3,.6); backdrop-filter: blur(10px); }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-pill { display: none; }
  .menu-btn { display: block; }
  .split-head { grid-template-columns: 1fr; gap: 10px; }
  .split-head > p { padding-top: 0; }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid div:nth-child(4n) { border-right: 1px solid var(--line); }
  .logo-grid div:nth-child(2n) { border-right: 0; }
  .logo-grid div:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .logo-grid div:nth-last-child(-n+2) { border-bottom: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; }
  .dash-side strong { display: none; }
  .tab { white-space: nowrap; }
  .dash-rows li { grid-template-columns: 1fr auto; }
  .dash-rows li .muted { display: none; }
  .cards-4 { grid-template-columns: 1fr; }
  .cards-4 .glass-card { min-height: 0; }
  .contact .row { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
  .feature { min-height: 80vh; }
  .num { font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .grain, .loader-logo, .scroll-hint::after { animation: none; }
}

/* Nav backdrop after scrolling */
.nav { transition: background .35s, backdrop-filter .35s; }
.nav.scrolled { background: linear-gradient(180deg, rgba(5,4,3,.85), rgba(5,4,3,0)); }
@media (max-width: 900px) {
  .nav.scrolled { background: rgba(5,4,3,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
  .hero .wrap, .section h2, .pkg-intro { text-shadow: 0 2px 24px rgba(0,0,0,.75); }
}

/* ---------- Round 2 additions ---------- */
[hidden] { display: none !important; }
.pkg-intro { max-width: 560px; margin-top: -6px; }
.tier { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; font-weight: 600; }
.pricing .price { font-size: 30px; }
.stats.words strong { font-size: clamp(30px, 3.4vw, 44px); }
.contact select {
  width: 100%; font: inherit; color: var(--ink); background: rgba(0,0,0,.35);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
.contact select:focus { outline: none; border-color: var(--gold); }
.contact select option { background: #120e09; color: var(--ink); }
.contact-alt { margin-top: 22px; font-size: 15px; }
.contact-alt + .contact-alt { margin-top: 6px; font-size: 14px; }
.contact-alt a { color: var(--gold); border-bottom: 1px solid rgba(230,197,111,.4); word-break: break-all; }
