:root {
  color-scheme: dark;
  --bg: #10100e;
  --panel: #171613;
  --ink: #f7f1e7;
  --gold: #e7be86;
  --muted: #bdb5a9;
  --line: #3a342b;
  --edge: max(5.5vw, calc((100vw - 1320px) / 2));
  --serif: Georgia, 'Times New Roman', serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 2px solid #cf8d39; outline-offset: 5px; }
.skip { position: fixed; inset: .75rem auto auto .75rem; z-index: 5; padding: .7rem; background: var(--bg); transform: translateY(-200%); }
.skip:focus { transform: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, .product-copy h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.064em; line-height: .99; }
h2 { font-size: clamp(2.8rem, 6.1vw, 6.5rem); }
em { color: var(--gold); font-weight: inherit; }
.eyebrow { color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow + h1, .eyebrow + h2 { margin-top: .8rem; }
h2 + p { margin-top: 1.35rem; }
.bar, footer { padding: 0 var(--edge); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.bar { min-height: 78px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; text-decoration: none; font: 1.4rem/.95 var(--serif); }
.brand small { display: block; margin-top: .35rem; font: 650 .56rem/1 system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.monogram { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #a17f53; color: var(--gold); font-size: 1.6rem; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.75rem); flex-wrap: wrap; }
nav a, .nav-account { font-size: .84rem; text-decoration: none; }
nav a { color: var(--muted); }
nav a:hover, .nav-account:hover { color: var(--gold); }
.nav-account span { color: var(--gold); margin-left: .3rem; }
.hero { min-height: calc(100svh - 78px); display: grid; align-content: center; isolation: isolate; position: relative; overflow: clip; padding: 5rem var(--edge) 7rem; }
.hero-scene { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#100e0ce8,transparent 25%), linear-gradient(90deg,#0c0c0bd6 0%,#0c0c0b92 30%,transparent 75%), url('/gateway.jpg') 62% 55% / cover no-repeat #231a12; transform-origin: 78% 62%; }
.hero-inner { max-width: 57rem; }
.hero .eyebrow { display: flex; align-items: center; gap: .65rem; }
.hero .eyebrow span { width: 1.5rem; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(3.8rem, 8.8vw, 9.4rem); }
.hero-description { max-width: 28rem; margin-top: 1.6rem; color: #e5ddd0; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem 1.6rem; margin-top: 1.8rem; }
.button, .text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; text-decoration: none; font-size: .84rem; font-weight: 700; }
.button { min-height: 48px; padding: .75rem 1.1rem; border: 1px solid #efca94; background: #edc48c; color: #20150b; cursor: pointer; transition: background .2s, transform .2s; }
.button:hover { background: #f9dcb2; transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button.secondary { background: transparent; color: var(--ink); border-color: #8e7151; }
.button.secondary:hover { background: #292016; }
.button:disabled { opacity: .65; cursor: wait; }
.referral-consent { padding: 1rem var(--edge); border-bottom: 1px solid var(--line); }
.referral-consent .button { margin: .25rem .5rem .25rem 0; }
.text-link { gap: .5rem; border-bottom: 1px solid currentColor; padding-block: .25rem; }
.text-link:hover { color: var(--gold); }
.hero-foot { position: absolute; inset: auto var(--edge) 1.3rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid #cab08a66; padding-top: .8rem; color: #ded3c2; font-size: .73rem; }
.hero-foot a { text-decoration: none; }
.hero-foot a span { margin-right: .4rem; color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  [data-enter] { animation: arrive .75s cubic-bezier(.22,.61,.36,1) both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(14px); } }
  @supports (animation-timeline: view()) {
    .hero-scene { animation: approach linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    .income-visual { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% entry 85%; }
    @keyframes approach { to { transform: scale(1.19); } }
    @keyframes settle { from { transform: translateY(22px); } }
  }
}
.section { padding: clamp(4.2rem, 9vw, 9rem) var(--edge); border-top: 1px solid var(--line); scroll-margin-top: .5rem; }
.section p:not(.eyebrow) { color: var(--muted); }
.bridge, .studio, .interest { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2.5rem, 7vw, 7rem); }
.bridge { color-scheme: light; color: #211c17; background: #e9dfce; }
.bridge .eyebrow, .bridge .text-link { color: #68431e; }
.bridge h2 { font-size: clamp(2.6rem, 5.1vw, 5.4rem); }
.bridge p:not(.eyebrow) { color: #52483d; }
.income-copy > p:not(.eyebrow) { max-width: 36rem; }
.income-copy > p + p { margin-top: .7rem; }
.income-copy .text-link { margin-top: 1.5rem; }
.income-visual { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid #a8957c; }
.income-visual > div { padding: 1.2rem clamp(.65rem, 2vw, 2rem) 1.5rem; }
.income-visual > div + div { border-left: 1px solid #a8957c; }
.income-visual strong { display: block; font: 400 clamp(3rem, 8.5vw, 9rem)/1 var(--serif); letter-spacing: -.095em; }
.income-visual strong span { font-size: .4em; margin-left: .1em; }
.income-visual > div p { margin-top: .4rem; font-size: .82rem; }
.income-visual > p { grid-column: 1/-1; border-top: 1px solid #a8957c; padding: .9rem .65rem; font-size: .78rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem .7rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.section-heading > p { max-width: 24rem; }
.product-showcase { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.8rem,2vw,1.75rem); }
.product-showcase article { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); background: var(--panel); scroll-margin-top: 1.5rem; }
.product-media { display: grid; place-items: center; aspect-ratio: 1.45; overflow: hidden; padding: 8%; background: radial-gradient(ellipse at 50% 95%,#57432e,#211b15 68%); }
.product-media img { display: block; width: 100%; height: auto; box-shadow: 0 10px 26px #0b090780; transition: transform .4s; }
.product-media:hover img { transform: scale(1.03); }
.ascend-screen { align-items: start; }
.ascend-screen img { width: 50%; border: 1px solid #806b52; border-radius: 10px; }
.operate-screen img { border: 1px solid #806b52; }
.academy-screen { background: radial-gradient(ellipse at 50% 50%,#69533b,#241b12 78%); }
.product-copy { flex: 1; display: flex; flex-direction: column; align-items: start; padding: clamp(1rem,2.3vw,2rem); }
.product-copy h3 { font-size: clamp(1.65rem, 3vw, 3rem); margin: .5rem 0 .65rem; }
.product-copy p:not(.eyebrow) { font-size: .93rem; margin-bottom: 1.15rem; }
.product-copy .text-link { margin-top: auto; color: var(--gold); }
.calc { background: #151411; }
.calc > p:not(.eyebrow), .studio > div > p:not(.eyebrow) { max-width: 42rem; }
.calculator-panel { margin-top: 2.25rem; border: 1px solid var(--line); padding: clamp(1rem,3vw,2.5rem); background: #10100e; }
.controls, .results { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.05rem; }
.controls { padding-bottom: 1.5rem; align-items: start; }
label, .academy-price-field { font-size: .85rem; font-weight: 650; }
input, select, .academy-price-field strong { display: block; width: 100%; min-height: 46px; padding: .6rem .7rem; margin-top: .3rem; border: 1px solid #6a5945; border-radius: 0; background: #1c1914; color: var(--ink); font: inherit; }
.academy-price-field strong { color: var(--gold); }
#scenario .academy-rate-note { grid-column: span 2; min-height: 46px; margin-top: 1.7rem; display: flex; align-items: center; font-size: .85rem; }
.results { border-top: 1px solid var(--line); padding-top: 1.35rem; }
.results output { display: block; color: var(--gold); overflow-wrap: anywhere; font: 400 clamp(1.55rem,3.4vw,3.5rem)/1.13 var(--serif); font-variant-numeric: tabular-nums; }
.results span, .results label { display: block; font-size: .85rem; margin-bottom: .25rem; }
.academy-results { grid-template-columns: repeat(2,minmax(0,1fr)); }
#progress-text { font: .78rem system-ui,sans-serif; }
progress { width: 100%; height: .85rem; accent-color: var(--gold); }
.results p { grid-column: 1/-1; font-size: .85rem; }
.fine { font-size: .82rem; margin-top: .9rem; }
details { padding: .85rem 0; border-bottom: 1px solid var(--line); max-width: 44rem; }
summary { cursor: pointer; font-size: .88rem; font-weight: 650; }
details p { margin-top: .5rem; }
.studio .button { margin-top: 1.55rem; }
.studio-flow { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.studio-flow li { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; gap: .75rem; border-top: 1px solid var(--line); padding: 1.1rem 0; }
.studio-flow li:last-child { border-bottom: 1px solid var(--line); }
.studio-flow li::before { content: '0' counter(step); color: var(--gold); font: 1.35rem/1.3 var(--serif); }
.studio-flow h3 { font-size: 1.02rem; font-weight: 650; }
.studio-flow p { font-size: .92rem; }
.interest { background: radial-gradient(ellipse at 10% 100%,#3e2b17,#16130f 60%); }
#interest-form { padding: clamp(1.15rem,3vw,2.4rem); border: 1px solid #655038; background: #14110ed9; }
.consent { display: flex; gap: .65rem; align-items: flex-start; margin: 1rem 0; font-weight: 450; }
.consent input { flex: 0 0 auto; width: 1rem; min-height: 0; height: 1rem; accent-color: var(--gold); }
#interest-status:not(:empty) { margin-top: .75rem; }
.form-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; font-size: .8rem; color: var(--muted); }
footer { border-top: 1px solid var(--line); min-height: 112px; color: var(--muted); font-size: .82rem; }
footer .brand { color: var(--ink); }
main.section > h1 { font-size: clamp(2.65rem,7vw,6rem); }
main.section > p { max-width: 48rem; margin-top: 1rem; }
@media (max-width: 850px) {
  .bridge, .studio, .interest { grid-template-columns: minmax(0,1fr); }
  .income-visual { max-width: 36rem; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 1rem; }
  .product-showcase { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  :root { --edge: 5vw; }
  .bar { min-height: 92px; flex-wrap: wrap; gap: .6rem 1rem; padding-block: .75rem; }
  .bar nav { order: 3; flex-basis: 100%; }
  .hero { min-height: calc(100svh - 92px); padding-block: 4rem 6rem; }
  .hero h1 { font-size: clamp(2.9rem,10.5vw,4rem); }
  .hero-scene { background-image: linear-gradient(0deg,#100e0ce8,transparent 25%), linear-gradient(90deg,#0c0c0be6 0%,#0c0c0bab 60%,#0c0c0b33 100%), url('/gateway.jpg'); background-position: 67% 50%; }
  .hero-foot { font-size: .65rem; }
  .hero-description { font-size: .94rem; max-width: 22rem; }
  .product-showcase { grid-template-columns: minmax(0,1fr); gap: 1.25rem; }
  .product-media { aspect-ratio: 1.6; }
  .controls, .results { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .controls > label:first-child, .academy-results { grid-column: 1/-1; }
  .controls > label:has(select), .controls > [data-academy] { grid-column: 1/-1; }
  #scenario .academy-rate-note { grid-column: 1/-1; margin-top: 0; min-height: 0; }
  input, select { font-size: 1rem; }
  footer { flex-wrap: wrap; gap: .85rem; padding-block: 1.3rem; }
}
@media (max-width: 380px) {
  .hero-foot { display: none; }
  .hero { padding-bottom: 3.5rem; }
  .controls, .results { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
