@font-face { font-family: "Inter Tight"; src: url("assets/fonts/inter-tight-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --ground: #05070c;
  --surface: #0c1018;
  --text: #f5f3ef;
  --muted: #b4bac4;
  --dim: #8a919d;
  --accent: #efb26a;
  --accent-hi: #f8cd97;
  --danger: #ff9d8f;
  --line: rgba(232, 228, 220, .16);
  --gutter: max(clamp(20px, 4.4vw, 76px), calc((100% - 1520px) / 2));
  --header: 72px;
  --sans: "Inter Tight", "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2, .7, .15, 1);
  --p: 1;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 18px/1.55 var(--sans); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 40; padding: 10px 16px; background: var(--accent); color: #120c05; }
.skip:focus { top: 8px; }

h1, h2, h3 { margin: 0; font-weight: 500; }
h1 { font-size: clamp(50px, 9.4vw, 168px); line-height: .96; letter-spacing: -.04em; }
h2 { font-size: clamp(38px, 5.6vw, 92px); line-height: 1; letter-spacing: -.035em; margin-bottom: 24px; }
h3 { font-size: 24px; letter-spacing: -.015em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--accent-hi); }
.eyebrow { margin: 0 0 24px; color: var(--accent); font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 28px; border: 1px solid transparent; border-radius: 2px; font: 500 16px var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn span { transition: transform .24s var(--ease); }
.btn:hover span { transform: translateX(5px); }
.btn-primary { background: var(--accent); color: #120c05; }
.btn-primary:hover { background: var(--accent-hi); }
.btn-ghost { border-color: rgba(245, 243, 239, .5); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--accent-hi); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }

.masthead { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header); padding: 0 var(--gutter); transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.masthead.scrolled, .masthead:has(.open) { background: rgba(5, 7, 12, .88); border-color: var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; }
.brand svg { width: 22px; height: 22px; color: var(--accent); }
.brand i { font-family: var(--serif); font-size: 23px; font-weight: 400; color: var(--accent-hi); }
#site-nav { display: flex; align-items: center; gap: 32px; }
#site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-size: 15px; text-decoration: none; opacity: .86; transition: opacity .16s; }
#site-nav a:hover { opacity: 1; }
#site-nav .nav-cta { padding: 0 18px; border: 1px solid rgba(245, 243, 239, .5); border-radius: 2px; opacity: 1; }
#site-nav .nav-cta:hover { border-color: var(--accent); color: var(--accent-hi); }
.menu-toggle { display: none; min-height: 44px; padding: 0 16px; background: none; border: 1px solid rgba(245, 243, 239, .5); border-radius: 2px; color: var(--text); font: 500 15px var(--sans); cursor: pointer; }

.hero { position: relative; display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh; overflow: hidden; background: var(--ground); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 12, .5) 0, rgba(5, 7, 12, 0) 22%, rgba(5, 7, 12, 0) 40%, rgba(5, 7, 12, .9) 88%, var(--ground)); }
.hero-copy { position: relative; z-index: 2; width: 100%; padding: 140px var(--gutter) clamp(32px, 5vh, 64px); }
.line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.line > span { display: block; }
.hero .eyebrow { color: var(--text); }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-top: clamp(24px, 4vh, 44px); }
.lead { max-width: 54ch; margin: 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0 var(--gutter); border-block: 1px solid var(--line); }
.facts li { padding: 28px 24px 28px 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-size: clamp(28px, 3vw, 44px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.facts span { color: var(--muted); font-size: 15px; }

.statement { padding: clamp(96px, 16vw, 240px) var(--gutter); }
.statement-text { max-width: 1240px; margin: 0; font-size: clamp(30px, 4.6vw, 76px); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.statement-text .w { transition: opacity .2s linear; }

.track { position: relative; }
.stage { position: relative; overflow: hidden; }
.stage-img { width: 100%; object-fit: cover; }
.stage-copy p:not(.eyebrow) { max-width: 46ch; color: var(--muted); }
.stage-copy p:not(.eyebrow) { margin: 0 0 20px; }

.aog { position: relative; overflow: hidden; }
.aog-img { position: absolute; inset: 0 0 auto; width: 100%; height: 100vh; object-fit: cover; object-position: 50% 50%; }
.aog::after { content: ""; position: absolute; inset: 0 0 auto; height: 100vh; background: linear-gradient(180deg, var(--ground) 0, rgba(5, 7, 12, .1) 24%, rgba(5, 7, 12, .25) 55%, var(--ground) 100%); }
.aog-copy { position: relative; z-index: 2; padding: clamp(96px, 12vw, 160px) var(--gutter) clamp(64px, 8vw, 120px); }
.aog-figure { margin: 0 0 clamp(120px, 26vh, 300px); font-size: clamp(84px, 19vw, 340px); font-weight: 300; line-height: .9; letter-spacing: -.055em; }
.aog-figure span { color: var(--accent); font-family: var(--serif); font-style: italic; }
.aog-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
.aog-row p { margin: 0 0 24px; color: var(--muted); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(48px, 7vw, 96px) 0 0; padding: 0; border-top: 1px solid var(--accent); }
.steps li { padding: 20px 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.45; }
.steps span { display: block; margin-bottom: 12px; color: var(--accent); font-size: 13px; letter-spacing: .1em; }
.steps strong { display: block; color: var(--text); font-size: 24px; font-weight: 500; letter-spacing: -.015em; }

.parts-stage { display: grid; }
.parts-stage > * { grid-area: 1 / 1; }
.parts-img { min-height: 62vw; object-position: 58% 50%; }
.parts-stage .stage-copy { position: relative; z-index: 2; align-self: end; padding: 48px var(--gutter); }

.sales-stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; padding: clamp(80px, 10vw, 120px) var(--gutter) clamp(48px, 6vw, 80px); }
.sales-copy > p:not(.eyebrow) { max-width: 44ch; margin: 0 0 24px; color: var(--muted); }
.regions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.regions button { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 16px; width: 100%; min-height: 50px; padding: 11px 0; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--dim); font: inherit; text-align: left; cursor: pointer; transition: color .24s, padding .24s var(--ease); }
.regions b { font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.015em; }
.regions span { font-size: 14px; }
.regions button:hover { color: var(--text); }
.regions button[aria-pressed=true] { padding-left: 14px; color: var(--text); box-shadow: inset 2px 0 0 var(--accent); }
.regions button[aria-pressed=true] span { color: var(--accent-hi); }
.globe-wrap { min-width: 0; }
#globe { display: block; width: 100%; aspect-ratio: 1; }

.sales-more { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(24px, 3vw, 48px); padding: 0 var(--gutter) clamp(80px, 10vw, 160px); }
.tile { margin: 0; }
.tile img { width: 100%; height: clamp(280px, 34vw, 600px); object-fit: cover; border-radius: 2px; }
.tile figcaption { padding-top: 20px; }
.tile p { max-width: 46ch; margin: 8px 0 0; color: var(--muted); }
.sales-cta { justify-self: start; grid-column: 1 / -1; }

.lens-stage { display: grid; }
.lens-stage > * { grid-area: 1 / 1; }
.lens-img { min-height: 56vw; }
.lens-stage .stage-copy { position: relative; z-index: 2; align-self: end; padding: 48px var(--gutter); }

.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); padding: clamp(96px, 12vw, 200px) var(--gutter); }
.why ul { list-style: none; margin: 0; padding: 0; }
.why li { padding: 24px 0; border-top: 1px solid var(--line); }
.why li:last-child { border-bottom: 1px solid var(--line); }
.why strong { display: block; font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -.02em; }
.why span { color: var(--muted); }

