/* ============================================================
   We Love Soho - Mode B Marketing Site
   Shared layout, navigation, components, and page sections.
   Loaded after tokens-app.css and tokens-web.css.
   ============================================================ */

/* ============================================================
   TOP NAV (Mode B - full nav with audience links + CTAs)
   ============================================================ */
:root {
  --nav-h: 72px;
  scroll-padding-top: var(--nav-h);
}
[id] { scroll-margin-top: var(--nav-h); }
html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body { background: var(--bg); overflow-x: hidden; margin: 0; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border-1);
  backdrop-filter: saturate(1.1) blur(10px);
  -webkit-backdrop-filter: saturate(1.1) blur(10px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  color: var(--fg-1);
  line-height: 0;
}
.nav-logo .wm-lockup { font-size: 40px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 14px;
  color: var(--fg-2);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--d-base) var(--ease-out), border-color var(--d-base) var(--ease-out);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--fg-1); }
.nav-links a.active { color: var(--fg-1); border-color: var(--accent); }

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-btn-ghost {
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--fg-1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--d-base) var(--ease-out), border-color var(--d-base) var(--ease-out);
  white-space: nowrap;
}
.nav-btn-ghost:hover { background: var(--surface-1); border-color: var(--border-strong); }

.nav-btn-primary {
  height: 38px;
  padding: 0 18px;
  background: var(--accent);
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--fg-on-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--d-fast) var(--ease-out);
  white-space: nowrap;
}
.nav-btn-primary:hover { background: var(--accent-hover); }

/* Nav theme toggle */
.nav-theme {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-2);
  cursor: pointer;
  transition: background var(--d-base) var(--ease-out);
  background: none;
  flex-shrink: 0;
}
.nav-theme:hover { background: var(--surface-1); }
.nav-theme svg { width: 15px; height: 15px; }
[data-theme="light"] .nav-theme .icon-sun { display: none; }
[data-theme="dark"]  .nav-theme .icon-moon { display: none; }

/* Mobile menu toggle */
.nav-mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  color: var(--fg-1);
  background: none;
  cursor: pointer;
}
.nav-mobile-toggle svg { width: 18px; height: 18px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-ctas .nav-btn-ghost { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
}
@media (max-width: 520px) {
  .nav-ctas .nav-btn-primary { display: none; }
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--border-1);
  padding: 20px;
}
.nav-drawer.open { display: block; }
.nav-drawer-links {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.nav-drawer-links a {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 16px;
  color: var(--fg-1);
  text-decoration: none;
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-1);
}
.nav-drawer-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nav-drawer-ctas .nav-btn-primary,
.nav-drawer-ctas .nav-btn-ghost {
  width: 100%;
  justify-content: center;
  height: 46px;
}

/* ============================================================
   WORDMARK (canonical lockup — single source-of-truth SVG)
   ============================================================
   The wordmark is NO LONGER font-text. It is the approved canonical asset
   (brand-assets/logo -> /assets/wordmark*.svg): the outlined "WE LOVE / orange
   rule / soho" lockup, so it renders identically on every platform with zero
   font dependency. We keep the .wm-lockup element (and its existing inline
   font-size, which anchors the size) but paint the SVG as a background image;
   the .wm-line1/.wm-divider/.wm-line2 spans are retained ONLY as a visually
   hidden accessible/SEO text fallback. The asset's viewBox is 260x202
   (aspect ~1.287:1); the box height is ~1.5em so the rendered size matches the
   old lockup at each font-size anchor (nav 28px, footer, hero, press, etc.).
   Theme: light uses the primary (#131820 ink + #BA492D rule); dark swaps to the
   white variant so it reads on the dark surface. The orange rule comes from the
   asset and is never recoloured. */
.wm-lockup {
  display: inline-block;
  text-decoration: none;
  /* height anchored to the old font-size; width from the 1.287:1 aspect */
  height: 1.5em;
  aspect-ratio: 260 / 202;
  background-image: url('/assets/wordmark.svg');      /* primary: ink + orange rule */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  line-height: 0;
}
[data-theme="dark"] .wm-lockup {
  background-image: url('/assets/wordmark-white-orangerule.svg'); /* white + orange rule on dark */
}
/* Context overrides: force a specific variant regardless of theme — used on
   the press swatches and any wordmark sitting on a fixed-colour surface or
   photo (not the theme-following nav/footer/hero). */
.wm-lockup.wm-on-dark { background-image: url('/assets/wordmark-white-orangerule.svg'); }   /* white + orange rule, for dark swatch/photo */
.wm-lockup.wm-on-light { background-image: url('/assets/wordmark.svg'); }             /* primary ink + orange rule */
[data-theme="dark"] .wm-lockup.wm-on-light { background-image: url('/assets/wordmark.svg'); } /* keep primary even in dark theme */

