/* ==========================================================================
   TEASPOON — FRANCHISE PARTNERS
   Page composition. Every color, size, radius, shadow and duration is a
   token from teaspoon-tokens.css; nothing here introduces a new value.
   ========================================================================== */

:root {
  /* Header geometry. The lockup floor is 70px of artwork; clear space is
     28% of the lockup height on every side (the height of the "T"). */
  --site-logo-h: 72px;
  --site-header-h: calc(var(--site-logo-h) + var(--site-logo-h) * 0.56);
  --site-bar-h: 64px;
  /* How far the hero scrubs: the stage stays pinned for this much scroll. */
  --hero-scrub: 400vh;
}

html { scroll-behavior: smooth; }
body { overflow-x: clip; }

/* --------------------------------------------------------------------------
   1. Skip links + accessibility toolbar
   -------------------------------------------------------------------------- */
.skip-links {
  position: absolute; top: 0; left: 0; z-index: 120;
  display: flex; gap: var(--ts-space-2); padding: var(--ts-space-2);
}
.skip-links a,
.skip-links button {
  position: absolute; left: -9999px; top: auto;
  font-family: var(--ts-font-display); font-size: var(--ts-text-sm);
  font-weight: var(--ts-weight-semibold); letter-spacing: var(--ts-track-body);
  color: var(--ts-black); background: var(--ts-gold);
  padding: var(--ts-space-3) var(--ts-space-4); border: 0; border-radius: var(--ts-radius-md);
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.skip-links a:focus-visible,
.skip-links button:focus-visible {
  position: static; left: auto;
  outline: 2px solid var(--ts-black); outline-offset: 2px;
}

.a11y-toolbar {
  position: fixed; top: var(--ts-space-4); right: var(--ts-space-4); z-index: 130;
  width: min(360px, calc(100vw - var(--ts-space-6)));
  background: var(--ts-surface); color: var(--ts-text);
  border: 1px solid var(--ts-border-hairline); border-radius: var(--ts-radius-lg);
  box-shadow: var(--ts-shadow-lg); padding: var(--ts-space-5);
}
.a11y-toolbar[hidden] { display: none; }
.a11y-toolbar__head { display: flex; align-items: center; justify-content: space-between; gap: var(--ts-space-3); margin-bottom: var(--ts-space-3); }
.a11y-toolbar__title {
  font-family: var(--ts-font-display); font-size: var(--ts-text-xs); font-weight: var(--ts-weight-semibold);
  text-transform: uppercase; letter-spacing: var(--ts-track-display); margin: 0;
}
.a11y-toolbar__close {
  min-width: var(--ts-tap-target); min-height: var(--ts-tap-target);
  display: inline-grid; place-items: center;
  background: transparent; border: 1px solid transparent; border-radius: var(--ts-radius-md);
  color: var(--ts-text); cursor: pointer; font-size: var(--ts-text-xl); line-height: 1;
  transition: background-color var(--ts-duration-fast) var(--ts-ease);
}
.a11y-toolbar__close:hover { background: var(--ts-surface-hover); }
.a11y-toolbar__close:active { background: var(--ts-ink-100); }
.a11y-toolbar fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.a11y-option {
  display: flex; align-items: center; justify-content: space-between; gap: var(--ts-space-4);
  min-height: var(--ts-tap-target); padding: var(--ts-space-2) 0;
  font-family: var(--ts-font-display); font-size: var(--ts-text-md); letter-spacing: var(--ts-track-body);
  border-top: 1px solid var(--ts-border-hairline); cursor: pointer;
}
.a11y-option input { width: 20px; height: 20px; margin: 0; accent-color: var(--ts-black); cursor: pointer; flex: none; }
.a11y-toolbar__hint { font-size: var(--ts-text-sm); color: var(--ts-text-muted); margin: var(--ts-space-3) 0 0; line-height: var(--ts-leading-normal); }

/* Preferences applied from the toolbar (persisted in localStorage). */
html.pref-large-text { font-size: 118%; }
html.pref-high-contrast { --ts-text-muted: var(--ts-ink-900); --ts-text-subtle: var(--ts-ink-900); --ts-border-hairline: var(--ts-ink-400); --ts-border: var(--ts-ink-500); }
html.pref-high-contrast a { text-decoration-color: var(--ts-text); }

/* --------------------------------------------------------------------------
   2. Header: hero mode (transparent, full lockup) -> compact mode (wordmark)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: var(--ts-space-5);
  min-height: var(--site-header-h);
  padding-inline: var(--ts-gutter);
  background: transparent; border-bottom: 1px solid transparent;
  transition: transform var(--ts-duration-base) var(--ts-ease),
              background-color var(--ts-duration-base) var(--ts-ease),
              border-color var(--ts-duration-base) var(--ts-ease),
              min-height var(--ts-duration-base) var(--ts-ease);
}
.site-header--compact {
  min-height: var(--site-bar-h);
  background: var(--ts-surface);
  border-bottom-color: var(--ts-border-hairline);
}
.site-header--hidden { transform: translateY(-100%); }

.site-logo { display: grid; grid-template-areas: "mark"; align-items: center; text-decoration: none; }
.site-logo > * { grid-area: mark; }
.site-logo .ts-logo { display: block; padding: calc(var(--site-logo-h) * 0.28) 0; }
.site-logo .ts-logo svg { display: block; height: var(--site-logo-h); min-height: 70px; width: auto; }
.site-logo .ts-wordmark { display: block; }
.site-logo .ts-wordmark svg { display: block; height: 22px; width: auto; max-width: none; }
.ts-logo-wordmark { fill: var(--ts-text); }
.ts-logo-spoon    { fill: var(--ts-gold); }
.ts-on-black .ts-logo-wordmark { fill: var(--ts-white); }
.ts-on-black .ts-logo-spoon    { fill: var(--ts-gold); }

/* Only one mark is shown at a time. */
.site-logo .ts-lockup   { transition: opacity var(--ts-duration-base) var(--ts-ease); }
.site-logo .ts-wordmark { transition: opacity var(--ts-duration-base) var(--ts-ease); opacity: 0; }
.site-header--compact .site-logo .ts-lockup   { opacity: 0; visibility: hidden; }
.site-header--compact .site-logo .ts-wordmark { opacity: 1; }
.site-header--compact .site-logo .ts-logo { padding-block: 0; height: var(--site-bar-h); display: grid; align-items: center; }
.site-header--compact .site-logo .ts-logo svg { height: 40px; min-height: 0; }

.site-nav { justify-self: end; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--ts-space-6); }
.site-nav__link {
  display: inline-block; padding: var(--ts-space-2) 0;
  font-family: var(--ts-font-display); font-size: var(--ts-text-sm);
  text-transform: uppercase; letter-spacing: var(--ts-track-display);
  text-decoration: none; color: var(--ts-text);
  border-bottom: 2px solid transparent;
  transition: border-color var(--ts-duration-fast) var(--ts-ease), color var(--ts-duration-fast) var(--ts-ease);
}
.site-nav__link:hover { border-bottom-color: var(--ts-text); }
.site-nav__link:active { color: var(--ts-ink-700); }
.site-nav__link[aria-current="true"] { font-weight: var(--ts-weight-semibold); border-bottom-color: var(--ts-gold); }

