/* Gate 100 landing mockup. Tokens come from the game (src/styles/tokens.css in meridian-six). */
@font-face { font-family: Spectral; src: url('../assets/fonts/spectral-latin-200-normal.woff2') format('woff2'); font-weight: 200; font-display: swap; }
@font-face { font-family: Spectral; src: url('../assets/fonts/spectral-latin-200-italic.woff2') format('woff2'); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: Spectral; src: url('../assets/fonts/spectral-latin-300-normal.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: Spectral; src: url('../assets/fonts/spectral-latin-300-italic.woff2') format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: Spectral; src: url('../assets/fonts/spectral-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Spectral; src: url('../assets/fonts/spectral-latin-500-italic.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: Barlow; src: url('../assets/fonts/barlow-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Barlow; src: url('../assets/fonts/barlow-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Barlow; src: url('../assets/fonts/barlow-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../assets/fonts/barlow-condensed-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../assets/fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'B612 Mono'; src: url('../assets/fonts/b612-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --felt: #0e3d2d; --felt-lit: #175841; --felt-deep: #071c14; --enamel: #0a1813; --enamel-raised: #12241d; --night: #040e0a;
  --brass: #c4a769; --brass-hi: #ecdcb0; --brass-lo: #7c6237;
  --paper: #f3ecda; --paper-shade: #e6dcc4; --paper-rule: #c3b99f; --ink: #18261f; --ink-soft: #435349;
  --ivory: #f1e9d4; --ivory-soft: #b8c2b3; --jade: #56d9a0; --amber: #f3b45c; --amber-ink: #8a5713;
  --sans: Barlow, 'Segoe UI', system-ui, sans-serif; --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --serif: Spectral, Georgia, serif; --mono: 'B612 Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1); --lift: cubic-bezier(.7, 0, .2, 1);
  --pad: clamp(20px, 4.4vw, 72px); --max: 1320px;
  --gold: linear-gradient(180deg, #f6dd9c 0%, #e2bd6b 46%, #c9984a 100%);
  --brass-metal: linear-gradient(135deg, #f3e4b9 0%, #c9ab6b 22%, #7f6538 48%, #c4a769 70%, #f0dfb2 100%);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--felt-deep); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ivory); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-variant-numeric: tabular-nums; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 200; letter-spacing: -0.012em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 200; background: linear-gradient(180deg, #f6e7bf 10%, #c9a865 70%, #a6853f); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

/* Eyebrow: extreme tracking after Les Ambassadeurs */
.eyebrow { font: 600 12px/1 var(--cond); letter-spacing: .42em; text-transform: uppercase; color: var(--brass-hi); display: inline-flex; align-items: center; gap: 14px; }
.eyebrow .num { font-family: var(--mono); font-weight: 400; letter-spacing: .1em; color: var(--brass); padding-right: 14px; border-right: 1px solid rgba(196, 167, 105, .45); }
.eyebrow--ink { color: var(--ink-soft); }
.eyebrow--ink .num { color: var(--amber-ink); border-color: var(--paper-rule); }

/* Buttons: gold is the game's Fly button, ghost is a brass hairline */
.btn { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; min-height: 58px; padding: 0 30px; border-radius: 7px; font: 600 17px/1.1 var(--sans); letter-spacing: .005em; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s; cursor: pointer; border: 0; }
.btn small { font: 500 12px/1 var(--sans); opacity: .72; margin-top: 5px; letter-spacing: .01em; }
.btn--gold { background: var(--gold); color: #21190a; box-shadow: inset 0 1px 0 rgba(255, 248, 225, .75), inset 0 -2px 0 rgba(120, 84, 30, .35), 0 10px 30px -10px rgba(226, 189, 107, .55), 0 2px 0 #7c5d28; }
.btn--gold:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 248, 225, .8), inset 0 -2px 0 rgba(120, 84, 30, .35), 0 16px 40px -10px rgba(226, 189, 107, .7), 0 2px 0 #7c5d28; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; flex-direction: row; gap: 8px; border-radius: 6px; }
.btn--ghost { flex-direction: row; gap: 10px; border: 1px solid rgba(236, 220, 176, .38); color: var(--ivory); font: 600 13px/1 var(--cond); letter-spacing: .26em; text-transform: uppercase; background: rgba(7, 28, 20, .25); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--brass-hi); background: rgba(196, 167, 105, .12); }
.btn--ink { flex-direction: row; gap: 10px; background: var(--ink); color: var(--paper); font-size: 15px; min-height: 52px; }
.link-ink { font: 600 12px/1 var(--cond); letter-spacing: .26em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--paper-rule); padding-bottom: 6px; }

/* Reveal motion: 0.9 s rise, staggered by the script */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 00 Veil */
.veil { display: none; }
.js .veil { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 45%, #0e3426 0%, #071c14 45%, #020806 100%); transition: transform 1.1s var(--lift), visibility 0s 1.1s; }
.veil__mark { text-align: center; }
.veil__g { width: 84px; margin: 0 auto 26px; fill: var(--brass); opacity: 0; transform: scale(.92); animation: veilIn 1s var(--ease) .15s forwards; filter: drop-shadow(0 0 24px rgba(196, 167, 105, .25)); }
.veil__name { font: 600 15px/1 var(--cond); text-transform: uppercase; color: var(--brass-hi); letter-spacing: .9em; padding-left: .9em; opacity: 0; animation: veilName 1.3s var(--ease) .45s forwards; }
.veil__line { margin-top: 18px; font: italic 300 17px/1 var(--serif); color: var(--ivory-soft); opacity: 0; animation: veilIn 1s var(--ease) 1s forwards; }
.veil--done .veil, .js.veil--done .veil { transform: translateY(-100%); visibility: hidden; }
.no-veil .veil, .js.no-veil .veil { display: none; }
@keyframes veilIn { to { opacity: 1; transform: none; } }
@keyframes veilName { from { letter-spacing: 1.2em; } to { opacity: 1; letter-spacing: .6em; } }

/* Navigation: centred monogram after Les Ambassadeurs */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 78px; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; transition: background-color .5s, height .5s var(--ease), border-color .5s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(6, 20, 15, .86); backdrop-filter: blur(14px) saturate(1.2); height: 66px; border-color: rgba(196, 167, 105, .16); }
.nav__left { display: flex; gap: 34px; }
.nav__left a { white-space: nowrap; font: 600 12px/1 var(--cond); letter-spacing: .3em; text-transform: uppercase; color: rgba(241, 233, 212, .82); position: relative; padding: 8px 0; }
.nav__left a::after { content: ''; position: absolute; left: 0; right: .3em; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav__left a:hover::after { transform: scaleX(1); }
.nav__brand { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.nav__brand svg { width: 40px; fill: var(--brass); filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .4)); }
.nav__brand span { font: 600 10px/1 var(--cond); letter-spacing: .62em; padding-left: .62em; text-transform: uppercase; color: var(--brass-hi); }
.nav.is-solid .nav__brand span { display: none; }
.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: 26px; }

/* 01 Hero: emerald baize, Art Deco engraving, the game's oval and aircraft */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: var(--pt, 150px) var(--pad) var(--pb, 160px); overflow: hidden; isolation: isolate; background: #0a2a1f; }
.hero__felt, .hero__glow, .hero__engraving, .hero__track { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__felt { z-index: -3;
  background:
    radial-gradient(ellipse 58% 42% at 50% 46%, rgba(30, 112, 82, .55) 0%, rgba(30, 112, 82, 0) 70%),
    radial-gradient(ellipse 90% 80% at 50% 48%, #145a41 0%, #0f4130 34%, #0a2c20 62%, #051710 100%); }
.hero__felt::before { content: ''; position: absolute; inset: 0; background: url('../assets/img/table-nap.webp'); background-size: 160px; opacity: .5; mix-blend-mode: soft-light; }
.hero__felt::after { content: ''; position: absolute; inset: 0; opacity: .35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__engraving { z-index: -2; overflow: visible; }
.hero__track { z-index: -1; }
/* Warm lamp light over the table and a vignette at the edges */
.hero__glow { z-index: 0; background: radial-gradient(ellipse 46% 34% at 50% 8%, rgba(255, 214, 150, .13), rgba(255, 214, 150, 0) 70%), radial-gradient(ellipse 120% 100% at 50% 50%, transparent 58%, rgba(2, 8, 6, .62) 100%); animation: lampBreath 9s ease-in-out infinite; }
@keyframes lampBreath { 50% { opacity: .82; } }
.js .hero .reveal { opacity: 0; transform: translateY(24px); transition: none; animation: heroIn 1.15s var(--ease) forwards; animation-delay: calc(2.35s + var(--i, 0) * .11s); }
.js.no-veil .hero .reveal { animation-delay: calc(.12s + var(--i, 0) * .11s); }
.hero__copy > :nth-child(2) { --i: 1; } .hero__copy > :nth-child(3) { --i: 2; } .hero__copy > :nth-child(4) { --i: 3; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.js.still .hero .reveal { animation: none; opacity: 1; transform: none; }
.hero__copy { position: relative; z-index: 2; width: min(100%, 880px); text-align: center; display: grid; justify-items: center; }
.hero__copy .eyebrow { margin-bottom: clamp(18px, 2.6vh, 28px); }
.hero__title { font-size: clamp(38px, min(5.6vw, 9vh), 108px); line-height: 1.02; text-shadow: 0 2px 40px rgba(3, 14, 10, .55); }
.hero__title > span { display: block; white-space: nowrap; }
.hero__lede { margin-top: clamp(18px, 2.8vh, 30px); max-width: 580px; color: rgba(241, 233, 212, .82); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.62; text-wrap: balance; }
.hero__ctas { margin-top: clamp(22px, 3.4vh, 36px); display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__fare { position: absolute; z-index: 2; left: 0; right: 0; top: var(--fare-y, auto); bottom: var(--fare-b, 96px); display: flex; justify-content: center; align-items: center; gap: 20px; color: rgba(241, 233, 212, .6); font-size: 10.5px; transition: opacity .6s var(--ease); }
.hero__fare b { font-weight: 400; color: rgba(241, 233, 212, .5); }
.hero__fare b span, .hero__fare > span { color: var(--brass-hi); }
.hero__fare.is-swap { opacity: 0; }
.hero__fare [data-fare-ret-wrap][hidden] { display: none; }
.rail { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 56px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; color: rgba(184, 194, 179, .85); border-top: 1px solid rgba(196, 167, 105, .22); background: linear-gradient(180deg, rgba(4, 14, 10, .25), rgba(4, 14, 10, .7)); font-size: 10.5px; }
.rail b { color: var(--brass-hi); font-weight: 400; }
.rail span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.rail span + span::before { content: ''; width: 5px; height: 5px; transform: rotate(45deg); border: 1px solid rgba(196, 167, 105, .6); margin-right: clamp(10px, 2vw, 40px); }
/* Engraving pieces drawn by js/hero.js */
.eng-ray { stroke: #d9bf84; stroke-width: 1; }
.eng-rim { fill: none; stroke: url(#brass); }
.eng-thin { fill: none; stroke: rgba(236, 220, 176, .38); }
.eng-dash { fill: none; stroke: rgba(236, 220, 176, .34); stroke-dasharray: 1 6; stroke-linecap: round; }
.eng-bed { fill: none; stroke: rgba(2, 10, 7, .55); }
.eng-tick { stroke: rgba(236, 220, 176, .55); stroke-width: 1; }
.eng-tick--major { stroke: rgba(236, 220, 176, .9); stroke-width: 1.4; }
.eng-num { fill: rgba(236, 220, 176, .82); font: 600 13px var(--cond); letter-spacing: .08em; }
.eng-guil { fill: none; stroke: rgba(236, 220, 176, .085); stroke-width: .7; }
.eng-spin { transform-box: fill-box; transform-origin: center; animation: spin 220s linear infinite; }
.eng-sheen { fill: none; stroke: url(#sheen); mix-blend-mode: screen; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Shared section heads */
section { position: relative; }
.head { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.head h2 { font-size: clamp(36px, 4.3vw, 64px); line-height: 1.06; margin-top: 26px; }
.head--center { text-align: center; }
.head--center .head__sub { max-width: 620px; margin: 26px auto 0; color: var(--ivory-soft); }
.head--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; align-items: end; }
.head__aside { color: var(--ivory-soft); padding-bottom: 8px; border-left: 1px solid rgba(196, 167, 105, .3); padding-left: 28px; }

/* 02 The table */
.table { padding: 150px 0 120px; background: radial-gradient(ellipse 70% 55% at 50% 58%, #134a37 0%, #0c2c21 42%, var(--felt-deep) 78%); }
.table::before { content: ''; position: absolute; inset: 0; background: url('../assets/img/console-baize.webp'); opacity: .16; mix-blend-mode: overlay; pointer-events: none; }
.oval { position: relative; width: min(1120px, calc(100vw - 2 * var(--pad))); margin: 150px auto 0; padding-bottom: 210px; }
.oval > img { width: 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 86%, transparent 100%), radial-gradient(ellipse 53% 72% at 50% 50%, #000 80%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 86%, transparent 100%), radial-gradient(ellipse 53% 72% at 50% 50%, #000 80%, transparent 100%); mask-composite: intersect; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .45)); }
.callout { position: absolute; left: var(--x); top: calc(var(--y) * var(--h)); width: 0; height: 0; pointer-events: none; --h: calc(min(1120px, 100vw - 2 * var(--pad)) * 627 / 1808); }
.callout::before { content: ''; position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--brass-hi); background: rgba(7, 28, 20, .5); box-shadow: 0 0 0 5px rgba(236, 220, 176, .10), 0 0 18px rgba(236, 220, 176, .35); }
.callout::after { content: ''; position: absolute; left: 0; width: 1px; height: var(--len); }
.callout--up::after { bottom: 6px; background: linear-gradient(0deg, rgba(236, 220, 176, .75), rgba(236, 220, 176, .2)); }
.callout--down::after { top: 6px; background: linear-gradient(180deg, rgba(236, 220, 176, .75), rgba(236, 220, 176, .2)); }
.callout__t { position: absolute; left: -14px; width: 290px; padding-left: 14px; font-size: 14px; line-height: 1.5; color: var(--ivory-soft); }
.callout--up .callout__t { bottom: calc(var(--len) + 14px); }
.callout--down .callout__t { top: calc(var(--len) + 14px); }
.callout--right .callout__t { left: auto; right: -14px; text-align: right; padding: 0 14px 0 0; }
.callout__t b { display: flex; align-items: center; gap: 10px; color: var(--ivory); font: 300 21px/1.2 var(--serif); margin-bottom: 6px; }
.callout--right .callout__t b { justify-content: flex-end; }
.callout--win { --x: 37%; --y: .18; --len: 92px; }
.callout--ret { --x: 88%; --y: .298; --len: 150px; }
.callout--flap { --x: 50.5%; --y: .668; --len: 150px; }
.callout--loss { --x: 21%; --y: .792; --len: 96px; }
.legend { display: flex; justify-content: center; gap: 46px; margin: 0 auto; color: var(--ivory-soft); }
.legend li { list-style: none; display: flex; align-items: center; gap: 10px; }
.legend b { color: var(--ivory); font-weight: 400; }
.legend span { color: var(--brass-hi); }
.dot { display: inline-block; width: 9px; height: 14px; border-radius: 2px; flex: none; }
.dot--jade { background: var(--jade); box-shadow: 0 0 12px rgba(86, 217, 160, .6); }
.dot--amber { background: var(--amber); box-shadow: 0 0 12px rgba(243, 180, 92, .55); }
.dot--unlit { border: 1px solid rgba(241, 233, 212, .55); }
.dot--brass { background: var(--brass-hi); }
ul.legend { padding: 0; }

/* 03 How it plays */
.play { padding: 150px 0 140px; background: linear-gradient(180deg, var(--felt-deep), var(--enamel) 30%, var(--enamel)); }
.moves { list-style: none; max-width: var(--max); margin: 84px auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; counter-reset: move; }
.move { position: relative; padding: 18px 18px 40px; border: 1px solid rgba(196, 167, 105, .2); background: linear-gradient(180deg, rgba(23, 88, 65, .14), rgba(10, 24, 19, 0) 60%); display: grid; grid-template-columns: auto 1fr; column-gap: 26px; }
.move::before, .move::after { content: ''; position: absolute; width: 14px; height: 14px; border-color: var(--brass); border-style: solid; opacity: .7; }
.move::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.move::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.move__stage { grid-column: 1 / -1; height: 270px; margin-bottom: 34px; display: grid; place-items: center; background: radial-gradient(ellipse 70% 80% at 50% 50%, #124434 0%, #0b281e 60%, #081d16 100%); overflow: hidden; position: relative; }
.move__stage::after { content: ''; position: absolute; inset: 0; background: url('../assets/img/console-baize.webp'); opacity: .12; mix-blend-mode: overlay; }
.move__stage img { max-width: 86%; width: 430px; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .5)); position: relative; z-index: 1; }
.move__stage--oval img { max-width: none; width: 104%; -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000 80%, transparent 100%); mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000 80%, transparent 100%); }
.move__stage--pass img { width: auto; height: 228px; transform: rotate(-2.2deg); }
.move__n { grid-row: 2 / span 2; padding-left: 22px; font: italic 200 54px/0.9 var(--serif); color: var(--brass); }
.move h3 { font-size: 32px; line-height: 1.1; font-weight: 300; }
.move p { color: var(--ivory-soft); margin-top: 12px; max-width: 470px; padding-right: 22px; font-size: 16px; }

/* 04 The fares: departures board */
.fares { padding: 150px 0 140px; background: radial-gradient(ellipse 60% 50% at 50% 60%, #0f3527, var(--felt-deep) 70%); }
.board { position: relative; max-width: 1180px; margin: 84px auto 0; padding: 12px; border-radius: 12px; background: var(--brass-metal); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .5); }
.board::before { content: ''; position: absolute; inset: 12px; border-radius: 6px; background: #0a0d0c; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9), inset 0 20px 50px rgba(0, 0, 0, .7); }
.board > * { position: relative; }
.board__top { display: flex; justify-content: space-between; padding: 18px 28px 16px; color: var(--brass); border-bottom: 1px solid rgba(196, 167, 105, .2); }
.board__top span:last-child { color: var(--ivory); }
.board__row { display: grid; grid-template-columns: 2.3fr 1fr .9fr .9fr .9fr 1.6fr 1fr; align-items: center; gap: 14px; padding: 13px 28px; border-bottom: 1px solid rgba(255, 255, 255, .045); }
.board__row:last-child { border-bottom: 0; padding-bottom: 20px; }
.board__row--head { padding-top: 16px; padding-bottom: 12px; color: rgba(196, 167, 105, .85); font-size: 10px; letter-spacing: .22em; }
.board__row--on { background: linear-gradient(90deg, rgba(196, 167, 105, .13), rgba(196, 167, 105, .03)); box-shadow: inset 3px 0 0 var(--brass); }
.f { font: 400 17px/1 var(--mono); color: var(--ivory); white-space: nowrap; }
.f i { display: inline-block; vertical-align: top; width: .82em; height: 1.62em; line-height: 1.62em; margin-right: 2px; text-align: center; font-style: normal; border-radius: 2px; background: linear-gradient(180deg, #232826 0%, #1a1e1c 49%, #050606 49%, #050606 51.5%, #151917 51.5%, #0f1211 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 1px 0 rgba(0, 0, 0, .8); }
.f i.sp { background: linear-gradient(180deg, #151917 0%, #111413 49%, #050606 49%, #050606 51.5%, #0e1110 51.5%, #0b0d0c 100%); }
.f--jade { color: var(--jade); }
.f--amber { color: var(--amber); }
.f--dim { color: rgba(241, 233, 212, .32); }
.notes { list-style: none; max-width: 1180px; margin: 56px auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.notes li { color: var(--ivory-soft); font-size: 15px; border-top: 1px solid rgba(196, 167, 105, .3); padding-top: 20px; }
.notes b { color: var(--ivory); display: block; font: 300 22px/1.2 var(--serif); margin-bottom: 8px; }

/* 05 The lounge */
.lounge { padding: 170px 0 150px; background: var(--felt-deep); }
.quote { margin: 0 auto; max-width: 1180px; padding: 0 var(--pad); text-align: center; }
.quote__text { font: 200 clamp(32px, 4.1vw, 60px)/1.16 var(--serif); letter-spacing: -0.01em; }
.quote__text .w { color: rgba(241, 233, 212, .16); transition: color .5s; }
.quote__text .w.on { color: var(--ivory); }
.quote footer { margin-top: 40px; }
.mosaic { max-width: var(--max); margin: 140px auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: 232px 232px auto; gap: 16px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; background: #000; }
.mosaic img { width: 100%; height: 150%; object-fit: cover; object-position: 50% 0; transition: transform 1.6s var(--ease); }
.mosaic figure:hover img { transform: scale(1.035); }
.mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 16px; display: flex; justify-content: space-between; background: linear-gradient(180deg, transparent, rgba(4, 14, 10, .82)); color: var(--brass-hi); }
.mosaic figcaption span { color: rgba(241, 233, 212, .6); }
.mosaic__a { grid-row: 1 / span 2; }
.mosaic__b { grid-column: 2; grid-row: 1; }
.mosaic__c { grid-column: 2; grid-row: 2; }
.mosaic__copy { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; gap: 16px 64px; padding-top: 48px; align-items: start; }
.mosaic__copy .eyebrow { grid-column: 1 / -1; }
.mosaic__copy h3 { font-size: clamp(30px, 3vw, 44px); line-height: 1.1; }
.mosaic__copy p:last-child { color: var(--ivory-soft); }

/* 06 The spec: boarding pass stock */
.spec { padding: 40px var(--pad) 150px; background: var(--felt-deep); }
.spec__sheet { position: relative; max-width: 1180px; margin: 0 auto; color: var(--ink); background: url('../assets/img/ticket-stock.webp'), linear-gradient(180deg, #f6f0e0, var(--paper) 40%, #ebe2cc); border-radius: 6px; box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .85), 0 2px 0 rgba(255, 255, 255, .4) inset; padding: 64px 72px 56px; -webkit-mask: radial-gradient(circle 13px at 0 214px, transparent 98%, #000) , radial-gradient(circle 13px at 100% 214px, transparent 98%, #000); -webkit-mask-composite: source-in; mask: radial-gradient(circle 13px at 0 214px, transparent 98%, #000) intersect, radial-gradient(circle 13px at 100% 214px, transparent 98%, #000); }
.spec__sheet::before { content: ''; position: absolute; left: 0; right: 0; top: 214px; border-top: 1px dashed var(--paper-rule); }
.spec__head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; height: 150px; }
.spec__head h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.06; margin-top: 22px; color: var(--ink); }
.spec__head h2 em { background: none; color: var(--amber-ink); }
.spec__stub { border-left: 1px dashed var(--paper-rule); padding-left: 40px; display: grid; gap: 8px; color: var(--ink-soft); justify-items: start; height: 100%; }
.spec__stub b { font: 300 58px/1 var(--serif); color: var(--ink); letter-spacing: -0.01em; }
.barcode { width: 132px; height: 26px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); }
.spec__grid { margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 48px; }
.spec__grid div { padding: 18px 0 20px; border-top: 1px solid var(--paper-rule); }
.spec__grid dt { font: 600 11px/1 var(--cond); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); }
.spec__grid dd { margin: 10px 0 0; font: 500 19px/1.3 var(--sans); color: var(--ink); }
.spec__note { color: var(--ink-soft); font-size: 15px; max-width: 560px; }
.spec__foot { display: flex; gap: 32px; align-items: center; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--paper-rule); }

/* 07 The demo */
.demo { padding: 150px 0 160px; background: linear-gradient(180deg, var(--felt-deep), var(--enamel) 40%); }
.screen { max-width: 1180px; margin: 80px auto 0; padding: 0 var(--pad); }
.screen__bezel { position: relative; padding: 12px; border-radius: 20px; background: var(--brass-metal); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 0 1px rgba(0, 0, 0, .6); aspect-ratio: 16 / 10; }
.screen__bezel picture { display: contents; }
.screen__poster, .screen__bezel iframe { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; object-position: 50% 0; border: 0; background: #000; }
.screen__poster { filter: brightness(.6) saturate(.9); }
.screen__play { position: absolute; inset: 12px; border-radius: 10px; border: 0; background: radial-gradient(ellipse 42% 46% at 50% 50%, rgba(4, 14, 10, .78), rgba(4, 14, 10, .25)); color: var(--ivory); display: grid; place-content: center; justify-items: center; gap: 10px; cursor: pointer; font-family: var(--sans); }
.screen__ring { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); box-shadow: 0 0 0 10px rgba(236, 220, 176, .14), 0 0 0 22px rgba(236, 220, 176, .06), 0 20px 50px rgba(0, 0, 0, .5); transition: transform .5s var(--ease); margin-bottom: 18px; }
.screen__play:hover .screen__ring { transform: scale(1.06); }
.screen__ring svg { width: 34px; fill: #21190a; margin-left: 5px; }
.screen__play b { font: 300 36px/1 var(--serif); text-shadow: 0 2px 20px rgba(0, 0, 0, .6); }
.screen__play small { font: 400 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-soft); }
.screen__bar { display: flex; justify-content: space-between; margin-top: 22px; color: var(--ivory-soft); padding: 0 6px; }
.screen__bar a { color: var(--brass-hi); }
.live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 10px var(--jade); margin-right: 10px; vertical-align: 1px; animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* 08 Final */
.final { min-height: 92vh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 140px var(--pad); }
.final__plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.final__shade { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 55%, rgba(4, 14, 10, .55), rgba(4, 14, 10, .92)), linear-gradient(180deg, var(--enamel) 0, transparent 30%); }
.final__copy { position: relative; max-width: 980px; display: grid; justify-items: center; }
.final__g { width: 58px; fill: var(--brass); margin-bottom: 34px; }
.final h2 { font-size: clamp(40px, 5vw, 76px); line-height: 1.04; margin: 26px 0 44px; }
.final .hero__ctas { justify-content: center; }
.final__note { margin-top: 30px; color: var(--ivory-soft); font-size: 15px; }

/* Footer */
.foot { background: var(--night); padding: 64px var(--pad) 36px; border-top: 1px solid rgba(196, 167, 105, .18); }
.foot__row { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1.6fr 1fr; gap: 48px; align-items: start; }
.foot__brand img { width: 150px; }
.foot__brand p { color: var(--ivory-soft); margin-top: 16px; font-size: 14px; max-width: 280px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.foot__links a { font: 600 12px/1 var(--cond); letter-spacing: .28em; text-transform: uppercase; color: rgba(241, 233, 212, .75); }
.foot__rg { color: var(--ivory-soft); font-size: 14px; }
.foot__rg b { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--brass); color: var(--brass-hi); font: 600 13px/1 var(--cond); letter-spacing: .04em; margin-right: 12px; vertical-align: middle; }
.foot__legal { max-width: var(--max); margin: 48px auto 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .06); color: rgba(184, 194, 179, .55); font-size: 10px; line-height: 1.8; }

/* Phone and tablet */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav { grid-template-columns: auto 1fr auto; height: 64px; }
  .nav__left { display: none; }
  .nav__brand { flex-direction: row; gap: 10px; }
  .nav__brand svg { width: 30px; }
  .nav__brand span { display: inline; letter-spacing: .4em; }
  .nav__right { grid-column: 3; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero__fare { font-size: 9px; gap: 12px; }
  .hero__fare b:last-child { display: none; }
  .rail { height: 56px; font-size: 9px; overflow: hidden; }
  .rail span:nth-child(n+4) { display: none; }
  .rail span + span::before { margin-right: 10px; }
  .head--split { grid-template-columns: 1fr; gap: 24px; }
  .head h2 br, .final h2 br { display: none; }
  .table, .play, .fares, .demo { padding: 96px 0; }
  .oval { margin-top: 48px; padding-bottom: 0; }
  .callout { display: none; }
  .legend { flex-direction: column; gap: 10px; align-items: flex-start; width: max-content; margin-top: 32px; }
  .moves { grid-template-columns: 1fr; margin-top: 48px; }
  .move__stage { height: 200px; }
  .move__n { font-size: 40px; padding-left: 8px; }
  .move h3 { font-size: 26px; }
  .board { margin: 48px 12px 0; padding: 8px; }
  .board::before { inset: 8px; }
  .board__top span:nth-child(2) { display: none; }
  .board__row { grid-template-columns: 1fr auto auto; padding: 12px 14px; gap: 10px; }
  .board__row > :nth-child(n+4) { display: none; }
  .f { font-size: 13px; }
  .notes { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .lounge { padding: 110px 0 96px; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: 240px 180px 180px auto; margin-top: 80px; }
  .mosaic__a { grid-row: 1; }
  .mosaic__b, .mosaic__c { grid-column: 1; grid-row: auto; }
  .mosaic__copy { grid-template-columns: 1fr; padding-top: 24px; }
  .spec { padding: 24px 12px 96px; }
  .spec__sheet { padding: 40px 24px; -webkit-mask: none; mask: none; }
  .spec__sheet::before { display: none; }
  .spec__head { grid-template-columns: 1fr; height: auto; }
  .spec__stub { display: none; }
  .spec__grid { grid-template-columns: 1fr 1fr; column-gap: 20px; margin-top: 32px; }
  .spec__grid dd { font-size: 16px; }
  .spec__foot { flex-direction: column; align-items: stretch; gap: 20px; }
  .screen { padding: 0 12px; margin-top: 48px; }
  .screen__bezel { aspect-ratio: 9 / 16; padding: 8px; }
  .screen__play { inset: 8px; }
  .screen__bar { flex-wrap: wrap; gap: 10px; font-size: 9px; }
  .final { min-height: 100svh; }
  .foot__row { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 1180px) {
  .nav__left { display: none; }
  .nav__brand { grid-column: 2; }
  .nav__right { grid-column: 3; }
  .rail span:nth-child(5) { display: none; }
}
@media (max-width: 960px) {
  .rail span:nth-child(4) { display: none; }
}
@media (max-width: 900px) {
  .nav__brand { grid-column: 1; }
}
@media (max-width: 699px) {
  .hero__title { font-size: clamp(28px, 9.3vw, 44px); }
  .hero__lede { font-size: 15px; }
  .rail { height: 48px; }
  .rail span:nth-child(2) { display: none; }
}
@media (max-width: 560px) {
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .veil { display: none; }
  .js .reveal, .js .hero .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .quote__text .w { color: var(--ivory); }
  .hero__glow, .eng-spin { animation: none; }
}