.quote { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.quote-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px clamp(32px, 6vw, 96px); padding: clamp(96px, 11vw, 180px) var(--gutter); }
.quote-head > p:not(.eyebrow) { max-width: 36ch; margin: 0 0 16px; color: var(--text); }
#quote-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: clamp(24px, 3vw, 40px); background: rgba(5, 7, 12, .72); border: 1px solid var(--line); border-radius: 2px; backdrop-filter: blur(18px); }
.wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 4px; color: var(--muted); font-size: 14px; }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 0; background: transparent; border: 0; border-bottom: 1px solid rgba(245, 243, 239, .45); border-radius: 0; color: var(--text); font: 400 17px var(--sans); }
select option { background: var(--surface); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 0; box-shadow: 0 1px 0 var(--accent); }
[aria-invalid=true] { border-color: var(--danger); }
.err { margin: 6px 0 0; color: var(--danger); font-size: 14px; }
.err:empty { display: none; }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.form-status { flex: 1 1 240px; margin: 0; font-size: 15px; }

.footer { padding: 64px var(--gutter) 28px; background: var(--ground); border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; overflow: hidden; }
.foot-cols { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1fr; gap: 32px; }
.footer p { margin: 0; }
.footer address { font-style: normal; }
.footer .foot-cols a { display: flex; align-items: center; min-height: 34px; text-decoration: none; }
.footer a:hover { color: var(--text); }
.foot-label { margin-bottom: 12px !important; color: var(--accent); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.foot-mark { margin: clamp(48px, 7vw, 96px) 0 20px !important; color: var(--text); font-size: 19.6vw; font-weight: 500; line-height: .86; letter-spacing: -.05em; white-space: nowrap; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.foot-legal a { display: inline-flex; align-items: center; min-height: 24px; }

.credits { max-width: 860px; margin: 0 auto; padding: 140px 20px 80px; }
.credits h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 32px; }
.credits li { margin-bottom: 18px; color: var(--muted); }
.credits ul { padding-left: 20px; }

/* Wide screens get pinned, scroll-driven scenes. Without them every scene is simply composed. */
@media (min-width: 901px) and (min-height: 640px) {
  .parts-track { height: 190vh; }
  .parts-stage, .lens-stage { position: sticky; top: 0; height: 100vh; }
  .stage-img { height: 100vh; min-height: 0; }
  .parts-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ground) 2%, rgba(5, 7, 12, 0) 46%), linear-gradient(90deg, rgba(5, 7, 12, .94) 12%, rgba(5, 7, 12, 0) 62%); }
  .parts-stage .stage-copy, .lens-stage .stage-copy { padding-bottom: clamp(48px, 8vh, 96px); }
  .sales-track { height: 420vh; }
  .sales-stage { position: sticky; top: 0; height: 100vh; padding-block: calc(var(--header) + 8px) 16px; }
  .globe-wrap { display: flex; justify-content: center; }
  #globe { width: min(100%, calc(100vh - var(--header) - 24px)); height: auto; }
  .lens-track { height: 240vh; }
  .lens-img { justify-self: end; width: 70vw; object-position: 50% 62%; }
  .lens-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ground) 38%, rgba(5, 7, 12, 0) 58%), linear-gradient(180deg, var(--ground), rgba(5, 7, 12, 0) 26%), linear-gradient(0deg, var(--ground), rgba(5, 7, 12, 0) 22%); pointer-events: none; }
  .lens-stage .stage-copy { align-self: center; max-width: 48vw; padding-bottom: 0; }
  .lens-stage h2 { font-size: clamp(38px, 4.6vw, 80px); }
}
@media (min-width: 901px) and (max-height: 800px) {
  .sales-stage h2 { font-size: clamp(36px, 4.4vw, 60px); margin-bottom: 12px; }
  .sales-stage .eyebrow { margin-bottom: 12px; }
  .sales-copy > p:not(.eyebrow) { font-size: 16px; margin-bottom: 12px; }
  .regions button { min-height: 44px; padding-block: 6px; }
}