.site-menu-btn {
  display: none; min-height: var(--ts-tap-target); min-width: var(--ts-tap-target);
  align-items: center; gap: var(--ts-space-2);
  font-family: var(--ts-font-display); font-size: var(--ts-text-sm); font-weight: var(--ts-weight-semibold);
  text-transform: uppercase; letter-spacing: var(--ts-track-display);
  background: transparent; color: var(--ts-text); border: 1px solid transparent; border-radius: var(--ts-radius-md);
  padding: var(--ts-space-2) var(--ts-space-3); cursor: pointer;
  transition: background-color var(--ts-duration-fast) var(--ts-ease);
}
.site-menu-btn:hover { background: var(--ts-surface-hover); }
.site-menu-btn:active { background: var(--ts-ink-100); }

@media (max-width: 899px) {
  .site-menu-btn { display: inline-flex; justify-self: end; grid-column: 3; grid-row: 1; }
  .site-logo { grid-column: 1; grid-row: 1; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
  .site-nav[hidden] { display: none; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: var(--ts-space-5); }
  .site-nav__link { display: block; padding: var(--ts-space-3) 0; border-bottom: 1px solid var(--ts-border-hairline); }
  .site-nav__link:hover { border-bottom-color: var(--ts-border-hairline); color: var(--ts-ink-700); }
  .site-nav__cta { padding-top: var(--ts-space-5); }
  .site-nav__cta .ts-btn { width: 100%; }
  .site-header--open { background: var(--ts-surface); border-bottom-color: var(--ts-border-hairline); }
  .site-header--open .site-logo .ts-lockup { opacity: 1; }
}
@media (min-width: 900px) {
  .site-nav { display: block !important; }
  .site-nav__link { white-space: nowrap; }
}
/* Five links plus the CTA: tighten the tracked caps below 1180px so nothing wraps. */
@media (min-width: 900px) and (max-width: 1179px) {
  .site-header { gap: var(--ts-space-4); }
  .site-nav__list { gap: var(--ts-space-4); }
  .site-nav__link { font-size: var(--ts-text-2xs); }
  .site-nav__cta .ts-btn { padding-inline: var(--ts-space-4); }
}

/* --------------------------------------------------------------------------
   3. Buttons — from web-recipes.md, plus the hero's gold-outline variant
   -------------------------------------------------------------------------- */
.ts-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--ts-space-2);
  min-height: var(--ts-tap-target);
  padding: var(--ts-space-3) var(--ts-space-5);
  font-family: var(--ts-font-display); font-size: var(--ts-text-md);
  font-weight: var(--ts-weight-semibold); letter-spacing: var(--ts-track-body);
  line-height: 1.2; text-align: center;
  border: 1px solid transparent; border-radius: var(--ts-radius-md);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color var(--ts-duration-fast) var(--ts-ease),
              border-color var(--ts-duration-fast) var(--ts-ease),
              color var(--ts-duration-fast) var(--ts-ease);
}
.ts-btn--primary { background: var(--ts-gold); color: var(--ts-black); }
.ts-btn--primary:hover { background: var(--ts-gold-hover); }
.ts-btn--primary:active { background: var(--ts-gold-active); }
.ts-btn--secondary { background: transparent; color: var(--ts-text); border-color: var(--ts-text); }
.ts-btn--secondary:hover { background: var(--ts-surface-hover); }
.ts-btn--secondary:active { background: var(--ts-ink-100); }
/* Gold outline, black label: the hero CTA. Gold is legal as a 2px border
   (a UI boundary, not text); the label stays black at 13.5:1. */
.ts-btn--outline-gold { background: rgba(255, 255, 255, 0.72); color: var(--ts-black); border: 2px solid var(--ts-gold); }
.ts-btn--outline-gold:hover { background: var(--ts-gold); }
.ts-btn--outline-gold:active { background: var(--ts-gold-hover); border-color: var(--ts-gold-hover); }
.ts-btn[disabled], .ts-btn[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; }
.ts-btn[disabled] { pointer-events: none; }

/* --------------------------------------------------------------------------
   4. Hero — scroll-scrubbed video
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--ts-surface-warm); }
/* Without JS (or with reduced motion) the hero is one viewport with the poster. */
.hero__stage {
  position: relative; height: 100vh; height: 100svh;
  overflow: hidden; isolation: isolate;
  display: grid; align-items: end;
}
html.js .hero--scrub { height: var(--hero-scrub); }
html.js .hero--scrub .hero__stage { position: sticky; top: 0; }

.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--ts-surface-warm); }
.hero__media img, .hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
}
.hero__media video { opacity: 0; transition: opacity var(--ts-duration-slow) var(--ts-ease); }
.hero--ready .hero__media video { opacity: 1; }
/* Light scrims keep black type legible over the brighter frames (top) and the
   street/storefront frames (bottom). White-based, never gold. */

/* The copy is a title sequence, not a panel. The title card sits top-left in
   the header wash over the opening frames and fades as the journey begins; the
   invitation (lede + CTA) rises bottom-left over its own wash when the cup
   lands, and the title returns with it. Static fallbacks show everything. */
.hero__copy {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: calc(var(--site-header-h) + var(--ts-space-4)) var(--ts-gutter) clamp(var(--ts-space-7), 7vh, var(--ts-space-9)) clamp(var(--ts-gutter), 7vw, var(--ts-space-10));
}
.hero__copy a { pointer-events: auto; }
.hero__title { grid-row: 1; opacity: var(--tp, 1); transform: translate3d(0, calc((1 - var(--tp, 1)) * 8px), 0); transition: opacity var(--ts-duration-base) var(--ts-ease), transform var(--ts-duration-base) var(--ts-ease); }
.hero__copy h1 { font-size: clamp(2rem, 3.6vw, 3.25rem); margin-bottom: var(--ts-space-3); max-width: 10em; }
.hero__copy .ts-eyebrow { margin: 0; }
.hero__close { grid-row: 3; max-width: 40ch; }
.hero__lede { max-width: 40ch; margin-bottom: var(--ts-space-5); font-size: var(--ts-text-lg); }
.hero__cta { margin: 0; }
.hero__close {
  position: relative; opacity: 0; transform: translate3d(0, 8px, 0);
  transition: opacity var(--ts-duration-slow) var(--ts-ease), transform var(--ts-duration-slow) var(--ts-ease);
}
/* A small local haze behind the invitation only - not a band across the frame. */
.hero__close::before { content: ""; position: absolute; z-index: -1; inset: -12% -18% -14% -14%; pointer-events: none;
  background: radial-gradient(ellipse at 42% 55%, rgba(250, 250, 250, 0.9) 0%, rgba(250, 250, 250, 0.78) 42%, rgba(250, 250, 250, 0) 74%); }
.hero__wash { display: none; }
.hero--landed .hero__close, html:not(.js) .hero__close, html.reduce-motion .hero__close { opacity: 1; transform: none; }
/* The top wash covers the header and the title card, then stops. */
.hero__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(250, 250, 250, 0.94) 0, rgba(250, 250, 250, 0.9) var(--site-header-h), rgba(250, 250, 250, 0.72) calc(var(--site-header-h) + 110px), rgba(250, 250, 250, 0) calc(var(--site-header-h) + 200px)); }
@media (min-width: 900px) {
  /* Slide the film right of centre so the cup - centred in every frame - never sits under the type. */
  .hero__media img, .hero__media video { object-position: 0% 50%; }
}
@media (max-width: 899px) {
  .hero__copy h1 { max-width: none; }
  /* On a phone the cup fills the frame, so the haze behind the invitation is a little fuller. */
  .hero__close::before { inset: -14% -12% -16% -12%; background: radial-gradient(ellipse at 50% 55%, rgba(250, 250, 250, 0.94) 0%, rgba(250, 250, 250, 0.86) 55%, rgba(250, 250, 250, 0) 86%); }
}

