
  /* ============ BRAND TOKENS — v4 layered-glass theme ============ */
  /* Mid-depth greens derived from brand #0e402e; cream type at AA (not max) contrast;
     translucent frosted surfaces over one continuous diffused background. */
  :root {
    --g950: #0e3a28;   /* deepest — desktop backdrop */
    --g900: #124732;
    --g800: #0e402e;   /* brand green (sign) */
    --g700: #1a5c41;
    --cream: #f2e0d0;
    --ink:       rgba(242,224,208,0.96);
    --ink-dim:   rgba(242,224,208,0.74);
    --ink-faint: rgba(242,224,208,0.56);
    --glass:     rgba(255,255,255,0.09);
    --glass-hi:  rgba(255,255,255,0.14);
    --line:      rgba(255,255,255,0.30);
    --line-soft: rgba(255,255,255,0.19);
    /* Pillar accents — taken straight from the logo petals in
       assets/00-brand/LOGO-sync484.svg (updated 2026-08-12). Keep these in sync
       with that file; it is the source of truth for the brand palette. */
    --heal:    #85d2f2;   /* was #a1abe8 periwinkle — 34° off the logo blue */
    --move:    #f69544;   /* was #fab069 */
    --recover: #e8e84d;   /* was #d5d95b */
    --connect: #f2a0db;   /* was #eba6d4 */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --r-lg: 12px;
    --r-md: 9px;
    --topbar-h: 54px;
    --tabbar-h: 64px;
    --frost: blur(30px) saturate(1.7);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font-body); color: var(--ink);
    background: linear-gradient(165deg, var(--g700) 0%, var(--g900) 100%);
    -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.5;
  }
  ::selection { background: var(--recover); color: var(--g950); }

  .app { max-width: 470px; margin: 0 auto; min-height: 100dvh; position: relative; }
  @media (min-width: 520px) {
    .app { box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 30px 90px rgba(0,0,0,0.35); }
  }

  /* Continuous background — the hero (H2) diffused through the whole interface.
     Every frosted surface sits over this one layer. */
  .app-bg {
    position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 0;
    width: 100%; max-width: 470px; height: 100dvh; overflow: hidden; pointer-events: none;
  }
  .app-bg img {
    width: 100%; height: 100%; object-fit: cover;
    filter: blur(18px) saturate(1.3) brightness(0.85);
    transform: scale(1.15); /* hide blur edge fringe */
  }
  .app-bg::after {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(120% 60% at 50% 0%, rgba(42,118,86,0.28), transparent 60%),
      linear-gradient(180deg, rgba(16,64,45,0.45) 0%, rgba(13,54,38,0.68) 55%, rgba(13,54,38,0.78) 100%);
  }

  .proto-ribbon {
    position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 60;
    width: 100%; max-width: 470px;
    background: rgba(5,20,14,0.8); color: var(--ink-faint);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
    text-align: center; padding: 3px 8px;
  }

  /* ============ TOP BAR — floating frosted pill ============ */
  .topbar {
    position: fixed; top: 24px; left: 50%; transform: translateX(-50%); z-index: 50;
    width: calc(100% - 20px); max-width: 450px; height: var(--topbar-h);
    background: rgba(26,92,65,0.35);
    backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost);
    border: 1px solid var(--line-soft); border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 8px 28px rgba(0,0,0,0.18);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 8px 0 16px;
  }
  /* WORDMARK COMPONENT — isolated; a "Volta 484" rebrand = swap the file. */
  .wordmark-component { height: 24px; display: flex; align-items: center; }
  .wordmark-component img { height: 100%; width: auto; display: block; }
  .topbar .cta {
    background: var(--cream); color: var(--g800); text-decoration: none;
    font-weight: 800; font-size: 12.5px; letter-spacing: 0.01em;
    padding: 9px 16px; border-radius: 10px;
    box-shadow: 0 0 24px -6px rgba(242,224,208,0.5);
    transition: transform 0.12s ease;
  }
  .topbar .cta:active { transform: scale(0.94); }

  /* ============ VIEWS ============ */
  .view { display: none; position: relative; z-index: 1; padding: calc(var(--topbar-h) + 44px) 0 calc(var(--tabbar-h) + 44px); }
  .view.active { display: block; animation: viewIn 0.3s cubic-bezier(0.2, 0.7, 0.3, 1); }
  @keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  .pad { padding-left: 18px; padding-right: 18px; }

  /* ============ HOME ============ */
  /* Hero melts into the blurred background via a bottom mask — no hard edge. */
  .hero {
    position: relative; height: 440px; overflow: hidden;
    margin-top: calc(-1 * var(--topbar-h) - 44px);
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  }
  .hero img.bg { width: 100%; height: 100%; object-fit: cover; display: block; }
  .hero .scrim {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13,54,38,0.45) 0%, rgba(13,54,38,0.05) 34%, rgba(13,54,38,0.58) 68%, rgba(13,54,38,0.88) 100%);
  }
  .hero .hero-copy { position: absolute; left: 22px; right: 22px; bottom: 40px; }
  .hero .tagline {
    font-family: var(--font-display); font-size: 36px; font-weight: 500; line-height: 1.06;
    letter-spacing: -0.015em; color: var(--cream); margin-bottom: 8px;
    text-shadow: 0 2px 24px rgba(8,40,28,0.6);
  }
  .hero .sub { font-size: 14px; color: var(--cream); font-weight: 600; text-shadow: 0 1px 3px rgba(8,40,28,0.95), 0 2px 18px rgba(8,40,28,0.9); }
  .hero .asset-note { position: absolute; top: 92px; right: 14px; font-size: 8.5px; color: var(--ink-faint); letter-spacing: 0.08em; text-transform: uppercase; }

  .section-label {
    font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink-faint); margin: 28px 0 12px;
  }

  /* Pillar launcher — frosted tiles, gentle glow from each pillar colour */
  .launcher { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
  .launch-card {
    --pc: var(--cream);
    border: 1px solid var(--line-soft); cursor: pointer; text-align: left; font-family: var(--font-body);
    border-radius: var(--r-lg); padding: 16px 14px 14px; min-height: 124px;
    display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
    background: linear-gradient(155deg, var(--glass-hi), rgba(255,255,255,0.04));
    backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
    position: relative; overflow: hidden;
    transition: transform 0.12s ease, border-color 0.2s ease;
  }
  .launch-card::before {
    content: ""; position: absolute; top: -34px; left: -24px; width: 130px; height: 130px;
    border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, color-mix(in srgb, var(--pc) 26%, transparent), transparent 70%);
  }
  .launch-card:active { transform: scale(0.96); }
  .launch-card .dot {
    width: 42px; height: 42px; border-radius: 10px; position: relative;
    display: flex; align-items: center; justify-content: center;
    color: var(--pc);
    background: color-mix(in srgb, var(--pc) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--pc) 36%, transparent);
    box-shadow: 0 0 26px -4px color-mix(in srgb, var(--pc) 55%, transparent);
  }
  .launch-card .dot svg { width: 22px; height: 22px; }
  .launch-card h3 { font-size: 16px; font-weight: 800; letter-spacing: 0.1em; color: var(--ink); }
  .launch-card p { font-size: 11.5px; color: var(--ink-dim); font-weight: 500; margin-top: 2px; }
  .launch-card .go { position: absolute; top: 12px; right: 14px; color: var(--ink-faint); font-weight: 700; }
  .launch-card[data-pillar="heal"]    { --pc: var(--heal); }
  .launch-card[data-pillar="move"]    { --pc: var(--move); }
  .launch-card[data-pillar="recover"] { --pc: var(--recover); }
  .launch-card[data-pillar="connect"] { --pc: var(--connect); }

  /* Home banners — translucent sheets, no solid cream slabs */
  .banner {
    display: block; text-decoration: none; border-radius: var(--r-lg); overflow: hidden;
    background: linear-gradient(155deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
    backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost);
    border: 1px solid var(--line-soft);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
    color: var(--ink); padding: 20px; position: relative;
  }
  .banner + .banner { margin-top: 10px; }
  .banner h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-bottom: 3px; color: var(--cream); }
  .banner p { font-size: 13px; color: var(--ink-dim); max-width: 32ch; font-weight: 500; }
  .banner .chip {
    display: inline-block; margin-top: 12px; background: var(--cream); color: var(--g800);
    font-weight: 700; font-size: 12px; padding: 8px 16px; border-radius: 10px;
  }
  .banner.alt { background: var(--glass); }
  .banner.alt h3 { color: var(--cream); }
  .banner.alt p { color: var(--ink-dim); }
  .banner.alt .chip { background: transparent; color: var(--cream); border: 1px solid var(--line); }

  /* ============ PILLAR VIEWS ============ */
  .view-head { padding-top: 6px; margin-bottom: 16px; }
  .view-head .crumb {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink); border: 1px solid var(--line-soft); background: var(--glass);
    backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost);
    padding: 5px 13px; border-radius: 9px; margin-bottom: 12px;
  }
  .view-head .crumb .swatch { width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 8px currentColor; }
  .view-head h1 { font-family: var(--font-display); font-size: 32px; font-weight: 500; color: var(--cream); line-height: 1.05; letter-spacing: -0.01em; }
  .view-head p { font-size: 13px; color: var(--ink-dim); margin-top: 7px; }

  .stack { display: flex; flex-direction: column; gap: 10px; }

  /* List card — frosted panel */
  .biz {
    background: var(--glass); border: 1px solid var(--line-soft);
    backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.13);
    border-radius: var(--r-lg); padding: 13px; display: flex; gap: 13px; align-items: center; /* images vertically centred per Bob 2026-07-17 */
  }
  .biz .media { width: 96px; height: 96px; border-radius: var(--r-md); flex-shrink: 0; object-fit: cover; } /* 96px max before the two buttons wrap at 390px */
  .biz .media.logo { object-fit: contain; background: rgba(255,255,255,0.92); padding: 7px; }
  .biz .media.logo.ondark { background: var(--g900); } /* for logos with white/light artwork (e.g. FOFF) */
  .biz .body { flex: 1; min-width: 0; }
  .biz h3 { font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.25; }
  .biz .line { font-size: 12.5px; color: var(--ink-dim); margin: 3px 0 10px; }

  .actions { display: flex; flex-wrap: wrap; gap: 7px; }
  .act {
    text-decoration: none; font-weight: 800; font-size: 12px;
    padding: 9px 15px; border-radius: 10px; letter-spacing: 0.01em;
    display: inline-flex; align-items: center; gap: 5px;
    transition: transform 0.12s ease;
  }
  .act:active { transform: scale(0.95); }
  .act.primary { background: var(--cream); color: var(--g800); box-shadow: 0 0 20px -8px rgba(242,224,208,0.55); }
  .act.quiet { border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,0.07); }

  /* Session-length picker on the SPACES cards (cal.com booking links, 2026-08-12).
     Sized to match .act so the select and the button read as one control pair. */
  .vis-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .book-select {
    flex: 1 1 128px; min-width: 0; max-width: 190px;
    font-family: var(--font-body); font-weight: 800; font-size: 12px;
    padding: 9px 28px 9px 13px; border-radius: 10px;
    border: 1px solid var(--line); color: var(--ink); background-color: rgba(255,255,255,0.07);
    appearance: none; -webkit-appearance: none; cursor: pointer;
    /* chevron; data: URIs are permitted by the img-src CSP directive */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23f2e0d0' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 11px center; background-size: 9px;
  }
  .book-select:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
  /* Windows/Linux render the open list using these; macOS uses system colours. */
  .book-select option { background: var(--g900); color: var(--cream); }

  .badge {
    display: inline-block; font-size: 9px; font-weight: 800; letter-spacing: 0.09em;
    text-transform: uppercase; padding: 3px 9px; border-radius: 7px;
    background: rgba(250,176,105,0.15); color: var(--move); border: 1px solid rgba(250,176,105,0.4);
    margin-bottom: 6px;
  }
  .via { font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); display: block; margin-bottom: 3px; }

  /* Showcase card (RECOVER + SPACES) — image-led frosted panel */
  .show {
    background: var(--glass); border: 1px solid var(--line-soft);
    backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.13);
    border-radius: var(--r-lg); overflow: hidden; position: relative;
  }
  .show .media { width: 100%; height: 168px; object-fit: cover; display: block; }
  .show .media-wrap { position: relative; }
  .show .media-wrap::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(13,54,38,0.45) 100%);
  }
  .show .body { padding: 13px 16px 15px; }
  .show h3 { font-size: 16.5px; font-weight: 800; color: var(--ink); }
  .show .line { font-size: 12.5px; color: var(--ink-dim); margin: 3px 0 12px; }

  /* Image slider (spaces with multiple setup photos) — scroll-snap, swipe on touch */
  .slider { position: relative; }
  .slider .slides {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .slider .slides::-webkit-scrollbar { display: none; }
  .slider .slides img { width: 100%; flex: 0 0 100%; height: 168px; object-fit: cover; display: block; scroll-snap-align: start; }
  .slider .slide-label {
    position: absolute; top: 10px; left: 12px; z-index: 2;
    font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--cream); background: rgba(13,54,38,0.55);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    padding: 4px 10px; border-radius: 7px;
  }
  .slider-dots { position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 2; }
  .slider-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.45); box-shadow: 0 1px 6px rgba(8,40,28,0.6); transition: background 0.2s ease; }
  .slider-dots .dot.on { background: var(--cream); }
  .community-card .slider { border-radius: var(--r-md); overflow: hidden; margin-bottom: 14px; }

  /* Getting here / parking rows (facts from Fortem's find-us handout, 2026-07-17) */
  .park-label { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin: 14px 0 8px; }
  .getting-here { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
  .getting-here .row { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ink-dim); }
  .getting-here .row strong { color: var(--ink); font-weight: 700; }
  .pbadge {
    width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 12px; font-style: normal;
  }
  .pbadge.free { background: rgba(213,217,91,0.16); color: var(--recover); border: 1px solid rgba(213,217,91,0.4); }
  .pbadge.paid { background: rgba(250,176,105,0.14); color: var(--move); border: 1px solid rgba(250,176,105,0.4); }

  /* Asset placeholder */
  .ph {
    border: 1px dashed rgba(255,255,255,0.32);
    background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04), rgba(255,255,255,0.04) 12px, transparent 12px, transparent 24px);
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-faint); font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em;
  }
  .show .media.ph { height: 168px; display: flex; }

  /* Community card */
  .community-card {
    background: var(--glass); border: 1px solid var(--line-soft);
    backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.13);
    border-radius: var(--r-lg); padding: 20px;
  }
  .community-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 500; color: var(--cream); margin-bottom: 7px; }
  .community-card p { font-size: 13px; color: var(--ink-dim); margin-bottom: 14px; }

  /* Contact block */
  .contact-block {
    background: var(--glass); border: 1px solid var(--line-soft);
    backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.13);
    border-radius: var(--r-lg); padding: 18px; margin-top: 10px;
  }
  .contact-block h3 { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--cream); margin-bottom: 8px; }
  .contact-block p { font-size: 13px; color: var(--ink-dim); margin-bottom: 6px; }
  .contact-block .map { height: 140px; border-radius: var(--r-md); margin-top: 10px; }
  .contact-block .tbc { font-size: 11px; color: var(--ink-faint); font-style: italic; }

  /* ============ BOTTOM TAB BAR — floating frosted dock ============ */
  .tabbar {
    position: fixed; bottom: calc(10px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 50;
    width: calc(100% - 20px); max-width: 450px; height: var(--tabbar-h);
    background: rgba(26,92,65,0.35);
    backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost);
    border: 1px solid var(--line-soft); border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 8px 28px rgba(0,0,0,0.2);
    display: flex; overflow: hidden;
  }
  .tab {
    flex: 1; border: none; background: none; cursor: pointer; font-family: var(--font-body);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    color: var(--ink-faint); padding-top: 4px;
    transition: color 0.2s ease;
  }
  .tab svg { width: 22px; height: 22px; }
  .tab span { font-size: 9px; font-weight: 700; letter-spacing: 0.05em; }
  .tab .pip { width: 26px; height: 3px; border-radius: 999px; background: transparent; margin-top: 3px; }
  .tab[aria-selected="true"] { color: var(--cream); }
  .tab[aria-selected="true"][data-view="heal"] .pip { background: var(--heal); box-shadow: 0 0 10px var(--heal); }
  .tab[aria-selected="true"][data-view="move"] .pip { background: var(--move); box-shadow: 0 0 10px var(--move); }
  .tab[aria-selected="true"][data-view="recover"] .pip { background: var(--recover); box-shadow: 0 0 10px var(--recover); }
  .tab[aria-selected="true"][data-view="connect"] .pip { background: var(--connect); box-shadow: 0 0 10px var(--connect); }
  .tab[aria-selected="true"][data-view="home"] .pip { background: var(--cream); box-shadow: 0 0 10px var(--cream); }

  /* ============ VIDEO FEED — full-screen swipeable sheet (Bob 2026-07-17) ============ */
  /* "Watch video" opens a vertical feed of every business video on the current pillar;
     swipe/scroll moves between them like a reels feed. Each item carries the business's
     primary booking CTA. Sources remain a mix of self-shot and tenant promos. */
  .video-sheet {
    position: fixed; inset: 0; z-index: 70;
    background: rgba(8,40,28,0.72);
    backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  }
  .video-sheet[hidden] { display: none; }
  .video-feed { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; }
  .video-feed::-webkit-scrollbar { display: none; }
  .feed-item {
    min-height: 100%; box-sizing: border-box; scroll-snap-align: start; scroll-snap-stop: always;
    display: flex; flex-direction: column; justify-content: center; gap: 10px;
    max-width: 470px; margin: 0 auto; padding: calc(60px + env(safe-area-inset-top)) 20px calc(46px + env(safe-area-inset-bottom));
  }
  .feed-item .video-frame { aspect-ratio: 4 / 5; max-height: 52vh; }
  .feed-item h3 { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--cream); }
  .feed-item .line { font-size: 13px; color: var(--ink-dim); margin-top: -4px; }
  .feed-hint {
    position: fixed; bottom: calc(12px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
    font-size: 9.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint);
    pointer-events: none;
  }
  .video-close {
    border: 1px solid var(--line); background: rgba(255,255,255,0.07); color: var(--ink);
    width: 30px; height: 30px; border-radius: 9px; cursor: pointer; font-size: 13px; font-family: var(--font-body);
  }
  .video-sheet .video-close { position: fixed; top: calc(14px + env(safe-area-inset-top)); right: 16px; z-index: 2; }
  /* Desktop feed controls — swipe has no mouse equivalent */
  .feed-nav { display: none; }
  @media (min-width: 900px) {
    .feed-nav { display: flex; flex-direction: column; gap: 10px; position: fixed; right: 28px; top: 50%; transform: translateY(-50%); z-index: 2; }
    .feed-btn {
      width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
      border: 1px solid var(--line); background: rgba(255,255,255,0.10); color: var(--cream);
      backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
      font-size: 17px; font-family: var(--font-body);
      transition: background 0.15s ease, transform 0.12s ease;
    }
    .feed-btn:hover { background: rgba(255,255,255,0.2); }
    .feed-btn:active { transform: scale(0.92); }
    .feed-hint { display: none; }
  }
  .video-frame { aspect-ratio: 16 / 9; width: 100%; border-radius: var(--r-md); gap: 9px; }
  .video-frame .play {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    border: 1px solid var(--line); background: rgba(255,255,255,0.10);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; color: var(--cream); padding-left: 3px;
  }

  /* ============ DESKTOP (≥900px) — Concierge layout (Direction 2 + Editorial type, Bob 2026-07-17) ============ */
  /* Fixed glass rail on the left carries the nav (the dock's desktop-native translation);
     the canvas is fully fluid. Mobile below 900px is untouched. Conversion first. */
  .rail { display: none; }
  @media (min-width: 900px) {
    .app, .app-bg, .proto-ribbon { max-width: none; }
    .topbar, .tabbar { display: none; }
    .view { padding: 0 0 90px; margin-left: 300px; }
    .pad { padding-left: 56px; padding-right: 56px; max-width: 1360px; }
    .rail {
      position: fixed; left: 0; top: 0; bottom: 0; width: 300px; z-index: 50;
      display: flex; flex-direction: column; padding: 40px 30px 28px;
      background: rgba(14,58,40,0.55);
      backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost);
      border-right: 1px solid var(--line-soft);
    }
    .rail .wordmark-component { height: 26px; margin-bottom: 42px; }
    .rail-link {
      display: flex; align-items: center; gap: 14px; padding: 15px 2px; width: 100%;
      font-family: var(--font-body); font-size: 15px; font-weight: 600; text-align: left;
      color: var(--ink-dim); text-decoration: none; border: none; background: none; cursor: pointer;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      transition: color 0.15s ease;
    }
    .rail-link .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cream); flex-shrink: 0; }
    .rail-link[data-view="heal"] .dot { background: var(--heal); box-shadow: 0 0 12px var(--heal); }
    .rail-link[data-view="move"] .dot { background: var(--move); box-shadow: 0 0 12px var(--move); }
    .rail-link[data-view="connect"] .dot { background: var(--connect); box-shadow: 0 0 12px var(--connect); }
    .rail-link[data-view="recover"] .dot { background: var(--recover); box-shadow: 0 0 12px var(--recover); }
    .rail-link:hover, .rail-link[aria-selected="true"] { color: var(--cream); }
    .rail .tour {
      margin-top: auto; padding: 14px; border: none; border-radius: 11px; cursor: pointer;
      background: var(--cream); color: var(--g800); text-align: center;
      font-family: var(--font-body); font-weight: 800; font-size: 14px;
      box-shadow: 0 0 24px -6px rgba(242,224,208,0.5);
    }
    .rail .addr { margin-top: 16px; font-size: 11px; line-height: 1.75; color: var(--ink-faint); }
    /* Editorial type scale */
    .hero { height: 580px; margin-top: 0; }
    .hero .hero-copy { left: 56px; right: 56px; bottom: 58px; }
    .hero .tagline { font-size: 66px; max-width: 14ch; }
    .hero .sub { font-size: 17px; }
    .section-label { font-size: 12px; margin: 46px 0 16px; }
    .view-head { padding-top: 52px; margin-bottom: 26px; }
    .view-head h1 { font-size: 58px; }
    .view-head p { font-size: 15px; margin-top: 10px; }
    .launcher { grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .launch-card { min-height: 158px; }
    .stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
    .biz h3 { font-size: 16.5px; }
    .show .media, .slider .slides img { height: 250px; }
    .banner h3 { font-size: 26px; }
    .banner p { max-width: 52ch; font-size: 14px; }
    .community-card h3 { font-size: 26px; }
    .community-card .slider .slides img { height: 340px; }
    .feed-item .video-frame { max-height: 62vh; }
    .contact-block .map-embed { height: 260px; }
    .contact-block:has(.cform) { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 38px; align-items: start; grid-auto-flow: row; }
    .contact-block:has(.cform) > h3, .contact-block:has(.cform) > p { grid-column: 1 / -1; }
    .contact-block:has(.cform) .cform { grid-column: 1; grid-row: 3 / span 4; margin-top: 6px; }
    .contact-block:has(.cform) .park-label,
    .contact-block:has(.cform) .getting-here,
    .contact-block:has(.cform) > .act,
    .contact-block:has(.cform) .map-embed { grid-column: 2; }
    .contact-block:has(.cform) .park-label { grid-row: 3; margin-top: 6px; }
    .contact-block:has(.cform) > .act { justify-self: start; }
  }
  @media (min-width: 1360px) {
    .stack { grid-template-columns: repeat(3, 1fr); }
  }

  /* ============ PRODUCTION OVERRIDES (build.py) ============ */
  @view-transition { navigation: auto; }
  .view { display: block; }
  a.launch-card, a.tab { text-decoration: none; }
  .tab { -webkit-tap-highlight-color: transparent; }
  .cform { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
  .cform label { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
  .cform input, .cform select, .cform textarea {
    width: 100%; padding: 11px 12px; border-radius: var(--r-md);
    border: 1px solid var(--line-soft); background: rgba(255,255,255,0.07);
    color: var(--ink); font-family: var(--font-body); font-size: 14px;
  }
  .cform select { appearance: none; }
  .cform textarea { min-height: 90px; resize: vertical; }
  .cform input::placeholder, .cform textarea::placeholder { color: var(--ink-faint); }
  .cform button { border: none; cursor: pointer; }
  .contact-block .map-embed { width: 100%; height: 180px; border: 0; border-radius: var(--r-md); margin-top: 10px; display: block; filter: saturate(0.85); }


/* ============ ROUTER QUIZ + RATING CHIPS (2026-07-18, conversion pass) ============ */
.biz .rating { font-size: 12px; font-weight: 700; color: var(--recover); margin: -7px 0 10px; letter-spacing: 0.01em; }
.router { display: flex; flex-direction: column; gap: 9px; }
.r-prompt { font-size: 12.5px; font-weight: 600; color: var(--ink-dim); margin: 0 0 2px; }
.r-opt {
  font-family: var(--font-body); text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  background: var(--glass); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.13);
  padding: 14px; color: var(--ink);
  transition: background 0.15s ease, transform 0.12s ease;
}
.r-opt:hover { background: rgba(255,255,255,0.16); }
.r-opt:active { transform: scale(0.97); }
.r-opt .rdot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.r-opt strong { display: block; font-size: 14.5px; }
.r-opt .sub { font-size: 12px; color: var(--ink-dim); }
.r-opt .go { margin-left: auto; font-weight: 800; color: var(--ink-faint); }
.r-result {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg);
  backdrop-filter: var(--frost); -webkit-backdrop-filter: var(--frost);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.13);
  padding: 18px 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
}
.r-result h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin: 0; }
.r-result p { font-size: 13px; color: var(--ink-dim); margin: 0 0 10px; }
.r-back {
  cursor: pointer; font-family: var(--font-body);
  align-self: flex-start; margin-top: 2px; padding: 9px 16px; border-radius: 10px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.01em;
  border: 1px solid var(--line); background: rgba(255,255,255,0.07); color: var(--ink);
  transition: background 0.15s ease, transform 0.12s ease;
}
.r-back:hover { background: rgba(255,255,255,0.14); }
.r-back:active { transform: scale(0.95); }
.router-browse { font-size: 12.5px; color: var(--ink-dim); margin-top: 10px; }
.router-browse a { color: var(--ink); font-weight: 700; text-decoration: none; }
.router-browse a:hover { text-decoration: underline; }
@media (min-width: 900px) { .router { max-width: 620px; } }

