/* Paris Boba Tea — café-chic: cream, plum, gold */
@view-transition { navigation: auto; }

:root {
  --cream: #faf5ec;
  --paper: #f2e9da;
  --plum: #2e1530;
  --plum-2: #43204a;
  --ink-soft: #6a5670;
  --gold: #b8893b;
  --gold-lt: #d9b66f;
  --lilac: #b9a2d8;
  --line: rgba(46, 21, 48, 0.13);
  --line-lt: rgba(250, 245, 236, 0.2);
  --display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px -24px rgba(46, 21, 48, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--plum);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--plum); color: var(--cream); }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.icon { width: 1.5em; height: 1.5em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--plum); color: var(--cream); padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.display {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(44px, 7.4vw, 112px); line-height: 0.98; letter-spacing: -0.02em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.015em;
  text-wrap: balance;
}
.display em, .h2 em { font-style: italic; color: var(--gold); }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); max-width: 56ch; text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold-lt); color: var(--plum); }
.btn-gold:hover { background: #e6c88a; }
.btn-plum { background: var(--plum); color: var(--cream); }
.btn-plum:hover { background: var(--plum-2); }
.btn-ghost { border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--plum); }
.on-dark .btn-ghost, .btn-ghost.light { border-color: var(--line-lt); color: var(--cream); }
.on-dark .btn-ghost:hover, .btn-ghost.light:hover { border-color: var(--cream); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 300; background: var(--plum);
  display: grid; place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader img { width: 104px; height: 104px; animation: pop 1.1s var(--ease) both; }
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes pop { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, transform 0.45s var(--ease);
  view-transition-name: header;
}
.header-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { position: relative; display: block; height: 46px; aspect-ratio: 768 / 300; }
.brand img { position: absolute; inset: 0; height: 100%; width: auto; transition: opacity 0.3s; }
.brand .dark { opacity: 0; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 500; color: var(--cream); transition: color 0.3s; }
.nav a:not(.btn) { position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 0 20px; }
.header.solid, .header.plain { background: rgba(250, 245, 236, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.solid .nav, .header.plain .nav { color: var(--plum); }
.header.solid .brand .dark, .header.plain .brand .dark { opacity: 1; }
.header.solid .brand .light, .header.plain .brand .light { opacity: 0; }
.header.solid .nav .btn-gold, .header.plain .nav .btn-gold { background: var(--plum); color: var(--cream); }
.header.hide { transform: translateY(-100%); }
.burger { display: none; width: 44px; height: 44px; color: var(--cream); position: relative; }
.header.solid .burger, .header.plain .burger, .menu-open .burger { color: var(--plum); }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .header-in { height: 64px; }
  .brand { height: 38px; }
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; background: var(--cream); color: var(--plum);
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
    padding: 0 var(--gutter); font-family: var(--display); font-size: 46px; line-height: 1.15;
    opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
  }
  .nav .btn { font-family: var(--body); font-size: 16px; margin-top: 26px; min-height: 54px; padding: 0 28px; background: var(--plum); color: var(--cream); }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .brand { z-index: 2; }
  .menu-open .brand .dark { opacity: 1; }
  .menu-open .brand .light { opacity: 0; }
  .menu-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--cream); background: var(--plum); overflow: hidden; }
.hero-media { position: absolute; inset: -6% 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(46, 21, 48, 0.55) 0%, rgba(46, 21, 48, 0.18) 34%, rgba(46, 21, 48, 0.86) 100%);
}
.hero-in { position: relative; z-index: 1; padding: 140px 0 0; }
.hero .eyebrow { color: var(--gold-lt); margin-bottom: 22px; }
.hero .display { max-width: 13ch; }
.hero .display em { color: var(--gold-lt); }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 30px; flex-wrap: wrap; }
.hero .lede { color: rgba(250, 245, 236, 0.84); max-width: 46ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(36px, 6vh, 64px); border-top: 1px solid var(--line-lt); }
.stat { padding: 22px 0 28px; }
.stat + .stat { padding-left: clamp(16px, 3vw, 40px); border-left: 1px solid var(--line-lt); }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.4vw, 60px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(250, 245, 236, 0.7); }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.split-word > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms + 150ms); }
.ready .split-word > span { transform: none; }

