/* Only 4Ever entrance — full-bleed WebGL stage, cinematic letterbox, rails pinned to the corners. */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/bodoni-moda-latin.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("../fonts/bodoni-moda-latin-italic.woff2") format("woff2"); }
:root {
  --ink: #050504;
  --bone: #f4eee4;
  --bone-soft: #c8beb0;
  --gold: #d5a650;
  --gold-bright: #f2cf88;
  --bronze: #8f5c28;
  --line: rgba(244, 238, 228, .16);
  --paper-ink: #3a2d1f;
  --display: "Bodoni 72", "Bodoni Moda", Didot, "Iowan Old Style", "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --bar: clamp(28px, 9vh, 96px);
  --logo-bottom: 72%;
  color-scheme: dark;
}
[hidden] { display: none !important; }
html, body { height: 100%; }
body.intro-page { font-variation-settings: "opsz" 12; margin: 0; background: var(--ink); color: var(--bone); font-family: var(--sans); overflow: hidden; -webkit-font-smoothing: antialiased; }
.intro button { font: inherit; color: inherit; }
.intro a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.intro :focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

.intro { position: fixed; inset: 0; overflow: hidden; background: var(--ink); touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.intro.is-waiting { cursor: pointer; }
.intro.is-over-mark { cursor: grab; }
.intro.is-dragging { cursor: grabbing; }
.intro-stage { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s ease; }
.intro.is-live .intro-stage { opacity: 1; }

/* the real footage: positioned by intro.js, drawn through WebGL when it is available */
.intro-video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ink); pointer-events: none; }
.intro.is-portrait .intro-video { -webkit-mask: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.intro.no-gl .intro-stage { display: none; }
.intro.has-still.no-gl::before { position: absolute; inset: 0; background: var(--still) center / cover no-repeat; content: ""; filter: brightness(.55); }

/* the mark: the browser draws the artwork at full sharpness; a stack of warm shadows gives it a
   cast-metal edge, a sheen and a pointer glint give it light, and it leans toward the pointer */
.intro-mark { position: absolute; z-index: 1; opacity: 0; pointer-events: none; perspective: 1200px; will-change: opacity; }
.intro-mark::before { position: absolute; inset: -22% -12%; z-index: -1; content: "";
  background: radial-gradient(closest-side, rgba(242, 207, 136, .22), rgba(213, 166, 80, .07) 55%, transparent 75%); opacity: 0; transition: opacity 2.2s ease; }
.intro.is-standing .intro-mark::before { opacity: 1; }
.intro-mark img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-origin: 50% 55%; transition: transform .2s linear;
  filter: drop-shadow(0 1px 0 #8a6427) drop-shadow(0 1px 0 #6e4d1c) drop-shadow(0 1px 0 #573c15) drop-shadow(0 2px 0 #3d2a0f) drop-shadow(0 1.4rem 2.2rem rgba(0, 0, 0, .7)); }
.intro-mark-sheen, .intro-mark-glint { position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-origin: 50% 55%;
  -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; }
.intro-mark-sheen::before { position: absolute; top: 0; bottom: 0; left: 0; width: 55%; content: "";
  background: linear-gradient(105deg, transparent 30%, rgba(255, 244, 214, .5) 50%, transparent 70%);
  transform: translate3d(-120%, 0, 0); }
.intro.is-standing .intro-mark-sheen::before { animation: intro-mark-sheen 7.5s cubic-bezier(.45, 0, .2, 1) .4s infinite; }
@keyframes intro-mark-sheen { 0% { transform: translate3d(-120%, 0, 0); } 24%, 100% { transform: translate3d(250%, 0, 0); } }
.intro-mark-glint::before { position: absolute; left: 25%; top: 15%; width: 50%; height: 70%; content: "";
  background: radial-gradient(closest-side, rgba(255, 236, 196, .32), rgba(255, 236, 196, 0)); transform: translate3d(var(--gx, -20%), var(--gy, -10%), 0); }
.intro.is-leaving .intro-mark { transition: opacity .6s ease, transform .9s cubic-bezier(.7, 0, .3, 1); transform: scale(1.06); opacity: 0 !important; }
@media (prefers-reduced-motion: reduce) { .intro-mark-sheen::before { animation: none !important; } .intro-mark img { transition: none; } }

.intro-grain { position: absolute; inset: -50%; pointer-events: none; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: intro-grain 1.2s steps(6) infinite; }
@keyframes intro-grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-4%, 3%); } 66% { transform: translate(3%, -2%); } 100% { transform: translate(-2%, 4%); } }