/* The text spans stay in the DOM for screen readers + SEO but are not painted. */
.wm-line1,
.wm-divider,
.wm-line2 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   SHARED PAGE ELEMENTS
   ============================================================ */

/* Section rhythm */
.section { padding-block: var(--s-section); }
.section-tight { padding-block: var(--s-section-tight); }
.section-border { border-bottom: 1px solid var(--border-1); }

/* Section header */
.section-header {
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-header .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.section-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-display-l-web);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--fg-1);
  margin: 0 0 16px;
  text-wrap: balance;
  max-width: 22ch;
}
.section-header p {
  font-family: var(--font-ui);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 58ch;
  margin: 0;
  text-wrap: pretty;
}

/* Accent rule variant */
.section-header h2.has-rule {
  padding-bottom: 20px;
  position: relative;
}
.section-header h2.has-rule::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--accent);
}

/* ============================================================
   BUTTONS (shared)
   ============================================================ */
.btn {
  display: inline-flex;
  /* Always centre the label both axes - robust even when a button is given an
     explicit width (e.g. width:100%). align-items=vertical, justify-content +
     text-align = horizontal. */
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition: background var(--d-fast) var(--ease-out), color var(--d-fast) var(--ease-out), border-color var(--d-fast) var(--ease-out), transform var(--d-fast) var(--ease-out);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-lg {
  height: 54px;
  padding: 0 26px;
  font-size: 16px;
}
.btn-md {
  height: 46px;
  padding: 0 20px;
}
.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 13.5px;
}

.btn-primary { background: var(--accent); color: var(--fg-on-accent); }
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost { background: transparent; color: var(--fg-1); border: 1px solid var(--border-2); }
.btn-ghost:hover { background: var(--surface-1); border-color: var(--border-strong); }

.btn-inverse { background: var(--fg-1); color: var(--bg); }
.btn-inverse:hover { opacity: 0.88; }

/* ============================================================
   App store badges - official Apple / Google badge images.
   Use <a class="store-badge"><img class="store-badge-img" …></a>
   with the brand SVGs in /assets/badge-apple.svg and
   /assets/badge-google.svg.
   ============================================================ */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--d-fast) var(--ease-out), transform var(--d-fast) var(--ease-out);
  border-radius: 7px;
  overflow: hidden;
  /* no padding / background - the SVG is the full badge */
}
.store-badge:hover { opacity: 0.88; transform: translateY(-1px); }
.store-badge-img {
  display: block;
  height: 44px;
  width: auto;
}

/* ============================================================
   PHOTO STRIP (shared across pages)
   ============================================================ */
.photo-strip {
  position: relative;
  height: clamp(280px, 40vw, 540px);
  overflow: hidden;
  border-bottom: 1px solid var(--border-1);
  background: var(--ink-12);
}
.photo-strip .photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  filter: grayscale(1) contrast(1.06) brightness(0.87);
}
.photo-strip .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 80% at 20% 50%, rgba(201, 62, 31, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(11,13,16,0.20) 0%, rgba(11,13,16,0.44) 100%);
}
.photo-strip .photo-caption {
  position: absolute;
  bottom: clamp(20px, 3vw, 40px);
  left: var(--page-pad-web);
  right: var(--page-pad-web);
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  color: var(--chalk-12);
  transform: translateY(var(--py, 0));
}
.photo-strip .photo-line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 22ch;
  text-wrap: balance;
}
.photo-strip .photo-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-align: right;
  white-space: nowrap;
}
/* TODO-content: replace Unsplash placeholder with commissioned Soho photography.
   See README §4 for photography spec and shot list. */

/* ============================================================
   THREE-UP AUDIENCE GRID (homepage)
   ============================================================ */
.three-up-audience {
  display: grid;
  /* Four audiences (Business / Staff / Residents / Visitors): 4-up on wide,
     2x2 on medium, single column on mobile. */
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 32px);
}
@media (max-width: 1100px) {
  .three-up-audience { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .three-up-audience { grid-template-columns: 1fr; gap: 24px; }
}

/* Press app-screens grid: 5 phone screenshots in ONE row on wide screens (so
   the 5th doesn't wrap onto its own row), collapsing cleanly on smaller. */
.press-screens-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) {
  .press-screens-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .press-screens-grid { grid-template-columns: repeat(2, 1fr); }
}

