/* Lenis 1.3.26 required styles */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

/* NorCal Cycle & Car Swap — redesign
   Design system adapted from wearetheromans.com (see docs/design-reference/wearetheromans/DESIGN.md).
   Display + body: Archivo variable (width axis gives the condensed display cut). */

/* ------------------------------------------------------------------ tokens */
:root {
  --ink: #0a0a0a;
  --paper: #f5f5f5;
  --muted: #949494;
  --accent: #ffd13f;

  --ease: cubic-bezier(.2, .8, .2, 1);        /* soft out */
  --ease-wipe: cubic-bezier(.65, 0, .35, 1);  /* in-out for fills */
  --ease-flip: cubic-bezier(.3, 1.35, .5, 1); /* slight overshoot, flip-board letters */
  --ease-projector: cubic-bezier(.7, 0, .2, 1);
  --dur-hover: .35s;
  --dur-reveal: .9s;

  /* fluid(X) = .8X px + X/72 vw  (20% of X scales with a 1440px design width) */
  --gutter: 24px;
  --content-spacer: calc(51.2px + .8889vw);       /* 64 */
  --container-spacer: calc(160px + 2.778vw);      /* 200 */
  --button-h: calc(51.2px + .8889vw);             /* 64 */
  --button-w: calc(176px + 3.056vw);              /* 220 */
  --icon-btn: calc(38.4px + .6667vw);             /* 48 */
  --tag-h: calc(32px + .5556vw);                  /* 40 */
  --asset-w: calc(204.8px + 3.556vw);             /* 256 */
  --asset-h: calc(153.6px + 2.667vw);             /* 192 */

  --skew-deg: -10deg;
  --skew-tan: .17633;
  --hover-scale: 1.05;
  --parallax-amount: 20svh;
  --parallax-amount-medium: 8svh;
  --parallax-amount-small: 2svh;

  --font: "Archivo", system-ui, sans-serif;
  --font-display: "Archivo", system-ui, sans-serif; /* Archivo at its narrowest width, extra bold */
  --display-stretch: 62%;
  --display-weight: 800;

  --fs-hero: clamp(48px, 13.2vw, 250px);
  --fs-xl: clamp(52px, 12.5vw, 230px);
  --fs-l: clamp(44px, 8vw, 140px);
  --fs-m: clamp(36px, 5.6vw, 96px);
  --fs-s: clamp(22px, 2.2vw, 32px);
  --fs-label: clamp(15px, 1.25vw, 18px);
  --fs-body: clamp(16px, 1.45vw, 21px);
  --fs-small: 15px;
}
@media (max-width: 767px) {
  :root {
    --gutter: 16px;
    --asset-w: 24vw;
    --asset-h: 18vw;
    --parallax-amount: 8svh;
    --fs-hero: 12.4vw;
    --fs-xl: 14vw;
  }
}

/* ------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 1px dashed currentColor; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.display {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: var(--display-weight);
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.035em; /* tight, letters nearly touching */
  word-spacing: .14em; /* condensed Archivo's space is very narrow */
}
.label {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: var(--display-weight);
  text-transform: uppercase;
  font-size: var(--fs-label);
  line-height: 1;
  letter-spacing: 0;
  word-spacing: .12em;
}
.muted { color: var(--muted); }
/* One brand-yellow word per black section */
.theme-ink .accent { color: var(--accent); }
.italic { display: inline-block; transform: skewX(var(--skew-deg)); transform-origin: 0 100%; }

.theme-ink { background: var(--ink); color: var(--paper); }
.theme-paper { background: var(--paper); color: var(--ink); }