/* Loading: a hairline progress rule at the very top. It never spins. */
.hero__progress {
  position: absolute; left: 0; top: 0; height: 2px; width: 100%; z-index: 2;
  background: var(--ts-border-hairline);
  transition: opacity var(--ts-duration-base) var(--ts-ease);
}
.hero__progress > span { display: block; height: 100%; width: 100%; background: var(--ts-gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--ts-duration-fast) var(--ts-ease); }
.hero--ready .hero__progress { opacity: 0; }
html:not(.js) .hero__progress, html.reduce-motion .hero__progress { display: none; }

/* --------------------------------------------------------------------------
   5. Section primitives
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(var(--ts-space-7), 8vw, var(--ts-space-9)); }
.section--sunken { background: var(--ts-surface-sunken); }
.container { max-width: var(--ts-container); margin-inline: auto; padding-inline: var(--ts-gutter); }
.measure { max-width: var(--ts-measure); }
.lede { font-family: var(--ts-font-display); font-size: var(--ts-text-xl); line-height: var(--ts-leading-normal); color: var(--ts-text-muted); letter-spacing: var(--ts-track-body); max-width: 52ch; }
.section-head { margin-bottom: clamp(var(--ts-space-6), 5vw, var(--ts-space-8)); }
.section-head h2 { margin-bottom: var(--ts-space-3); max-width: 24ch; }
.section-head .ts-eyebrow { margin-bottom: var(--ts-space-5); }

/* --------------------------------------------------------------------------
   6. Intro — the editorial split
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); }
.split__panel { background: var(--ts-surface-warm); padding: clamp(var(--ts-space-7), 8vw, var(--ts-space-9)) var(--ts-space-7); }
.split__field { padding: clamp(var(--ts-space-7), 8vw, var(--ts-space-9)) var(--ts-space-7); }
.split__inner { max-width: calc(var(--ts-container) * 0.4 - var(--ts-space-7)); margin-left: auto; }
.split__field-inner { max-width: calc(var(--ts-container) * 0.6 - var(--ts-space-7)); }
.split__panel h2 { font-size: clamp(1.75rem, 2.4vw, 2rem); margin-bottom: var(--ts-space-5); }
.split__panel .ts-eyebrow { margin-bottom: var(--ts-space-5); }
.split__panel .ts-btn { margin-top: var(--ts-space-6); }
.split__field p { font-size: var(--ts-text-lg); }
@media (max-width: 899px) {
  .split { grid-template-columns: 1fr; }
  .split__panel, .split__field { padding: var(--ts-space-7) var(--ts-gutter); }
  .split__inner, .split__field-inner { max-width: none; }
}

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ts-space-5); margin-top: var(--ts-space-7); padding-top: var(--ts-space-6); border-top: 1px solid var(--ts-border-hairline); }
.facts__label { font-family: var(--ts-font-display); font-size: var(--ts-text-xs); text-transform: uppercase; letter-spacing: var(--ts-track-display); color: var(--ts-text-muted); margin: 0 0 var(--ts-space-1); }
.facts__value { font-family: var(--ts-font-display); font-size: var(--ts-text-3xl); font-weight: var(--ts-weight-bold); font-variant-numeric: tabular-nums; line-height: var(--ts-leading-tight); margin: 0; }
.facts__note { font-family: var(--ts-font-display); font-size: var(--ts-text-sm); color: var(--ts-text-muted); margin: var(--ts-space-1) 0 0; letter-spacing: var(--ts-track-body); }
@media (max-width: 599px) { .facts { grid-template-columns: 1fr 1fr; } .facts > :last-child { grid-column: 1 / -1; } }

/* --------------------------------------------------------------------------
   7. How to become a partner — steps, rail, cutaway breather, dark step
   -------------------------------------------------------------------------- */
.steps-wrap { display: grid; grid-template-columns: 1fr; }
.steps-rail { display: none; }
@media (min-width: 1100px) {
  .steps-wrap { grid-template-columns: auto 1fr; column-gap: var(--ts-space-7); }
  /* The hairline runs the full column; only the short caption is sticky, so the
     rail never inflates a row (a viewport-tall sticky child was what left the
     dead space under a lone step). */
  .steps-rail { display: block; border-right: 1px solid var(--ts-border-hairline); align-self: stretch; }
  .steps-rail .ts-rail { position: sticky; top: calc(100vh - 16rem); border-right: 0; height: auto; }
}

.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(var(--ts-space-6), 6vw, var(--ts-space-9)); align-items: center; padding-block: clamp(var(--ts-space-7), 6vw, var(--ts-space-9)); border-top: 1px solid var(--ts-border-hairline); }
.step:first-of-type { border-top: 0; padding-top: 0; }
.step:last-of-type { padding-bottom: 0; }
.step--flip .step__media { order: -1; }
.step__num { font-family: var(--ts-font-display); font-size: var(--ts-text-xs); font-weight: var(--ts-weight-semibold); letter-spacing: var(--ts-track-display); color: var(--ts-ink-700); margin: 0 0 var(--ts-space-4); display: flex; align-items: center; gap: var(--ts-space-3); }
.step__num::after { content: ""; width: var(--ts-space-7); height: 1px; background: var(--ts-gold); }
.step h3 { font-size: var(--ts-text-2xl); margin-bottom: var(--ts-space-4); max-width: 16ch; }
.step p { font-size: var(--ts-text-lg); max-width: 46ch; }
.step__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.step__media--portrait img { aspect-ratio: 4 / 5; }
.step__media--square img { aspect-ratio: 1 / 1; }
@media (max-width: 767px) {
  .step { grid-template-columns: 1fr; gap: var(--ts-space-5); }
  .step__media, .step--flip .step__media { order: -1; }
  .step h3 { font-size: var(--ts-text-xl); }
}

/* The cutaway breather: full width, real room, quiet warm field. */
.cutaway { background: var(--ts-surface-warm); padding-block: clamp(var(--ts-space-7), 7vw, var(--ts-space-9)); }
.cutaway__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--ts-space-6); }
.cutaway__figure { margin: 0; }
.cutaway__figure img { display: block; width: min(100%, 1040px); height: auto; margin-inline: auto; }
.cutaway__caption { display: grid; gap: var(--ts-space-3); max-width: 34ch; margin-inline: auto; text-align: center; }
.cutaway__caption .ts-eyebrow { margin: 0; }
/* ink-700, not text-muted: muted is only 4.2:1 on Muted Gold One. */
.cutaway__caption p { margin: 0; color: var(--ts-ink-700); font-size: var(--ts-text-xl); line-height: var(--ts-leading-normal); }
@media (min-width: 900px) {
  .cutaway__grid { grid-template-columns: minmax(0, 1fr) 23rem; align-items: center; column-gap: var(--ts-space-8); }
  .cutaway__caption { text-align: left; margin: 0; }
}

