/* whitenoise VAIL. Direction "The Ball's Night" (brief/design-direction.md).
   Tokens first, pasted from brief/tokens.css. Never a raw hex below this block.
   Matte pass, 2026-11-16 (client): flat solid fills only. No sheen or glow gradient, no drop or
   text shadow, no backdrop blur, no grain. A box-shadow here is a hard ring (focus, pill outline). */
:root{
  /* ---- Grounds: a section sits on exactly one. Neighbours must differ. */
  --night-0:   #050914;
  --night-2:   #13265A;
  --blue:      #2665B1;
  --cream:     #EFECE9;
  --gold:      #DCAC49;

  /* ---- Tints: never a section ground on their own */
  --night-1:   #0A1430;
  --sky:       #9DC3E6;   /* the flyer's sky: the one light blue. Ball facets and flat accents only */
  /* Scrims are one flat tint of --night-1 each. Never a gradient (matte pass, 2026-11-16). */
  --scrim:     rgb(10 20 48 / .66);
  --scrim-soft:rgb(10 20 48 / .4);

  /* ---- Ink */
  --snow:      #F7F6F3;
  --mist:      #A9B6D3;
  --ink:       #0B0F1A;
  --stone:     #5B5F6B;
  --gold-ink:  #8A6416;

  /* ---- Wordmark inks. Wordmark and decoration only, never body text */
  --wm-periwinkle: #BFCEFE;
  --wm-gold:       #FECB5D;

  /* ---- Type families */
  /* Client brand guide, p4. H1 Anton (Google Fonts). H2 and body Bahnschrift SemiBold and H3
     Birra Stout have no free web licence: Barlow Semi Condensed and Ultra stand in until an
     Adobe Fonts web kit exists. Accent Biro Script is the client's file, self-hosted. */
  --font-display: "Anton", "Arial Narrow", sans-serif;                     /* H1 and display numerals */
  --font-h2:      "Barlow Semi Condensed", "Arial Narrow", sans-serif;     /* SUBSTITUTE for Bahnschrift SemiBold */
  --font-h3:      "Ultra", Georgia, serif;                                 /* SUBSTITUTE for Birra Stout */
  --font-script:  "Biro Script", "Barlow Semi Condensed", cursive;         /* the font has letters only; digits fall back */
  --font-body:    "Barlow Semi Condensed", "Helvetica Neue", Arial, sans-serif;

  /* ---- Type scale. EVERY display size carries an svh ceiling (house/gates.md). */
  --fs-mega:    min(clamp(6rem, 26vw, 22rem), 44svh);
  --fs-hero:    min(clamp(3.4rem, 9vw, 8.5rem), 15svh);
  --fs-d1:      min(clamp(3rem, 7vw, 6.5rem), 14svh);
  --fs-d2:      min(clamp(2.2rem, 4.6vw, 4.25rem), 10svh);
  --fs-d3:      min(clamp(1.75rem, 3vw, 2.75rem), 7svh);
  --fs-count:   min(clamp(2.25rem, 4.4vw, 4rem), 8svh);
  --fs-ticker:  clamp(1.375rem, 2.2vw, 2rem);
  --fs-script:  clamp(1.25rem, 1.8vw, 1.75rem);
  --fs-lead:    clamp(1.125rem, 1.3vw, 1.3125rem);
  --fs-body:    1.0625rem;
  --fs-small:   .9375rem;
  --fs-label:   .8125rem;

  /* Hero headline: the copy deck's eight-word line, so it sits a rung under --fs-hero */
  --fs-hero-line: min(clamp(2.5rem, 6.2vw, 6rem), 10.4svh);

  --lh-mega: .8;  --lh-hero: .86;  --lh-d1: .88;  --lh-d2: .92;  --lh-d3: 1;
  --lh-body: 1.5; --lh-lead: 1.4;  --lh-label: 1.2;

  --track-display: 0;          /* H1: tracking 0 (brand guide) */
  --track-h2:     -0.05em;     /* H2: tracking -50 (brand guide) */
  --fs-h3:        min(clamp(1.2rem, 1.9vw, 1.6rem), 6svh);
  --track-label:    0.14em;

  /* ---- Space */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem;   --s-7: 3rem;  --s-8: 4rem;   --s-9: 6rem;
  --section-pad: clamp(3rem, 6vw, 4.75rem);   /* tightened 2026-11-17: the old 9vw left a blank band at every seam */
  --gutter: clamp(1rem, 3.2vw, 2.5rem);
  --mat: clamp(.625rem, 1.6vw, 1.375rem);
  --measure: 62ch;
  --nav-h: 64px;
  --ridge-h: clamp(48px, 11svh, 120px);

  /* ---- Shape: bimodal */
  --r-media: 10px;
  --r-card:  12px;
  --r-pill:  999px;
  --r-chip:  4px;     /* flat label chips */

  /* ---- Hairlines (inside a section only) */
  --hair:      1px solid rgb(247 246 243 / .18);
  --hair-gold: 1px solid rgb(220 172 73 / .55);
  --hair-ink:  1px solid rgb(11 15 26 / .22);

  /* ---- Focus */
  --focus-dark:  0 0 0 2px var(--night-0), 0 0 0 4px var(--gold);
  --focus-light: 0 0 0 2px var(--cream),   0 0 0 4px var(--ink);

  /* ---- Motion */
  --ease-out:    cubic-bezier(.22, 1, .36, 1);
  --ease-in:     cubic-bezier(.55, 0, 1, .45);
  --ease-inout:  cubic-bezier(.77, 0, .175, 1);
  --ease-drop:   cubic-bezier(.65, 0, .35, 1);
  --dur-press:   120ms;
  --dur-hover:   200ms;
  --dur-roll:    420ms;
  --dur-reveal:  640ms;
  --dur-mask:    800ms;
  --stagger:     70ms;
  --reel-speed:  80;
  --ticker-speed: 70;

  /* ---- Layers */
  --z-snow: 1;  --z-content: 2;  --z-nav: 20;  --z-sheet: 30;

  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce){
  :root{ --dur-roll: 0ms; --dur-reveal: 0ms; --dur-mask: 0ms; --stagger: 0ms; --dur-hover: 0ms; }
}

/* Height-only compression for short laptops: keeps Buy tickets 30px+ above the 689 fold. */
@media (max-height: 760px) and (min-width: 820px){
  :root{ --section-pad: clamp(2.5rem, 7vw, 4rem); --mat: .625rem; }
}

/* =========================================================== fonts */
@font-face{ font-family: "Biro Script"; src: url("fonts/biro-script.woff2") format("woff2");
            font-weight: 400; font-style: normal; font-display: swap; }

/* =========================================================== base */
*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px);
      -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }
body{ margin: 0; background: var(--night-0); color: var(--snow);
      font-family: var(--font-body); font-weight: 500; letter-spacing: -0.01em; font-size: var(--fs-body); line-height: var(--lh-body);
      overflow-x: clip; -webkit-font-smoothing: antialiased; }
img{ display: block; max-width: 100%; height: auto; }
a{ color: inherit; }
p{ margin: 0; }
h1,h2,h3{ margin: 0; font-weight: 400; }
ul,ol{ margin: 0; padding: 0; list-style: none; }
button{ font: inherit; color: inherit; }
:focus-visible{ outline: none; box-shadow: var(--focus-dark); border-radius: 4px; }
.g-cream :focus-visible, .g-gold :focus-visible{ box-shadow: var(--focus-light); }

