/* Smarco Inc. — film and camera journey pages. Direction A: "Paper".
   Layout: one fixed full-screen stage (film or WebGL); the page only provides scroll distance.
   The UI is a quiet contemporary layer: Geist type, frosted paper panels, navy text, orange only for actions,
   gold reduced to fine detail. Logo always shown unaltered on its own white plate. */

:root {
  --navy: #001A3D;
  --gold: #D8A848;
  --orange: #FC5400;
  --paper: #F4F6F8;
  --paper-glass: rgba(244, 246, 248, .9);
  --white: #FFFFFF;
  --slate: #5A6472;
  --rule: #DDE2E8;
  --on-film: #FFFFFF;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gx-l: max(22px, env(safe-area-inset-left, 0px));
  --gx-r: max(22px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: var(--sans); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

#runway { height: 800vh; }
@media (max-width: 720px) { #runway { height: 700vh; } }

#stage { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; background: #0B1220; }
.fx-vignette { position: fixed; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0) 60%, rgba(0,10,25,.38) 100%); }
.fx-grain { position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .05; mix-blend-mode: overlay; background-size: 200px 200px; animation: grain 1s steps(5) infinite; }
@keyframes grain { 0%{background-position:0 0} 25%{background-position:-50px 30px} 50%{background-position:40px -20px} 75%{background-position:-20px -40px} 100%{background-position:0 0} }
.fx-letterbox i { position: fixed; left: 0; right: 0; height: 5.5vh; z-index: 3; background: #000; pointer-events: none; transition: transform .6s ease; }
.fx-letterbox i:first-child { top: 0; transform: translateY(-100%); }
.fx-letterbox i:last-child { bottom: 0; transform: translateY(100%); }
body.cine .fx-letterbox i { transform: none; }

/* Loader */
#loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--paper); transition: opacity 1s ease, visibility 1s ease; }
body.ready #loader { opacity: 0; visibility: hidden; }
.loader-in { text-align: center; padding: 0 24px; }
.loader-name { margin: 0; font-weight: 600; font-size: clamp(2rem, 7vw, 3.4rem); letter-spacing: -.04em; color: var(--navy); }
.loader-sub { margin: .2rem 0 1.4rem; color: var(--slate); font-family: var(--mono); letter-spacing: .16em; text-transform: uppercase; font-size: .68rem; }
.loader-bar { width: min(220px, 64vw); height: 2px; margin: 0 auto; background: var(--rule); overflow: hidden; border-radius: 2px; }
.loader-bar span { display: block; width: 0; height: 100%; background: var(--orange); transition: width .3s ease; }

/* Top bar */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: max(16px, calc(env(safe-area-inset-top, 0px) + 8px)) 16px; padding-left: var(--gx-l); padding-right: var(--gx-r); pointer-events: none; }
.topbar a { pointer-events: auto; }
.logo-plate { display: block; width: 128px; background: #fff; border-radius: 10px; overflow: hidden; line-height: 0; box-shadow: 0 6px 24px rgba(0,10,30,.18); }
.logo-plate img { width: 100%; height: auto; }
.call { background: var(--orange); color: #fff; text-decoration: none; font-weight: 600; font-size: .86rem; letter-spacing: -.01em; padding: 11px 18px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 24px rgba(252,84,0,.25); }
.call:hover { background: #E84D00; }

/* Captions over the film */
.hud { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
.cap { position: absolute; left: var(--gx-l); bottom: calc(5.5vh + 92px); width: min(36rem, calc(100% - var(--gx-l) - var(--gx-r))); opacity: 0; visibility: hidden; will-change: opacity, transform; color: var(--on-film); text-shadow: 0 2px 28px rgba(0,8,24,.55); }
.cap-hero { bottom: auto; top: 50%; transform: translateY(-50%); width: min(46rem, calc(100% - var(--gx-l) - var(--gx-r))); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 .9rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: none; }
.cap h1 { margin: 0 0 1rem; font-weight: 600; font-size: clamp(2.5rem, 6vw, 5rem); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.cap h1 em { font-style: normal; font-weight: 300; }
.cap h2 { margin: 0 0 .5rem; font-weight: 600; font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.cap-line { margin: 0; max-width: 32rem; font-size: clamp(.98rem, 1.3vw, 1.1rem); opacity: .92; }
.hint { display: flex; align-items: center; gap: 14px; margin: 2rem 0 0; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.hint span { width: 48px; height: 1px; background: var(--on-film); transform-origin: left; animation: hint 2.2s ease-in-out infinite; }
@keyframes hint { 0%,100% { transform: scaleX(.3) } 50% { transform: scaleX(1) } }

/* Corner notes and live readout */
.corner { position: absolute; margin: 0; font-family: var(--mono); font-size: .68rem; line-height: 1.55; color: var(--on-film); text-shadow: 0 1px 14px rgba(0,8,24,.6); transition: opacity .4s ease; }
.corner-tr { top: calc(max(16px, env(safe-area-inset-top, 0px) + 8px) + 56px); right: var(--gx-r); text-align: right; opacity: .9; }
.slashes { color: var(--orange); }
.corner-br { right: var(--gx-r); bottom: calc(5.5vh + 74px); display: grid; gap: 2px; text-align: right; }
.readout div { display: flex; justify-content: flex-end; gap: 12px; }
.readout dt { opacity: .65; text-transform: uppercase; letter-spacing: .12em; }
.readout dd { margin: 0; min-width: 8.5ch; font-variant-numeric: tabular-nums; }
body.end .corner { opacity: 0; }

/* Labels pinned to 3D points (camera prototype) */
#tags { position: absolute; inset: 0; overflow: hidden; }
.tag3d { position: absolute; left: 0; top: 0; display: flex; align-items: flex-start; opacity: 0; visibility: hidden; will-change: transform, opacity; }
.tag-line { flex: none; overflow: visible; }
.tag-line circle { fill: var(--orange); }
.tag-line path { fill: none; stroke: var(--on-film); stroke-width: 1; opacity: .85; }
.tag-box { margin-top: 8px; padding: 6px 9px; background: var(--paper-glass); color: var(--navy); border-radius: 6px; font-family: var(--mono); font-size: .64rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.tag-box b { display: block; font-weight: 500; }
.tag-box span { color: var(--orange); }

/* Route progress */
.route { position: absolute; left: var(--gx-l); right: var(--gx-r); bottom: calc(5.5vh + 22px); display: flex; justify-content: space-between; align-items: center; pointer-events: auto; }
.route-track { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.35); }
.route-track span { position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--orange); }
.route button { position: relative; background: var(--paper-glass); border: 0; color: var(--slate); font: 500 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .3s ease, color .3s ease; }
.route button.done { color: var(--navy); }
.route button.on { color: #fff; background: var(--orange); }

/* End of film: frosted paper panel with the sector chooser */
.endcard { position: absolute; right: var(--gx-r); top: 50%; transform: translateY(-50%); width: min(27rem, calc(100% - var(--gx-l) - var(--gx-r))); padding: 26px; background: var(--paper-glass); color: var(--navy); border-radius: 18px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgba(0,10,30,.28); opacity: 0; visibility: hidden; pointer-events: auto; }
.endcard .kicker { color: var(--slate); }
.end-logo { width: 150px; background: #fff; border-radius: 8px; overflow: hidden; line-height: 0; margin-bottom: 18px; }
.end-logo img { width: 100%; height: auto; }
.end-title { margin: 0 0 .6rem; font-weight: 600; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.1; }
.end-phone { margin: 0; font-weight: 600; font-size: 2rem; letter-spacing: -.03em; }
.end-phone a { text-decoration: none; }
.end-web { margin: .2rem 0 1.1rem; }
.end-web a { text-decoration-color: var(--orange); text-underline-offset: 4px; }
.end-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; border-top: 1px solid var(--rule); padding-top: 14px; }
.end-offices address { font-style: normal; font-size: .76rem; line-height: 1.45; color: var(--slate); min-width: 0; overflow-wrap: anywhere; }
.end-offices strong { display: block; color: var(--navy); font-family: var(--mono); font-weight: 500; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }

.endcard-sectors { left: var(--gx-l); right: var(--gx-r); width: auto; max-width: 1120px; margin: 0 auto; top: 50%; transform: translateY(-52%); padding: clamp(20px, 3vw, 34px); }
.end-q { margin: 0 0 1.3rem; font-weight: 600; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1; letter-spacing: -.045em; }
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sector { display: flex; flex-direction: column; gap: 4px; min-height: 172px; padding: 18px; background: var(--white); border: 1px solid var(--rule); border-radius: 12px; text-decoration: none; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; min-width: 0; }
.sector:hover, .sector:focus-visible { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,26,61,.12); }
.sector-n { font-family: var(--mono); font-size: .66rem; color: var(--slate); letter-spacing: .1em; }
.sector-name { font-weight: 600; font-size: 1.5rem; line-height: 1.05; letter-spacing: -.03em; margin-top: .4rem; }
.sector-line { color: var(--slate); font-size: .86rem; }
.sector-go { margin-top: auto; padding-top: 12px; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.end-contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 1.3rem 0 0; }
.end-contact a { font-weight: 600; font-size: 1.5rem; letter-spacing: -.03em; text-decoration: none; }
.end-contact a:hover { color: var(--orange); }
.end-contact span { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }

.noscript { position: fixed; inset: auto 0 40% 0; text-align: center; z-index: 50; }
body.no-gl #stage { background: var(--navy); }

@media (max-width: 720px) {
  .logo-plate { width: 106px; border-radius: 8px; }
  .call { padding: 9px 13px; font-size: .8rem; }
  .route button { padding: 6px 8px; font-size: .55rem; letter-spacing: .06em; }
  .cap { bottom: calc(5.5vh + 70px); }
  .cap-hero { top: auto; bottom: calc(5.5vh + 80px); transform: none; }
  .corner-tr { display: none; }
  .corner-br { top: calc(max(16px, env(safe-area-inset-top, 0px) + 8px) + 62px); bottom: auto; font-size: .6rem; }
  .endcard { left: var(--gx-l); right: var(--gx-r); top: auto; bottom: calc(5.5vh + 66px); transform: none; width: auto; padding: 18px; }
  .endcard-sectors { padding: 16px; }
  .end-q { font-size: 1.7rem; margin-bottom: .8rem; }
  .sectors { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sector { min-height: 0; padding: 12px; }
  .sector-name { font-size: 1.15rem; }
  .sector-line { display: none; }
  .sector-go { padding-top: 6px; font-size: .56rem; }
  .end-contact a { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .fx-grain, .hint span { animation: none; } }

/* phone icon in call buttons */
.call, .end-contact a { display: inline-flex; align-items: center; gap: 8px; }
.i-phone { flex: none; }
.end-contact .i-phone { color: var(--orange); }

/* top-right note: readable on any frame */
.corner-tr { padding: 10px 14px; background: var(--paper-glass); color: var(--navy); border-radius: 12px; text-shadow: none; opacity: 1; font-family: var(--sans); font-size: .78rem; line-height: 1.45; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0,10,30,.15); }
.corner-tr .slashes { font-family: var(--mono); }
.corner-tr { top: calc(max(16px, env(safe-area-inset-top, 0px) + 8px) + 64px); }

/* ---------- End of film: the card fan ----------
   Closed: one white Smarco card, bottom centre; the four sector cards wait stacked behind it.
   Open (hover, focus, tap; automatic on touch screens): they rise and fan out in an arc, like a hand of cards,
   each swinging around a pivot below the deck. The card under the cursor lifts and straightens. */
body.end .fx-vignette { background: radial-gradient(ellipse at 50% 62%, rgba(0,12,30,.18) 0%, rgba(0,12,30,.62) 100%); }
.fx-vignette { transition: background .8s ease; }

.endcard-fan { left: 50%; right: auto; top: auto; bottom: calc(5.5vh + 72px); transform: translateX(-50%); width: min(980px, calc(100% - var(--gx-l) - var(--gx-r)));
  padding: 0; background: none; box-shadow: none; border-radius: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.fan { position: relative; height: 520px; }

.fan-logo { position: absolute; left: 50%; bottom: 0; z-index: 10; width: 280px; transform: translateX(-50%); padding: 20px 26px 14px; background: #fff; border: 0; border-radius: 20px; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 30px 60px -20px rgba(0,10,30,.55), 0 10px 24px rgba(0,10,30,.18);
  transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .6s ease; }
.fan-logo img { width: 100%; height: auto; }
.fan-hint { display: block; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); transition: opacity .3s ease; }
.hint-tap { display: none; }
@media (hover: none) { .hint-hover { display: none; } .hint-tap { display: inline; } }
.fan.open .fan-logo { transform: translateX(-50%) translateY(6px) scale(.96); }

.fan-cards { position: absolute; inset: 0; }
.fan .sector { position: absolute; left: 50%; bottom: 40px; width: 200px; height: 260px; min-height: 0; padding: 18px 18px 16px;
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: 20px;
  background: linear-gradient(160deg, #0A2C5E 0%, #001A3D 55%, #00122B 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 24px 50px -18px rgba(0,8,24,.7);
  transform-origin: 50% 520%;
  --r: 0deg; --lift: 0px; --s: .82;
  transform: translateX(-50%) translateY(var(--lift)) rotate(var(--r)) scale(var(--s));
  opacity: 0; pointer-events: none;
  transition: transform .7s cubic-bezier(.2,.85,.25,1.08), opacity .35s ease, box-shadow .3s ease, border-color .3s ease; }
.sector-top { display: flex; justify-content: space-between; align-items: flex-start; }
.fan .sector-n { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; color: rgba(255,255,255,.55); }
.sector-ic { color: var(--gold); }
.fan .sector-name { margin-top: auto; font-weight: 600; font-size: 1.4rem; line-height: 1.05; letter-spacing: -.03em; color: #fff; }
.fan .sector-line { font-size: .82rem; line-height: 1.35; color: rgba(255,255,255,.66); }
.fan .sector-go { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }

/* open: rise and fan into an arc */
.fan.open .sector { opacity: 1; pointer-events: auto; --s: 1; --lift: -150px; }
.fan.open .c1 { --r: -15deg; transition-delay: .00s; }
.fan.open .c2 { --r: -5deg;  transition-delay: .05s; }
.fan.open .c3 { --r: 5deg;   transition-delay: .10s; }
.fan.open .c4 { --r: 15deg;  transition-delay: .15s; }
.fan.open .fan-cards:hover .sector { opacity: .72; }
.fan.open .fan-cards .sector:hover, .fan.open .fan-cards .sector:focus-visible { opacity: 1; --lift: -178px; --s: 1.05; border-color: rgba(252,84,0,.65); box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 34px 60px -16px rgba(0,8,24,.8); z-index: 3; transition-delay: 0s; }

@media (max-width: 1080px) { .fan .sector { width: 176px; height: 236px; } .fan.open .c1 { --r: -13deg; } .fan.open .c2 { --r: -4.3deg; } .fan.open .c3 { --r: 4.3deg; } .fan.open .c4 { --r: 13deg; } }
/* phones: no arc; the cards settle into a tidy 2 x 2 grid above the logo */
@media (max-width: 720px) {
  .endcard-fan { bottom: calc(5.5vh + 60px); }
  .fan { height: 500px; }
  .fan-logo { width: 220px; padding: 14px 18px 10px; }
  .fan-hint { font-size: .54rem; letter-spacing: .1em; white-space: nowrap; }
  .fan .sector { width: calc(50% - 6px); height: 150px; padding: 14px; bottom: 172px; transform-origin: 50% 50%; }
  .fan .sector-line { display: none; }
  .fan .sector-name { font-size: 1.1rem; }
  .sector-ic { width: 26px; height: 26px; }
  .fan .c1, .fan .c3 { left: 0; } .fan .c2, .fan .c4 { left: auto; right: 0; }
  .fan .sector { transform: translateY(var(--lift)) scale(var(--s)); }
  .fan.open .sector { --r: 0deg; }
  .fan.open .c1, .fan.open .c2 { --lift: -162px; }
  .fan.open .c3, .fan.open .c4 { --lift: 0px; }
  .fan.open .fan-cards:hover .sector { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .fan .sector, .fan-logo { transition: opacity .2s ease; } }

/* Logo on the film itself: no card. A feathered pool of light (no edges) keeps the navy wordmark legible. */
.fan-logo { width: 330px; padding: 10px 0 0; background: none; border-radius: 0; box-shadow: none; overflow: visible; }
.fan-logo::before { content: ""; position: absolute; left: 50%; top: 46%; width: 190%; height: 230%; transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(244,246,248,.94) 0%, rgba(244,246,248,.82) 38%, rgba(244,246,248,.42) 66%, rgba(244,246,248,0) 100%);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.fan-logo img { position: relative; filter: drop-shadow(0 1px 0 rgba(255,255,255,.6)); }
.fan-hint { position: relative; border-top: 0; margin-top: 2px; padding-top: 0; color: var(--navy); opacity: .7; }
.fan.open .fan-logo { transform: translateX(-50%) translateY(4px) scale(.94); }
.fan.open .fan-logo::before { transform: translate(-50%, -50%) scale(1.15); }
@media (max-width: 720px) { .fan-logo { width: 240px; padding-top: 6px; } }
/* the light pool sits behind the cards, not over them */
.fan-logo::before { display: none; }
.fan::before { content: ""; position: absolute; left: 50%; bottom: -70px; width: 700px; height: 380px; transform: translateX(-50%); z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(244,246,248,.9) 0%, rgba(244,246,248,.72) 34%, rgba(244,246,248,.3) 64%, rgba(244,246,248,0) 100%); }
.fan-cards { z-index: 1; }
.endcard-fan { bottom: calc(5.5vh + 92px); }
@media (max-width: 720px) { .fan::before { width: 440px; height: 300px; bottom: -60px; } .endcard-fan { bottom: calc(5.5vh + 74px); } }

/* ---------- Fade to paper ----------
   At the very end the film dissolves into the off-white ground (a trace of the frame stays underneath),
   so the official navy logo sits on a clean surface with no card or glow behind it. */
.fx-paper { position: fixed; inset: 0; z-index: 4; pointer-events: none; opacity: 0; background:
  radial-gradient(ellipse at 50% 30%, rgba(255,255,255,.65), rgba(255,255,255,0) 60%), var(--paper); }
.fan::before { display: none; }
body.end .fx-vignette { background: none; }
.fan-logo { width: 340px; }
.fan-hint { color: var(--slate); opacity: 1; }
.fan .sector { box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 22px 44px -18px rgba(0,26,61,.45); }
.fan.open .fan-cards .sector:hover, .fan.open .fan-cards .sector:focus-visible { box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 30px 56px -16px rgba(0,26,61,.5); }
.fan.open .fan-cards:hover .sector { opacity: .82; }
/* chrome that sat on the film adapts to the paper */
.logo-plate { transition: opacity .5s ease; }
body.end .logo-plate { opacity: 0; pointer-events: none; }
body.end .route-track { background: var(--rule); }
body.end .route button { background: var(--white); box-shadow: 0 0 0 1px var(--rule) inset; }
body.end .route button.on { background: var(--orange); box-shadow: none; }
@media (max-width: 720px) { .fan-logo { width: 250px; } }

/* End background: a bright, soft-focus restaurant generated for this screen (Higgsfield, Seedream 5.0 Pro).
   It replaces the plain paper; a light wash keeps the centre calm for the logo and cards. Swap -a for -b to try the alternative. */
.fx-paper { background:
  radial-gradient(ellipse at 50% 72%, rgba(244,246,248,.55) 0%, rgba(244,246,248,0) 55%),
  linear-gradient(180deg, rgba(244,246,248,.10) 0%, rgba(244,246,248,.30) 100%),
  url("../assets/end/end-bg-a.jpg") center 40% / cover no-repeat, var(--paper); }

/* One background per sector: the end screen shows the hotel image by default and cross-fades
   to the restaurant, school or institution image while that card is hovered or focused. */
.fx-paper { background: var(--paper); overflow: hidden; }
.fx-paper .bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; background-repeat: no-repeat; opacity: 0; transform: scale(1.04); transition: opacity .8s ease, transform 1.6s cubic-bezier(.2,.8,.2,1); }
.fx-paper .bg.on { opacity: 1; transform: scale(1); }
.fx-paper::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(ellipse at 50% 72%, rgba(244,246,248,.6) 0%, rgba(244,246,248,0) 55%),
  linear-gradient(180deg, rgba(244,246,248,.10) 0%, rgba(244,246,248,.32) 100%); }

/* Caption legibility: a soft cinematic shade from the left and bottom (no box), present while captions are on the film */
.fx-scrim { position: fixed; inset: 0; z-index: 3; pointer-events: none; transition: opacity .6s ease;
  background:
    linear-gradient(90deg, rgba(0,12,30,.62) 0%, rgba(0,12,30,.40) 28%, rgba(0,12,30,.12) 50%, rgba(0,12,30,0) 64%),
    linear-gradient(0deg, rgba(0,12,30,.45) 0%, rgba(0,12,30,0) 34%); }
body.end .fx-scrim { opacity: 0; }
.cap-line { font-weight: 500; opacity: 1; text-shadow: 0 1px 2px rgba(0,8,24,.5), 0 2px 18px rgba(0,8,24,.6); }
.hint { opacity: 1; font-weight: 500; text-shadow: 0 1px 2px rgba(0,8,24,.6); }
.kicker { text-shadow: 0 1px 2px rgba(0,8,24,.5); }
@media (max-width: 720px) {
  .fx-scrim { background: linear-gradient(0deg, rgba(0,12,30,.7) 0%, rgba(0,12,30,.45) 32%, rgba(0,12,30,0) 62%); }
}

/* =====================================================================
   Framed cinema (v3): the film plays inside a large rounded frame set on the paper ground.
   Editorial type: oversized two-tone headline at the bottom, big thin stage numerals,
   text tabs for the route, micro navigation in the top bar. No dark scrims.
   ===================================================================== */
body { background: var(--paper); }
.frame { position: fixed; inset: 12px; border-radius: 26px; overflow: hidden; transform: translateZ(0); background: #0B1220; z-index: 0;
  box-shadow: 0 0 0 1px rgba(0,26,61,.06), 0 30px 80px -30px rgba(0,26,61,.35); }
.frame #stage, .frame .fx-vignette, .frame .fx-grain, .frame .fx-paper, .frame .fx-scrim, .frame .fx-letterbox i { position: absolute; }
.frame #stage { inset: 0; width: 100%; height: 100%; }
.fx-scrim { background: linear-gradient(0deg, rgba(0,12,30,.55) 0%, rgba(0,12,30,.18) 26%, rgba(0,12,30,0) 46%); }
.fx-vignette { background: radial-gradient(ellipse at 50% 40%, rgba(0,0,0,0) 62%, rgba(0,10,25,.28) 100%); }

/* top bar sits inside the frame */
.topbar { top: 12px; left: 12px; right: 12px; padding-block: 18px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.logo-plate { width: 120px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,10,30,.18); }
.topnav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; border-radius: 999px; pointer-events: auto;
  background: rgba(255,255,255,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset; transition: background .4s ease; }
.topnav button, .topnav a { appearance: none; border: 0; background: none; color: #fff; font: 500 .82rem/1 var(--sans); letter-spacing: -.01em; padding: 9px 14px; border-radius: 999px; cursor: pointer; text-decoration: none; }
.topnav button:hover, .topnav a:hover { background: rgba(255,255,255,.18); }
body.end .topnav { background: rgba(255,255,255,.8); box-shadow: 0 0 0 1px var(--rule) inset; }
body.end .topnav button, body.end .topnav a { color: var(--navy); }

/* hero: oversized two-tone headline anchored to the bottom of the frame */
.cap-hero { top: auto; transform: none; left: calc(12px + max(28px, env(safe-area-inset-left, 0px))); right: calc(12px + max(28px, env(safe-area-inset-right, 0px))); width: auto; bottom: calc(12px + 96px);
  display: grid; grid-template-columns: 1fr minmax(0, 300px); align-items: end; gap: 32px; text-shadow: 0 2px 30px rgba(0,8,24,.35); }
.cap-hero h1 { margin: 0; font-weight: 600; font-size: clamp(2.8rem, 7.2vw, 7.4rem); line-height: .92; letter-spacing: -.055em; }
.cap-hero h1 span { display: block; }
.cap-hero h1 .dim { color: rgba(255,255,255,.58); font-weight: 500; }
.hero-meta { padding-bottom: 8px; }
.hero-meta .cap-line { font-size: .95rem; line-height: 1.5; font-weight: 400; max-width: none; }
.hero-meta .hint { margin-top: 18px; font-size: .64rem; }

/* chapter captions: big thin numeral + title */
.cap:not(.cap-hero) { left: calc(12px + max(28px, env(safe-area-inset-left, 0px))); bottom: calc(12px + 96px); width: min(48rem, calc(100% - 80px)); display: flex; align-items: flex-end; gap: clamp(16px, 2.4vw, 32px); text-shadow: 0 2px 26px rgba(0,8,24,.4); }
.cap-n { font-weight: 200; font-size: clamp(4.6rem, 10vw, 9rem); line-height: .78; letter-spacing: -.06em; color: #fff; font-variant-numeric: tabular-nums; }
.cap-body { padding-bottom: 6px; min-width: 0; }
.cap-body .kicker { margin-bottom: .6rem; }
.cap h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); letter-spacing: -.045em; }
.cap-line { text-shadow: 0 1px 2px rgba(0,8,24,.35), 0 2px 18px rgba(0,8,24,.45); }

/* route: text tabs with an orange dot on the active stage */
.route { left: calc(12px + max(28px, env(safe-area-inset-left, 0px))); right: calc(12px + max(28px, env(safe-area-inset-right, 0px))); bottom: calc(12px + 30px); }
.route-track { background: rgba(255,255,255,.28); }
.route button { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; color: rgba(255,255,255,.62); font: 500 .74rem/1 var(--sans); letter-spacing: -.01em; text-transform: none; padding: 8px 2px 8px 14px; border-radius: 0; position: relative; }
.route button::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: rgba(255,255,255,.5); transition: background .3s ease, transform .3s ease; }
.route button.done { color: rgba(255,255,255,.85); }
.route button.done::before { background: #fff; }
.route button.on { color: #fff; background: none; }
.route button.on::before { background: var(--orange); transform: scale(1.5); }
body.end .route button { background: none; box-shadow: none; color: var(--slate); }
body.end .route button.on { color: var(--navy); background: none; }
body.end .route button::before { background: var(--slate); }
body.end .route button.on::before { background: var(--orange); }
.route button { text-shadow: 0 1px 10px rgba(0,8,24,.5); }
body.end .route button { text-shadow: none; }

/* end screen inside the frame */
.endcard-fan { bottom: calc(12px + 96px); }

@media (max-width: 860px) { .topnav { display: none; } }
@media (max-width: 720px) {
  .frame { inset: 8px; border-radius: 18px; }
  .topbar { top: 8px; left: 8px; right: 8px; padding-block: 14px; padding-left: 14px; padding-right: 14px; }
  .logo-plate { width: 100px; }
  .cap-hero { grid-template-columns: 1fr; gap: 14px; left: 26px; right: 26px; bottom: calc(8px + 82px); }
  .cap-hero h1 { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .cap:not(.cap-hero) { left: 26px; bottom: calc(8px + 82px); width: calc(100% - 52px); gap: 14px; }
  .cap-n { font-size: 4rem; }
  .cap h2 { font-size: 1.7rem; }
  .route { left: 22px; right: 22px; bottom: calc(8px + 24px); }
  .route button { font-size: .62rem; padding-left: 11px; }
  .endcard-fan { bottom: calc(8px + 70px); }
}
/* route: dots on the line, labels beneath */
.route { align-items: flex-start; }
.route-track { top: 5px; }
.route button { padding: 18px 0 0; }
.route button::before { left: 0; top: 5px; margin-top: -3.5px; }
.route button:last-of-type { text-align: right; }
.route button:last-of-type::before { left: auto; right: 0; }
.route { bottom: calc(12px + 26px); }
.cap-hero h1 .dim { color: rgba(255,255,255,.74); }
@media (max-width: 720px) { .route { bottom: calc(8px + 20px); } .route button { padding-top: 16px; } }

/* ---------- Opening: logo assembles, then flies to the corner ---------- */
#intro { display: none; }
html.intro #intro, html.intro-done #intro { display: block; position: fixed; inset: 0; z-index: 200; pointer-events: none; }
html.intro { overflow: hidden; }
html.intro #intro { pointer-events: auto; }
.intro-bg { position: absolute; inset: 0; background: var(--paper); }
.intro-logo { position: fixed; transform-origin: 0 0; will-change: transform; }
.intro-logo img { position: absolute; display: block; }
.intro-base, .intro-full { inset: 0; width: 100%; height: 100%; }
.intro-full { opacity: 0; }
.intro-star { opacity: 0; will-change: transform, opacity; }
.intro-bar { position: absolute; left: 50%; bottom: 12vh; width: min(160px, 40vw); height: 2px; transform: translateX(-50%); background: var(--rule); border-radius: 2px; overflow: hidden; }
.intro-bar span { display: block; width: 0; height: 100%; background: var(--gold); transition: width .3s ease; }
html.intro .logo-plate { opacity: 0; }

/* ---------- Star flight: the corner logo's stars travel down the journey to the end logo ---------- */
.logo-stack { position: relative; display: block; line-height: 0; }
.logo-stack .lg-full { display: block; width: 100%; height: auto; }
.logo-stack .lg-base { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
html.stars-out .logo-plate .lg-full { opacity: 0; }
html.stars-out .logo-plate .lg-base { opacity: 1; }
html.stars-out:not(.stars-home) .fan-logo .lg-full { opacity: 0; }
html.stars-out:not(.stars-home) .fan-logo .lg-base { opacity: 1; }
#star-flight { position: fixed; inset: 0; z-index: 60; pointer-events: none; display: none; }
html.stars-out:not(.stars-home) #star-flight { display: block; }
#star-flight img { position: absolute; left: 0; top: 0; transform-origin: 50% 50%; will-change: transform; filter: drop-shadow(0 0 6px rgba(216,168,72,.55)); }

/* SEO eyebrow inside the hero H1, styled as a small label */
.cap-hero h1 .h1-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 1.2rem; font-family: "Geist Mono", ui-monospace, monospace; font-weight: 400; font-size: .72rem; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.cap-hero h1 .h1-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange, #FC5400); flex: none; }
@media (max-width: 720px) { .cap-hero h1 .h1-eyebrow { font-size: .62rem; margin-bottom: .9rem; } }

/* /* ---------- Phone number animation: a light sweep across the call buttons, a ringing handset,
   and soft waves around the contact icon. Calm, looping, and quieter for reduced motion. ---------- */
.call, .s-call, .s-cta[href^="tel:"] { position: relative; overflow: hidden; isolation: isolate; }
.call::after, .s-call::after, .s-cta[href^="tel:"]::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 80%, transparent 100%);
  transform: skewX(-18deg); animation: phone-shine 5.2s cubic-bezier(.4,0,.2,1) infinite; }
.s-cta[href^="tel:"]::after { animation-delay: 1.3s; }
@keyframes phone-shine { 0%, 62% { left: -60%; } 86%, 100% { left: 130%; } }

.call .i-phone, .s-call .i-phone, .s-phone-ic svg { transform-origin: 50% 55%; animation: phone-ring 5.2s ease-in-out infinite; }
.call:hover .i-phone, .s-call:hover .i-phone, .s-phone:hover .s-phone-ic svg { animation-duration: 1.3s; }
@keyframes phone-ring {
  0%, 70%, 100% { transform: rotate(0); }
  72% { transform: rotate(-16deg); } 74% { transform: rotate(14deg); } 76% { transform: rotate(-12deg); }
  78% { transform: rotate(10deg); } 80% { transform: rotate(-6deg); } 82% { transform: rotate(3deg); } 84% { transform: rotate(0); } }

@media (prefers-reduced-motion: reduce) {
  .call .i-phone, .s-call .i-phone { animation: none; }
  .call::after, .s-call::after, .s-cta[href^="tel:"]::after { animation-duration: 9s; }
}

/* Phones and tablets: the section menu stays available as a compact glass pill under the header */
@media (max-width: 860px) {
  .topnav { display: flex; top: calc(100% + 4px); gap: 2px; padding: 4px; max-width: calc(100vw - 40px); }
  .topnav button, .topnav a { padding: 8px 11px; font-size: .76rem; }
}
@media (max-width: 360px) { .topnav button, .topnav a { padding: 7px 8px; font-size: .7rem; } }

/* THEME: Midnight & Brass on the film page: midnight around the frame, ivory logo plates, ivory intro */
html, body { background: #050F22; }
.frame { box-shadow: 0 0 0 1px rgba(216,168,72,.22), 0 40px 120px -40px rgba(0,0,0,.9); }
.logo-plate { background: #F5EFE2; }
.intro-bg { background: radial-gradient(900px 520px at 80% -10%, rgba(216,168,72,.18), transparent 60%), #F5EFE2; }

/* Midnight & Brass polish on the film page: champagne call button with navy type */
.call { background: linear-gradient(135deg, #F3D9A0 0%, #D8A848 48%, #B88A30 100%); color: #071631; box-shadow: 0 0 0 1px rgba(255,236,190,.35) inset, 0 12px 30px -12px rgba(216,168,72,.75); }
.call:hover { background: linear-gradient(135deg, #F7E3B4 0%, #E0B358 48%, #C29436 100%); }
.call .i-phone { color: #071631; }

/* TYPOGRAPHY on the film page: Instrument Serif display with an italic second line */
:root { --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.cap-hero h1 span:not(.h1-eyebrow), .cap h2, .cap-n, .sector-name, .fan .sector-name { font-family: var(--serif); font-weight: 400; }
.cap-hero h1 { font-size: clamp(3.2rem, 8vw, 8.4rem); line-height: .9; letter-spacing: -.02em; }
.cap-hero h1 .dim { font-style: italic; color: rgba(247,233,200,.9); font-weight: 400; }
.cap h2 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: .98; letter-spacing: -.012em; }
.cap-n { font-style: italic; font-size: clamp(5rem, 11vw, 10rem); letter-spacing: -.02em; line-height: .8; color: rgba(243,217,160,.95); }
.fan .sector-name { font-size: 1.7rem; letter-spacing: -.005em; line-height: 1; }
@media (max-width: 720px) {
  .cap-hero h1 { font-size: clamp(2.6rem, 12vw, 3.8rem); }
  .cap h2 { font-size: 2rem; } .cap-n { font-size: 4.4rem; }
  .fan .sector-name { font-size: 1.3rem; }
}

/* ---------- Midnight end screen: the film dissolves into midnight instead of white ----------
   The sector photograph stays, dimmed under a navy wash with a brass glow; the official logo sits on
   an ivory plate (unaltered) and the chrome turns ivory and brass. */
.fx-paper { background: #050F22; }
.fx-paper .bg { filter: saturate(.92) brightness(.82); }
.fx-paper::after { background:
  radial-gradient(900px 520px at 85% -10%, rgba(216,168,72,.16), transparent 60%),
  radial-gradient(ellipse at 50% 80%, rgba(5,15,34,.7) 0%, rgba(5,15,34,0) 62%),
  linear-gradient(180deg, rgba(5,15,34,.62) 0%, rgba(5,15,34,.38) 42%, rgba(5,15,34,.88) 100%); }
.fan-logo { background: #F5EFE2; padding: 16px 26px 12px; border-radius: 20px; box-shadow: 0 0 0 1px rgba(216,168,72,.4), 0 30px 70px -20px rgba(0,0,0,.85); }
.fan-logo img { filter: none; }
.fan-hint { color: #5A6472; }
.fan .sector { box-shadow: 0 0 0 1px rgba(216,168,72,.28), 0 26px 50px -18px rgba(0,0,0,.75); }
body.end .topnav { background: rgba(5,15,34,.55); box-shadow: 0 0 0 1px rgba(216,168,72,.25) inset; }
body.end .topnav button, body.end .topnav a { color: #F7F1E4; }
body.end .route-track { background: rgba(216,168,72,.28); }
body.end .route button { background: transparent; box-shadow: none; color: rgba(247,241,228,.78); }
body.end .route button.on { color: #F3D9A0; background: transparent; }
@media (max-width: 720px) { .fan-logo { padding: 12px 18px 9px; } }

/* ---------- End screen logo card: "live" brass card (Magic UI-style border beam, shine, ripple, sparkles, tilt) ---------- */
@property --fan-beam { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.fan-logo { --rx: 0deg; --ry: 0deg; --ty: 0px; --sc: 1;
  transform: translateX(-50%) perspective(900px) translateY(var(--ty)) scale(var(--sc)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease; isolation: isolate;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), #FFFBF1, #F5EFE2 60%); }
.fan.open .fan-logo { --ty: 6px; --sc: .96; transform: translateX(-50%) perspective(900px) translateY(var(--ty)) scale(var(--sc)) rotateX(var(--rx)) rotateY(var(--ry)); }
.fan-logo:hover { box-shadow: 0 0 0 1px rgba(216,168,72,.65), 0 0 46px -6px rgba(216,168,72,.55), 0 34px 80px -20px rgba(0,0,0,.9); }
/* border beam: a spark of light that runs around the edge */
.fan-logo::after { content: ""; position: absolute; inset: -1.5px; border-radius: 21.5px; padding: 2px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--fan-beam), transparent 0deg 220deg, rgba(216,168,72,.0) 250deg, #D8A848 300deg, #FFF3D6 335deg, #E9C27A 350deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: fan-beam 4.5s linear infinite; }
@keyframes fan-beam { to { --fan-beam: 360deg; } }
/* shine: a soft light sweep across the plate */
.fan-logo .fan-shine { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 1; }
.fan-logo .fan-shine::before { content: ""; position: absolute; top: -30%; bottom: -30%; left: -70%; width: 45%; transform: skewX(-20deg);
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.75) 50%, transparent); mix-blend-mode: soft-light; animation: fan-shine 5.5s cubic-bezier(.4,0,.2,1) infinite 1.2s; }
@keyframes fan-shine { 0%, 62% { left: -70%; } 90%, 100% { left: 135%; } }
.fan-logo .logo-stack, .fan-logo .fan-hint { position: relative; z-index: 3; }
/* ripple: brass rings breathing out from behind the card */
.fan-ripple { position: absolute; left: 50%; bottom: 0; width: 340px; height: 150px; transform: translateX(-50%); z-index: 9; pointer-events: none; }
.fan-ripple i { position: absolute; inset: 0; border-radius: 26px; border: 1px solid rgba(216,168,72,.55); opacity: 0; animation: fan-ripple 3.6s cubic-bezier(.2,.6,.3,1) infinite; }
.fan-ripple i:nth-child(2) { animation-delay: 1.2s; } .fan-ripple i:nth-child(3) { animation-delay: 2.4s; }
@keyframes fan-ripple { 0% { transform: scale(.92); opacity: .75; } 100% { transform: scale(1.45, 1.9); opacity: 0; } }
.fan.open .fan-ripple { opacity: 0; transition: opacity .3s ease; }
/* sparkles: tiny four-point stars that twinkle around the card */
.fan-sparks { position: absolute; left: 50%; bottom: -20px; width: 460px; height: 200px; transform: translateX(-50%); z-index: 11; pointer-events: none; }
.fan-sparks svg { position: absolute; width: var(--z, 12px); height: var(--z, 12px); color: #F3D9A0; filter: drop-shadow(0 0 6px rgba(216,168,72,.9)); opacity: 0; animation: fan-spark 2.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes fan-spark { 0%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 45% { opacity: 1; transform: scale(1) rotate(70deg); } 70% { opacity: 0; transform: scale(.4) rotate(120deg); } }
.fan.open .fan-sparks { opacity: 0; transition: opacity .3s ease; }
/* hint: shimmering text and a nudging arrow */
.fan-hint { display: flex; align-items: center; justify-content: center; gap: 8px; }
.fan-hint > span { background: linear-gradient(90deg, #5A6472 0%, #5A6472 40%, #B88A30 50%, #5A6472 60%, #5A6472 100%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: fan-text 3.2s linear infinite; }
@keyframes fan-text { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.fan-hint::before { content: ""; width: 7px; height: 7px; border-left: 1.5px solid #B88A30; border-top: 1.5px solid #B88A30; transform: rotate(45deg); margin-top: 4px; animation: fan-nudge 1.4s ease-in-out infinite; }
@keyframes fan-nudge { 0%, 100% { transform: translateY(2px) rotate(45deg); opacity: .5; } 50% { transform: translateY(-3px) rotate(45deg); opacity: 1; } }
.fan.open .fan-hint::before { animation: none; opacity: 0; }
/* click burst */
.fan-logo .fan-burst { position: absolute; left: var(--bx, 50%); top: var(--by, 50%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; z-index: 4; pointer-events: none;
  background: radial-gradient(circle, rgba(216,168,72,.55), rgba(216,168,72,0) 70%); animation: fan-burst .7s ease-out forwards; }
@keyframes fan-burst { to { transform: scale(40); opacity: 0; } }
@media (max-width: 720px) { .fan-ripple { width: 270px; height: 120px; } .fan-sparks { width: 340px; } }
@media (prefers-reduced-motion: reduce) {
  .fan-logo::after, .fan-logo .fan-shine::before, .fan-ripple i, .fan-sparks svg, .fan-hint > span, .fan-hint::before, .fan-logo .fan-burst { animation: none; }
  .fan-ripple, .fan-sparks { display: none; }
  .fan-hint > span { color: #5A6472; background: none; }
  .fan-logo::after { background: conic-gradient(from 300deg, transparent 0deg 300deg, #D8A848 340deg, transparent 360deg); }
}
/* phones: keep the logo card clear of the chat button */
@media (max-width: 720px) { .fan-logo { width: 220px; } .fan-ripple { width: 236px; height: 112px; } .fan-sparks { width: 300px; } }
/* phones: keep the top row of sector cards below the menu */
@media (max-width: 720px) { .fan .sector { height: 138px; bottom: 156px; padding: 12px 14px; } .fan .sector-name { font-size: 1.2rem; } .fan .sector-go { margin-top: 6px; padding-top: 8px; } .fan.open .c1, .fan.open .c2 { --lift: -148px; } }

/* polish pass: keep film captions clear of the Captain Marco button, and wrap lines evenly */
.cap h2, .cap-hero h1 { text-wrap: balance; }
.cap-line { text-wrap: pretty; }
@media (min-width: 721px) { .hero-meta { padding-bottom: 78px; } }
@media (max-width: 720px) {
  .cap-body { padding-right: 64px; }
  .cap-hero .hero-meta { padding-right: 64px; }
}
@media (min-width: 721px) and (max-width: 1100px) { .cap:not(.cap-hero) { width: min(48rem, calc(100% - 330px)); } }

/* ---------- Restraint pass: fewer things moving at once, each one slower and softer ---------- */
.fan-ripple i:nth-child(n+2) { display: none; }
.fan-ripple i { border-color: rgba(216,168,72,.35); animation-duration: 5.2s; }
.fan-sparks svg:nth-child(2n) { display: none; }
.fan-sparks svg { animation-duration: 4.2s; }
.fan-logo .fan-shine::before { animation-duration: 9s; }
.fan-logo::after { animation-duration: 7s; }

/* ---------- Text on the brighter film: a soft navy pool behind the words, brand gold accents ---------- */
.fx-scrim { background:
  radial-gradient(75% 70% at 12% 92%, rgba(5,15,34,.78) 0%, rgba(5,15,34,.52) 40%, rgba(5,15,34,0) 75%),
  linear-gradient(0deg, rgba(5,15,34,.6) 0%, rgba(5,15,34,.22) 28%, rgba(5,15,34,0) 48%); }
.cap, .cap-hero { text-shadow: 0 1px 2px rgba(3,10,24,.55), 0 4px 30px rgba(3,10,24,.55); }
.cap-hero h1 span:not(.h1-eyebrow):not(.dim), .cap h2 { color: #FFFBF1; }
.cap-hero h1 .dim { color: #EBC77E; }
.cap-n { color: #EBC77E; }
.cap .kicker, .cap-hero h1 .h1-eyebrow { color: #F3D9A0; }
.cap-line { color: rgba(255,251,241,.94); }
@media (max-width: 720px) {
  .fx-scrim { background:
    linear-gradient(0deg, rgba(5,15,34,.86) 0%, rgba(5,15,34,.62) 30%, rgba(5,15,34,.18) 52%, rgba(5,15,34,0) 66%); }
}
/* client login link: shown in the menu on larger screens */
.topnav .np-s { display: none; }
@media (max-width: 720px) { .topnav .np-l { display: none; } .topnav .np-s { display: inline; } }

/* Reversed logo (ivory wordmark) sits straight on the dark site: no plate. A soft shadow keeps it clear over bright frames. */
.logo-plate { width: 150px; background: none; border-radius: 0; box-shadow: none; overflow: visible; filter: drop-shadow(0 2px 10px rgba(0,8,24,.6)) drop-shadow(0 0 1px rgba(0,8,24,.5)); }
.logo-plate .logo-stack { margin: -6% 0 -8% -4%; }
@media (max-width: 720px) { .logo-plate { width: 124px; } }
/* intro: the official navy logo (on ivory) turns into the reversed logo as it flies onto the dark film */
.intro-rev { inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 5; }

/* ---------- End screen logo card: dark glass with a brass edge and the reversed (ivory) logo ---------- */
.fan-logo { padding: 18px 26px 13px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(52,78,132,.5), rgba(10,26,58,.68) 62%), rgba(6,16,38,.42);
  -webkit-backdrop-filter: blur(16px) saturate(135%); backdrop-filter: blur(16px) saturate(135%);
  box-shadow: 0 0 0 1px rgba(216,168,72,.6), inset 0 1px 0 rgba(255,255,255,.08), 0 30px 70px -20px rgba(0,0,0,.85); }
.fan-logo:hover { box-shadow: 0 0 0 1px rgba(243,217,160,.85), inset 0 1px 0 rgba(255,255,255,.1), 0 0 46px -6px rgba(216,168,72,.5), 0 34px 80px -20px rgba(0,0,0,.9); }
.fan-logo .fan-shine::before { background: linear-gradient(100deg, transparent, rgba(255,236,190,.22) 50%, transparent); mix-blend-mode: screen; }
.fan-hint { margin-top: 8px; padding-top: 9px; border-top: 1px solid rgba(216,168,72,.28); }
.fan-hint > span { background-image: linear-gradient(90deg, #D8A848 0%, #D8A848 40%, #FFF3D6 50%, #D8A848 60%, #D8A848 100%); }
.fan-hint::before { border-color: #D8A848; }
@media (prefers-reduced-motion: reduce) { .fan-hint > span { color: #D8A848; background: none; } }
@media (max-width: 720px) { .fan-logo { padding: 13px 18px 9px; } }

/* ---------- Sector cards on the end screen: brass light that follows the cursor, a glowing edge near it, and a light sweep on hover ---------- */
.fan .sector { overflow: hidden; isolation: isolate; }
.fan .sector > * { position: relative; z-index: 2; }
.fan .sector::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s ease;
  background: radial-gradient(150px circle at var(--mx, 50%) var(--my, 30%), rgba(255,204,120,.42), rgba(216,168,72,.18) 45%, transparent 100%),
              linear-gradient(105deg, transparent 35%, rgba(255,236,190,.22) 50%, transparent 65%) -160% 0 / 260% 100% no-repeat; }
.fan .sector::after { content: ""; position: absolute; inset: -1px; z-index: 3; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity .45s ease;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 30%), #FFF3D6, rgba(216,168,72,.7) 45%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
@media (hover: hover) {
  .fan.open .fan-cards .sector:hover::before, .fan.open .fan-cards .sector:focus-visible::before { opacity: 1; animation: sector-sweep 1.1s cubic-bezier(.4,0,.2,1) .05s both; }
  .fan.open .fan-cards .sector:hover::after, .fan.open .fan-cards .sector:focus-visible::after { opacity: 1; }
  .fan.open .fan-cards .sector:hover .sector-ic { color: #F3D9A0; filter: drop-shadow(0 0 8px rgba(216,168,72,.6)); }
}
.fan .sector-ic { transition: color .35s ease, filter .35s ease; }
@keyframes sector-sweep { from { background-position: center, -160% 0; } to { background-position: center, 160% 0; } }
@media (prefers-reduced-motion: reduce) { .fan.open .fan-cards .sector:hover::before { animation: none; } }

/* =====================================================================================
   End screen: sector accordion. The Smarco logo sits above four photo panels in one row.
   The panel under the cursor opens wide (Hotels is open until the visitor chooses);
   the others fold into slim columns with their name set vertically. Everything stays
   between the menu and the route bar, so short screens never clip it.
   ===================================================================================== */
.endcard-fan { top: calc(12px + 84px); bottom: calc(12px + 116px); left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - var(--gx-l) - var(--gx-r))); display: flex; align-items: center; justify-content: center; }
.fan.deck { position: relative; height: auto; width: 100%; display: flex; flex-direction: column; align-items: center; gap: clamp(8px, 1.6vh, 16px); }
.fan.deck .fan-logo { position: relative; left: auto; bottom: auto; transform: none; width: clamp(128px, 17vh, 210px); padding: 0; margin: 0;
  background: none; box-shadow: none; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; cursor: default; filter: drop-shadow(0 4px 18px rgba(0,8,24,.6)); }
.fan.deck .fan-logo::after, .fan.deck .fan-logo::before { display: none; }
.fan.deck .fan-logo:hover { box-shadow: none; }
.deck-label { display: flex; align-items: center; gap: 14px; margin: 0; font: 500 .64rem/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: #D8A848; }
.deck-label::before, .deck-label::after { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, transparent, rgba(216,168,72,.7)); }
.deck-label::after { transform: scaleX(-1); }

.fan.deck .acc { position: relative; inset: auto; width: 100%; height: clamp(180px, calc(100vh - 380px), 440px); display: flex; gap: 10px; }
.fan.deck .acc .sector { --o: 0; position: relative; left: auto; bottom: auto; width: auto; height: auto; min-width: 0; flex: 1 1 0; padding: 22px 24px; margin: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; overflow: hidden; isolation: isolate;
  opacity: 1; pointer-events: auto; transform: none; transform-origin: 50% 50%; border-radius: 18px; background: #0A1A38;
  border: 1px solid rgba(216,168,72,.28); box-shadow: 0 24px 50px -22px rgba(0,0,0,.85);
  transition: flex-grow .8s cubic-bezier(.22,.8,.2,1), border-color .5s ease, box-shadow .5s ease; }
/* open panel: Hotels until the visitor points at another one */
.fan.deck .acc:not(:hover):not(:focus-within) .c1, .fan.deck .acc .sector:hover, .fan.deck .acc .sector:focus-visible {
  --o: 1; flex-grow: 3.6; border-color: rgba(243,217,160,.75); box-shadow: 0 0 0 1px rgba(216,168,72,.25), 0 30px 60px -22px rgba(0,0,0,.9); }
.fan.deck .acc .sector:focus-visible { outline: 2px solid #F3D9A0; outline-offset: 3px; }

/* the photograph, a wash for legibility, and a slow push-in when the panel opens */
.fan.deck .sector > .sector-img { position: absolute; inset: 0; z-index: 0; display: block; background: #0A1A38 center / cover no-repeat;
  transform: scale(1.12); filter: saturate(.85) brightness(.62); transition: transform 1.4s cubic-bezier(.2,.8,.2,1), filter .8s ease; }
.fan.deck .sector > .sector-img::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,12,28,.55) 0%, rgba(4,12,28,.1) 28%, rgba(4,12,28,.25) 55%, rgba(4,12,28,.94) 100%); }
.fan.deck .acc:not(:hover):not(:focus-within) .c1 > .sector-img, .fan.deck .acc .sector:hover > .sector-img, .fan.deck .acc .sector:focus-visible > .sector-img { transform: scale(1.02); filter: saturate(1) brightness(.92); }

/* number and icon on top; vertical name while folded; full details while open */
.fan.deck .sector > .sector-top { position: absolute; top: 18px; left: 20px; right: 18px; z-index: 2; }
.fan.deck .sector-n { color: rgba(243,217,160,.85); }
.fan.deck .sector-ic { color: #F3D9A0; filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)); }
.fan.deck .sector > .sector-v { position: absolute; left: 50%; bottom: 26px; z-index: 2; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg);
  font: 400 clamp(1.15rem, 2.2vh, 1.5rem)/1 var(--serif); color: #F7F1E4; white-space: nowrap; text-shadow: 0 2px 12px rgba(0,0,0,.6);
  opacity: calc(1 - var(--o)); transition: opacity .45s ease; }
.fan.deck .sector-name, .fan.deck .sector-line, .fan.deck .sector-go { min-width: 280px; opacity: var(--o); transform: translateY(calc((1 - var(--o)) * 14px));
  transition: opacity .5s ease .12s, transform .7s cubic-bezier(.2,.8,.2,1) .1s; }
.fan.deck .sector-name { margin: 0; font-size: clamp(1.7rem, 4vh, 2.5rem); line-height: 1; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.fan.deck .sector-line { font-size: .95rem; color: rgba(247,241,228,.82); }
.fan.deck .sector-go { margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(216,168,72,.35); width: max-content; min-width: 0; color: #FF7A35; }
.fan.deck .acc .sector:hover .sector-go span { display: inline-block; transform: translateX(4px); transition: transform .3s ease; }

/* cursor light: lives on the open panel only */
.fan.deck .acc .sector::before { opacity: 0; }
@media (hover: hover) {
  .fan.deck .acc .sector:hover::before { opacity: 1; animation: sector-sweep 1.2s cubic-bezier(.4,0,.2,1) .15s both; }
  .fan.deck .acc .sector:hover::after { opacity: 1; }
}

/* phones and narrow screens: a 2 x 2 grid of photo tiles, every name visible */
@media (max-width: 720px) {
  .endcard-fan { top: calc(8px + 112px); bottom: calc(8px + 74px); }
  .fan.deck .fan-logo { width: 128px; }
  .fan.deck .acc { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .fan.deck .acc .sector, .fan.deck .acc .sector:hover, .fan.deck .acc:not(:hover):not(:focus-within) .c1 { --o: 1; height: clamp(108px, 19vh, 160px); padding: 14px; border-color: rgba(216,168,72,.4); }
  .fan.deck .sector > .sector-img { transform: none; filter: saturate(.95) brightness(.8); }
  .fan.deck .sector > .sector-v, .fan.deck .sector-line { display: none; }
  .fan.deck .sector > .sector-top { top: 12px; left: 14px; right: 12px; }
  .fan.deck .sector-ic { width: 26px; height: 26px; }
  .fan.deck .sector-name { min-width: 0; font-size: 1.2rem; }
  .fan.deck .sector-go { min-width: 0; margin-top: 4px; padding-top: 7px; font-size: .58rem; }
}
@media (prefers-reduced-motion: reduce) { .fan.deck .acc .sector, .fan.deck .sector > .sector-img { transition-duration: .01ms; } }

/* =====================================================================================
   Home: About section after the film. It rises over the end screen once the film has
   finished (a short hold first), and gives search engines and visitors the full story.
   ===================================================================================== */
.more { position: relative; z-index: 30; margin-top: 70vh; background:
  radial-gradient(1000px 600px at 90% 0%, rgba(216,168,72,.12), transparent 60%), linear-gradient(180deg, #071631 0%, #050F22 30%);
  color: #F7F1E4; border-radius: 28px 28px 0 0; box-shadow: 0 -30px 80px -20px rgba(0,0,0,.8), 0 -1px 0 rgba(216,168,72,.35); }
.more::before { content: ""; position: absolute; left: 50%; top: 14px; width: 44px; height: 4px; border-radius: 4px; transform: translateX(-50%); background: rgba(216,168,72,.45); }
.mo-wrap { width: min(1180px, calc(100% - var(--gx-l) - var(--gx-r))); margin: 0 auto; padding: 48px 0 40px; }
.mo-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mo-back { appearance: none; border: 0; background: rgba(255,255,255,.05); color: #F7F1E4; font: 500 .82rem/1 var(--sans); padding: 11px 16px; border-radius: 999px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(216,168,72,.3); }
.mo-back:hover { box-shadow: inset 0 0 0 1px #D8A848; }
.mo-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font: 600 .9rem/1 var(--sans); color: #071631; text-decoration: none;
  background: linear-gradient(135deg, #F3D9A0, #D8A848 48%, #B88A30); box-shadow: 0 12px 28px -14px rgba(216,168,72,.8); }
.mo-ghost { display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 999px; font: 500 .9rem/1 var(--sans); color: #F7F1E4; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(216,168,72,.4); }
.mo-ghost:hover { box-shadow: inset 0 0 0 1px #D8A848; }
.mo-kicker { margin: 0 0 12px; font: 500 .68rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #D8A848; }
.more h2 { margin: 0 0 22px; font: 400 clamp(2rem, 4.4vw, 3.3rem)/1.04 "Instrument Serif", Georgia, serif; letter-spacing: -.01em; max-width: 22ch; }
.more h2 em { color: #F3D9A0; }
.mo-intro { padding: clamp(44px, 7vw, 90px) 0 clamp(30px, 5vw, 60px); border-bottom: 1px solid rgba(216,168,72,.18); }
.mo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); }
.mo-cols p, .mo-card p, .mo-steps p, .mo-faq p, .mo-note { color: rgba(247,241,228,.78); line-height: 1.65; font-size: 1rem; margin: 0; }
.mo-block { padding: clamp(44px, 7vw, 84px) 0; border-bottom: 1px solid rgba(216,168,72,.18); }
.mo-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mo-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 22px; border-radius: 20px; text-decoration: none; color: inherit;
  background: linear-gradient(180deg, rgba(15,34,71,.85), rgba(10,26,56,.85)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 24px 50px -30px rgba(0,0,0,.9); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.mo-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(216,168,72,.55), 0 30px 60px -28px rgba(0,0,0,.95); }
.mo-ic { color: #F3D9A0; width: 30px; height: 30px; }
.mo-n { position: absolute; top: 24px; right: 22px; font: 500 .66rem/1 var(--mono); letter-spacing: .14em; color: rgba(243,217,160,.7); }
.mo-card h3 { margin: 6px 0 0; font: 400 1.7rem/1.05 "Instrument Serif", Georgia, serif; color: #fff; }
.mo-card .mo-sub { font: 500 .7rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #D8A848; }
.mo-card p { font-size: .93rem; }
.mo-go { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(216,168,72,.22); font: 500 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #FF7A35; }
.mo-note { margin-top: 22px; }
.mo-note a { color: #F3D9A0; }
.mo-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.mo-steps li { padding: 22px; border-radius: 18px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.mo-steps span { font: 500 .7rem/1 var(--mono); letter-spacing: .14em; color: #D8A848; }
.mo-steps h3 { margin: 12px 0 8px; font: 400 1.5rem/1.1 "Instrument Serif", Georgia, serif; color: #fff; }
.mo-steps p { font-size: .93rem; }
.mo-faqs { display: grid; gap: 10px; max-width: 900px; }
.mo-faq { border-radius: 16px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.mo-faq[open] { box-shadow: inset 0 0 0 1px rgba(216,168,72,.4); }
.mo-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; }
.mo-faq summary::-webkit-details-marker { display: none; }
.mo-faq h3 { margin: 0; font: 500 1.02rem/1.35 var(--sans); color: #F7F1E4; }
.mo-plus { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(216,168,72,.6); }
.mo-plus::before, .mo-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: #D8A848; transform: translate(-50%, -50%); transition: transform .3s; }
.mo-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.mo-faq[open] .mo-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.mo-faq p { padding: 0 22px 20px; }
.mo-contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; border-bottom: 0; }
.mo-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mo-offices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mo-offices li { padding: 18px; border-radius: 16px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.mo-offices span { display: block; margin-bottom: 8px; font: 500 .64rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #D8A848; }
.mo-offices address { font-style: normal; color: rgba(247,241,228,.8); line-height: 1.55; font-size: .92rem; }
.mo-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding: 28px 0 calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(216,168,72,.18); font-size: .86rem; color: rgba(247,241,228,.6); }
.mo-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.mo-foot a { color: rgba(247,241,228,.8); text-decoration: none; }
.mo-foot a:hover { color: #F3D9A0; }
.mo-foot p { margin: 0; }
.mo-in { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.mo-in.is-in { opacity: 1; transform: none; }
@media (max-width: 1000px) { .mo-cards, .mo-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .more { margin-top: 60vh; border-radius: 22px 22px 0 0; }
  .mo-cols, .mo-contact, .mo-offices { grid-template-columns: 1fr; }
  .mo-cards, .mo-steps { grid-template-columns: 1fr; }
  .mo-wrap { padding-bottom: 96px; }
}

/* ---------- Opening, midnight version: deep navy, a breathing brass glow, stars with comet tails ---------- */
.intro-bg { background:
  radial-gradient(520px 300px at 50% 47%, rgba(216,168,72,.22), rgba(216,168,72,0) 70%),
  radial-gradient(1200px 800px at 50% 40%, #0E2147 0%, #071631 45%, #040C1C 100%); }
.intro-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(360px 220px at 50% 47%, rgba(243,217,160,.16), transparent 70%);
  animation: intro-breathe 3.6s ease-in-out infinite; }
@keyframes intro-breathe { 50% { opacity: .35; transform: scale(1.08); } }
.intro-star { filter: drop-shadow(0 0 8px rgba(243,217,160,.75)); }
.intro-trail { position: absolute; width: 0; height: 0; pointer-events: none; opacity: 0; z-index: 0; will-change: transform, opacity; }
.intro-trail i { position: absolute; left: 0; top: -1px; display: block; height: 2px; width: var(--len, 120px); border-radius: 2px; transform-origin: 0 50%; transform: rotate(var(--ang, 0rad));
  background: linear-gradient(90deg, rgba(255,240,205,.95), rgba(216,168,72,.5) 28%, rgba(216,168,72,0)); box-shadow: 0 0 10px rgba(216,168,72,.55); }
.intro-label { position: absolute; left: 50%; bottom: calc(12vh + 14px); margin: 0; transform: translateX(-50%); font: 500 .62rem/1 var(--mono); letter-spacing: .26em; text-transform: uppercase; color: #D8A848; white-space: nowrap; opacity: .9; }
.intro-bar { background: rgba(216,168,72,.18); }
.intro-bar span { background: linear-gradient(90deg, #B88A30, #F3D9A0); box-shadow: 0 0 10px rgba(216,168,72,.6); }
@media (prefers-reduced-motion: reduce) { .intro-bg::after { animation: none; } .intro-trail { display: none; } }