.audience-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-1);
  border-radius: var(--r-md);
  padding: clamp(24px, 2.5vw, 36px);
  background: var(--surface-1);
  text-decoration: none;
  color: inherit;
  transition: background var(--d-base) var(--ease-out), border-color var(--d-base) var(--ease-out), transform var(--d-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.audience-card:hover {
  background: var(--surface-2);
  border-color: var(--border-2);
  transform: translateY(-2px);
}
.audience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--d-base) var(--ease-out);
}
.audience-card:hover::before { transform: scaleX(1); }

.audience-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.audience-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 0 0 12px;
  text-wrap: balance;
}
.audience-card p {
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 auto;
  text-wrap: pretty;
  flex-grow: 1;
}
.audience-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  color: var(--fg-1);
  margin-top: 24px;
  border-bottom: 1px solid var(--border-2);
  padding-bottom: 1px;
  text-decoration: none;
  transition: border-color var(--d-base) var(--ease-out);
}
.audience-card:hover .audience-card-cta { border-color: var(--fg-1); }
.audience-card-cta svg { width: 14px; height: 14px; }

/* ============================================================
   HOW IT WORKS (3-step grid)
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 3vw, 56px);
}
@media (max-width: 760px) {
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
}
.step {
  display: flex;
  flex-direction: column;
  padding-top: 28px;
  border-top: 1px solid var(--border-2);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--fg-1);
  margin: 0 0 10px;
  text-wrap: balance;
}
.step p {
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  text-wrap: pretty;
}

/* ============================================================
   PRICING TABLE (Business page)
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-1);
  border-radius: var(--r-md);
  /* overflow:visible + top margin so the 'Most popular' badge (positioned above
     the Gold column via translateY(-50%)) isn't clipped. */
  overflow: visible;
  margin-top: 22px;
}
/* Column count tracks the number of cards so 2/3 tiers do not leave gaps and a
   lone card does not stretch full width. The worker adds pricing-grid--N. */
.pricing-grid--1 { grid-template-columns: 1fr; }
.pricing-grid--2 { grid-template-columns: repeat(2, 1fr); }
.pricing-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pricing-grid--4 { grid-template-columns: repeat(4, 1fr); }
/* A single card renders at a normal card width, centred (not full row). */
.pricing-grid--single {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1000px) {
  .pricing-grid, .pricing-grid--3, .pricing-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .pricing-grid, .pricing-grid--2, .pricing-grid--3, .pricing-grid--4 { grid-template-columns: 1fr; }
}

.pricing-col {
  padding: clamp(24px, 2.5vw, 36px);
  border-right: 1px solid var(--border-1);
  display: flex;
  flex-direction: column;
}
.pricing-col:last-child { border-right: 0; }
@media (max-width: 1000px) {
  .pricing-col:nth-child(2) { border-right: 0; }
  .pricing-col:nth-child(3) { border-right: 1px solid var(--border-1); border-top: 1px solid var(--border-1); }
  .pricing-col:nth-child(4) { border-right: 0; border-top: 1px solid var(--border-1); }
}
@media (max-width: 580px) {
  .pricing-col { border-right: 0; border-top: 1px solid var(--border-1); }
  .pricing-col:first-child { border-top: 0; }
}

.pricing-col.popular {
  background: var(--accent-soft);
  position: relative;
}
.pricing-col.popular::before {
  content: "Most popular";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: var(--fg-on-accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 8px;
}
.pricing-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fg-1);
  margin-bottom: 4px;
}
.pricing-price sup {
  font-size: 0.45em;
  vertical-align: top;
  margin-top: 0.3em;
  letter-spacing: 0;
  font-weight: 700;
}
.pricing-period {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--fg-3);
  margin-bottom: 20px;
}
.pricing-desc {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-2);
  margin-bottom: 24px;
  flex-grow: 1;
  text-wrap: pretty;
}
.pricing-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 13.5px;
  color: var(--fg-2);
  line-height: 1.45;
}
.pricing-features li svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-features li.dim { color: var(--fg-3); }
.pricing-features li.dim svg { opacity: 0.35; }

.pricing-cta {
  margin-top: auto;
}