.sr-only{ position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
          overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip{ position: fixed; left: 12px; top: -60px; z-index: 40; background: var(--gold); color: var(--ink);
       padding: 10px 16px; border-radius: var(--r-pill); font-weight: 600; text-decoration: none; }
.skip:focus{ top: 12px; }
.nowrap{ white-space: nowrap; }

/* The snow canvas: above section grounds, below content. */
.snow{ position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none;
       z-index: var(--z-snow); opacity: 1; transition: opacity 400ms var(--ease-inout); }
.snow.is-off{ opacity: 0; }
.flecks{ position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: var(--z-snow); }

/* =========================================================== type */
.display{ font-family: var(--font-display); letter-spacing: var(--track-display); font-weight: 400;
          text-transform: uppercase; }
.d-mega{ font-size: var(--fs-mega); line-height: var(--lh-mega); }
.d-hero{ font-size: var(--fs-hero); line-height: var(--lh-hero); }
.d1{ font-size: var(--fs-d1); line-height: var(--lh-d1); }
.d2{ font-size: var(--fs-d2); line-height: var(--lh-d2); }
.d3{ font-size: var(--fs-d3); line-height: var(--lh-d3); }
.label{ font-family: var(--font-body); font-weight: 600; font-size: var(--fs-label);
        letter-spacing: var(--track-label); text-transform: uppercase; line-height: var(--lh-label); }
.script{ font-family: var(--font-script); font-weight: 400; font-size: var(--fs-script); line-height: 1.1; }
/* H2 is the H2 face, uppercase, -0.05em, whatever size class it carries. H3 is the H3 face. */
h2.display{ font-family: var(--font-h2); font-weight: 600; letter-spacing: var(--track-h2); }
.inc__item h3, .steps h3, .cols3 h3{ font-family: var(--font-h3); font-weight: 400; text-transform: uppercase;
            letter-spacing: 0; font-size: var(--fs-h3); line-height: 1.1; }
.lead{ font-size: var(--fs-lead); line-height: var(--lh-lead); }
.small{ font-size: var(--fs-small); }
.muted{ color: var(--mist); }
.g-cream .muted{ color: var(--stone); }
/* --mist on --blue is 2.9:1 and fails AA: muted text on blue and sky grounds uses the full text colour instead. */
.g-blue .muted{ color: var(--snow); }
.g-sky .muted{ color: var(--ink); }
/* Labels are flat chips: one solid fill, no border, no shadow. The fill is the brand blue on the
   night grounds and on cream, cream on blue, night on gold. */
.eyebrow{ display: table; margin-bottom: var(--s-4); padding: .5em .75em .45em; border-radius: var(--r-chip);
          background: var(--blue); color: var(--snow); }
.g-blue .eyebrow{ background: var(--cream); color: var(--ink); }
.g-cream .eyebrow{ background: var(--blue); color: var(--snow); }
.g-gold .eyebrow{ background: var(--night-0); color: var(--snow); }
/* The brand name is always lowercase, even inside an uppercase heading or label. */
.wn{ text-transform: none; }
.prose{ max-width: var(--measure); }
.prose > * + *{ margin-top: var(--s-4); }

.flake{ display: inline-block; width: .7em; height: .7em; vertical-align: -.05em; color: var(--gold); flex: none; }
.g-cream .flake{ color: var(--gold-ink); }
.colon{ color: var(--gold); font-family: var(--font-display); padding-inline: .45em; }

/* =========================================================== buttons and links */
.btn{ display: inline-flex; align-items: center; justify-content: center; gap: .5em;
      min-height: 52px; padding: 0 1.6em; border-radius: var(--r-pill); border: 0;
      font-family: var(--font-body); font-weight: 600; font-size: .9375rem; letter-spacing: .08em;
      text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer;
      transition: transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out),
                  background-color var(--dur-hover) var(--ease-out); }
.btn--gold{ background: var(--gold); color: var(--ink); }
.btn--night{ background: var(--night-0); color: var(--snow); }
.btn--line{ background: transparent; color: var(--snow); box-shadow: inset 0 0 0 1px var(--snow); }
.btn--line-ink{ background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn:active{ transform: translateY(0) scale(.98); transition-duration: var(--dur-press); }
@media (hover: hover) and (pointer: fine){
  .btn--gold:hover, .btn--night:hover{ transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--ink); }
  .btn--night:hover{ box-shadow: inset 0 0 0 1px var(--gold); }
  .btn--line:hover{ background: rgb(247 246 243 / .08); }
  .btn--line-ink:hover{ background: rgb(11 15 26 / .06); }
}
.btn:focus-visible{ border-radius: var(--r-pill); }
.btns{ display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.link{ text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
       font-weight: 600; transition: text-decoration-thickness 150ms var(--ease-out); }
.link:hover{ text-decoration-thickness: 2px; }
.link--arrow::after{ content: " \2192"; }

/* =========================================================== nav */
.nav{ position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: var(--z-nav);
      display: flex; align-items: center; gap: var(--s-5); padding-inline: calc(var(--gutter) + var(--mat));
      background: var(--cream); color: var(--ink);
      transition: background-color var(--dur-hover) var(--ease-inout), color var(--dur-hover) var(--ease-inout); }
.nav.is-solid{ background: var(--night-1); color: var(--snow); }
.nav__brand{ display: flex; align-items: center; text-decoration: none; margin-right: auto; min-height: 44px; }
/* The official logo (client brand guide p2, p3). Solid fill only, never filtered, stretched or
   outlined. Height is locked to the viewBox ratio. The margin on every side is the exclusion
   zone: the width of the "t", measured at 6.61% of the logo's width. */
.wn-lockup{ --lw: 120px; display: inline-flex; align-items: center; margin: calc(var(--lw) * .067); color: var(--cream); flex: none; }
.wn-logo{ display: block; width: var(--lw); height: calc(var(--lw) * .15309); fill: currentColor; flex: none; }
.wn-place{ display: inline-flex; align-items: baseline; margin-left: calc(var(--lw) * .067); color: var(--gold);
           white-space: nowrap; line-height: 1; transform: translateY(-.06em); }
.wn-colon{ font-family: var(--font-h2); font-weight: 600; font-size: calc(var(--lw) * .14); margin-right: .12em; }
.wn-vail{ font-family: var(--font-script); font-size: calc(var(--lw) * .2); }
.nav .wn-lockup{ --lw: 112px; color: var(--ink); margin-block: 0; margin-left: 0; }
.nav .wn-place{ color: var(--gold-ink); }
.nav.is-solid .wn-lockup{ color: var(--cream); }
.nav.is-solid .wn-place{ color: var(--gold); }
.nav__links{ display: flex; gap: clamp(1rem, 2vw, 2rem); }
.nav__links a{ text-decoration: none; font-weight: 600; font-size: .875rem; letter-spacing: .1em;
               text-transform: uppercase; padding-block: 10px; background-image: linear-gradient(currentColor, currentColor);
               background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 85%;
               transition: background-size var(--dur-hover) var(--ease-out); }
.nav__links a:hover, .nav__links a[aria-current="page"]{ background-size: 100% 1px; }
.nav .btn{ min-height: 42px; padding-inline: 1.25em; font-size: .8125rem; }
.nav__menu{ display: none; min-height: 44px; padding: 0 .9em; border-radius: var(--r-pill); border: 0; cursor: pointer;
            background: transparent; box-shadow: inset 0 0 0 1px currentColor;
            font-weight: 600; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; }

/* The night clock: page progress mapped to 8PM through 1:30AM */
.clock{ position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; pointer-events: none; }
.clock__line{ position: absolute; inset: 0; background: var(--gold); transform: scaleX(var(--clock, 0));
              transform-origin: left; }
.clock__time{ position: absolute; right: calc(var(--gutter) + var(--mat)); top: 6px; font-family: var(--font-h2); font-weight: 600;
              font-size: 18px; color: var(--gold); line-height: 1; opacity: 0; transition: opacity 300ms var(--ease-out); }
.nav.is-solid .clock__time{ opacity: 1; }
/* Colour audit 2026-11-17: the readout floats over every ground. Gold on sky is 1.1:1 and on cream 1.8:1, so it
   sits on its own flat night chip (gold on night-1 is 9.5:1) and reads the same everywhere. */
.clock__time{ background: var(--night-1); padding: .2em .55em .15em; border-radius: var(--r-chip); }
@media (max-width: 819px), (prefers-reduced-motion: reduce){ .clock{ display: none; } }

@media (max-width: 979px){
  .nav__links{ display: none; }
  .nav__menu{ display: inline-flex; align-items: center; }
  .nav{ gap: var(--s-2); padding-inline: var(--gutter); }
  .nav .btn{ padding-inline: 1em; }
  .nav .wn-lockup{ --lw: 96px; }
}

/* Phone menu sheet. inset: 0 with clearance as padding, so it covers whatever the measurement says. */
.sheet{ position: fixed; inset: 0; z-index: var(--z-sheet); background: var(--night-1);
        padding: calc(var(--nav-h) + var(--s-6)) var(--gutter) var(--s-7);
        display: flex; flex-direction: column; gap: var(--s-6); overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity 180ms var(--ease-in), transform 180ms var(--ease-in), visibility 0s linear 180ms; }
.sheet.is-open{ opacity: 1; visibility: visible; transform: none;
                transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out), visibility 0s; }