/* Router result card — hero media (2026-07-18) */
.r-result { padding: 0; overflow: hidden; align-items: stretch; gap: 0; }
.r-media { width: 100%; height: 175px; position: relative; }
.r-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.r-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(13,54,38,0.35) 100%); }
.r-media.logo { background: rgba(255,255,255,0.92); }
.r-media.logo img { object-fit: contain; padding: 20px; }
.r-media.logo::after { display: none; }
.r-body { padding: 15px 16px 17px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }

/* Slider hover arrows — desktop only (2026-07-18) */
.slide-arrow { display: none; }
@media (min-width: 900px) {
  .slide-arrow {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
    border: 1px solid var(--line-soft); background: rgba(13,54,38,0.3); color: var(--cream);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    font-size: 20px; line-height: 1; padding: 0 0 2px; font-family: var(--font-body);
    opacity: 0; transition: opacity 0.15s ease, background 0.15s ease;
  }
  .slide-arrow.prev { left: 10px; }
  .slide-arrow.next { right: 10px; }
  .slider:hover .slide-arrow, .slide-arrow:focus-visible { opacity: 1; }
  .slide-arrow:hover { background: rgba(13,54,38,0.55); }
  .slide-arrow:active { transform: translateY(-50%) scale(0.92); }
}


/* ============ ROUTER RESULT VIDEO ============ */
.r-media.video::after { display: none; } /* gradient overlay blocks iframe clicks */
.r-media.video { position: relative; aspect-ratio: 1 / 1; height: auto; max-height: none; overflow: hidden; }
.r-media.video iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100%; height: 178%; border: 0; /* 9:16 source centre-cropped to square; set height:100% when square masters arrive */
}