/* Annual toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(32px, 4vw, 56px);
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--fg-2);
}
.toggle-track {
  width: 44px;
  height: 24px;
  border-radius: var(--r-pill);
  background: var(--surface-3);
  position: relative;
  cursor: pointer;
  transition: background var(--d-base) var(--ease-out);
  flex-shrink: 0;
  border: none;
  padding: 0;
}
.toggle-track.on { background: var(--accent); }
.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 999px;
  transition: transform var(--d-base) var(--ease-out);
  pointer-events: none;
}
.toggle-track.on .toggle-thumb { transform: translateX(20px); }
.pricing-toggle .save-note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

/* ============================================================
   FLYWHEEL / FEATURE SECTIONS
   ============================================================ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 860px) {
  .feature-split { grid-template-columns: 1fr; gap: 40px; }
  .feature-split.reverse .feature-media { order: -1; }
}
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }

.feature-copy {}
.feature-copy .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.feature-copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-display-m-web);
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--fg-1);
  margin: 0 0 16px;
  text-wrap: balance;
}
.feature-copy p {
  font-family: var(--font-ui);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.feature-copy .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.feature-media {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Phone mockup */
.phone {
  width: clamp(240px, 26vw, 320px);
  aspect-ratio: 280 / 568;
  border-radius: 44px;
  padding: 8px;
  background: linear-gradient(160deg, #3a4250 0%, #1f242d 35%, #15191f 65%, #2a313c 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10),
    0 0 0 2px rgba(0,0,0,0.6),
    0 40px 80px -20px rgba(0,0,0,0.65),
    0 14px 36px -12px rgba(0,0,0,0.55);
  position: relative;
  flex-shrink: 0;
}
.phone::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 14%);
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--bg);
}
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #0B0D10;
  border-radius: 999px;
  z-index: 10;
}
.phone-status {
  height: 36px;
  padding: 12px 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 11px;
  color: var(--fg-1);
}
.phone-glow {
  position: absolute;
  inset: -60px;
  z-index: -1;
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(201, 62, 31,0.25) 0%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}
.screen-pad { padding: 14px 18px 80px; }
.screen-head h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 6px 0 3px;
}
.screen-head p {
  font-family: var(--font-ui);
  font-size: 12px;
  line-height: 1.4;
  color: var(--fg-2);
  margin: 0 0 14px;
}

/* Membership card inside phone */
.mock-card {
  background: var(--ink-12);
  color: var(--chalk-12);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 14px;
}
.mock-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
}
.mock-card-head .mark {
  color: var(--chalk-12);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.mock-card-head .dot { color: var(--accent); }
.mock-card-body { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.mock-qr {
  width: 68px;
  height: 68px;
  background: var(--chalk-11);
  border-radius: 5px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(9, 1fr);
  gap: 1px;
  flex-shrink: 0;
}
.mock-qr i { background: var(--ink-12); border-radius: 1px; }
.mock-qr i.off { background: transparent; }
.mock-card-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.1; letter-spacing: -0.01em; }
.mock-card-meta { font-family: var(--font-ui); font-size: 10px; color: rgba(255,255,255,0.55); margin-top: 3px; }
.mock-card-tier {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 18px;
  padding: 0 8px;
  border-radius: 3px;
  background: rgba(255,255,255,0.10);
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 600;
  color: var(--chalk-12);
  margin-top: 10px;
}

/* Mock wallet actions */
.mock-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.mock-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 6px;
  border-radius: 8px;
  background: var(--surface-1);
  border: 1px solid var(--border-1);
}
.mock-action svg { width: 16px; height: 16px; color: var(--fg-2); }
.mock-action span { font-family: var(--font-ui); font-size: 10px; color: var(--fg-2); font-weight: 500; }

/* Phone tab bar */
.phone-tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--bar-bg);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-radius: 0 0 36px 36px;
}
.phone-tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 500;
  color: var(--fg-3);
  padding-block: 4px;
}
.phone-tabbar span svg { width: 20px; height: 20px; }
.phone-tabbar .tab-active { color: var(--accent); }

/* ============================================================
   REAL APP SCREENSHOTS - tasteful device frame for PNG assets
   Usage: <div class="app-screen-wrap"><div class="app-screen-device">
            <img class="app-screen-img" src="/assets/app-screens/membership.png" alt="…">
          </div></div>
   The glow sits behind the device; no fake UI elements painted on top.
   ============================================================ */
.app-screen-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.app-screen-glow {
  position: absolute;
  inset: -60px;
  z-index: 0;
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(201, 62, 31,0.22) 0%, transparent 70%);
  filter: blur(32px);
  pointer-events: none;
}
.app-screen-device {
  position: relative;
  z-index: 1;
  width: clamp(220px, 24vw, 300px);
  border-radius: 44px;
  padding: 6px;
  background: linear-gradient(160deg, #3a4250 0%, #1f242d 35%, #15191f 65%, #2a313c 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10),
    0 0 0 2px rgba(0,0,0,0.60),
    0 40px 80px -20px rgba(0,0,0,0.65),
    0 14px 36px -12px rgba(0,0,0,0.55);
  flex-shrink: 0;
}
.app-screen-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 38px;
  overflow: hidden;
}