.sheet__close{ position: absolute; top: 10px; right: var(--gutter); }
.sheet .nav__menu{ display: inline-flex; align-items: center; color: var(--snow); }
.sheet__links{ display: grid; gap: var(--s-2); }
.sheet__links a{ font-family: var(--font-display); font-size: min(3rem, 9svh); line-height: 1.05; text-decoration: none;
                 letter-spacing: var(--track-display); }
.sheet .btn{ align-self: flex-start; }
html.menu-open{ overflow: hidden; }


/* =========================================================== sections and grounds */
.section{ position: relative; padding-block: var(--section-pad); overflow: clip; }
.g-night0{ background: var(--night-0); }
.g-night2{ background: var(--night-2); }
.g-blue{ background: var(--blue); }
.g-cream{ background: var(--cream); color: var(--ink); }
.g-gold{ background: var(--gold); color: var(--ink); }
.wrap{ position: relative; z-index: var(--z-content); width: 100%; max-width: 1280px; margin-inline: auto;
       padding-inline: var(--gutter); }
.has-ridge{ padding-bottom: calc(var(--section-pad) * .55 + var(--ridge-h) * .8); }

/* Background layers. Cover is allowed here only: these are true full-bleed grounds. */
.bg{ position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bg img{ width: 100%; height: 100%; object-fit: cover; }
.bg--scrim::after{ content: ""; position: absolute; inset: 0; background: var(--scrim); }
.bg--scrim-half::after{ content: ""; position: absolute; inset: 0; background: rgb(10 20 48 / .54); }
.bg--scrim-55::after{ content: ""; position: absolute; inset: 0; background: rgb(10 20 48 / .58); }
.bg--scrim-heavy::after{ content: ""; position: absolute; inset: 0; background: rgb(10 20 48 / .76); }
/* Full-bleed grounds are one-colour plates, the way the flyer prints its mountain: the photo goes
   to greyscale and the flat tint or the section ground gives it its one hue. Framed photographs
   (cards, reels, the half-column photos) stay in full colour. */
/* The plates are baked into the files by tools/bake_plates.py (greyscale x flat ink). Never redo this with a live
   `filter` or `mix-blend-mode`: it is re-composited on every scroll and video frame, and the site lagged. */
/* Where the scrim sits on its own photo, it is that photo's ink: greyscale multiplied by one flat
   night blue, so the lightest point of the plate is the token and body type always clears it.
   (.bg is its own stacking context, so the blend never reaches the section ground.) A scrim with
   no photo of its own, laid over another layer, keeps the flat alpha tint above. */
.bg--scrim:has(img)::after, .bg--scrim-half:has(img)::after, .bg--scrim-heavy:has(img)::after{ content: none; }
/* A plain photo layer (no scrim, no blend class) is inked in brand blue the same way. */
/* On cream the plate prints in brand blue, like the flyer's mountain: the greyscale is pushed until
   its sky is paper white (so the ground stays exactly --cream and the seam above it cannot show),
   then screened with flat blue, so only the dark of the photo lays down ink. */
/* Framed photographs keep their colour, pulled back a step so none of them glows. */
/* Framed media is baked to the two-ink plate (tools/bake_duotone.py), so it carries no live filter. */
.bg--screen{ mix-blend-mode: screen; }
.bg--multiply{ mix-blend-mode: multiply; }
.bg--lum{ mix-blend-mode: luminosity; }
.bg--stars img{ object-position: 50% 0%; }

/* Ridge seams: a mountain line in the NEXT section's ground. Masks, filled by background colour. */
.ridge{ position: absolute; left: 0; right: 0; bottom: -1px; height: var(--ridge-h); z-index: 0; pointer-events: none; }
.ridge > i{ position: absolute; inset: 0; display: block; background: var(--to, var(--night-0));
            -webkit-mask: var(--m) left bottom / 100% 100% no-repeat; mask: var(--m) left bottom / 100% 100% no-repeat; }
.ridge > i.back{ opacity: .45; bottom: 18%; top: -22%; }
.ridge > i.far{ opacity: .25; bottom: 34%; top: -46%; }
.ridge.flip > i{ transform: scaleX(-1); }
.m1{ --m: url("img/ridges/ridge-1-vail-mountain.svg"); }
.m2{ --m: url("img/ridges/ridge-2.svg"); }
.m3{ --m: url("img/ridges/ridge-3.svg"); }
.m4{ --m: url("img/ridges/ridge-4-far.svg"); }
.to-night0{ --to: var(--night-0); }
.to-night2{ --to: var(--night-2); }
.to-blue{ --to: var(--blue); }
.to-cream{ --to: var(--cream); }
.to-gold{ --to: var(--gold); }
.to-night1{ --to: var(--night-1); }
@media (max-width: 640px){
  .ridge > i{ -webkit-mask-size: 200% 100%; mask-size: 200% 100%; }
}
/* 6.9: back layers drift slower than the front as the seam crosses the viewport. */
@supports (animation-timeline: view()){
  @media (prefers-reduced-motion: no-preference){
    .ridge > i.back{ animation: ridge-lag linear both; animation-timeline: view(); animation-range: cover; --lag: 14px; }
    .ridge > i.far{ animation: ridge-lag linear both; animation-timeline: view(); animation-range: cover; --lag: 24px; }
    .ridge.flip > i.back, .ridge.flip > i.far{ animation-name: ridge-lag-flip; }
  }
}
@keyframes ridge-lag{ from{ transform: translateY(calc(var(--lag) * -1)); } to{ transform: translateY(var(--lag)); } }
@keyframes ridge-lag-flip{ from{ transform: scaleX(-1) translateY(calc(var(--lag) * -1)); } to{ transform: scaleX(-1) translateY(var(--lag)); } }

/* A ridge diorama: the four ranges stacked across the lower half of a section */
.diorama{ position: absolute; left: 0; right: 0; bottom: 0; height: 58%; z-index: 0; pointer-events: none; }
.diorama > i{ position: absolute; left: 0; right: 0; bottom: 0; display: block;
              -webkit-mask: var(--m) left bottom / 100% 100% no-repeat; mask: var(--m) left bottom / 100% 100% no-repeat; }
.diorama > i:nth-child(1){ height: 100%; background: var(--night-2); opacity: .55; }
.diorama > i:nth-child(2){ height: 74%; background: var(--night-2); opacity: .8; transform: scaleX(-1); }
.diorama > i:nth-child(3){ height: 50%; background: var(--night-1); }
.diorama > i:nth-child(4){ height: 28%; background: var(--night-0); transform: scaleX(-1); }
.g-night2 .diorama > i:nth-child(1), .g-night2 .diorama > i:nth-child(2){ background: var(--blue); opacity: .28; }
.g-night2 .diorama > i:nth-child(3){ background: var(--night-1); opacity: .7; }
@media (max-width: 640px){ .diorama > i{ -webkit-mask-size: 220% 100%; mask-size: 220% 100%; } }

/* =========================================================== hero (the window) */
.hero{ position: relative; min-height: 100svh; background: var(--cream); overflow: clip;
       display: grid; place-items: center; --p: 0;
       padding: calc(var(--nav-h) + clamp(14px, 3.4svh, 40px)) calc(var(--gutter) + var(--mat)) calc(var(--ridge-h) * .55); }
.hero__window{ position: absolute; inset: 0; z-index: 0; overflow: clip; background: var(--blue);
               clip-path: inset(calc(var(--nav-h) * (1 - var(--p))) calc(var(--mat) * (1 - var(--p))) 0 calc(var(--mat) * (1 - var(--p))) round calc(var(--r-media) * (1 - var(--p)))); }
.hero__img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
            transform-origin: 50% 70%; }
@media (prefers-reduced-motion: no-preference){
  .hero__img{ animation: drift 24s linear both; }
}
@keyframes drift{ from{ transform: scale(1); } to{ transform: scale(1.06); } }
/* The window is a blue monotone plate: the greyscale photo multiplied by one flat brand blue, so its
   brightest point is --blue and the cream type always clears it. No gradient scrim is needed. */