@media (prefers-reduced-motion: no-preference) {
  .motion .hero-img { animation: settle 2.2s var(--ease) backwards; }
  @keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
  .motion .line > span { animation: rise .9s var(--ease) backwards .15s; }
  .motion .line + .line > span { animation-delay: .27s; }
  @keyframes rise { from { transform: translateY(104%); } to { transform: none; } }
  .motion .eyebrow, .motion .hero-foot { animation: fade .8s ease-out backwards .55s; }
  .motion section:not(.hero) .eyebrow { animation: none; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 901px) and (min-height: 640px) {
  .motion .parts-img { transform: scale(calc(1.1 - .1 * var(--p))); }
  .motion .lens-img { clip-path: circle(calc(24% + 76% * min(1, var(--p) * 1.4)) at 50% 50%); }
  .motion .hero-copy { transform: translateY(calc(var(--p) * -8vh)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn span, .regions button { transition: none; }
}

@media (max-width: 1100px) {
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  #site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px; background: rgba(5, 7, 12, .98); border-bottom: 1px solid var(--line); }
  #site-nav.open { display: flex; }
  #site-nav a { min-height: 48px; font-size: 18px; }
  #site-nav .nav-cta { justify-content: center; margin-top: 12px; }
  .hero-img { object-position: 66% 40%; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .parts-stage, .lens-stage { display: block; }
  .parts-img, .lens-img { min-height: 0; aspect-ratio: 4 / 3; }
  .parts-stage .stage-copy, .lens-stage .stage-copy { padding: 32px var(--gutter) 64px; }
  .aog-row, .why, .quote-inner, .sales-more { grid-template-columns: minmax(0, 1fr); }
  .aog-img, .aog::after { height: 70vh; }
  .aog-figure { margin-bottom: clamp(100px, 30vh, 220px); }
  .steps { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 1px solid var(--accent); }
  .steps li { padding: 0 0 24px 20px; }
  .sales-stage { grid-template-columns: minmax(0, 1fr); padding-right: var(--gutter); }
  .globe-wrap { order: -1; max-width: 520px; width: 100%; margin: 0 auto; }
  .sales-more { padding-top: 16px; }
  .why h2 { margin-bottom: 0; }
}

@media (max-width: 560px) {
  #quote-form { grid-template-columns: minmax(0, 1fr); }
  .actions, .actions .btn, .form-end .btn, .sales-cta, .aog-row .btn { width: 100%; }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .tile img { aspect-ratio: 4 / 3; }
}