/* Step 4: grand-opening footage behind a scrim, white type. */
.step-dark { position: relative; isolation: isolate; overflow: hidden; background: var(--ts-black); color: var(--ts-white); min-height: min(76vh, 680px); display: grid; align-items: center; }
.step-dark__media { position: absolute; inset: 0; z-index: -2; }
.step-dark__media img, .step-dark__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.step-dark__media video { opacity: 0; transition: opacity var(--ts-duration-slow) var(--ts-ease); }
.step-dark--playing .step-dark__media video { opacity: 1; }
/* Heavy enough that white body copy clears 4.5:1 even over a white pixel:
   0.78 x #302E2C + 0.22 x #FFFFFF = #5E5C5B, which is 6.4:1 under white. */
.step-dark::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(48, 46, 44, 0.86) 0%, rgba(48, 46, 44, 0.78) 60%, rgba(48, 46, 44, 0.86) 100%); }
.step-dark__inner { padding-block: clamp(var(--ts-space-8), 10vw, var(--ts-space-10)); max-width: 56ch; }
.step-dark h3 { color: var(--ts-white); font-size: var(--ts-text-2xl); margin-bottom: var(--ts-space-4); }
.step-dark p { color: var(--ts-ink-100); font-size: var(--ts-text-lg); }
.step-dark .step__num { color: var(--ts-ink-300); }
.video-toggle {
  position: absolute; right: var(--ts-gutter); bottom: var(--ts-space-5); z-index: 1;
  min-height: var(--ts-tap-target); display: inline-flex; align-items: center; gap: var(--ts-space-2);
  padding: var(--ts-space-2) var(--ts-space-4);
  font-family: var(--ts-font-display); font-size: var(--ts-text-xs); letter-spacing: var(--ts-track-display); text-transform: uppercase;
  background: rgba(48, 46, 44, 0.6); color: var(--ts-white); border: 1px solid rgba(255, 255, 255, 0.32); border-radius: var(--ts-radius-pill);
  cursor: pointer; transition: background-color var(--ts-duration-fast) var(--ts-ease);
}
.video-toggle:hover { background: rgba(48, 46, 44, 0.85); }
.video-toggle:active { background: var(--ts-black); }
.video-toggle:focus-visible { outline: 2px solid var(--ts-gold); outline-offset: 2px; }
html:not(.js) .video-toggle { display: none; }

/* --------------------------------------------------------------------------
   8. Locations
   -------------------------------------------------------------------------- */
.locator { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--ts-space-6); }
@media (min-width: 1024px) { .locator { grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); gap: var(--ts-space-8); align-items: start; } }

.locator__panel { display: grid; gap: var(--ts-space-4); }
.locator__search { display: grid; gap: var(--ts-space-2); }
.locator__search label { font-family: var(--ts-font-display); font-size: var(--ts-text-sm); font-weight: var(--ts-weight-semibold); letter-spacing: var(--ts-track-body); }
.locator__controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--ts-space-3); }
.locator__meta { display: flex; justify-content: space-between; gap: var(--ts-space-4); flex-wrap: wrap; align-items: baseline; }
.locator__count { font-family: var(--ts-font-display); font-size: var(--ts-text-sm); color: var(--ts-text-muted); letter-spacing: var(--ts-track-body); margin: 0; font-variant-numeric: tabular-nums; }
.locator__note { font-family: var(--ts-font-display); font-size: var(--ts-text-sm); color: var(--ts-text-muted); margin: 0; letter-spacing: var(--ts-track-body); }
.locator__note:empty { display: none; }

.loc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ts-border-hairline); max-height: 560px; overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 1023px) { .loc-list { max-height: 420px; } }
.loc { border-bottom: 1px solid var(--ts-border-hairline); padding: var(--ts-space-4) var(--ts-space-2); display: grid; gap: var(--ts-space-1); transition: background-color var(--ts-duration-fast) var(--ts-ease); }
.loc:hover { background: var(--ts-surface-sunken); }
/* The gold tint keeps muted address text at 5.2:1; Muted Gold One would drop it to 4.2:1. */
.loc--active, .loc--active:hover { background: var(--ts-gold-tint); }
.loc__name { margin: 0; display: flex; align-items: baseline; gap: var(--ts-space-3); flex-wrap: wrap; }
.loc__btn {
  font-family: var(--ts-font-display); font-size: var(--ts-text-sm); font-weight: var(--ts-weight-semibold);
  text-transform: uppercase; letter-spacing: var(--ts-track-display); text-align: left;
  color: var(--ts-text); background: transparent; border: 0; padding: var(--ts-space-1) 0; cursor: pointer;
  border-bottom: 2px solid transparent; transition: border-color var(--ts-duration-fast) var(--ts-ease);
}
.loc__btn:hover { border-bottom-color: var(--ts-gold); }
.loc__btn:active { color: var(--ts-ink-700); }
.loc__tag { font-family: var(--ts-font-display); font-size: var(--ts-text-2xs); letter-spacing: var(--ts-track-display); text-transform: uppercase; color: var(--ts-text-muted); border: 1px solid var(--ts-border); border-radius: var(--ts-radius-pill); padding: 2px var(--ts-space-2); }
.loc__addr { margin: 0; font-size: var(--ts-text-md); color: var(--ts-text-muted); line-height: var(--ts-leading-normal); }
.loc__links { display: flex; flex-wrap: wrap; gap: var(--ts-space-4); margin: var(--ts-space-1) 0 0; padding: 0; list-style: none; }
.loc__links a { font-family: var(--ts-font-display); font-size: var(--ts-text-sm); letter-spacing: var(--ts-track-body); text-decoration-color: var(--ts-gold); }
.loc__links a:hover { text-decoration-color: var(--ts-text); }
.loc-list__empty { padding: var(--ts-space-6) var(--ts-space-2); border-bottom: 1px solid var(--ts-border-hairline); }
.loc-list__empty p { margin: 0; color: var(--ts-text-muted); }
.skeleton { display: grid; gap: var(--ts-space-2); padding: var(--ts-space-4) var(--ts-space-2); border-bottom: 1px solid var(--ts-border-hairline); }
.skeleton > span { display: block; height: 12px; border-radius: var(--ts-radius-sm); background: var(--ts-ink-050); }
.skeleton > span:first-child { width: 42%; height: 14px; }
.skeleton > span:nth-child(2) { width: 78%; }
.skeleton > span:nth-child(3) { width: 30%; }