/* ============================================================
   MANIFESTO / PULL QUOTE BLOCK
   ============================================================ */
.manifesto-block {
  padding-block: var(--s-section);
  border-bottom: 1px solid var(--border-1);
}
.manifesto-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(32px, 4vw, 96px);
  align-items: start;
}
@media (max-width: 860px) {
  .manifesto-inner { grid-template-columns: 1fr; gap: 32px; }
}
.manifesto-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding-top: 16px;
  border-top: 1px solid var(--border-1);
}
.manifesto-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-display-xl-web);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--fg-1);
  margin: 0 0 28px;
  text-wrap: balance;
}
.manifesto-quote em { font-style: normal; color: var(--accent); }
.manifesto-body {
  font-family: var(--font-ui);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  text-wrap: pretty;
}
.manifesto-body + .manifesto-body { margin-top: 16px; }

/* ============================================================
   SOCIAL PROOF / VENUE QUOTES
   ============================================================ */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 32px);
}
@media (max-width: 860px) {
  .quotes-grid { grid-template-columns: 1fr; }
}
.quote-card {
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  border-radius: var(--r-md);
  padding: clamp(24px, 2vw, 32px);
}
.quote-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--fg-1);
  margin: 0 0 20px;
  text-wrap: pretty;
}
.quote-text::before { content: "\201C"; color: var(--accent); }
.quote-text::after  { content: "\201D"; color: var(--accent); }
.quote-attribution {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quote-attribution strong {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  color: var(--fg-1);
}
.quote-attribution span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* ============================================================
   FOOTER (Mode B - full)
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border-1);
  padding-block: clamp(48px, 6vw, 80px) clamp(28px, 3vw, 40px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(40px, 4vw, 64px);
  margin-bottom: clamp(40px, 4vw, 64px);
}
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {}
/* Footer wordmark: a compact, LEFT-aligned lockup - not the centred full-width
   hero treatment. inline-block so the accent rule spans only the wordmark. */
.footer-brand .wm-lockup {
  font-size: 60px;
  margin-bottom: 18px;
  display: inline-block;
  /* The lockup is ALWAYS centred (never left-aligned) - identical to the nav.
     wm-line1 'WE LOVE' centres over 'soho' with the bar between. */
  text-align: center;
}
.footer-brand p {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 36ch;
  margin: 0 0 20px;
}
.footer-signup-mini {
  display: flex;
  gap: 8px;
  max-width: 340px;
}
.footer-signup-mini input {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border-1);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--fg-1);
  font-family: var(--font-ui);
  font-size: 16px; /* >=16px prevents iOS zoom on focus */
  min-width: 0;
}
.footer-signup-mini input::placeholder { color: var(--fg-3); }
.footer-signup-mini input:focus {
  outline: none;
  border-color: var(--fg-1);
}
.footer-signup-mini button {
  height: 42px;
  padding: 0 16px;
  background: var(--accent);
  color: var(--fg-on-accent);
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 16px; /* >=16px prevents iOS zoom on focus */
  cursor: pointer;
  transition: background var(--d-fast) var(--ease-out);
  white-space: nowrap;
  flex-shrink: 0;
}
.footer-signup-mini button:hover { background: var(--accent-hover); }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--fg-2);
  text-decoration: none;
  transition: color var(--d-base) var(--ease-out);
}
.footer-col ul a:hover { color: var(--fg-1); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: clamp(20px, 2vw, 32px);
  border-top: 1px solid var(--border-1);
}
.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
}
.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  text-decoration: none;
  transition: color var(--d-base) var(--ease-out);
}
.footer-legal a:hover { color: var(--fg-2); }

/* Store badges in footer */
.footer-store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.footer-store-badges .store-badge-img {
  height: 38px;
}

/* ============================================================
   PAGE HERO (Mode B variant - editorial with eyebrow + display h1)
   ============================================================ */