/* letterbox: closes the frame for the drop, opens when the mark stands */
.intro-bar { position: absolute; left: 0; right: 0; height: var(--bar); background: #000; pointer-events: none; transition: transform 1.6s cubic-bezier(.7, 0, .2, 1); }
.intro-bar--top { top: 0; transform-origin: top; }
.intro-bar--bottom { bottom: 0; transform-origin: bottom; }
.intro.is-revealed .intro-bar { transform: scaleY(0); }

.intro-scrim { position: absolute; left: 0; right: 0; pointer-events: none; }
.intro-scrim--copy { bottom: 0; top: calc(var(--logo-bottom) - 2%); opacity: 0; transition: opacity 1.4s ease;
  background: linear-gradient(to bottom, rgba(5, 5, 4, 0), rgba(5, 5, 4, .72) 42%, rgba(5, 5, 4, .94)); }
.intro-scrim--top { top: 0; height: 7rem; background: linear-gradient(rgba(5, 5, 4, .7), rgba(5, 5, 4, 0)); }
.intro-scrim--base { bottom: 0; height: 6.5rem; background: linear-gradient(rgba(5, 5, 4, 0), rgba(5, 5, 4, .8)); }
.intro.is-revealed .intro-scrim--copy { opacity: 1; }

.intro-rail { position: absolute; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-left: var(--gutter); padding-right: var(--gutter-r); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--bone-soft);
  opacity: 0; transition: opacity 1s ease .3s; }
.intro.is-live .intro-rail { opacity: 1; }
.intro-rail--top { top: 0; padding-top: calc(env(safe-area-inset-top, 0px) + 1.1rem); }
.intro-rail--bottom { bottom: 0; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 1.1rem); }
.intro-brand { font-family: var(--display); font-size: 1rem; letter-spacing: .04em; text-transform: none; color: var(--bone); text-decoration: none; }
.intro-brand em { color: var(--gold-bright); }
.intro-actions { display: flex; gap: .5rem; align-items: center; }
.intro-chip { background: rgba(5, 5, 4, .35); border: 1px solid var(--line); border-radius: 999px; padding: .55rem .95rem; font-size: .62rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--bone-soft); cursor: pointer; text-decoration: none; transition: border-color .3s, color .3s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.intro-chip:hover, .intro-chip:focus-visible, .intro-chip[aria-pressed="true"] { border-color: var(--gold); color: var(--bone); }

.intro-footer-links { display: grid; gap: .65rem; }
.intro-protection { font-size: .55rem; text-decoration: none; opacity: .8; }
.intro-protection:hover, .intro-protection:focus-visible { opacity: 1; color: var(--gold-bright); }
.intro-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; min-width: 0; }
.intro-nav a { text-decoration: none; opacity: .8; transition: opacity .3s, color .3s; }
.intro-nav a:hover, .intro-nav a:focus-visible { opacity: 1; color: var(--gold-bright); }
.intro-loader { display: flex; align-items: center; gap: .8rem; font-variant-numeric: tabular-nums; transition: opacity 1s; }
.intro-loader-bar { position: relative; width: clamp(3.5rem, 10vw, 8rem); height: 1px; background: var(--line); overflow: hidden; }
.intro-loader-bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); transform-origin: left; transform: scaleX(0); }
.intro-loader.is-done { opacity: .4; }