.locator__map { position: relative; height: 560px; border: 1px solid var(--ts-border-hairline); border-radius: var(--ts-radius-lg); overflow: hidden; background: var(--ts-surface-sunken); }
@media (max-width: 1023px) { .locator__map { height: 380px; } }
.locator__map.leaflet-container { font-family: var(--ts-font-display); background: var(--ts-surface-sunken); }
/* Leaflet's own black link colour and default focus ring, brought onto the palette. */
.leaflet-container a { color: var(--ts-text); }
.leaflet-container:focus { outline: 2px solid var(--ts-black); outline-offset: 2px; }
.locator__fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: var(--ts-space-6); color: var(--ts-text-muted); }
.locator__fallback p { margin: 0; }
/* Leaflet chrome on the token set: hairlines, no drop shadows. */
.leaflet-bar { box-shadow: none; border: 1px solid var(--ts-border-hairline); border-radius: var(--ts-radius-md); }
.leaflet-touch .leaflet-bar { border: 1px solid var(--ts-border-hairline); }
.leaflet-bar a, .leaflet-touch .leaflet-bar a { color: var(--ts-text); border-bottom: 1px solid var(--ts-border-hairline); width: 36px; height: 36px; line-height: 36px; }
.leaflet-bar a:last-child, .leaflet-touch .leaflet-bar a:last-child { border-bottom: 0; }
.leaflet-bar a:hover { background: var(--ts-surface-hover); }
.leaflet-container a.leaflet-popup-close-button { color: var(--ts-text-muted); }
.leaflet-container a.leaflet-popup-close-button:hover { color: var(--ts-text); }
.leaflet-popup-content-wrapper { border-radius: var(--ts-radius-md); box-shadow: var(--ts-shadow-md); border: 1px solid var(--ts-border-hairline); color: var(--ts-text); }
.leaflet-popup-content { margin: var(--ts-space-4) var(--ts-space-5) var(--ts-space-4) var(--ts-space-4); line-height: var(--ts-leading-normal); font-family: var(--ts-font-body); font-size: var(--ts-text-md); }
.leaflet-popup-tip { box-shadow: none; }
.leaflet-control-attribution { font-family: var(--ts-font-display); font-size: var(--ts-text-2xs); color: var(--ts-text-muted); background: rgba(255, 255, 255, 0.85); }
.leaflet-control-attribution a { color: var(--ts-text); }
.leaflet-container :focus-visible { outline: 2px solid var(--ts-black); outline-offset: 2px; }
.popup__name { font-family: var(--ts-font-display); font-size: var(--ts-text-sm); font-weight: var(--ts-weight-semibold); text-transform: uppercase; letter-spacing: var(--ts-track-display); margin: 0 0 var(--ts-space-1); }
.popup__addr { margin: 0 0 var(--ts-space-2); color: var(--ts-text-muted); }
.popup__link { font-family: var(--ts-font-display); font-size: var(--ts-text-sm); }
/* Markers: a Teaspoon Black pin with a gold centre. Mostly black, gold as
   punctuation - the 60/30/10 rule at map scale. */
.pin-icon { background: transparent; border: 0; }
.pin { width: 22px; height: 30px; display: block; }
.pin svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pin__body { fill: var(--ts-black); }
.pin__dot { fill: var(--ts-gold); }
.pin--soon .pin__body { fill: var(--ts-white); stroke: var(--ts-black); stroke-width: 1.5; }
.pin--soon .pin__dot { fill: var(--ts-black); }
.pin--active .pin__body { fill: var(--ts-gold); stroke: var(--ts-black); stroke-width: 1.5; }
.pin--active .pin__dot { fill: var(--ts-black); }

/* Inputs (shared by the locator search and the request form) */
.ts-input {
  width: 100%; min-height: var(--ts-tap-target);
  padding: var(--ts-space-3) var(--ts-space-4);
  font-family: var(--ts-font-display); font-size: var(--ts-text-md); letter-spacing: var(--ts-track-body);
  color: var(--ts-text); background: var(--ts-surface);
  border: 1px solid var(--ts-border); border-radius: var(--ts-radius-md);
  transition: border-color var(--ts-duration-fast) var(--ts-ease), background-color var(--ts-duration-fast) var(--ts-ease);
}
.ts-input:hover { border-color: var(--ts-border-strong); }
.ts-input:focus-visible { outline: 2px solid var(--ts-focus); outline-offset: 2px; border-color: var(--ts-border-strong); }
.ts-input[aria-invalid="true"] { border-color: var(--ts-danger); }
.ts-input::placeholder { color: var(--ts-text-subtle); opacity: 1; }
select.ts-input { appearance: none; -webkit-appearance: none; padding-right: var(--ts-space-8);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23302E2C' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--ts-space-4) center; }
textarea.ts-input { min-height: 132px; resize: vertical; line-height: var(--ts-leading-normal); }

/* --------------------------------------------------------------------------
   9. Support pillars
   -------------------------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ts-space-6); }
@media (max-width: 899px) { .pillars { grid-template-columns: 1fr; gap: var(--ts-space-7); max-width: 36rem; } }
.pillar { display: grid; gap: var(--ts-space-3); align-content: start; }
.pillar__media { aspect-ratio: 4 / 3; border-radius: var(--ts-radius-xl); overflow: hidden; background: var(--ts-surface-warm); }
.pillar__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pillar__media--fit img { object-fit: contain; padding: var(--ts-space-5); }
.pillar h3 { font-size: var(--ts-text-xl); margin: var(--ts-space-3) 0 0; }
.pillar p { margin: 0; font-size: var(--ts-text-md); max-width: 44ch; }

/* --------------------------------------------------------------------------
   10. Script band — once on the page, as the turn into the closing section
   -------------------------------------------------------------------------- */
.ts-script-band { padding-block: clamp(var(--ts-space-6), 5vw, var(--ts-space-8)); }

/* --------------------------------------------------------------------------
   11. Requirements cards
   -------------------------------------------------------------------------- */
.req-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ts-space-5); }
@media (max-width: 899px) { .req-grid { grid-template-columns: 1fr; max-width: 32rem; margin-inline: auto; } }
.req-grid { position: relative; z-index: 1; }
.pearls { position: absolute; inset: 0; z-index: 0; pointer-events: none; display: block; width: 100%; height: 100%; }
#requirements { position: relative; overflow: hidden; }
#requirements > .container { position: relative; z-index: 1; }
/* White cards on the sunken canvas: the surface change is the border. */
.req { background: var(--ts-surface-raised); border-radius: var(--ts-radius-lg); padding: var(--ts-space-6) var(--ts-space-6) var(--ts-space-7); display: grid; align-content: start; gap: var(--ts-space-2); }
.req__icon { width: 152px; height: 152px; margin: 0 0 var(--ts-space-4) calc(var(--ts-space-3) * -1); }
.req__icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.req h3 { font-size: var(--ts-text-md); margin: 0 0 var(--ts-space-2); }
.req p { margin: 0; font-size: var(--ts-text-md); color: var(--ts-text-muted); max-width: 36ch; }

/* --------------------------------------------------------------------------
   12. Partnership request form — dusk treatment
   -------------------------------------------------------------------------- */