/* Explicit height, never aspect-ratio: WebKit sizes a canvas box from its bitmap's ratio and stretched the ball into an oval. */
.hero__ball{ position: absolute; z-index: 2; width: clamp(200px, 20vw, 300px); height: clamp(200px, 20vw, 300px);
             left: 83%; top: calc(var(--nav-h) - 2svh); translate: -50% 0; pointer-events: none; }
.hero__ridge{ position: absolute; left: 0; right: 0; bottom: -1px; height: 16%; z-index: 1; pointer-events: none;
              background: var(--to, var(--night-0)); -webkit-mask: url("img/ridges/ridge-1-vail-mountain.svg") left bottom / 100% 100% no-repeat;
              mask: url("img/ridges/ridge-1-vail-mountain.svg") left bottom / 100% 100% no-repeat; }
.hero__inner{ position: relative; z-index: var(--z-content); width: 100%; min-width: 0; max-width: 1040px; text-align: center;
              display: flex; flex-direction: column; align-items: center; }
.hero__presents{ color: var(--snow); opacity: .92; }
.wn-lockup--hero{ --lw: min(48vw, 420px, 50svh); }   /* 48vw: logo + zone + ": VAIL" fits 390 */
.hero__title{ font-size: var(--fs-hero-line); line-height: .96; margin-bottom: clamp(10px, 2svh, 18px);   /* Anton's caps run taller than Bebas: .86 made the lines touch */
              max-width: 9.5em; text-wrap: balance; }
/* The logistics row is one flat cream chip. */
.hero__meta{ background: var(--cream); color: var(--ink); padding: .5em .8em .45em; border-radius: var(--r-chip);
             margin-bottom: clamp(8px, 1.6svh, 14px); }
.hero__meta .sep{ color: var(--gold-ink); padding-inline: .5em; }
.eyebrow.hero__meta{ background: var(--blue); color: var(--snow); }
.hero__support{ max-width: 54ch; color: var(--snow); margin-bottom: clamp(12px, 2.6svh, 24px); }
.hero__ctas{ justify-content: center; margin-top: clamp(14px, 2.8svh, 26px); }
.hero__note{ margin-top: var(--s-3); color: var(--snow); opacity: .86; }
@media (max-width: 640px){
  .hero{ padding-bottom: calc(var(--ridge-h) * .9); }
  .hero{ padding-top: calc(var(--nav-h) + 92px); }
  .hero__ball{ width: 140px; height: 140px; left: 82%; top: 36px; }
  .hero__ridge{ height: 30%; -webkit-mask-size: 200% 100%; mask-size: 200% 100%; }
  .hero__meta .grp{ display: block; }
  .hero__meta .grp .sep--break{ display: none; }
  .hero__ctas{ flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
}

/* Inner page heads: the same mat window, resting at 10px, never opening */
.hero--page{ min-height: min(82svh, 760px); --p: 0; --mat: .625rem; }
.hero--page .hero__inner{ max-width: 860px; }
.hero--page .hero__title{ font-size: var(--fs-d1); line-height: var(--lh-d1); }

/* =========================================================== countdown */
.cd{ display: flex; flex-direction: column; align-items: center; gap: var(--s-2); }
.cd__label{ color: var(--snow); }
.cd__row{ display: flex; gap: clamp(14px, 2.4vw, 30px); justify-content: center; }
.cd__cell{ display: flex; flex-direction: column; align-items: center; min-width: 2.4em; }
.cd__num{ font-family: var(--font-display); font-size: var(--fs-count); line-height: 1; display: flex; }
.cd__unit{ font-size: .6875rem; letter-spacing: var(--track-label); text-transform: uppercase; font-weight: 600; color: var(--snow); opacity: .82; margin-top: 2px; }
.dg{ position: relative; display: inline-block; width: .56em; height: 1em; overflow: clip; text-align: center; }
.dg > span{ position: absolute; inset: 0; }
.dg > span.out{ animation: dg-out 260ms var(--ease-in) forwards; }
.dg > span.in{ animation: dg-in var(--dur-roll) var(--ease-out) both; }
@keyframes dg-out{ to{ transform: translateY(-100%); opacity: 0; } }
@keyframes dg-in{ from{ transform: translateY(100%); opacity: 0; } to{ transform: none; opacity: 1; } }
.cd__open{ display: none; font-family: var(--font-display); font-size: var(--fs-count); line-height: 1; }
.cd[data-state="open"] .cd__row, .cd[data-state="open"] .cd__label{ display: none; }
.cd[data-state="open"] .cd__open{ display: block; }
.cd[data-state="closed"]{ display: none; }
.cd--small .cd__num{ font-size: var(--fs-d3); }

/* =========================================================== ticker */
.ticker{ position: relative; background: var(--night-0); padding-block: clamp(22px, 3.4vw, 36px); overflow: clip; }
.ticker__rail{ position: relative; z-index: var(--z-content); border-top: var(--hair-gold); border-bottom: var(--hair-gold);
               padding-block: 14px; overflow: clip; }
.ticker__track{ display: flex; width: max-content; }
.ticker__group{ display: flex; flex: none; align-items: center; font-family: var(--font-display); font-size: var(--fs-ticker);
                line-height: 1; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.ticker__group span{ padding-inline: .1em; }
@media (prefers-reduced-motion: no-preference){
  .ticker__track.is-running{ animation: slide var(--dur, 40s) linear infinite; }
  .ticker__rail:hover .ticker__track, .ticker__rail:focus-within .ticker__track{ animation-play-state: paused; }
}
@keyframes slide{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* =========================================================== reveals (JS adds .motion only when motion is allowed) */
[data-reveal]{ transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out),
               filter var(--dur-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * var(--stagger)); }
.motion [data-reveal]:not(.is-in){ opacity: 0; transform: translateY(24px); filter: blur(6px); }
.ml{ display: block; overflow-x: visible; overflow-y: clip; padding-block: .06em; margin-block: -.06em; }
.ml > span{ display: block; transition: transform var(--dur-mask) var(--ease-inout);
            transition-delay: calc(var(--i, 0) * 90ms); }
.motion [data-mask]:not(.is-in) .ml > span{ transform: translateY(105%); }
/* The figure is observed; an inner wrapper is clipped. A fully clipped box never intersects,
   so neither the reveal observer nor the browser's lazy loader would ever see it: keep 1px open. */
.ph{ display: block; overflow: clip; border-radius: var(--r-media); clip-path: inset(0 round var(--r-media));
     transition: clip-path 900ms var(--ease-inout); }
.ph img{ transition: transform 900ms var(--ease-inout); }
.motion [data-photo]:not(.is-in) .ph{ clip-path: inset(0 0 calc(100% - 1px) 0 round var(--r-media)); }
.motion [data-photo]:not(.is-in) .ph img{ transform: scale(1.08); }

/* =========================================================== home: lineup */
/* The client's flyer, moving: one flat sky, the Gore Range cut out and inked in two flat tones, the date in gold,
   and the headliner's crown drawn in gold line. Nothing here is a live filter or blend (see the plates note above). */
.g-sky{ background: var(--sky); color: var(--ink); }
.g-sky .eyebrow{ background: var(--night-1); color: var(--snow); }
.lineup{ --mtn: clamp(190px, 36svh, 400px); display: flex; align-items: flex-start;
         overflow: clip; padding-bottom: calc(var(--mtn) * .92); }
.lineup__mtn{ position: absolute; left: 0; right: 0; bottom: 0; height: var(--mtn); z-index: 0; pointer-events: none; }
.lineup__mtn img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.lineup__wrap{ display: grid; gap: var(--s-5); }
.lineup__date{ color: var(--gold); font-size: min(clamp(3.4rem, 17vw, 5.5rem), 20svh); line-height: .9; white-space: nowrap; }
.lineup__show{ display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-4); }
.lineup__facts{ list-style: none; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); }
/* A phone drawn flat: one dark body, a screen, the pill. No shine, no maker's mark. The screen plays the reel. */
.phone{ position: relative; flex: none; width: clamp(118px, 34vw, 150px); aspect-ratio: 9 / 19.5; padding: 6px; border-radius: 26px;
        background: var(--night-0); rotate: 4deg; z-index: 1; }