.intro-reveal { position: absolute; left: 0; right: 0; top: var(--logo-bottom); z-index: 1; display: grid; justify-items: center; gap: .95rem; text-align: center;
  padding-left: var(--gutter); padding-right: var(--gutter-r); padding-block: clamp(.5rem, 2.6vh, 1.8rem) 0; pointer-events: none; }
.intro-kicker { order: 3; margin: 0; font-family: var(--sans); font-weight: 500; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--bone-soft); }
.intro-tagline { order: 1; margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.35rem, 2.6vw, 2.2rem); line-height: 1.1; letter-spacing: .01em; text-wrap: balance; }
.intro-tagline em { color: var(--gold-bright); }
.intro-reveal > * { opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1), filter 1.1s ease; }
.intro-reveal .intro-enter { transition: opacity 1.1s ease .12s, transform 1.1s cubic-bezier(.2, .7, .2, 1) .12s, filter 1.1s ease .12s,
  color .45s cubic-bezier(.2, .7, .2, 1), border-color .45s ease, box-shadow .45s ease; }
.intro-reveal .intro-kicker { transition-delay: .24s; }
.intro.is-revealed .intro-reveal > * { opacity: 1; transform: none; filter: none; }
.intro-reveal .intro-enter { order: 2; }
/* the way in: a squared button with a hairline gold edge; gold sweeps across it on hover */
.intro-enter { pointer-events: auto; position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 1.05rem;
  min-height: 3.5rem; margin-top: .35rem; padding: 0 1.7rem 0 2.05rem; overflow: hidden; border: 1px solid rgba(242, 207, 136, .72); border-radius: 2px;
  background: rgba(8, 7, 5, .66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--bone) !important; font: 500 .76rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: color .45s cubic-bezier(.2, .7, .2, 1), border-color .45s ease, box-shadow .45s ease; }
.intro-enter::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, var(--gold-bright), var(--gold) 60%, #c18c40);
  transform: scaleX(0); transform-origin: right center; transition: transform .6s cubic-bezier(.7, 0, .2, 1); }
/* letter spacing leaves a gap after the last letter; this keeps the words centred */
.intro-enter-label { margin-right: -.32em; }
.intro-enter svg { flex: none; width: 1.75rem; height: .75rem; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: square;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.intro-enter:hover, .intro-enter:focus-visible, .intro.is-leaving .intro-enter { color: #120c05 !important; border-color: var(--gold-bright); box-shadow: 0 20px 46px -22px rgba(213, 166, 80, .9); }
.intro-enter:hover::before, .intro-enter:focus-visible::before, .intro.is-leaving .intro-enter::before { transform: scaleX(1); transform-origin: left center; }
.intro-enter:hover svg, .intro-enter:focus-visible svg { transform: translateX(5px); }
.intro .intro-enter:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 5px; }

/* the story told over the film, one line at a time */
.intro-beats { position: absolute; left: 0; right: 0; bottom: calc(var(--bar) + clamp(4.5rem, 12vh, 7.5rem)); z-index: 1; display: grid; pointer-events: none;
  padding-left: var(--gutter); padding-right: var(--gutter-r); }
.intro-beat { grid-area: 1 / 1; justify-self: center; max-width: 34rem; margin: 0; text-align: center; font-family: var(--display); font-weight: 400;
  font-size: clamp(1.25rem, 3.4vw, 2.1rem); line-height: 1.18; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateY(18px); filter: blur(8px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1), filter 1s ease; }
.intro-beat small { display: block; margin-bottom: .7rem; font-family: var(--sans); font-weight: 500; font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--bone-soft); }
.intro-beat em { color: var(--gold-bright); }
.intro-beat.is-on { opacity: 1; transform: none; filter: none; }
.intro.is-revealed .intro-beat { opacity: 0 !important; transform: translateY(-14px); filter: blur(8px); }

/* a quiet cue that scrolling moves the film along */
.intro-scrollhint { position: absolute; left: 50%; bottom: calc(var(--bar) + 1.6rem); z-index: 1; width: 1px; height: 3.2rem; margin-left: -.5px; overflow: hidden;
  background: rgba(242, 207, 136, .16); pointer-events: none; opacity: 0; transition: opacity .8s ease; }