.page-hero {
  padding-block: clamp(56px, 7vw, 112px);
  border-bottom: 1px solid var(--border-1);
  overflow: hidden;
  position: relative;
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 860px) {
  .page-hero-inner { grid-template-columns: 1fr; }
}
.page-hero-copy {}
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.page-hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-display-xl-web);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--fg-1);
  margin: 0 0 20px;
  text-wrap: balance;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero-lede {
  font-family: var(--font-ui);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 54ch;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.page-hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ============================================================
   HOMEPAGE HERO (big wordmark variant)
   ============================================================ */
.home-hero {
  padding-block: clamp(48px, 6vw, 96px);
  border-bottom: 1px solid var(--border-1);
  position: relative;
  overflow: hidden;
}
/* Subtle film-grain texture over the hero. */
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.60;
  mix-blend-mode: overlay;
  z-index: 0;
}
.home-hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
  position: relative;
  z-index: 1;
}
.home-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto clamp(20px, 2.4vw, 32px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: clamp(24px, 3vw, 36px);
}
.home-hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  display: block;
}
.home-hero-wordmark {
  display: block;
  font-size: clamp(88px, 15vw, 220px);
  margin: 0 auto clamp(24px, 3vw, 40px);
  color: var(--fg-1);
  text-align: center;
}
/* The wm-lockup must be a centred block so the 'WE LOVE' rule + 'soho' stack
   and centre under each other (not sit inline beside the eyebrow). */
.home-hero-wordmark .wm-lockup {
  display: inline-block;
  text-align: center;
}
/* At the giant hero size, the proportional 0.06em bar reads too thick. Thin it
   to 0.03em here only; the small nav/footer lockups keep 0.06em (+ the 2px
   min-height floor), which looks right at their scale. */
.home-hero-wordmark .wm-divider {
  height: 0.03em;
}
.home-hero-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  max-width: 26ch;
  margin-inline: auto;
  text-wrap: balance;
}
.home-hero-tagline em { font-style: normal; color: var(--accent); }

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(48px, 6vw, 88px);
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (max-width: 960px) {
  .home-hero-grid { grid-template-columns: 1fr; }
}
.home-hero-lede {
  font-family: var(--font-ui);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 54ch;
  margin: 0 0 clamp(28px, 3vw, 40px);
  text-wrap: pretty;
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Streets panel (right rail) */
.streets {
  /* Always a DARK panel in BOTH themes - every child hardcodes white text
     (rgba(255,255,255,…)). --surface-inverse flips LIGHT in dark mode → the
     street names render white-on-white. Pin to fixed-dark ink. */
  background: var(--ink-12);
  color: var(--chalk-12);
  border: 1px solid var(--ink-9, rgba(255,255,255,0.08));
  border-radius: var(--r-md);
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}
.streets::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,0.06) 0%, transparent 60%),
    radial-gradient(80% 50% at 0% 100%, rgba(201, 62, 31,0.16) 0%, transparent 60%);
  pointer-events: none;
}
.streets-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.streets-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.streets-coords {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-align: right;
  white-space: nowrap;
}
.streets-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.streets-list li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.92);
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-block: clamp(5px, 0.7vw, 8px);
  white-space: nowrap;
  overflow: hidden;
}
.streets-list li:last-child { border-bottom: 0; }
.streets-list li::before {
  content: attr(data-n);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
  width: 24px;
  transform: translateY(-10px);
}
.streets-list li[data-accent]::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 999px;
  margin-left: auto;
  align-self: center;
}
.streets-foot {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
}
.streets-foot .pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.streets-foot .pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 999px;
  animation: pulse 2400ms var(--ease-out) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 62, 31,0.65); }
  50%       { box-shadow: 0 0 0 6px rgba(201, 62, 31,0); }
}

/* ============================================================
   FOOTER SIGNUP (captures launch list on Mode B pages)
   ============================================================ */
.footer-capture {
  background: var(--surface-1);
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  padding-block: clamp(48px, 6vw, 80px);
}
.footer-capture-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 760px) {
  .footer-capture-inner { grid-template-columns: 1fr; gap: 32px; }
}
.footer-capture h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-display-m-web);
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--fg-1);
  margin: 0 0 12px;
  text-wrap: balance;
}
.footer-capture p {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
.footer-signup {
  background: var(--bg);
  border: 1px solid var(--border-1);
  border-radius: var(--r-md);
  padding: clamp(20px, 2.5vw, 28px);
  box-shadow: var(--shadow-xs);
}
.footer-signup-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--surface-2);
  padding: 3px;
  border-radius: var(--r-sm);
  margin-bottom: 14px;
}
.footer-signup-picker button {
  padding: 8px 10px;
  border-radius: 5px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 12.5px;
  color: var(--fg-2);
  transition: all var(--d-base) var(--ease-out);
  background: none;
  border: none;
  cursor: pointer;
}
.footer-signup-picker button[aria-pressed="true"] {
  background: var(--bg);
  color: var(--fg-1);
  box-shadow: var(--shadow-xs);
  font-weight: 600;
}
.footer-signup-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
@media (max-width: 420px) {
  .footer-signup-row { grid-template-columns: 1fr; }
}
.footer-signup input[type="email"] {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border-1);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--fg-1);
  font-family: var(--font-ui);
  font-size: 16px; /* >=16px prevents iOS zoom on focus */
  width: 100%;
  transition: border-color var(--d-base) var(--ease-out);
}
.footer-signup input[type="email"]:focus {
  outline: none;
  border-color: var(--fg-1);
}
.footer-signup input::placeholder { color: var(--fg-3); }
.footer-signup-submit {
  height: 46px;
  padding: 0 20px;
  background: var(--accent);
  color: var(--fg-on-accent);
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--d-fast) var(--ease-out);
  white-space: nowrap;
}
.footer-signup-submit:hover { background: var(--accent-hover); }
.footer-signup-note {
  margin-top: 12px;
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.5;
}
.footer-signup-note a { color: var(--fg-2); border-bottom: 1px solid var(--border-2); }
.footer-signup-success {
  display: none;
  padding: 6px 0;
}
.footer-signup.is-success .footer-signup-form { display: none; }
.footer-signup.is-success .footer-signup-success { display: block; }
.footer-signup.is-success { border-color: var(--success); }
.footer-signup-success p {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  color: var(--fg-1);
  margin: 0;
}
.footer-signup-success small {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--fg-2);
  display: block;
  margin-top: 6px;
}