.phone__screen{ position: relative; display: block; width: 100%; height: 100%; overflow: clip; border-radius: 20px; background: var(--night-2); }
.phone__screen img{ width: 100%; height: 100%; object-fit: cover; }
.phone__island{ position: absolute; left: 50%; top: 13px; width: 30%; height: 3.2%; translate: -50% 0; border-radius: 99px; background: var(--night-0); z-index: 2; }
.lineup__facts li{ padding: .5em .75em .45em; border-radius: var(--r-chip); background: var(--night-1); color: var(--snow); }
.lineup__date .dg{ display: inline-block; width: .5em; text-align: center; }
/* The flyer's handwritten coordinates, traced from the client artwork (tools/trace_coords.py). The wrapper is what
   the reveal observer watches; the image inside is wiped on left to right, as if written. */
.lineup__coords{ margin-top: var(--s-3); width: min(100%, 300px); }
.lineup__coords img{ display: block; width: 100%; height: auto; }
.motion .lineup__coords[data-reveal]:not(.is-in){ opacity: 1; transform: none; filter: none; }
.motion .lineup__coords img{ clip-path: inset(0 0 0 0); transition: clip-path 1500ms var(--ease-out) 350ms; }
.motion .lineup__coords:not(.is-in) img{ clip-path: inset(0 100% 0 0); }
.lineup__h2{ font-size: var(--fs-d3); line-height: var(--lh-d3); }
.lineup__names{ margin-block: calc(var(--fs-d1) * .62) var(--s-6); }   /* room for the crown above the L */
.lineup__head{ position: relative; font-size: var(--fs-d1); line-height: var(--lh-d1); color: var(--night-1); }
.lineup__support{ font-size: var(--fs-d2); line-height: var(--lh-d2); color: var(--blue); margin-top: .1em; }
.lineup .prose{ max-width: 46ch; margin-bottom: var(--s-6); }
.lineup .lead{ color: var(--ink); }
/* The crown sits on the L, tipped back. Its line is one path, so it can draw itself. */
.crown{ position: absolute; left: -.05em; top: -.47em; width: .8em; height: auto; overflow: visible; rotate: -12deg;
        transform-origin: 50% 100%; }