/* ---------- marquee ---------- */
.marquee { background: var(--plum); color: var(--cream); padding: 22px 0; overflow: hidden; border-top: 1px solid var(--line-lt); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track > div { display: flex; align-items: center; flex: none; }
.marquee span { font-family: var(--display); font-style: italic; font-size: clamp(26px, 3.4vw, 44px); padding: 0 26px; white-space: nowrap; }
.marquee i { width: 12px; height: 12px; border-radius: 50%; background: var(--gold-lt); flex: none; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 11vw, 150px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.row { grid-template-columns: 1fr auto; align-items: end; }
.paper { background: var(--paper); }
.on-dark { background: var(--plum); color: var(--cream); }
.on-dark .lede { color: rgba(250, 245, 236, 0.76); }
.on-dark .eyebrow { color: var(--gold-lt); }
.on-dark .h2 em, .on-dark .display em { color: var(--gold-lt); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }

/* craft */
.craft { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.craft-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.craft-photo img { width: 100%; height: 116%; object-fit: cover; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 44px); margin-top: 40px; }
.feature { padding: 26px 0; border-top: 1px solid var(--line); }
.feature .icon { width: 30px; height: 30px; color: var(--gold); margin-bottom: 14px; }
.feature h3 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.15; margin-bottom: 6px; }
.feature p { font-size: 15.5px; color: var(--ink-soft); }
.on-dark .feature { border-color: var(--line-lt); }
.on-dark .feature p { color: rgba(250, 245, 236, 0.72); }
.on-dark .feature .icon { color: var(--gold-lt); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.card { position: relative; display: flex; flex-direction: column; transform-style: preserve-3d; transition: transform 0.5s var(--ease); }
.card-media { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.tags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(250, 245, 236, 0.92); color: var(--plum); backdrop-filter: blur(6px); }
.tag.gold { background: var(--gold-lt); }
.tag.plum { background: var(--plum); color: var(--cream); }
.card-body { padding: 16px 2px 0; }
.card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card h3 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; }
.price { font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--gold); white-space: nowrap; }
.card p { font-size: 14.5px; color: var(--ink-soft); margin-top: 6px; }
.center { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 60px); }

/* hometown */
.town { position: relative; min-height: 86svh; display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; background: var(--plum); }
.town-media { position: absolute; inset: -10% 0; }
.town-media img { width: 100%; height: 100%; object-fit: cover; }
.town::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46, 21, 48, 0.1) 20%, rgba(46, 21, 48, 0.85) 100%); }
.town-in { position: relative; z-index: 1; padding: 0 0 clamp(48px, 8vw, 96px); display: grid; gap: 22px; }
.town .lede { color: rgba(250, 245, 236, 0.86); }
.town .eyebrow { color: var(--gold-lt); }
.town .h2 em { color: var(--gold-lt); }