.section { position: relative; z-index: 1; padding: var(--container-spacer) var(--gutter); }
.center { text-align: center; }
.stack-center { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* -------------------------------------------------------------- components */
/* Tag */
.tag {
  display: inline-flex; align-items: center; height: var(--tag-h); padding: 0 16px;
  border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
}

/* Button: solid block, label left, arrow right; background skews into a parallelogram on hover */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  min-width: var(--button-w); height: var(--button-h); padding: 0 20px;
  color: var(--paper);
  cursor: pointer; border: 0; background: none;
  transition: color .2s .12s;
}
button.btn { font-family: var(--font-display); font-size: var(--fs-label); }
.btn__bg { position: absolute; z-index: -1; inset: 0; overflow: hidden; background: var(--ink); }
.btn__bg::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .5s var(--ease-wipe);
}
.btn:hover, .btn:focus-visible { color: var(--ink); }
.btn:hover .btn__bg::after, .btn:focus-visible .btn__bg::after { transform: scaleX(1); transform-origin: 0 50%; }
.btn .i { width: 16px; height: 16px; transition: transform var(--dur-hover) var(--ease); }
.btn:hover .i { transform: translateX(6px); }
.btn--light { color: var(--ink); }
.btn--light .btn__bg { background: var(--paper); }
.btn--accent { color: var(--ink); }
.btn--accent .btn__bg { background: var(--accent); }
.btn--accent .btn__bg::after { background: var(--paper); }

/* Square icon button */
.icon-btn {
  display: inline-grid; place-items: center; width: var(--icon-btn); height: var(--icon-btn);
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  transition: background var(--dur-hover) var(--ease), color var(--dur-hover) var(--ease);
}
.icon-btn:hover { background: var(--paper); color: var(--ink); }
.icon-btn .i { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 20px var(--gutter); min-height: 88px;
  background: var(--ink); color: var(--paper); /* solid black bar */
  transition: opacity .5s var(--ease);
}
/* Fades out while scrolling, back in after ~1s of no scrolling (main.js) */
.header.is-hidden, .site-logo.is-hidden { opacity: 0; pointer-events: none; transition-duration: .25s; }
/* Logo: own fixed layer, hides/shows with the header. */
.site-logo {
  position: fixed; z-index: 51; top: 6px; left: calc(var(--gutter) - 10px);
  width: clamp(56px, 5.2vw, 76px); transition: opacity .5s var(--ease);
}
.site-logo img { width: 100%; height: auto; }

.header__nav { display: flex; gap: clamp(12px, 1.2vw, 18px); }
.header__nav a { transition: color .2s; }
.header__nav a:hover, .header__nav a:focus-visible { color: var(--accent); }
.header__chip {
  justify-self: end; display: inline-flex; align-items: center; gap: 10px;
  height: var(--tag-h); padding: 0 14px; border: 1px solid var(--accent); /* logo yellow keyline */
}
.header__chip .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent); /* logo yellow */
  box-shadow: 0 0 8px rgb(255 209 63 / .7);
  animation: blink 1.6s steps(2, jump-none) infinite;
}
@keyframes blink { 50% { opacity: .2; } }
.header__menu { display: none; background: none; border: 1px solid currentColor; color: inherit; height: 40px; padding: 0 14px; cursor: pointer; }
@media (max-width: 767px) {
  .header { grid-template-columns: auto 1fr; padding-block: 14px; min-height: 68px; }
  .site-logo { width: 56px; }
  .header__menu { display: inline-flex; align-items: center; justify-self: end; position: relative; z-index: 2; }
  .header__nav { display: none; }
  .header__chip { display: none; }
  /* Full-screen menu */
  .menu-open .header, .menu-open .site-logo { opacity: 1; pointer-events: auto; }
  .menu-open .header__nav {
    display: flex; position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 18px; padding: 0 var(--gutter);
    background: var(--ink); color: var(--paper); font-size: 11vw;
  }
}

/* -------------------------------------------------------------------- hero */
/* Video through the letters. A black layer with white type sits over the video with mix-blend-mode: multiply,
   so the video only shows inside the letters. --grow (0→1, scroll) zooms the type exponentially into the stem
   of the "L" in NORCAL (main.js sets --zx/--zy/--dx/--dy) and fades the layer to white, revealing the full video. */