.crown path{ fill: none; stroke: var(--gold); stroke-width: 5.5; stroke-linejoin: miter; stroke-miterlimit: 6; }
.motion .crown path{ stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease-inout) .35s; }
.motion .lineup__names.is-in .crown path{ stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference){
  .motion .lineup__names.is-in .crown{ animation: crown-rock 5s ease-in-out 1.6s infinite alternate; }
}
@keyframes crown-rock{ from{ rotate: -12deg; translate: 0 0; } to{ rotate: -6deg; translate: 0 -6%; } }
@media (min-width: 860px){
  .lineup__wrap{ grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: var(--s-7); }
  .lineup__main{ grid-column: 1; grid-row: 1; }
  .lineup__side{ grid-column: 2; grid-row: 1; }
  .lineup__date{ font-size: min(clamp(4rem, 9.5vw, 9rem), 20svh); text-align: right; }
  .lineup__coords{ margin-left: auto; width: min(62%, 400px); }
  .lineup__head{ white-space: nowrap; }
  .lineup__show{ justify-content: flex-end; gap: var(--s-6); margin-top: var(--s-5); margin-bottom: calc(var(--mtn) * -.45); }   /* the phone stands in front of the range */
  .lineup__facts{ align-items: flex-end; gap: var(--s-3); padding-top: var(--s-4); }
  .lineup__facts li{ font-size: 1rem; }
  .phone{ width: clamp(170px, 15.5vw, 215px); padding: 8px; border-radius: 34px; }
  .phone__screen{ border-radius: 27px; }
  .phone__island{ top: 17px; }
  /* the flyer's two white rules, down the edges of the sheet */
  .lineup::before, .lineup::after{ content: ""; position: absolute; top: 0; bottom: 0; width: 6px; background: var(--snow); z-index: 1; }
  .lineup::before{ left: 10px; } .lineup::after{ right: 10px; }
}
/* The range rises a little as the section scrolls in. Scroll-driven in CSS only; still where unsupported. */
@supports (animation-timeline: view()){
  @media (prefers-reduced-motion: no-preference){
    .motion .lineup__mtn img{ animation: mtn-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  }
}
@keyframes mtn-rise{ from{ translate: 0 16%; } to{ translate: 0 0; } }
.hero__img--gore{ object-position: 50% 40%; }
.media-col{ width: 100%; max-width: 460px; justify-self: center; }
.media-col img{ width: 100%; height: auto; border-radius: var(--r-media); }

/* =========================================================== home: the night */
.night__h2{ font-size: var(--fs-d2); line-height: var(--lh-d2); margin-bottom: var(--s-7); }
.stops{ position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
.stops__line{ position: absolute; left: 0; right: 0; top: calc(var(--fs-d1) * .94 + 6px); height: 1px; background: var(--gold);
              opacity: .7; transform-origin: left; transition: transform 900ms var(--ease-inout); }
.motion .stops:not(.is-in) .stops__line{ transform: scaleX(0); }
.stop{ position: relative; }
.stop__time{ font-size: var(--fs-d1); line-height: var(--lh-d1); display: inline-block; padding-right: .3em; }
.stop__time .ml{ display: inline-block; }
.stop__label{ display: block; color: var(--gold); font-size: clamp(1.5rem, 2.2vw, 2rem); margin: var(--s-2) 0 var(--s-2); }
.stop p{ color: var(--snow); max-width: 30ch; }
.night__note{ margin-top: var(--s-7); }
@media (max-width: 760px){
  .stops{ grid-template-columns: 1fr; gap: var(--s-6); padding-left: var(--s-5); }
  .stops__line{ left: 0; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; transform-origin: top; }
  .motion .stops:not(.is-in) .stops__line{ transform: scaleY(0); }
}

/* =========================================================== home: included (cream) */
.split{ display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--rev{ grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
.split--rev > .split__media{ order: -1; }
.split__media img{ width: 100%; height: auto; border-radius: var(--r-media); }
@media (max-width: 860px){
  .split, .split--rev{ grid-template-columns: 1fr; }
  .split--rev > .split__media{ order: 0; }
}
.inc__h2{ font-size: var(--fs-d1); line-height: var(--lh-d1); margin-bottom: var(--s-5); }
.inc__intro{ max-width: 52ch; margin-bottom: var(--s-6); }
.inc__list{ display: grid; gap: var(--s-5); margin-bottom: var(--s-6); }
.inc__item{ display: grid; grid-template-columns: auto 1fr; column-gap: var(--s-4); align-items: baseline; }
.inc__item .flake{ width: 1.1rem; height: 1.1rem; transform: translateY(.15em); }
.inc__item h3{ font-size: var(--fs-h3); line-height: 1.1; }
.inc__item p{ grid-column: 2; margin-top: var(--s-1); max-width: 46ch; font-weight: 500; }
.inc__item .link{ grid-column: 2; justify-self: start; margin-top: var(--s-2); }
.inc__close{ max-width: 52ch; margin-bottom: var(--s-6); color: var(--stone); }
.poster-col{ max-width: 520px; justify-self: end; width: 100%; }
@media (max-width: 860px){ .poster-col{ justify-self: center; max-width: 440px; } }

/* =========================================================== home: midnight stage */
.stage{ position: relative; height: 220svh; background: var(--night-2); --p: 0; }
@media (max-width: 760px){ .stage{ height: 180svh; } }
.stage__pin{ position: sticky; top: 0; height: 100svh; overflow: clip; display: grid; place-items: center; }
/* 60svh, not 100: the ball and cable never go lower, and the canvas is drawn at DPR 2 */
.stage__ball{ position: absolute; left: 50%; top: 0; translate: -50% 0; width: min(60vmin, 560px); height: 60svh; z-index: 1; }
.stage__bg{ opacity: clamp(0, calc(var(--p) * 5), 1); }
.stage.is-static .stage__bg{ opacity: 1; }
.stage__num{ position: relative; z-index: var(--z-content); font-size: var(--fs-mega); line-height: var(--lh-mega);
             color: rgb(247 246 243 / .92); display: flex; justify-content: center; text-align: center;
             margin-top: 34svh; min-width: 3ch; }
.stage__num .dg{ width: .48em; height: .86em; }
.stage__num.is-year{ color: var(--gold); }
.stage__num .yr{ display: block; clip-path: inset(0 0 0 0); }
.stage__num .yr.reveal{ animation: mask-up 600ms var(--ease-inout) both; }
@keyframes mask-up{ from{ clip-path: inset(100% 0 0 0); transform: translateY(18%); } to{ clip-path: inset(0); transform: none; } }
.stage.is-static{ height: auto; }
.stage.is-static .stage__pin{ position: relative; height: min(100svh, 820px); }

/* =========================================================== home: midnight band (gold) */
.gold__h2{ font-size: var(--fs-d1); line-height: var(--lh-d1); margin-bottom: var(--s-5); }
.gold__body{ max-width: 44ch; margin-bottom: var(--s-6); font-weight: 500; }
.gold-band .wrap{ text-align: center; display: flex; flex-direction: column; align-items: center; }

/* =========================================================== home: tables teaser, record, reel, getting there, faq */
.tt__h2{ font-size: var(--fs-d1); line-height: var(--lh-d1); margin-bottom: var(--s-5); }
.tt .prose{ margin-bottom: var(--s-6); }
.tt__note{ margin-top: var(--s-4); }
/* The picture in this section is the product: the arena in 3D, linking to the map. */
.tt__map{ position: relative; max-width: 620px; }
.tt__map .ph{ display: block; }
.tt__chip{ position: absolute; left: var(--s-4); bottom: var(--s-4); z-index: 2; background: var(--gold); color: var(--ink); padding: .5em .75em .45em; border-radius: var(--r-chip); }



.series__h2{ font-size: var(--fs-d1); line-height: var(--lh-d1); margin-bottom: var(--s-5); }
.series .prose{ margin-bottom: var(--s-7); max-width: 58ch; }
.reel{ position: relative; z-index: var(--z-content); overflow: clip; }
.reel__track{ display: flex; width: max-content; }
.reel__group{ display: flex; flex: none; gap: 12px; padding-right: 12px; }
.reel__group img{ height: clamp(220px, 30vw, 420px); width: auto; max-width: none; border-radius: var(--r-media); }
.reel__item{ position: relative; flex: none; display: block; border-radius: var(--r-media); overflow: hidden; }
.reel__item img{ display: block; }
.reel__group .reel__colour{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 320ms var(--ease-out); }
@media (hover: hover){ .reel__item:hover .reel__colour{ opacity: 1; } }
@media (prefers-reduced-motion: no-preference){
  .reel__track.is-running{ animation: slide var(--dur, 60s) linear infinite; }
  .reel:hover .reel__track, .reel:focus-within .reel__track{ animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce){
  .reel{ overflow-x: auto; scroll-snap-type: x mandatory; }
  .reel__group[aria-hidden]{ display: none; }
  .reel__group img{ scroll-snap-align: start; }
}
.series__foot{ display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); justify-content: space-between; align-items: baseline; margin-top: var(--s-5); }

.gt__h2{ font-size: var(--fs-d1); line-height: var(--lh-d1); margin-bottom: var(--s-5); }
.gt .prose{ margin-bottom: var(--s-5); }

.faq__h2{ font-size: var(--fs-d1); line-height: var(--lh-d1); margin-bottom: var(--s-6); }
.faq{ max-width: none; }
.faq details{ border-top: var(--hair); }
.faq details:last-of-type{ border-bottom: var(--hair); }
.faq summary{ list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4);
              align-items: center; padding: var(--s-5) 0; font-weight: 600; font-size: var(--fs-lead); line-height: 1.3; }
.faq summary::-webkit-details-marker{ display: none; }
.faq summary .plus{ position: relative; flex: none; width: 18px; height: 18px; transition: transform 180ms var(--ease-out); }
.faq summary .plus::before, .faq summary .plus::after{ content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px;
              background: var(--gold); translate: 0 -50%; }
.faq summary .plus::after{ transform: rotate(90deg); }
.faq details[open] .plus{ transform: rotate(45deg); }
.faq .ans{ padding: 0 0 var(--s-5); max-width: 62ch; color: var(--mist); }
@media (prefers-reduced-motion: no-preference){
  .faq details[open] .ans{ animation: ans-in 240ms var(--ease-out); }
}
@keyframes ans-in{ from{ opacity: 0; transform: translateY(-6px); } }
.faq__more{ margin-top: var(--s-6); display: inline-block; }

/* =========================================================== final CTA */
.final{ text-align: center; }
.final .wrap{ display: flex; flex-direction: column; align-items: center; }
.wn-lockup--final{ --lw: min(48vw, 560px, 56svh); }
.final__h2{ font-size: var(--fs-d1); line-height: var(--lh-d1); margin-bottom: var(--s-4); }
.final__body{ margin-bottom: var(--s-6); }
.final .cd{ margin-bottom: var(--s-6); }
.final .btns{ justify-content: center; }

/* =========================================================== footer */
.foot{ position: relative; margin-top: calc(var(--ridge-h) * -1); padding: calc(var(--ridge-h) + var(--s-4)) 0 var(--s-6); overflow: clip;
       background: linear-gradient(transparent var(--ridge-h), var(--night-0) var(--ridge-h)); }
/* The footer's ridge rises over the bottom of the last section, so the page ends on the real
   Vail skyline drawn over whatever photograph that section carries. No flat band, no seam line. */
main > section:last-child{ padding-bottom: calc(var(--section-pad) * .6 + var(--ridge-h)); }
.foot__ridge{ position: absolute; left: 0; right: 0; top: 0; height: calc(var(--ridge-h) + 1px); z-index: 0; }
.foot__ridge > i{ position: absolute; inset: 0; display: block; background: var(--night-0); transform: scaleX(-1);
              -webkit-mask: url("img/ridges/ridge-1-vail-mountain.svg") left bottom / 100% 100% no-repeat;
              mask: url("img/ridges/ridge-1-vail-mountain.svg") left bottom / 100% 100% no-repeat; }
.foot__bg{ top: var(--ridge-h); opacity: .2; -webkit-mask: linear-gradient(transparent, black 35%); mask: linear-gradient(transparent, black 35%); }
.foot__credit{ margin-top: var(--s-2); font-size: var(--fs-label); }
.foot__credit a{ text-underline-offset: 3px; }
.foot__mark{ display: flex; justify-content: center; margin-bottom: var(--s-5); }
.wn-lockup--foot{ --lw: min(46vw, 460px); }
.foot__grid{ display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--s-6); }
.foot__about p + p{ margin-top: var(--s-2); }
.foot h2{ font-family: var(--font-body); font-weight: 600; font-size: var(--fs-label); letter-spacing: var(--track-label);
          text-transform: uppercase; color: var(--mist); margin-bottom: var(--s-3); }
.foot li + li{ margin-top: var(--s-2); }
.foot li a{ text-decoration: none; }
.foot li a:hover{ text-decoration: underline; text-underline-offset: 3px; }
.foot__legal{ margin-top: var(--s-6); padding-top: var(--s-5); border-top: var(--hair); color: var(--mist); font-size: var(--fs-small); }
@media (max-width: 860px){ .foot__grid{ grid-template-columns: 1fr 1fr; } .foot__about{ grid-column: 1 / -1; } }

/* =========================================================== inner pages */
.h2{ font-size: var(--fs-d1); line-height: var(--lh-d1); margin-bottom: var(--s-5); }
.h2--sm{ font-size: var(--fs-d2); line-height: var(--lh-d2); }
.ticks{ display: grid; gap: var(--s-4); margin-block: var(--s-5) var(--s-6); }
.ticks li{ display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: baseline; font-size: var(--fs-lead);
           line-height: var(--lh-lead); font-weight: 500; }
.steps{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); counter-reset: step; margin-top: var(--s-6); }
.steps li{ counter-increment: step; border-top: var(--hair-gold); padding-top: var(--s-5); }
.steps li::before{ content: counter(step); display: block; font-family: var(--font-display); font-size: var(--fs-d2);
                   line-height: 1; color: var(--gold); margin-bottom: var(--s-3); }
.steps h3{ margin-bottom: var(--s-2); }
.steps p{ color: var(--mist); }
@media (max-width: 760px){ .steps{ grid-template-columns: 1fr; } }

.addr{ font-style: normal; font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: 500; margin-block: var(--s-4); }
.hours{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); margin-block: var(--s-5) var(--s-6); max-width: 600px; }
.hours div{ border-top: var(--hair-gold); padding-top: var(--s-4); }
.hours dt{ color: var(--mist); }
.hours dd{ margin: var(--s-2) 0 0; font-family: var(--font-display); font-size: var(--fs-d2); line-height: 1; }
@media (max-width: 560px){ .hours{ grid-template-columns: 1fr; } }
.cols3{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); margin-top: var(--s-6); }
.cols3 h3{ margin-bottom: var(--s-2); }
.cols3 p{ color: var(--mist); }
.cols3 > div{ border-top: var(--hair-gold); padding-top: var(--s-5); }
@media (max-width: 760px){ .cols3{ grid-template-columns: 1fr; } }
.closing{ text-align: center; }
.closing .wrap{ display: flex; flex-direction: column; align-items: center; }
.closing .prose{ margin-bottom: var(--s-6); }
.closing .btns{ justify-content: center; }
.twin{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8); }
@media (max-width: 860px){ .twin{ grid-template-columns: 1fr; gap: var(--s-7); } }