/* offer */
.offer { position: relative; overflow: hidden; border-radius: clamp(20px, 3vw, 36px); background: var(--plum); color: var(--cream); padding: clamp(40px, 7vw, 96px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.offer .h2 em { color: var(--gold-lt); }
.offer p { color: rgba(250, 245, 236, 0.78); max-width: 48ch; margin-top: 16px; }
.offer-pearls { position: absolute; inset: 0; pointer-events: none; }
.offer-pearls i { position: absolute; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #6b3a72, #43204a 60%); opacity: 0.7; }
.offer > *:not(.offer-pearls) { position: relative; }
.ticket { border: 1px dashed var(--gold-lt); border-radius: 20px; padding: 26px 30px; text-align: center; min-width: 230px; }
.ticket b { display: block; font-family: var(--display); font-weight: 400; font-size: 54px; line-height: 1; color: var(--gold-lt); }
.ticket span { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.info { display: grid; gap: 0; margin-top: 34px; }
.info-row { display: grid; grid-template-columns: 30px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.info-row:last-child { border-bottom: 1px solid var(--line); }
.info-row .icon { color: var(--gold); width: 24px; height: 24px; margin-top: 2px; }
.info-row dt { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.info-row dd { font-size: 18px; margin-top: 2px; }
.info-row dd a:hover { color: var(--gold); }
.visit-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.map { position: relative; min-height: 440px; border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.75) contrast(1.02); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(130px, 17vw, 210px) 0 clamp(36px, 5vw, 64px); }
.page-hero .display { margin: 18px 0 22px; }
.split-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split-hero figure { aspect-ratio: 4 / 5; border-radius: 240px 240px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-hero figure img { width: 100%; height: 100%; object-fit: cover; }
.split-hero p + p { margin-top: 14px; }

/* menu page */
.filters { position: sticky; top: 76px; z-index: 50; background: rgba(250, 245, 236, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.filters-in { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.filters-in::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.chip:hover { border-color: var(--plum); }
.chip[aria-pressed="true"] { background: var(--plum); color: var(--cream); border-color: var(--plum); }
.menu-group { padding-top: clamp(44px, 6vw, 80px); }
.menu-group[hidden] { display: none; }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.group-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1; }
.group-head span { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.toppings { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 64px); }
.topping { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.topping .icon { width: 34px; height: 34px; color: var(--gold); }
.topping h3 { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.15; }
.topping p { font-size: 14.5px; color: var(--ink-soft); }
.note { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }

/* about page */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 36px); counter-reset: t; }
.timeline li { padding-top: 26px; border-top: 1px solid var(--line-lt); position: relative; }
.timeline li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--gold-lt); }
.timeline b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 5vw, 72px); line-height: 1; color: var(--gold-lt); }
.timeline h3 { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 12px 0 6px; }
.timeline p { font-size: 15px; color: rgba(250, 245, 236, 0.74); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.member { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.member i { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--plum); color: var(--gold-lt); font-family: var(--display); font-style: normal; font-size: 32px; margin-bottom: 20px; }
.member h3 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; }
.member p { font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- footer ---------- */
.footer { background: var(--plum); color: var(--cream); padding: clamp(56px, 8vw, 96px) 0 28px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid > div:first-child img { height: 60px; width: auto; }
.footer p, .footer li, .footer address { font-size: 15px; font-style: normal; color: rgba(250, 245, 236, 0.74); line-height: 1.75; }
.footer-grid > div:first-child p { max-width: 32ch; margin-top: 18px; }
.footer h3 { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 14px; }
.footer a:hover { color: var(--gold-lt); }
.footer-word { margin: clamp(40px, 7vw, 90px) 0 22px; font-family: var(--display); font-size: clamp(64px, 17.5vw, 290px); line-height: 0.8; letter-spacing: -0.03em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(217, 182, 111, 0.55); text-align: center; user-select: none; }
.footer-word em { font-style: italic; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line-lt); font-size: 13px; color: rgba(250, 245, 236, 0.6); }

/* sticky mobile bar */
.dock { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .craft, .visit, .split-hero { grid-template-columns: 1fr; }
  .craft-photo, .split-hero figure { max-width: 460px; }
  .offer { grid-template-columns: 1fr; }
  .ticket { justify-self: start; }
  .timeline, .team { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head.row { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .filters { top: 64px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .hero-in { padding-top: 110px; }
  .hero-row { gap: 22px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; padding: 0 18px; }
  .stat span { font-size: 10.5px; letter-spacing: 0.1em; }
  .feature-list, .toppings { grid-template-columns: 1fr; }
  .cards.rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .cards.rail::-webkit-scrollbar { display: none; }
  .cards.rail .card { flex: 0 0 72%; scroll-snap-align: center; }
  .cards:not(.rail) { gap: 22px 12px; }
  .card p { font-size: 13.5px; }
  .card-top { flex-direction: column; gap: 2px; }
  .tag { font-size: 9.5px; padding: 5px 8px; }
  .timeline, .team { grid-template-columns: 1fr; }
  .timeline li { padding-bottom: 8px; }
  .team { grid-template-columns: 1fr 1fr; }
  .member { padding: 20px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .map { min-height: 340px; }
  .town { min-height: 78svh; }
  .dock {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; padding: 6px;
    background: rgba(46, 21, 48, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-radius: 999px; box-shadow: 0 12px 34px -10px rgba(46, 21, 48, 0.6);
  }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; border-radius: 999px; color: var(--cream); font-size: 13.5px; font-weight: 600; }
  .dock a .icon { width: 18px; height: 18px; }
  .dock a.main { background: var(--gold-lt); color: var(--plum); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .split-word > span { opacity: 1; transform: none; transition: none; }
  .preloader { display: none; }
  .card-media img, .btn, .card { transition: none; }
  @view-transition { navigation: none; }
}

/* keep the hero stats clear of the mobile dock */
@media (max-width: 640px) {
  .hero .stats { margin-bottom: 84px; }
  .hero::after { background: linear-gradient(180deg, rgba(46, 21, 48, 0.6) 0%, rgba(46, 21, 48, 0.35) 30%, rgba(46, 21, 48, 0.92) 100%); }
}
@media (max-width: 640px) {
  /* rail cards sit off-screen sideways, so never hide them behind a reveal */
  .cards.rail .card.reveal { opacity: 1; transform: none; }
}