.request { background: linear-gradient(180deg, var(--ts-black) 0%, #3A342A 100%); color: var(--ts-white); }
.request__grid { display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); gap: clamp(var(--ts-space-7), 6vw, var(--ts-space-9)); align-items: start; }
@media (max-width: 899px) { .request__grid { grid-template-columns: 1fr; } }
.request__intro h2 { color: var(--ts-white); max-width: 12ch; margin-bottom: var(--ts-space-5); }
.request__intro p { color: var(--ts-ink-200); font-size: var(--ts-text-lg); max-width: 40ch; }
.request__intro .ts-eyebrow { margin-bottom: var(--ts-space-5); }
.request__aside { margin-top: var(--ts-space-7); padding-top: var(--ts-space-5); border-top: 1px solid rgba(255, 255, 255, 0.16); }
.request__aside p { font-size: var(--ts-text-md); color: var(--ts-ink-300); margin: 0; }
.request__aside a { color: var(--ts-white); text-decoration-color: var(--ts-gold); }
.request__aside a:hover { text-decoration-color: var(--ts-white); }
.request :where(a, button, input, select, textarea, [tabindex]):focus-visible { outline-color: var(--ts-gold); }

.form { display: grid; gap: var(--ts-space-5); max-width: 36rem; }
.field { display: grid; gap: var(--ts-space-2); }
.field label { font-family: var(--ts-font-display); font-size: var(--ts-text-sm); font-weight: var(--ts-weight-semibold); letter-spacing: var(--ts-track-body); color: var(--ts-white); }
.field__optional { font-weight: var(--ts-weight-regular); color: var(--ts-ink-300); }
.request .ts-input { background-color: rgba(255, 255, 255, 0.06); color: var(--ts-white); border-color: rgba(244, 242, 240, 0.32); }
.request .ts-input:hover { border-color: rgba(244, 242, 240, 0.56); }
.request .ts-input:focus-visible { border-color: rgba(244, 242, 240, 0.56); }
.request .ts-input::placeholder { color: var(--ts-ink-400); }
.request .ts-input[aria-invalid="true"] { border-color: #E8897A; }
.request select.ts-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23FFFFFF' stroke-width='1.5'/%3E%3C/svg%3E"); }
.request select.ts-input option { color: var(--ts-black); background: var(--ts-white); }
.field__error { display: flex; align-items: flex-start; gap: var(--ts-space-2); margin: 0; font-family: var(--ts-font-display); font-size: var(--ts-text-sm); color: #E8897A; line-height: var(--ts-leading-normal); }
.field__error:empty { display: none; }
.field__error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid currentColor; font-size: var(--ts-text-2xs); font-weight: var(--ts-weight-bold); margin-top: 2px; }
.form__actions { display: grid; gap: var(--ts-space-3); margin-top: var(--ts-space-2); }
.form__actions .ts-btn { min-width: 12rem; justify-self: start; }
.form__status { margin: 0; font-family: var(--ts-font-display); font-size: var(--ts-text-sm); color: var(--ts-ink-200); line-height: var(--ts-leading-normal); }
.form__status:empty { display: none; }
.form__status--error { color: #E8897A; }
.form__status a { color: var(--ts-white); }
.form__done { display: grid; gap: var(--ts-space-3); max-width: 36rem; padding: var(--ts-space-6); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--ts-radius-lg); }
.form__done h3 { color: var(--ts-white); font-size: var(--ts-text-xl); margin: 0; }
.form__done p { margin: 0; color: var(--ts-ink-200); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ts-black); color: var(--ts-ink-200); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.site-footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: var(--ts-space-8); align-items: start; padding-block: var(--ts-space-8) var(--ts-space-7); }
@media (max-width: 899px) { .site-footer__grid { grid-template-columns: 1fr; gap: var(--ts-space-7); } }
.site-footer .ts-logo { display: inline-block; padding: calc(80px * 0.28); margin: calc(80px * -0.28); }
.site-footer .ts-logo svg { display: block; height: 80px; min-height: 70px; width: auto; }
.footer-col__title { font-family: var(--ts-font-display); font-size: var(--ts-text-xs); font-weight: var(--ts-weight-semibold); letter-spacing: var(--ts-track-display); text-transform: uppercase; color: var(--ts-ink-300); margin: 0 0 var(--ts-space-4); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ts-space-2); }
.footer-links a { font-family: var(--ts-font-display); font-size: var(--ts-text-sm); letter-spacing: var(--ts-track-body); color: var(--ts-white); text-decoration-color: rgba(255, 255, 255, 0.24); }
.footer-links a:hover { text-decoration-color: var(--ts-gold); }
.footer-links--row { grid-auto-flow: column; gap: var(--ts-space-5); justify-content: start; }
@media (max-width: 599px) { .footer-links--row { grid-auto-flow: row; } }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--ts-space-4) var(--ts-space-6); align-items: center; justify-content: space-between; padding-block: var(--ts-space-5); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.site-footer__legal p { margin: 0; font-family: var(--ts-font-display); font-size: var(--ts-text-sm); color: var(--ts-ink-300); letter-spacing: var(--ts-track-body); }
.site-footer :where(a, button):focus-visible { outline-color: var(--ts-gold); }

/* --------------------------------------------------------------------------
   14. Reveal motion: 8px of travel, the house curve, once.
   -------------------------------------------------------------------------- */
html.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity var(--ts-duration-slow) var(--ts-ease), transform var(--ts-duration-slow) var(--ts-ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal--2 { transition-delay: 60ms; }
html.js .reveal--3 { transition-delay: 120ms; }
html.reduce-motion .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__cta { transition: none; }
  html { scroll-behavior: auto; }
}
/* The toolbar's "reduce motion" switch mirrors the OS preference. */
html.reduce-motion { scroll-behavior: auto; }
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after {
  animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important; scroll-behavior: auto !important;
}

/* Without JS the locator can't fetch or draw, so it collapses to the noscript link. */
html:not(.js) .locator__search, html:not(.js) .locator__meta, html:not(.js) .loc-list, html:not(.js) .locator__map { display: none; }

/* --------------------------------------------------------------------------
   15. Cinematic layer
   Scroll-driven choreography on top of the same tokens. Every effect moves
   only transform/opacity/clip-path, uses the house curve, and switches off
   under reduced motion. Each element's own transition stays <= 400ms; the
   drama comes from stagger and from scroll, not from long durations.
   -------------------------------------------------------------------------- */

/* Kinetic type: words rise out of a mask, staggered. */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
[data-split] .wi { display: inline-block; transform: translateY(112%); transition: transform var(--ts-duration-slow) var(--ts-ease); transition-delay: var(--d, 0ms); will-change: transform; }
[data-split].is-in .wi, [data-split].is-in-now .wi { transform: none; }
html.reduce-motion [data-split] .wi { transform: none !important; transition: none !important; }

/* Image curtains: the frame unclips upward while the image settles from a
   slight zoom; the image then drifts with the scroll (parallax) inside it. */
.media-reveal { overflow: hidden; border-radius: var(--ts-radius-xl); position: relative; isolation: isolate; }
/* Step stills sit in a matted frame: a hairline set 10px outside the image. */
.step__media.media-reveal { overflow: visible; clip-path: none; }
.step__media.media-reveal > picture { display: block; overflow: hidden; border-radius: var(--ts-radius-xl); position: relative; isolation: isolate; }
.pillar__media > picture { display: block; position: relative; height: 100%; }
.step__media.media-reveal::after { content: ""; position: absolute; inset: -10px; border: 1px solid var(--ts-border-hairline); border-radius: calc(var(--ts-radius-xl) + 10px); pointer-events: none; opacity: 0; transition: opacity var(--ts-duration-slow) var(--ts-ease) 200ms; }
.is-in .step__media.media-reveal::after { opacity: 1; }
html.js .step__media.media-reveal > picture { clip-path: inset(0 0 100% 0); transition: clip-path var(--ts-duration-slow) var(--ts-ease); }
html.js .is-in .step__media.media-reveal > picture { clip-path: inset(0 0 0 0); }
html.reduce-motion .step__media.media-reveal > picture { clip-path: none !important; }
html.js .media-reveal { clip-path: inset(0 0 100% 0); transition: clip-path var(--ts-duration-slow) var(--ts-ease); }
html.js .media-reveal img { transform: scale(1.18) translate3d(0, var(--py, 0), 0); transition: transform var(--ts-duration-slow) var(--ts-ease); will-change: transform; }
html.js .is-in .media-reveal, html.js .media-reveal.is-in { clip-path: inset(0 0 0 0); }
html.js .is-in .media-reveal img, html.js .media-reveal.is-in img { transform: scale(1.12) translate3d(0, var(--py, 0), 0); }
html.reduce-motion .media-reveal { clip-path: none !important; }
html.reduce-motion .media-reveal img { transform: none !important; }
/* The cutaway floats rather than clips: a soft rise with a little parallax. */
html.js .media-float img { transform: translate3d(0, var(--py, 0), 0) scale(0.97); transition: transform var(--ts-duration-slow) var(--ts-ease); }
html.js .media-float.is-in img { transform: translate3d(0, var(--py, 0), 0) scale(1); }
html.reduce-motion .media-float img { transform: none !important; }