/* =========================================================== tables: the table map panel */
.tmap__head{ display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-7); align-items: flex-end; justify-content: space-between; margin-bottom: var(--s-6); }
.tmap__head .h2{ margin-bottom: var(--s-3); }
.tmap__panel{ background: var(--cream); padding: var(--mat); border-radius: var(--r-card); }
.tmap__panel .ph, .tmap__panel img{ border-radius: 6px; }
.tmap__panel img{ width: 100%; height: auto; }

/* =========================================================== forms (cream paper) */
.form{ max-width: 760px; }
.form__grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-6); margin-top: var(--s-6); }
.form__grid .full{ grid-column: 1 / -1; }
@media (max-width: 640px){ .form__grid{ grid-template-columns: 1fr; } }
.field{ display: flex; flex-direction: column; gap: var(--s-2); }
.field label{ font-weight: 600; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; }
.field .req{ color: var(--gold-ink); }
.field input, .field select, .field textarea{ font: inherit; font-size: 1.0625rem; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid rgb(11 15 26 / .4); border-radius: 0; padding: 10px 0; width: 100%;
  transition: border-color var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out); }
.field textarea{ min-height: 120px; resize: vertical; }
.field select{ appearance: none; -webkit-appearance: none; padding-right: 28px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input::placeholder, .field textarea::placeholder{ color: var(--stone); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus{ outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible{ border-radius: 0; box-shadow: 0 1px 0 0 var(--ink); }
.field .help{ font-size: var(--fs-small); color: var(--stone); }
.field .err{ font-size: var(--fs-small); color: var(--ink); font-weight: 600; display: none; }
.field.is-bad .err{ display: block; }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea{ border-bottom: 2px solid var(--ink); }
.field.is-bad .err::before{ content: "! "; color: var(--gold-ink); }
.form__foot{ margin-top: var(--s-6); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.form__msg{ font-weight: 600; }
.form__msg:empty{ display: none; }
.hp{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-band .h2{ font-size: var(--fs-d2); line-height: var(--lh-d2); }

/* =========================================================== small pages (thanks, 404) */
.solo{ position: relative; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--nav-h) + var(--s-7)) 0 var(--s-8); overflow: clip; }
.solo .wrap{ text-align: center; display: flex; flex-direction: column; align-items: center; }
.solo__ball{ position: absolute; left: 78%; top: 6%; translate: -50% 0; width: clamp(110px, 14vw, 190px); height: clamp(176px, 22.4vw, 304px); z-index: 1; }
.solo h1{ font-size: var(--fs-d1); line-height: var(--lh-d1); margin-bottom: var(--s-5); }
.solo .prose{ margin-bottom: var(--s-6); }
.solo .btns{ justify-content: center; }
@media (max-width: 640px){ .solo__ball{ width: 84px; height: 134px; left: 82%; } }

/* 3D table map (Loft 22 widget pattern): model-viewer loads the venue bake. Hidden until data-glb is set. */
.tmap__stage{ display: none; position: relative; height: min(70svh, 600px); background: var(--night-0); border-radius: 6px; overflow: hidden; }
.tmap.has-3d .tmap__stage{ display: block; }
.tmap.has-3d [data-map3d-fallback]{ display: none; }
.tmap__stage model-viewer{ width: 100%; height: 100%; background: var(--night-0); --poster-color: var(--night-0); --progress-bar-color: var(--gold); --progress-bar-height: 2px; }
.tmap__ctl{ position: absolute; right: 20px; bottom: 20px; display: flex; align-items: flex-end; gap: 16px; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.tmap__stage:hover .tmap__ctl, .tmap__stage:focus-within .tmap__ctl{ opacity: 1; transform: none; }
.tmap__zoom{ display: flex; flex-direction: column; gap: 8px; }
.tmap__pad{ display: grid; grid-template-columns: repeat(3, 44px); grid-template-rows: repeat(3, 44px); gap: 6px; }
.tmap__pad [data-rot=up]{ grid-column: 2; grid-row: 1; } .tmap__pad [data-rot=left]{ grid-column: 1; grid-row: 2; }
.tmap__pad [data-reset]{ grid-column: 2; grid-row: 2; } .tmap__pad [data-rot=right]{ grid-column: 3; grid-row: 2; }
.tmap__pad [data-rot=down]{ grid-column: 2; grid-row: 3; }
.tmap__ctl button{ width: 44px; height: 44px; padding: 0; border: 1px solid var(--blue); border-radius: 999px; background: var(--night-1); color: var(--snow); font: 600 18px/1 var(--font-body); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color .2s, color .2s, border-color .2s, transform .15s; }
.tmap__ctl button:hover{ background: var(--gold); border-color: var(--gold); color: var(--ink); }
.tmap__ctl button:active{ transform: scale(.94); }
.tmap__ctl button:focus-visible{ outline: 2px solid var(--gold); outline-offset: 2px; }
.tmap__hint{ position: absolute; left: 20px; bottom: 20px; margin: 0; padding: 8px 12px; border-radius: var(--r-chip); background: var(--night-1); color: var(--snow); font: 600 .75rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; pointer-events: none; transition: opacity .5s; }
.tmap__stage.is-touched .tmap__hint{ opacity: 0; }
@media (max-width: 1024px){ .tmap__stage{ height: 50svh; max-height: 420px; } }
@media (max-width: 767px){ .tmap__stage{ height: 360px; } .tmap__ctl{ opacity: 1; transform: none; right: 12px; bottom: 12px; } .tmap__pad{ display: none; } .tmap__zoom{ flex-direction: row; } .tmap__hint{ left: 12px; bottom: 12px; } }

/* =====================================================================
   Round five (2026-11-16): the loader and the pointer effects. fx.js.
   Everything here is off under prefers-reduced-motion and without JS.
   ===================================================================== */

/* ---- loader: once per visit. html.is-loading is set by the inline head script. */
.loader{ display: none; }
.is-loading .loader{ display: block; position: fixed; inset: 0; z-index: 100; color: var(--cream);
  background: var(--night-2);   /* one flat ground */
  transition: transform 1000ms var(--ease-inout);
  /* if fx.js never runs, the screen still clears on its own */
  animation: loader-bail 1ms 7s forwards; }
@keyframes loader-bail{ to{ visibility: hidden; pointer-events: none; } }
.loader.is-done{ transform: translateY(calc(-100% - var(--ridge-h, 120px))); }
.loader__edge{ position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: var(--ridge-h, 120px); background: var(--night-2);
  transform: scaleY(-1);
  -webkit-mask: url("img/ridges/ridge-1-vail-mountain.svg") left bottom / 100% 100% no-repeat;
          mask: url("img/ridges/ridge-1-vail-mountain.svg") left bottom / 100% 100% no-repeat; }
.loader__static{ display: none; }   /* the grain field is off: the loader is a flat ground (matte pass) */
.loader__mid{ position: absolute; left: 50%; top: 30%; width: min(60vw, 520px); transform: translate(-50%, -50%); }
.loader__logo{ display: block; width: 100%; height: auto; fill: currentColor; }
.loader__logo--ghost{ color: var(--blue); }   /* a solid fill, never opacity on the logo */
.loader__logo--fill{ position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--lp, 0) * 100%) 0 0); }
.loader__bar{ display: block; height: 2px; margin-top: clamp(16px, 3vw, 28px); background: var(--blue); }
.loader__bar > i{ display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--lp, 0)); }
/* The lift: one hairline cable from the village to the summit, a cabin in gold line that rides it as the page
   loads (--lp), two towers, one flat range. The readout climbs from Vail Village (8,120 ft) to the summit (11,570 ft). */