/* Business extra fields */
.signup-business-extra {
  display: grid;
  gap: 8px;
  grid-template-columns: 1.4fr 1fr;
  margin-top: 8px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height var(--d-large) var(--ease-out), opacity var(--d-base) var(--ease-out), margin-top var(--d-large) var(--ease-out);
}
.signup-business-extra.show {
  max-height: 200px;
  opacity: 1;
  margin-top: 8px;
}
.signup-business-extra input,
.signup-business-extra select {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border-1);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--fg-1);
  font-family: var(--font-ui);
  font-size: 14px;
  width: 100%;
}
.signup-business-extra input:focus,
.signup-business-extra select:focus {
  outline: none;
  border-color: var(--fg-1);
}
@media (max-width: 420px) {
  .signup-business-extra { grid-template-columns: 1fr; }
}

/* ============================================================
   CARD / WALLET FEATURE VISUAL
   ============================================================ */
.card-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.membership-card-big {
  width: 100%;
  max-width: 360px;
  background: var(--ink-12);
  color: var(--chalk-12);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 40px -8px rgba(201, 62, 31,0.30), 0 4px 14px rgba(0,0,0,0.25);
}
.membership-card-big .card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
}
.membership-card-big .card-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--chalk-12);
  letter-spacing: 0.08em;
}
.membership-card-big .card-mark .dot { color: var(--accent); }
.membership-card-big .card-body {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.membership-card-big .card-qr {
  width: 100px;
  height: 100px;
  background: var(--chalk-11);
  border-radius: 8px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  grid-template-rows: repeat(11, 1fr);
  gap: 1.5px;
  flex-shrink: 0;
}
.membership-card-big .card-qr i { background: var(--ink-12); border-radius: 1px; }
.membership-card-big .card-qr i.off { background: transparent; }
.membership-card-big .card-info {}
.membership-card-big .card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.membership-card-big .card-tier {
  font-family: var(--font-ui);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}
.membership-card-big .card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.membership-card-big .card-chip {
  height: 22px;
  padding: 0 10px;
  border-radius: 4px;
  background: rgba(255,255,255,0.10);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  color: var(--chalk-12);
}
.wallet-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.wallet-badge {
  height: 40px;
  padding: 0 16px;
  background: var(--surface-1);
  border: 1px solid var(--border-1);
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2);
  text-decoration: none;
}
.wallet-badge svg { width: 16px; height: 16px; }

/* ============================================================
   TRAVELER PASS TILE
   ============================================================ */
/* Sideways grid of pass-tiles for business / staff / resident pricing sections.
   Column count tracks the number of cards; a lone card is centred. */
.pass-grid {
  display: grid;
  gap: var(--s-5, 20px);
  margin-top: 22px;
  align-items: stretch;
}
.pass-grid--1 { grid-template-columns: 1fr; }
.pass-grid--2 { grid-template-columns: repeat(2, 1fr); }
.pass-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pass-grid--4 { grid-template-columns: repeat(4, 1fr); }
.pass-grid--single { max-width: 360px; margin-left: auto; margin-right: auto; }
@media (max-width: 1000px) {
  .pass-grid--3, .pass-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .pass-grid--2, .pass-grid--3, .pass-grid--4 { grid-template-columns: 1fr; }
}