.intro.is-playing:not(.has-scrolled) .intro-scrollhint { opacity: 1; }
.intro-scrollhint i { position: absolute; left: 0; top: 0; width: 100%; height: 45%; background: linear-gradient(transparent, var(--gold-bright)); animation: intro-drip 2.2s cubic-bezier(.6, 0, .3, 1) infinite; }
.intro.is-revealed .intro-scrollhint, .intro.is-static .intro-scrollhint, .intro.is-static .intro-beats { opacity: 0 !important; }
@keyframes intro-drip { from { transform: translateY(-100%); } to { transform: translateY(230%); } }

.intro.is-leaving .intro-reveal, .intro.is-leaving .intro-rail { opacity: 0 !important; transition: opacity .5s ease; }

.intro-curtain { position: absolute; inset: 0; z-index: 5; background: var(--ink); opacity: 0; pointer-events: none; transition: opacity .55s ease; }
.intro.is-gone .intro-curtain { opacity: 1; }

/* no WebGL, no JavaScript: the mark, the promise, the way in */
.intro-fallback { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 1.4rem; text-align: center;
  padding-left: var(--gutter); padding-right: var(--gutter-r); background: radial-gradient(ellipse at 50% 42%, #2a241c, var(--ink) 70%); }
.intro-fallback img { width: min(36rem, 86vw); height: auto; animation: intro-bleed 2.4s cubic-bezier(.3, .6, .2, 1) both; }
.intro-fallback p { margin: 0; max-width: 32rem; color: var(--bone-soft); line-height: 1.6; }
.intro.is-static .intro-rail--bottom .intro-loader { display: none; }
@keyframes intro-bleed { from { clip-path: circle(0% at 50% 50%); filter: brightness(0); } 60% { filter: brightness(0); } to { clip-path: circle(75% at 50% 50%); filter: none; } }

.intro-handoff { position: absolute; inset: 0; z-index: 6; display: grid; place-content: center; justify-items: center; gap: 1.2rem; text-align: center;
  padding-left: var(--gutter); padding-right: var(--gutter-r); background: var(--ink); }
.intro-handoff h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.6rem); }
.intro-handoff h2 em { color: var(--gold-bright); }
.intro-handoff p { margin: 0; max-width: 34rem; color: var(--bone-soft); line-height: 1.6; }

@media (max-width: 720px) {
  :root { --bar: clamp(20px, 6vh, 56px); }
  .intro-nav a:nth-child(n+3) { display: none; }
  .intro-address { display: none; }
}
@media (max-height: 520px) and (orientation: landscape) {
  :root { --bar: 14px; }
  .intro-reveal { gap: .5rem; }
  .intro-kicker { display: none; }
  .intro-tagline { font-size: 1.1rem; }
  .intro-enter { min-height: 2.9rem; margin-top: 0; padding: 0 1.3rem 0 1.6rem; font-size: .66rem; }
  .intro-beats { bottom: calc(var(--bar) + 3rem); }
  .intro-beat { font-size: 1.15rem; }
  .intro-scrollhint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-grain, .intro-fallback img, .intro-scrollhint i { animation: none; }
  /* the gold fades in instead of sweeping across */
  .intro-enter::before { transform: none; opacity: 0; transition: opacity .3s ease; }
  .intro-enter:hover::before, .intro-enter:focus-visible::before, .intro.is-leaving .intro-enter::before { opacity: 1; }
  .intro-bar { display: none; }
}

/* pause motion (WCAG 2.2.2): the switch in the entrance's links freezes its loops */
html.motion-paused .intro *, html.motion-paused .intro *::before, html.motion-paused .intro *::after { animation-play-state: paused !important; }
.intro-nav button { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; opacity: .8; cursor: pointer; transition: opacity .3s, color .3s; }
.intro-nav button:hover, .intro-nav button:focus-visible { opacity: 1; color: var(--gold-bright); }