.loader__lift{ position: absolute; left: -2%; right: -2%; top: 52%; height: clamp(120px, 26svh, 240px); }
.loader__cable{ position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.loader__cable line{ stroke: var(--mist); stroke-width: 1; }
.loader__tower{ position: absolute; left: calc(var(--at) * 100%); top: calc((1 - var(--at)) * 100%); width: 1px; height: 60svh; background: var(--mist); }
.loader__tower::before{ content: ""; position: absolute; left: -7px; top: 0; width: 15px; height: 1px; background: var(--mist); }
.loader__car{ position: absolute; left: calc(var(--lp, 0) * 100%); top: calc((1 - var(--lp, 0)) * 100%); width: clamp(46px, 5.6vw, 72px);
              translate: -50% -2px; transform-origin: 50% 0; animation: car-sway 2.6s ease-in-out infinite alternate; }
.loader__car svg{ display: block; width: 100%; height: auto; overflow: visible; }
.loader__car path{ fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes car-sway{ from{ rotate: -3.5deg; } to{ rotate: 3.5deg; } }
.loader__range{ position: absolute; left: 0; right: 0; bottom: 0; height: clamp(110px, 24svh, 230px); background: var(--blue); transform: scaleX(-1);   /* the range climbs the same way the cable does */
  -webkit-mask: url("img/ridges/ridge-1-vail-mountain.svg") left bottom / 100% 100% no-repeat;
          mask: url("img/ridges/ridge-1-vail-mountain.svg") left bottom / 100% 100% no-repeat; }
.loader__foot{ position: absolute; left: var(--gutter, 40px); right: var(--gutter, 40px); bottom: clamp(20px, 5svh, 48px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.loader__elev{ display: grid; grid-template-columns: max-content max-content; justify-content: start; align-items: baseline; column-gap: .5em; color: var(--cream); }
.loader__elev > .label:first-child{ grid-column: 1 / -1; color: var(--snow); margin-bottom: .35em; }
.loader__num{ font-family: var(--font-display); font-size: min(clamp(3rem, 8vw, 6rem), 15svh); line-height: .9; color: var(--gold);
  font-variant-numeric: tabular-nums; letter-spacing: 0; }
.loader__ft{ color: var(--gold); }
.loader__meta{ text-align: right; color: var(--snow); padding-bottom: .5em; }
.loader__meta span{ display: block; }
.loader.is-done .loader__mid, .loader.is-done .loader__foot, .loader.is-done .loader__lift{ opacity: 0; transition: opacity 300ms var(--ease-in); }
@media (max-width: 600px){
  .loader__foot{ left: 20px; right: 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .loader__meta{ text-align: left; order: -1; padding: 0; }
}

/* ---- buttons: magnetic pull (fx.js sets --mx/--my). Flat fills only: the cursor glow and the
   gold sheen were removed in the matte pass (2026-11-16). */
.btn{ position: relative; overflow: hidden; translate: var(--mx, 0px) var(--my, 0px); }
.motion .btn{ transition: transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out),
  background-color var(--dur-hover) var(--ease-out), translate 260ms var(--ease-out); }

/* ---- section backgrounds drift against the scroll (fx.js sets --py) */
.motion .bg[data-drift] img{ scale: 1.16; translate: 0 var(--py, 0%); will-change: translate; }

/* ---- photos follow the pointer: a flat pan inside the frame (fx.js sets --px/--py2). The 3D lean
   and the headliner's light sweep were removed in the matte pass. */
.motion [data-photo].is-in .ph img, .motion [data-photo].is-in .ph .vid{ scale: 1.06; translate: var(--px, 0%) var(--py2, 0%);
  transition: transform 900ms var(--ease-inout), translate 420ms var(--ease-out), scale 900ms var(--ease-out), opacity 900ms var(--ease-out); }
.motion .bg[data-drift]{ overflow: hidden; }

.form-band .btns{ margin-top: var(--s-5); }

/* ---- stills that move: a looping video over its still (fx.js). The parent must be positioned. */
.vid{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 900ms var(--ease-out); pointer-events: none; }
.vid.is-on{ opacity: 1; }
.motion .bg[data-drift] .vid{ scale: 1.16; translate: 0 var(--py, 0%); }

/* =========================================================== home: December 31 in Vail (round six)
   The ski-poster idea: the place name set wide across the section, and the day told in three frames. */
.day{ overflow: clip; }
.day__poster{ position: absolute; left: var(--gutter); right: var(--gutter); top: clamp(1rem, 4vw, 3rem); z-index: 0; margin: 0;
  display: flex; justify-content: space-between; pointer-events: none; user-select: none;
  font-size: min(27vw, 46svh); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgb(220 172 73 / .5); }
.g-blue .day__poster{ -webkit-text-stroke-color: rgb(239 236 233 / .5); }   /* gold on blue is too faint; cream outline */
.day__poster span{ display: block; }
.motion .day__poster span{ transition: transform 1100ms var(--ease-out), opacity 900ms var(--ease-out); }
.motion .day__poster:not(.is-in) span{ transform: translateY(18%); opacity: 0; }
.motion .day__poster span:nth-child(2){ transition-delay: 90ms; } .motion .day__poster span:nth-child(3){ transition-delay: 180ms; } .motion .day__poster span:nth-child(4){ transition-delay: 270ms; }
.day .wrap{ padding-top: clamp(3.5rem, 10vw, 8.5rem); }
.day__h2{ font-size: var(--fs-d1); line-height: var(--lh-d1); margin-bottom: var(--s-4); max-width: 16ch; }
.day__lead{ max-width: 56ch; margin-bottom: var(--s-7); }
.day__cards{ list-style: none; margin: 0 0 var(--s-6); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.day__card{ position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-card); overflow: hidden; background: var(--night-1); isolation: isolate;
  display: flex; flex-direction: column; }
/* The picture sits in .day__media so a clip can lie over it: the still is the poster, the clip plays on hover
   (in view on touch screens). */
.day__media{ position: relative; flex: 1 1 0; min-height: 0; overflow: clip; display: block; }
.day__card img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease-out); }
.day__media .vid{ transition-duration: 260ms; }
/* No grain and no gradient floor: the photo is clean, the time is a flat gold chip, and the words
   stand on a flat night panel across the foot of the card. */
.day__when{ position: absolute; left: var(--s-4); top: var(--s-4); z-index: 2; background: var(--gold); color: var(--ink);
  padding: .3em .6em .25em; border-radius: var(--r-chip); line-height: 1; }
.day__when--time{ font-size: 1.5rem; padding: .25em .45em .2em; }
.day__txt{ position: relative; z-index: 2; flex: none; background: var(--night-1); padding: var(--s-4); }
.day__txt h3{ font-size: clamp(1.5rem, 2.4vw, 2.25rem); line-height: 1; margin: 0 0 var(--s-2); }
.day__txt p{ margin: 0; color: var(--snow); max-width: 30ch; }
@media (hover: hover){ .motion .day__card:hover img{ transform: scale(1.06); } }
.day__btns{ align-items: center; gap: var(--s-5); }
@media (max-width: 760px){
  .day__cards{ grid-template-columns: 1fr; }
  .day__card{ aspect-ratio: auto; }
  .day__media{ flex: none; aspect-ratio: 4 / 3; }
  .day__poster{ font-size: min(30vw, 30svh); }
}
/* the night frame is already dark: lift it so the winter crowd reads above the panel */
.day__card--night img{ filter: brightness(1.5); object-position: 50% 100%; }
.ph{ position: relative; }  /* so a .vid can sit over the photo */