.pass-tile {
  /* Always a DARK tile in BOTH themes - its children use hardcoded white text
     (chalk-12 / rgba(255,255,255,…)). --surface-inverse flips to a LIGHT colour
     in dark mode, which made the white text invisible (white-on-white). Pin to
     the fixed-dark ink token so the tile is reliably dark and legible. */
  background: var(--ink-12);
  color: var(--chalk-12);
  border: 1px solid var(--ink-9, rgba(255,255,255,0.08));
  border-radius: var(--r-md);
  padding: clamp(32px, 3.5vw, 48px);
  position: relative;
  overflow: hidden;
}
.pass-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 0% 100%, rgba(201, 62, 31,0.20) 0%, transparent 60%),
    radial-gradient(60% 40% at 100% 0%, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.pass-tile-content { position: relative; z-index: 1; }
.pass-tile .pass-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
  display: block;
}
.pass-tile .pass-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--chalk-12);
  margin-bottom: 4px;
}
.pass-tile .pass-price sup {
  font-size: 0.4em;
  vertical-align: top;
  margin-top: 0.4em;
  font-weight: 700;
  letter-spacing: 0;
}
.pass-tile .pass-period {
  font-family: var(--font-ui);
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}
.pass-tile .pass-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pass-tile .pass-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 14px;
  color: rgba(255,255,255,0.80);
  line-height: 1.45;
}
.pass-tile .pass-features li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 999px;
  margin-top: 9px;
  flex-shrink: 0;
}

/* ============================================================
   TRUST SIGNALS / STATS BAND
   ============================================================ */
.stats-band {
  padding-block: clamp(40px, 4vw, 60px);
  border-bottom: 1px solid var(--border-1);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 2vw, 48px);
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat {
  border-top: 1px solid var(--border-2);
  padding-top: 20px;
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--fg-1);
  margin-bottom: 4px;
}
.stat-value sup { font-size: 0.5em; vertical-align: top; margin-top: 0.3em; }
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* ============================================================
   ABOUT / PRESS PAGE ELEMENTS
   ============================================================ */
.press-kit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 32px);
}
@media (max-width: 760px) {
  .press-kit-grid { grid-template-columns: 1fr; }
}
.press-asset {
  border: 1px solid var(--border-1);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-1);
}
.press-asset-preview {
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-1);
  padding: 24px;
}
.press-asset-meta {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.press-asset-name {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--fg-1);
}
.press-asset-type {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.press-asset-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--d-base) var(--ease-out);
}
.press-asset-dl:hover { border-color: var(--accent); }
.press-asset-dl svg { width: 13px; height: 13px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.anim-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.001ms, transform 0.001ms;
}
@media (prefers-reduced-motion: no-preference) {
  .anim-up {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 440ms var(--ease-out), transform 440ms var(--ease-out);
    transition-delay: var(--delay, 0ms);
  }
  .anim-up.in {
    opacity: 1;
    transform: translateY(0);
  }
}

.anim-fade { transition: opacity 0.001ms; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .anim-fade.pre-reveal { opacity: 0; transition: opacity 600ms var(--ease-out); }
  .anim-fade.pre-reveal.in { opacity: 1; }
}

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.text-accent { color: var(--accent); }
.text-fg2 { color: var(--fg-2); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.no-wrap { white-space: nowrap; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 480px;
  /* Always-dark banner (its p/a children hardcode white text). --surface-inverse
     flips light in dark mode → white-on-white. Pin to fixed-dark ink. */
  background: var(--ink-12);
  color: var(--chalk-12);
  border: 1px solid var(--ink-9, rgba(255,255,255,0.10));
  border-radius: var(--r-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-xl);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-ui);
  font-size: 13.5px;
  line-height: 1.45;
}
.cookie-banner.hidden { display: none; }
.cookie-banner p { margin: 0; color: rgba(255,255,255,0.80); }
.cookie-banner a { color: rgba(255,255,255,0.70); border-bottom: 1px solid rgba(255,255,255,0.25); }
.cookie-accept {
  height: 36px;
  padding: 0 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--d-fast) var(--ease-out);
}
.cookie-accept:hover { background: var(--accent-hover); }
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  align-items: center;
}
.cookie-decline {
  height: 36px;
  padding: 0 14px;
  background: transparent;
  color: rgba(255,255,255,0.80);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color var(--d-fast) var(--ease-out), color var(--d-fast) var(--ease-out);
}
.cookie-decline:hover { border-color: rgba(255,255,255,0.55); color: #fff; }
@media (max-width: 480px) {
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: flex-end; }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 20px;
  background: var(--accent);
  color: white;
  padding: 10px 20px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  z-index: 9999;
}
.skip-link:focus { top: 0; }