/* Ghost numerals behind each step: Muted Gold One as a large tint field, the
   secondary palette used as a background, never as ink. */
.step__text { position: relative; z-index: 0; }
.step__text::before {
  content: attr(data-ghost); position: absolute; z-index: -1; left: -0.08em; top: -0.42em;
  font-family: var(--ts-font-display); font-weight: var(--ts-weight-bold); font-size: clamp(6rem, 11vw, 9.5rem);
  line-height: 1; letter-spacing: -0.02em; color: var(--ts-muted-gold-1); pointer-events: none; user-select: none;
  opacity: 0; transform: translate3d(0, 8px, 0);
  transition: opacity var(--ts-duration-slow) var(--ts-ease), transform var(--ts-duration-slow) var(--ts-ease);
}
.is-in .step__text::before, .step__text.is-in::before { opacity: 1; transform: none; }
.step-dark .step__text::before { color: var(--ts-ink-800); opacity: 0; }
.step-dark .is-in.step__text::before { opacity: 0.9; }
html.reduce-motion .step__text::before { opacity: 1; transform: none; }
@media (max-width: 767px) { .step__text::before { font-size: 5rem; top: -0.12em; } }

/* Hero: the journey rail. A hairline with three chapters and a gold dot that
   travels with the eased scrub progress. Desktop only. */
.journey { display: none; }
@media (min-width: 1100px) {
  .journey {
    display: grid; position: absolute; right: var(--ts-space-6); top: 50%; z-index: 2; opacity: 1;
    transition: opacity var(--ts-duration-base) var(--ts-ease);
    transform: translateY(-50%); margin: 0; padding: 0 0 0 var(--ts-space-5); list-style: none;
    height: 14rem; align-content: space-between; border-left: 1px solid var(--ts-ink-400);
    --journey: 0;
  }
  .journey__item {
    font-family: var(--ts-font-display); font-size: var(--ts-text-2xs); letter-spacing: var(--ts-track-display);
    text-transform: uppercase; color: var(--ts-text-muted); white-space: nowrap;
    transition: color var(--ts-duration-fast) var(--ts-ease), transform var(--ts-duration-fast) var(--ts-ease);
    transform: translateX(0);
  }
  .journey__item span { display: inline-block; padding: var(--ts-space-1) var(--ts-space-2); background: rgba(255, 255, 255, 0.78); border-radius: var(--ts-radius-sm); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .journey__item.is-on { color: var(--ts-text); font-weight: var(--ts-weight-semibold); transform: translateX(4px); }
  .journey__dot {
    position: absolute; left: -5px; top: 0; width: 9px; height: 9px; border-radius: 50%;
    background: var(--ts-gold); box-shadow: 0 0 0 3px var(--ts-white);
    transform: translate3d(0, calc(var(--journey) * (14rem - 9px)), 0);
    transition: transform var(--ts-duration-instant) var(--ts-ease);
  }
  .hero--exit .journey { opacity: 0; }
}


/* A gold rule draws under the title as the cup lands. */
.hero__title { position: relative; }
.hero__title::after { content: ""; position: absolute; left: 0; bottom: calc(var(--ts-space-4) * -1); height: 2px; width: var(--ts-space-9); background: var(--ts-gold); transform: scaleX(0); transform-origin: left; transition: transform var(--ts-duration-slow) var(--ts-ease) 120ms; }
.hero--landed .hero__title::after, html:not(.js) .hero__title::after, html.reduce-motion .hero__title::after { transform: scaleX(1); }

/* Film grain: an SVG turbulence layer at whisper opacity, multiply-blended.
   Static on light sections; the hero's is re-seeded while it is on screen. */
.grain { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0.045; mix-blend-mode: multiply; filter: url(#ts-grain); background: var(--ts-white); }
.grain--dark { opacity: 0.09; mix-blend-mode: screen; background: var(--ts-black); z-index: 0; }
.hero__media .grain { z-index: 2; }
@media (max-width: 899px) { .grain { display: none; } }

/* Header: reading progress under the compact bar. */
.site-header__progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--ts-gold); transform: scaleX(0); transform-origin: left; opacity: 0; transition: opacity var(--ts-duration-base) var(--ts-ease); }
.site-header--compact .site-header__progress { opacity: 1; }

/* Nav links: the underline draws from the left instead of switching on. */
.site-nav__link { position: relative; border-bottom: 0; padding-bottom: var(--ts-space-2); }
.site-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ts-text); transform: scaleX(0); transform-origin: left; transition: transform var(--ts-duration-fast) var(--ts-ease); }
.site-nav__link:hover::after { transform: scaleX(1); }
.site-nav__link[aria-current="true"]::after { transform: scaleX(1); background: var(--ts-gold); }
@media (max-width: 899px) { .site-nav__link::after { display: none; } .site-nav__link { border-bottom: 1px solid var(--ts-border-hairline); } }

/* Buttons: the arrow nudges, nothing else grows. */
.ts-btn__arrow { display: inline-block; transition: transform var(--ts-duration-fast) var(--ts-ease); }
.ts-btn:hover .ts-btn__arrow { transform: translateX(4px); }

/* Pillars and requirement cards: quiet lifts. */
.pillar__media img { transition: transform var(--ts-duration-slow) var(--ts-ease); }
.pillar:hover .media-reveal.is-in img, .pillar:focus-within .media-reveal.is-in img { transform: scale(1.16) translate3d(0, var(--py, 0), 0); }
.pillar h3 { position: relative; display: inline-block; }
.pillar h3::after { content: ""; position: absolute; left: 0; bottom: -0.35em; width: var(--ts-space-7); height: 2px; background: var(--ts-gold); transform: scaleX(0); transform-origin: left; transition: transform var(--ts-duration-fast) var(--ts-ease); }
.pillar:hover h3::after { transform: scaleX(1); }
.req { border: 1px solid transparent; transition: transform var(--ts-duration-fast) var(--ts-ease), border-color var(--ts-duration-fast) var(--ts-ease); }
.req:hover { transform: translateY(-2px); border-color: var(--ts-gold); }
.req__icon img { transition: transform var(--ts-duration-slow) var(--ts-ease); }
.req:hover .req__icon img { transform: translateY(-4px); }

/* The locator's markers drop in with a stagger; the active pin breathes. */
.leaflet-marker-icon.pin-icon { transition: none; }
html.js:not(.reduce-motion) .pin--drop { animation: pin-drop var(--ts-duration-slow) var(--ts-ease) both; animation-delay: var(--i, 0ms); }
@keyframes pin-drop { from { opacity: 0; transform: translate3d(0, -12px, 0); } to { opacity: 1; transform: none; } }
.pin { position: relative; }
.pin--active::before { content: ""; position: absolute; left: 50%; top: 11px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ts-black); transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
html.js:not(.reduce-motion) .pin--active::before { animation: pin-ring 1.6s var(--ts-ease) infinite; }
@keyframes pin-ring { 0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.7; } 100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; } }

/* City ticker: a hairline band that names every open store. Linear because a
   marquee must be seamless; static under reduced motion. */