@property --grow { syntax: "<number>"; inherits: true; initial-value: 0; }
.hero { position: relative; z-index: 1; height: 100svh; }
.sd .hero { height: 260svh; }
.hero__sticky { position: sticky; top: 0; height: 100svh; overflow: clip; --fs: min(15.5vw, 28svh); }
.hero__screen { position: absolute; inset: 0; z-index: 1; background: #000; }
.hero__screen video { width: 100%; height: 100%; object-fit: cover; }
/* .hero__mask and .hero__outline share identical layout + zoom so the keyline sits exactly on the letters */
.hero__mask, .hero__outline {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; padding: 0 var(--gutter);
  transform-origin: var(--zx, 50%) var(--zy, 50%);
  transform: translate(calc(var(--dx, 0px) * var(--grow)), calc(var(--dy, 0px) * var(--grow))) scale(pow(70, var(--grow)));
  /* no will-change: a cached compositor layer keeps the 70x raster and shows only a few tiles after scrolling back */
}
/* mask-specific */
.hero__mask {
  --fade: clamp(0, (var(--grow) - .78) * 6, 1);
  background: color-mix(in srgb, #fff calc(var(--fade) * 100%), #000);
  color: #fff; mix-blend-mode: multiply;
}
/* Subtle keyline so the name reads over dark footage. Fades out before the zoom thickens it. */
.hero__outline {
  pointer-events: none;
  color: transparent; -webkit-text-stroke: .75px rgb(245 245 245 / .38);
  opacity: clamp(0, 1 - var(--grow) * 6, 1);
}
.hero__title { font-size: var(--fs); text-align: center; line-height: .84; }
.hero__title .line { display: block; white-space: nowrap; }
.hero__ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: calc(1 - var(--grow) * 5); }
.hero__ui > * { pointer-events: auto; }
.hero__caption { position: absolute; left: var(--gutter); bottom: var(--gutter); max-width: 34ch; font-size: var(--fs-body); }
.hero__down { position: absolute; right: var(--gutter); bottom: var(--gutter); }
.hero__play {
  position: absolute; z-index: 3; right: var(--gutter); bottom: var(--gutter);
  color: var(--paper); background: var(--ink);
  opacity: clamp(0, (var(--grow) - .85) * 8, 1);
}

/* Logo badge pinned to the end of "SWAP", overlapping the P and the screen's bottom edge.
   main.js sets --lx/--ly from .hero__anchor; it leaves with the bottom line on scroll, rolling like a wheel. */
.hero__anchor { display: inline-block; width: 0; height: 1px; vertical-align: top; }
.hero__logo {
  position: absolute; z-index: 4; left: 0; top: 0; width: calc(var(--fs) * 1.05); pointer-events: none;
  transform: translate(var(--lx, -999px), var(--ly, 0px)) translate(-50%, -50%) translateX(calc(var(--grow) * 75vw)) rotate(calc(var(--grow) * 140deg));
}
.hero__logo img { width: 100%; height: auto; filter: drop-shadow(0 10px 24px rgb(0 0 0 / .55)); }
/* Intro: the badge rides in from the left across the bottom line, overshoots a touch, brakes and settles */
.js-motion .hero__logo img { transform: translateX(-110vw) rotate(-8deg); }
.js-motion.is-loaded .hero__logo img { animation: logo-ride 1.6s 1.6s forwards; }
@keyframes logo-ride {
  0%   { transform: translateX(-110vw) rotate(-8deg); animation-timing-function: cubic-bezier(.25, .6, .3, 1); }
  72%  { transform: translateX(6%) rotate(-3deg); animation-timing-function: ease-in-out; }
  86%  { transform: translateX(-1.5%) rotate(4deg); animation-timing-function: ease-in-out; }
  100% { transform: none; }
}

/* Inline media "flag" sitting between words. Outer box reserves width (animated on intro); frame carries clip-path + scroll zoom. */
.flag {
  --fw: calc(var(--asset-w) + var(--skew-tan) * var(--asset-h));
  position: relative; z-index: 2;
  display: inline-block;
  width: var(--fw); height: var(--asset-h);
  margin: 0 .04em; vertical-align: -.04em;
}
/* hero flags scale with the headline so lines fit at every width */
.hero__title .flag { --asset-h: .74em; --asset-w: 1em; }
.flag__frame {
  --clip-flag: polygon(calc(var(--skew-tan) * var(--asset-h)) 0%, 100% 0%, calc(100% - var(--skew-tan) * var(--asset-h)) 100%, 0% 100%);
  position: absolute; inset: 0; overflow: hidden;
  clip-path: var(--clip-flag);
  transform-origin: 50% 50%;
  background: #222;
}
.flag__frame video, .flag__frame img { width: 100%; height: 100%; object-fit: cover; }

/* ----------------------------------------------- list with inline images */
.rows { display: flex; flex-direction: column; align-items: center; gap: .04em; font-size: var(--fs-xl); }
.row { display: flex; align-items: center; gap: .08em; }
.row[data-parity=odd] { flex-direction: row-reverse; }
.row__img { width: var(--asset-w); height: var(--asset-h); flex: none; overflow: hidden; }
.row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.row:hover .row__img img { transform: scale(var(--hover-scale)); }
.row__img--skew { clip-path: polygon(calc(var(--skew-tan) * var(--asset-h)) 0%, 100% 0%, calc(100% - var(--skew-tan) * var(--asset-h)) 100%, 0% 100%); }
.rows-intro { max-width: 52ch; margin: var(--content-spacer) auto 0; text-align: center; font-size: var(--fs-body); opacity: .85; }

/* ---------------------------------------------------------- split / about */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); padding: var(--gutter); }
.split__text { display: flex; flex-direction: column; justify-content: space-between; gap: var(--content-spacer); padding: calc(var(--gutter) * 2) 0; }
.split__media { aspect-ratio: 4 / 3.4; overflow: clip; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
/* Click-through gallery: stage + 2 rows of 6 thumbnails. User-driven only, no autoplay. */
.gallery { display: flex; flex-direction: column; gap: 10px; align-self: center; }
.gallery__stage { margin: 0; aspect-ratio: 3 / 2; background: var(--ink); overflow: hidden; }
.gallery__main { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.gallery__main.is-swapping { opacity: 0; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.gallery__thumb { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .6; transition: opacity .2s; }
.gallery__thumb:hover img, .gallery__thumb[aria-current=true] img { opacity: 1; }
.gallery__thumb[aria-current=true]::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--accent); }
.split h2 { font-size: var(--fs-l); }
.facts { border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
.facts li { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
.facts .label { padding-top: .2em; }
@media (max-width: 767px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .facts li { grid-template-columns: 1fr; gap: 4px; }
}

/* ------------------------------------------------------------------ ticker */
.ticker { padding: calc(var(--gutter) * 2) 0; overflow: clip; border-bottom: 1px solid rgb(245 245 245 / .12); }
.ticker__head { display: flex; justify-content: center; margin-bottom: var(--gutter); }
.ticker__track { display: flex; width: max-content; gap: var(--gutter); animation: ticker 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__set { display: flex; gap: var(--gutter); }
.ticker__item {
  display: grid; place-items: center; width: clamp(180px, 18vw, 260px); aspect-ratio: 16 / 9;
  background: var(--paper); padding: 18px; transition: transform var(--dur-hover) var(--ease);
}
.ticker__item:hover { transform: translateY(-6px); }
.ticker__item img { max-height: 100%; width: auto; object-fit: contain; }
.ticker__item--dark { background: #000; }
@keyframes ticker { to { transform: translateX(calc(-50% - var(--gutter) / 2)); } }

/* ---------------------------------------------------------------- calendar */
/* All dates as copy (grey past, yellow next, white upcoming) + a film strip that rolls to the next swap on reveal. */
.calendar { position: relative; z-index: 1; padding: var(--content-spacer) 0; }
.calendar__sticky { display: flex; flex-direction: column; gap: var(--content-spacer); }
.calendar__head { display: flex; align-items: end; justify-content: space-between; gap: var(--gutter); padding: 0 var(--gutter); }
.calendar__title { font-size: var(--fs-l); margin-top: var(--gutter); }
.calendar__dates { display: flex; flex-wrap: wrap; gap: .25em 0; margin-top: 18px; font-size: clamp(15px, 1.35vw, 21px); }
.calendar__dates li { color: var(--paper); }
.calendar__dates li + li::before { content: "·"; color: var(--muted); margin: 0 .55em; }
.calendar__dates li[data-status=past] { color: var(--muted); }
.calendar__dates li[data-status=next] { color: var(--accent); }
@media (min-width: 1024px) { .calendar__dates { flex-wrap: nowrap; white-space: nowrap; } }
.calendar__viewport { overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.calendar__viewport::-webkit-scrollbar { display: none; }
.calendar__track { display: flex; gap: var(--gutter); width: max-content; padding: 0 var(--gutter); }
.calendar__foot { display: flex; align-items: center; gap: 8px; padding: 0 var(--gutter); }
.calendar__progress { flex: 1; height: 2px; margin-right: 16px; background: rgb(245 245 245 / .15); }
.calendar__progress span { display: block; height: 100%; background: var(--paper); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.card { position: relative; flex: none; width: clamp(196px, 21vw, 322px); padding: 16px 0; } /* 70% of the original frame size */
.card::before, .card::after { /* sprocket holes */
  content: ""; position: absolute; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(90deg, rgb(245 245 245 / .22) 0 10px, transparent 10px 22px);
}
.card::before { top: 4px; }
.card::after { bottom: 4px; }
.card__media {
  position: relative; aspect-ratio: 4 / 3; overflow: clip;
  display: grid; place-items: center;
  background: var(--paper); color: var(--ink);
}
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgb(0 0 0 / .45)); opacity: 0; }
.card--photo .card__media::after { opacity: 1; }
.card:hover .card__media img { transform: scale(var(--hover-scale)); }
.card__date { position: relative; z-index: 1; font-size: clamp(40px, 4.55vw, 84px); text-align: center; }
.card--photo .card__date { color: var(--paper); }
.card__title { margin-top: 10px; font-size: clamp(15px, 1.12vw, 17px); }
.card__sub { color: var(--muted); font-size: 15px; }
.card[data-status=past] .card__media { background: transparent; color: var(--paper); outline: 1px solid rgb(245 245 245 / .2); outline-offset: -1px; }
.card[data-status=past] .card__media img { filter: grayscale(1) brightness(.55); }
.card[data-status=past] .card__date { opacity: .55; }
.card[data-status=past] .card__title::after { content: " · Wrapped"; color: var(--muted); }
.card[data-status=next] .card__media { background: var(--accent); }
.card[data-status=next] .card__title::after { content: " · Next swap"; color: var(--accent); }
@media (max-width: 767px) {
  .card { width: 50vw; }
  .calendar__head { flex-direction: column; align-items: start; }
  .calendar__dates { font-size: 15px; }
}

/* ----------------------------------------------------------------- vendors */
.vendors { padding-top: calc(var(--container-spacer) / 2); } /* half the usual top space before the Vendor spots tag */
.vendors .rows { margin-top: var(--gutter); gap: 0; line-height: .8; }
/* Tight stack: art sized to the cap height so the rows sit on the letters, not on the image box */
.vendors .row { height: .8em; }
.vendors .row__img--art { height: .8em; width: auto; aspect-ratio: 4 / 3; }
.row__img--art { background: transparent; }
.row__img--art img { object-fit: contain; }
.pricing { margin-top: var(--container-spacer); border-top: 1px solid rgb(10 10 10 / .15); }
.price-row {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr auto; align-items: center; gap: var(--gutter);
  padding: 22px 0; border-bottom: 1px solid rgb(10 10 10 / .15);
}
.price-row__name { font-size: var(--fs-m); white-space: nowrap; }
.price-row dt { margin-bottom: 4px; }
.price-row dd { margin: 0; font-size: var(--fs-s); font-stretch: var(--display-stretch); font-weight: var(--display-weight); }
.price-row dl { margin: 0; }
.vendor-notes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: var(--content-spacer); max-width: 1100px; }
@media (max-width: 960px) {
  .price-row { grid-template-columns: 1fr 1fr; }
  .price-row__name { grid-column: 1 / -1; }
  .price-row .btn { grid-column: 1 / -1; }
  .vendor-notes { grid-template-columns: 1fr; }
}

/* Vendor reservation cards */
.pricing--cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter);
  max-width: 1100px; margin: var(--content-spacer) auto 0; border-top: 0;
}
.price-card {
  display: flex; flex-direction: column; gap: 28px;
  padding: clamp(24px, 3vw, 44px); background: #fff;
  border: 1px solid rgb(10 10 10 / .15);
  transition: border-color var(--dur-hover), transform .5s var(--ease);
}
.price-card:hover { border-color: var(--ink); transform: translateY(-6px); }
.price-card__name { font-size: clamp(32px, 3.4vw, 56px); white-space: nowrap; }
.price-card__price { display: flex; align-items: baseline; gap: 14px; margin: 0; }
.price-card__price .display { font-size: clamp(72px, 8vw, 140px); line-height: .8; }
.price-card__facts { margin: 0; border-top: 1px solid rgb(10 10 10 / .15); }
.price-card__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgb(10 10 10 / .15); }
.price-card__facts dd { margin: 0; text-align: right; }
.price-card__cta { width: 100%; margin-top: auto; }
.vendor-notes { margin-inline: auto; }
@media (max-width: 767px) { .pricing--cards { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------- instagram */
.insta {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--content-spacer);
  padding: var(--content-spacer) var(--gutter); border-top: 1px solid rgb(10 10 10 / .15);
}
.insta__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
@media (min-width: 768px) { .insta__text { position: sticky; top: 120px; align-self: start; } }
.insta__title { font-size: var(--fs-l); }
.insta__text p { max-width: 40ch; }
.insta__handle { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
/* Container units: height = profile header (~158px) + two rows of square posts (2 x width/3) */
.insta__embed { container-type: inline-size; background: #fff; border: 1px solid rgb(10 10 10 / .15); }
.insta__frame { display: block; width: 100%; height: calc(158px + 100cqw * 2 / 3); border: 0; }
@media (max-width: 767px) { .insta { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------- CTA */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); padding: var(--gutter); position: relative; z-index: 1; }
.cta__text { display: flex; flex-direction: column; justify-content: space-between; gap: var(--content-spacer); padding: var(--content-spacer) 0 0; }
.cta h2 { font-size: var(--fs-xl); }
.cta__media { aspect-ratio: 1; overflow: clip; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 767px) { .cta { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ footer */
.footer { position: relative; z-index: 0; overflow: clip; }
.footer__big { font-size: clamp(48px, 12.6vw, 240px); text-align: center; white-space: nowrap; line-height: .9; padding: .1em 0 .04em; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); border-top: 1px solid rgb(10 10 10 / .15); }
.footer__col { padding: var(--gutter); display: flex; flex-direction: column; gap: 16px; }
.footer__col + .footer__col { border-left: 1px solid rgb(10 10 10 / .15); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: var(--gutter); align-items: start; }
.footer__swaps { display: flex; flex-direction: column; gap: 14px; }
.footer__swaps ul { display: flex; flex-direction: column; gap: 16px; }
.footer__swaps a { display: flex; flex-direction: column; gap: 4px; }
.footer__swap-name { display: block; font-size: clamp(22px, 2vw, 32px); }
.footer__swap-name .i { display: inline-block; width: .42em; height: .42em; margin-left: .15em; vertical-align: .05em; transition: transform var(--dur-hover) var(--ease); }
.footer__swap-sub { font-size: var(--fs-small); color: #555; line-height: 1.4; }
.footer__swaps a:hover .footer__swap-name { text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .1em; }
.footer__swaps a:hover .i { transform: translate(3px, -3px); }
.footer__details { font-size: var(--fs-small); display: flex; flex-direction: column; gap: 12px; }
.footer__badge { width: clamp(96px, 9vw, 150px); }
@media (max-width: 1199px) { .footer__badge { display: none; } .footer__col + .footer__col { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.footer__social { display: flex; gap: 8px; }
.footer__email { font-size: var(--fs-s); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.footer__legal { display: flex; justify-content: space-between; padding: 14px var(--gutter); border-top: 1px solid rgb(10 10 10 / .15); font-size: 13px; color: #666; }
@media (max-width: 767px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__col + .footer__col { border-left: 0; border-top: 1px solid rgb(10 10 10 / .15); grid-template-columns: 1fr; }
  .footer__badge { display: none; }
}

/* ------------------------------------------------------------------- merch */
.merch-hero { min-height: 100svh; display: grid; place-items: center; padding: calc(var(--gutter) * 5) var(--gutter) var(--container-spacer); text-align: center; position: relative; z-index: 1; }
.merch-hero .hero__title { font-size: var(--fs-hero); }
.merch-hero__caption { margin-top: var(--content-spacer); }
.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--gutter); padding: var(--gutter); position: relative; z-index: 1; }
.product:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.product:nth-of-type(even) .product__media { order: 2; }
.product__media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); }
.product__media figure { margin: 0; overflow: clip; aspect-ratio: 3 / 4; }
.product__media figure:first-child:last-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__info { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: var(--content-spacer) 0; }
.product__name { font-size: var(--fs-l); }
.product__price { font-size: var(--fs-m); }
.product__buy { min-height: 60px; }
@media (max-width: 767px) {
  .product, .product:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); }
  .product:nth-of-type(even) .product__media { order: 0; }
}

/* ===================================================================== MOTION
   Motion language: drive-in projector + flip-board letters + film strip.
   Gated so the page is fully static without JS or with reduced motion:
   1. Scroll-linked ([data-scroll]): native animation-timeline when supported (html.sd-native),
      else main.js scrubs the same keyframes (html.sd-fallback).
   2. Entrance reveals ([data-reveal] gets data-can-reveal=true from an IntersectionObserver), time-based. */

@keyframes hero-grow { from { --grow: 0; } to { --grow: 1; } }
@keyframes row-drift { from { transform: translateX(calc(var(--dir, 1) * 9vw)); } to { transform: translateX(calc(var(--dir, 1) * -9vw)); } }
@keyframes img-zoom  { from { transform: scale(1.22); } to { transform: scale(1); } }
@keyframes char-flip { to { transform: none; opacity: 1; } }
@keyframes shutter   { to { clip-path: inset(0); } }
@keyframes fade-up   { to { opacity: 1; transform: none; } }

/* 1. scroll-linked */
.sd [data-scroll] { animation-duration: 1s; animation-timing-function: linear; animation-fill-mode: both; }
.sd-fallback [data-scroll] { animation-play-state: paused; }
.sd [data-scroll=hero]      { animation-name: hero-grow; }
.sd [data-scroll=drift-x]   { animation-name: row-drift; }
.sd [data-scroll=zoom]      { animation-name: img-zoom; }
.row[data-parity=odd] { --dir: -1; }

.sd-native [data-scroll=hero] { animation-timeline: view(); animation-range: contain 0% contain 60%; }
.sd-native [data-scroll=drift-x], .sd-native [data-scroll=zoom] { animation-timeline: view(); animation-range: cover; }


/* 2. entrance reveals: flip-board letters (main.js wraps [data-split] text in .word/.char) */
.js-motion [data-split] .word { display: inline-block; white-space: nowrap; }
.js-motion [data-split] .char {
  display: inline-block; transform-origin: 50% 0;
  transform: perspective(600px) rotateX(-95deg); opacity: 0;
}
.js-motion [data-can-reveal=true] [data-split] .char,
.js-motion [data-can-reveal=true][data-split] .char,
.js-motion.is-loaded .hero [data-split] .char,
.js-motion.is-loaded .merch-hero [data-split] .char {
  animation: char-flip .8s calc(var(--i, 0) * 30ms + var(--base-delay, 0ms)) var(--ease-flip) forwards;
}

/* Row images open like a shutter (top and bottom meet in the middle, then part) */
.js-motion .row__img { clip-path: inset(50% 0 50% 0); }
.js-motion .row[data-can-reveal=true] .row__img { animation: shutter .9s 250ms var(--ease-projector) forwards; }
.js-motion .row__img--skew { clip-path: polygon(0 50%, 100% 50%, 100% 50%, 0 50%); }
.js-motion .row[data-can-reveal=true] .row__img--skew { animation: skew-shutter .9s 250ms var(--ease-projector) forwards; }
@keyframes skew-shutter { to { clip-path: polygon(calc(var(--skew-tan) * var(--asset-h)) 0%, 100% 0%, calc(100% - var(--skew-tan) * var(--asset-h)) 100%, 0% 100%); } }

/* Blocks fade up */
.js-motion [data-reveal=fade] { opacity: 0; transform: translateY(24px); }
.js-motion [data-reveal=fade][data-can-reveal=true] { animation: fade-up .8s var(--base-delay, 0ms) var(--ease) forwards; }

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .header__chip .dot { animation: none; }
}