.ticker { overflow: hidden; border-top: 1px solid var(--ts-border-hairline); border-bottom: 1px solid var(--ts-border-hairline); padding-block: var(--ts-space-3); background: var(--ts-surface); }
.ticker__track { display: flex; gap: var(--ts-space-6); width: max-content; white-space: nowrap; font-family: var(--ts-font-display); font-size: var(--ts-text-xs); letter-spacing: var(--ts-track-display); text-transform: uppercase; color: var(--ts-text-muted); }
.ticker__track > span::after { content: "\00B7"; color: var(--ts-muted-gold-3); margin-left: var(--ts-space-6); }
html.js:not(.reduce-motion) .ticker__track { animation: ticker linear infinite; animation-duration: var(--ticker-dur, 90s); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* Facts: figures count up when they arrive. */
.facts__value { font-variant-numeric: tabular-nums; }

/* Script band: the line writes on left to right. */
.ts-script-band { overflow: hidden; }
html.js .ts-script-band__ink { display: inline-block; clip-path: inset(0 100% 0 0); transition: clip-path var(--ts-duration-slow) var(--ts-ease) 80ms; }
html.js .ts-script-band.is-in .ts-script-band__ink { clip-path: inset(0 0 0 0); }
html.reduce-motion .ts-script-band__ink { clip-path: none !important; }

/* Dusk shader behind the form: warm, slow, low-contrast, pointer-aware. The CSS
   gradient stays underneath so the section is identical when WebGL is absent. */
.request { position: relative; isolation: isolate; overflow: hidden; }
.dusk { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity var(--ts-duration-slow) var(--ts-ease); }
.dusk.is-live { opacity: 1; }
.request > .container { position: relative; z-index: 1; }

/* Form inputs: a gold hairline grows under the focused field (the outline stays). */
.field { position: relative; }
.field::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--ts-gold); transform: scaleX(0); transform-origin: left; transition: transform var(--ts-duration-fast) var(--ts-ease); pointer-events: none; }
.field:focus-within::after { transform: scaleX(1); }
.field:has(.field__error:not(:empty))::after { transform: scaleX(0); }

/* Depth: the hero panel drifts a little against the film; the grand-opening
   footage drifts inside its block. Transform only, off under reduced motion. */
html.js:not(.reduce-motion) .step-dark__media img, html.js:not(.reduce-motion) .step-dark__media video { transform: scale(1.12) translate3d(0, var(--py, 0), 0); will-change: transform; }

/* Spotlight: a soft gold-tint highlight follows the pointer across a card. */
@media (hover: hover) and (pointer: fine) {
  .spot { position: relative; overflow: hidden; }
  .spot::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity var(--ts-duration-fast) var(--ts-ease);
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 179, 35, 0.16), rgba(240, 179, 35, 0) 70%); }
  .spot:hover::after { opacity: 1; }
}

/* Hover warp: a WebGL canvas drawn over a still while the pointer is on it. */
.warp { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; pointer-events: none; transition: opacity var(--ts-duration-fast) var(--ts-ease); z-index: 1; border-radius: inherit; }
.warp.is-on { opacity: 1; }

/* Pointer tilt: a few degrees of perspective on hover, nothing on touch. */
@media (hover: hover) and (pointer: fine) {
  .tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform var(--ts-duration-fast) var(--ts-ease), border-color var(--ts-duration-fast) var(--ts-ease); transform-style: preserve-3d; }
  .req.tilt:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-2px); }
}

/* Step 4: keep the grain under the copy. */
.step-dark .grain { z-index: -1; }
.step-dark > .container { position: relative; z-index: 1; }

/* Header load-in: the mark and the links arrive with a short stagger. */
html.js:not(.reduce-motion) .site-header .site-logo,
html.js:not(.reduce-motion) .site-nav__list > li { animation: rise var(--ts-duration-slow) var(--ts-ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.site-nav__list > li:nth-child(1) { --i: 1; } .site-nav__list > li:nth-child(2) { --i: 2; } .site-nav__list > li:nth-child(3) { --i: 3; } .site-nav__list > li:nth-child(4) { --i: 4; } .site-nav__list > li:nth-child(5) { --i: 5; } .site-nav__list > li:nth-child(6) { --i: 6; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, -6px, 0); } to { opacity: 1; transform: none; } }

/* Step 4 CTA: white outline on the footage. */
.step-dark__cta { margin: var(--ts-space-6) 0 0; }
.step-dark .ts-btn--secondary { color: var(--ts-white); border-color: rgba(255, 255, 255, 0.72); }
.step-dark .ts-btn--secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--ts-white); }

/* Cutaway callouts: a dot, a hairline, a small tracked label. Desktop only. */
.cutaway__figure { position: relative; }
.callouts { display: none; }
@media (min-width: 900px) {
  .callouts { display: block; list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
  .callout { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 0;
    opacity: 0; transform: translate3d(0, 6px, 0); transition: opacity var(--ts-duration-slow) var(--ts-ease), transform var(--ts-duration-slow) var(--ts-ease); transition-delay: calc(200ms + var(--i, 0) * 120ms); }
  .callout::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ts-black); box-shadow: 0 0 0 3px var(--ts-white), 0 0 0 4px var(--ts-black); flex: none; }
  .callout::after { content: ""; order: 1; width: var(--ts-space-7); height: 1px; background: var(--ts-black); flex: none; }
  .callout span { order: 2; font-family: var(--ts-font-display); font-size: var(--ts-text-2xs); letter-spacing: var(--ts-track-display); text-transform: uppercase; color: var(--ts-text); background: var(--ts-white); border: 1px solid var(--ts-border-hairline); padding: var(--ts-space-1) var(--ts-space-2); white-space: nowrap; }
  .callout--left { flex-direction: row-reverse; transform: translate3d(-100%, 6px, 0); }
  .callout--left::after { order: -1; }
  .cutaway__figure.is-in .callout { opacity: 1; transform: none; }
  .cutaway__figure.is-in .callout--left { transform: translate3d(-100%, 0, 0); }
  html.reduce-motion .callout { opacity: 1; transform: none; }
  html.reduce-motion .callout--left { transform: translate3d(-100%, 0, 0); }
}

/* Partner voices: three quotes, a gold rule each, names in tracked caps. */
.voices { background: var(--ts-surface); }
.voices__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ts-space-7) var(--ts-space-6); }
@media (max-width: 899px) { .voices__grid { grid-template-columns: 1fr; max-width: 36rem; } }
.voice { margin: 0; display: grid; gap: var(--ts-space-5); align-content: start; padding-top: var(--ts-space-5); position: relative; }
.voice::before { content: ""; position: absolute; left: 0; top: 0; width: var(--ts-space-7); height: 2px; background: var(--ts-gold); }
.voice blockquote { margin: 0; }
.voice blockquote p { margin: 0; font-size: var(--ts-text-xl); line-height: var(--ts-leading-normal); max-width: 34ch; }
.voice blockquote p::before { content: "\201C"; } .voice blockquote p::after { content: "\201D"; }
.voice em { font-style: italic; }
.voice figcaption { display: grid; gap: var(--ts-space-1); }
.voice__name { font-family: var(--ts-font-display); font-size: var(--ts-text-xs); font-weight: var(--ts-weight-semibold); letter-spacing: var(--ts-track-display); text-transform: uppercase; }
.voice__where { font-family: var(--ts-font-display); font-size: var(--ts-text-sm); color: var(--ts-text-muted); letter-spacing: var(--ts-track-body); }

/* Utilities */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
