/* ============================================================
   ORLAND PHARMACY: v2 "Clean Welcome"
   Light, modern and sleek. One sans-serif family (Geist), the
   official logo colors, and the signature logo-on-scroll move:
   the logo starts big and centered, then glides into the nav.

   Section 1 is the THEME ZONE (colors, fonts, sizes).
   ============================================================ */

/* ---------- 0. Font (self-hosted Geist, one file, trimmed to Latin = fast) ---------- */
@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/geist-var.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

/* ---------- 1. THEME ZONE (design tokens) ---------- */
:root {
  /* Deep navy (from the logo blue) for the few dark surfaces */
  --color-ink: #0e2640;
  --color-ink-2: #15314f;
  --color-ink-3: #1f3d5e;

  /* Light, clean backgrounds */
  --color-wall: #f4f6f9;
  --color-wall-2: #eaeef4;
  --color-surface: #ffffff;

  /* Logo colors (official, from the leaf mark) */
  --color-blue: #3671aa;
  --color-blue-deep: #1d4a78;
  --color-blue-tint: #e8f0f9;
  --color-red: #af231d;         /* buttons + WELCOME moments only */
  --color-red-hot: #c9302a;
  --color-red-tint: #f9e9e8;

  /* Light accent used on navy surfaces */
  --color-amber: #9ccaf5;
  --color-amber-soft: rgba(156, 202, 245, 0.22);

  /* Text */
  --color-text: #14202e;
  --color-text-soft: #4e5b6b;
  --color-text-on-ink: #eef3f8;
  --color-text-on-ink-soft: #b4c3d4;
  --color-line: rgba(14, 38, 64, 0.10);
  --color-line-on-ink: rgba(255, 255, 255, 0.14);

  /* Type: one family, many weights */
  --font-display: 'Geist', 'Helvetica Neue', 'Segoe UI', sans-serif;
  --font-body: 'Geist', 'Helvetica Neue', 'Segoe UI', sans-serif;
  --font-serif: 'Geist', 'Helvetica Neue', 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --section-pad: clamp(72px, 10vw, 136px);
  --radius: 18px;
  --radius-sm: 10px;
  --nav-height: 76px;

  /* Logo morph: big centered logo at the top of the homepage */
  --bm-top: 92px;
  --bm-height: 116px;
  --bm-docked-height: 40px;

  /* Depth */
  --shadow-soft: 0 1px 2px rgba(14, 38, 64, 0.05), 0 8px 24px rgba(14, 38, 64, 0.07);
  --shadow-card: 0 2px 4px rgba(14, 38, 64, 0.05), 0 18px 44px rgba(14, 38, 64, 0.12);
  --shadow-float: 0 30px 70px rgba(14, 38, 64, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-morph: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.4s var(--ease);
}
@media (max-width: 700px) {
  :root { --bm-top: 84px; --bm-height: 66px; --bm-docked-height: 34px; --nav-height: 68px; }
}

/* ---------- 2. Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1.125rem;            /* 18px base: easy to read at any age */
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-wall);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); font-weight: 700; letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -0.04em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; }

p { max-width: 68ch; }
a { color: inherit; }
strong { font-weight: 650; }

/* Accent phrase inside headlines: same font, brand blue */
.serif { color: var(--color-blue); }
.on-ink .serif { color: var(--color-amber); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: var(--section-pad) 0; position: relative; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--color-red); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--color-blue-deep); outline-offset: 3px; border-radius: 6px; }
.on-ink :focus-visible, .footer :focus-visible, .hours-card :focus-visible, .foundation-card--big :focus-visible,
.zip-card :focus-visible, .dock :focus-visible, .aside-card--ink :focus-visible, .score-card :focus-visible { outline-color: #fff; }
/* Keyboard focus is never hidden behind the fixed nav or the phone action bar (WCAG 2.4.11) */
html { scroll-padding-top: calc(var(--nav-height) + 24px); scroll-padding-bottom: 104px; }

/* Small uppercase label above headlines */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 650;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px;
}
.on-ink .eyebrow { color: var(--color-amber); }

.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--color-text-soft); line-height: 1.55; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head p { margin-top: 18px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center p { margin-left: auto; margin-right: auto; }

/* Dark "ceiling" sections */
.on-ink {
  background: var(--color-ink);
  color: var(--color-text-on-ink);
}
.on-ink h1, .on-ink h2, .on-ink h3 { color: #fff; }
.on-ink .lead, .on-ink p { color: var(--color-text-on-ink-soft); }



/* ---------- 3. Navigation + the logo-on-scroll morph ----------
   ONE logo (.brandmark) lives outside the header. On the homepage it
   starts big and centered; when you scroll, body gets .is-docked and
   CSS transitions glide it into the nav. The links start centered and
   scoot right at the same time. Inner pages start docked. */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  display: flex; align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav .container { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.nav--solid {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--color-line);
}

.nav__menu {
  display: none; align-items: center; gap: 28px;
  transform: translateX(var(--nav-scoot, 0px));
  transition: transform .55s var(--ease-morph);
}
.nav.is-docked .nav__menu { transform: translateX(0); }

.nav-links { display: flex; list-style: none; gap: 26px; align-items: center; }
.nav-links a {
  position: relative;
  text-decoration: none; font-size: 0.96rem; font-weight: 550;
  color: var(--color-text); transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--color-red); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--color-ink); }
.nav-phone { display: none; text-decoration: none; font-weight: 650; font-size: 0.96rem; color: var(--color-ink); white-space: nowrap; }

/* The one logo.
   It always keeps its BIG size in the layout and moves with ONE transform
   (translate + scale down). main.js measures both end positions in pixels
   (--bm-top-x/y, --bm-dock-x/y, --bm-dock-scale), so the path can't drift
   or overshoot in any browser. Scaling DOWN keeps the SVG crisp. */
.brandmark {
  position: fixed; z-index: 101;
  top: 0; left: 0;
  height: var(--bm-height);
  transform-origin: 0 0;
  transform: translate(var(--bm-top-x, 0px), var(--bm-top-y, var(--bm-top))) scale(1);
  transition: transform .55s var(--ease-morph), opacity .3s;
}
.brandmark img { height: 100%; width: auto; display: block; }
body.is-docked .brandmark {
  transform: translate(var(--bm-dock-x, 24px), var(--bm-dock-y, 18px)) scale(var(--bm-dock-scale, 0.35));
}
/* Before the script has measured anything, keep the logo hidden (one frame) */
body:not(.bm-measured) .brandmark { opacity: 0; }
.no-js .brandmark { opacity: 1; left: 50%; transform: translate(-50%, var(--bm-top)); }
/* No animation on the first frame (prevents a jump on load or refresh) */
body:not(.is-ready) .brandmark, body:not(.is-ready) .nav__menu, body:not(.is-ready) .nav { transition: none !important; }
body.menu-open .brandmark { opacity: 0; pointer-events: none; }

/* Hamburger */
.nav-toggle {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-content: center; gap: 5px;
  background: var(--color-surface); border: 1px solid var(--color-line);
  cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--color-ink); border-radius: 2px; transition: var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--color-surface);
  padding: calc(var(--nav-height) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.55s var(--ease), visibility 0s linear 0.55s;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; transition: transform 0.55s var(--ease), visibility 0s; }
.mobile-menu a {
  font-weight: 650; font-size: 1.6rem; letter-spacing: -0.03em;
  color: var(--color-ink); text-decoration: none;
  padding: 12px 0; border-bottom: 1px solid var(--color-line);
}
.mobile-menu .btn { margin-top: 24px; font-size: 1.05rem; letter-spacing: 0; border: 0; justify-content: center; color: #fff; }
.mobile-menu-meta { margin-top: 20px; color: var(--color-text-soft); font-size: 0.95rem; }
.mobile-menu-meta a { font-size: 1.2rem; border: 0; padding: 0; color: var(--color-red); }
body.menu-open .nav { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

@media (min-width: 1080px) {
  .nav__menu { display: flex; }
  .nav-toggle, .mobile-menu { display: none; }
}
@media (min-width: 1300px) { .nav-phone { display: inline-flex; } }

/* Reduced motion: no glide, just a quick fade between the two logo positions */
@media (prefers-reduced-motion: reduce) {
  .brandmark, .nav__menu { transition: opacity .2s !important; }
}

/* Live "Open now" status pill (filled in by main.js) */
.open-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.86rem; font-weight: 600;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--color-surface); border: 1px solid var(--color-line);
  color: var(--color-text); box-shadow: 0 1px 2px rgba(14,38,64,.04);
}
.open-pill i { width: 8px; height: 8px; border-radius: 50%; background: #8a939e; flex-shrink: 0; }
.open-pill.is-open i { background: #1fa463; }  /* solid green = open, gray = closed, never blinking */
.open-pill svg { width: 15px; height: 15px; color: #b7790a; }
.on-ink .open-pill, .hours-card .open-pill { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; box-shadow: none; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  border-radius: 12px;
  font-family: var(--font-body); font-weight: 650; font-size: 1.02rem;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); flex-shrink: 0; }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--red {
  background: var(--color-red); color: #fff;
  box-shadow: 0 10px 24px rgba(175, 35, 29, 0.32), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn--red:hover { background: var(--color-red-hot); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(175, 35, 29, 0.38); }

.btn--ghost-light { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 1.5px rgba(17,22,29,.22); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--color-ink); transform: translateY(-2px); }

.btn--blue { background: var(--color-blue); color: #fff; }
.btn--blue:hover { background: var(--color-blue-deep); transform: translateY(-2px); }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.95rem; border-radius: 10px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Text link with an animated underline */
.link-draw {
  position: relative; text-decoration: none; font-weight: 650;
  color: var(--color-blue-deep);
  display: inline-flex; align-items: center; gap: 6px;
}
.link-draw::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: currentColor; transform: scaleX(0.35); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.link-draw:hover::after { transform: scaleX(1); }
.link-draw svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .3s var(--ease); }
.link-draw:hover svg { transform: translateX(4px); }
.on-ink .link-draw { color: var(--color-amber); }

/* ---------- 6. HOME HERO: centered under the big logo ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: calc(var(--bm-top) + var(--bm-height) + clamp(40px, 5vw, 64px)) 0 0;
  background:
    radial-gradient(60% 55% at 50% 0%, #e3eefa 0%, rgba(227, 238, 250, 0) 100%),
    var(--color-surface);
}
.hero-center { max-width: 940px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-status { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.hero h1 { max-width: 16ch; }
.hero h1 .serif { display: block; }
.hero .lead { margin: 24px auto 0; max-width: 58ch; }
.hero .btn-row { margin-top: 34px; justify-content: center; }

/* Three ways to get your prescriptions: small inline chips */
.pickup-row {
  list-style: none; margin-top: 30px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
  font-size: 0.95rem; color: var(--color-text-soft);
}
.pickup-row li { display: inline-flex; align-items: center; gap: 8px; }
.pickup-row li strong { color: var(--color-ink); font-weight: 650; }
.pickup-row svg { width: 20px; height: 20px; color: var(--color-blue); flex-shrink: 0; }
.page-hero .pickup-row { justify-content: flex-start; }

/* Photo fan: three real photos rising from the bottom of the hero */
.hero-gallery {
  position: relative; z-index: 1;
  height: clamp(300px, 38vw, 480px);
  margin-top: clamp(48px, 6vw, 72px);
}
.hero-gallery figure {
  position: absolute; bottom: -40px;
  border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-float);
  background: var(--color-wall-2);
}
.hero-gallery img { width: 100%; height: 100%; object-fit: cover; }
.hero-gallery .g-left  { left: 3%;  width: 31%; height: 78%; transform: rotate(-4deg); transform-origin: bottom right; }
.hero-gallery .g-mid   { left: 50%; width: 42%; height: 100%; transform: translateX(-50%); z-index: 2; }
.hero-gallery .g-right { right: 3%; width: 31%; height: 78%; transform: rotate(4deg); transform-origin: bottom left; }
.hero-gallery figcaption {
  position: absolute; left: 16px; bottom: 56px; z-index: 2;
  font-size: 0.82rem; font-weight: 600; color: #fff;
  background: rgba(14,38,64,.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 6px 10px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-gallery figcaption svg { width: 14px; height: 14px; }

/* Floating proof cards over the photos */
.rating-float {
  position: absolute; left: calc(29% - 70px); top: 34px; z-index: 3;
  background: var(--color-surface); color: var(--color-text);
  border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; gap: 12px; text-align: left;
  animation: float 4.5s ease-in-out 1;
}
.rating-float .big { font-weight: 700; font-size: 2.1rem; line-height: 1; letter-spacing: -0.04em; color: var(--color-ink); }
.rating-float .stars { color: #b7790a; letter-spacing: 2px; font-size: 0.9rem; }
.rating-float small { display: block; font-size: 0.8rem; color: var(--color-text-soft); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.delivery-float {
  position: absolute; right: calc(29% - 60px); top: 110px; z-index: 3;
  background: var(--color-red); color: #fff; text-align: left;
  border-radius: 14px; padding: 12px 16px;
  font-weight: 600; font-size: 0.9rem; line-height: 1.25;
  box-shadow: 0 16px 36px rgba(175,35,29,.35);
  transform: rotate(3deg);
}
.delivery-float span { display: block; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; }

@media (max-width: 760px) {
  .hero-gallery { height: 300px; }
  .hero-gallery .g-left, .hero-gallery .g-right { display: none; }
  .hero-gallery .g-mid { width: 100%; }
  .rating-float { left: 4px; top: -18px; }
  .delivery-float { right: 4px; top: 150px; }
}

/* The WALL: giant red WELCOME, like the real one in the store */
.welcome-wall {
  background: var(--color-surface);
  padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 90px);
  position: relative;
  overflow: hidden;
}
.welcome-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 16.5vw, 16rem);
  line-height: 0.8;
  letter-spacing: -0.03em;
  color: var(--color-red);
  text-align: center;
  white-space: nowrap;
  user-select: none;
  /* Letters rise into place one by one (main.js adds .is-visible) */
}
.welcome-word span { display: inline-block; transform: translateY(40%); opacity: 0; transition: transform 1s var(--ease), opacity .8s var(--ease); }
.welcome-word.is-visible span { transform: none; opacity: 1; }
.welcome-caption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: clamp(18px, 3vw, 30px);
  padding-top: 18px; border-top: 1px solid var(--color-line);
  font-size: 0.95rem; color: var(--color-text-soft);
}
.welcome-caption strong { color: var(--color-ink); }

/* ---------- 7. Proof numbers (big numerals) ---------- */
.proof {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0; margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--color-line);
}
.proof-item {
  padding: 28px 18px 8px 0;
  border-bottom: 1px solid var(--color-line);
}
.proof-item:nth-child(odd) { border-right: 1px solid var(--color-line); }
.proof-item:nth-child(even) { padding-left: 18px; }
.proof-num {
  font-family: var(--font-display); font-weight: 750;
  font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -0.04em;
  color: var(--color-ink);
  display: flex; align-items: baseline; gap: 4px;
}
.proof-num sup { font-size: 0.45em; color: var(--color-red); top: -0.8em; position: relative; }
.proof-label { margin-top: 10px; font-size: 0.95rem; color: var(--color-text-soft); line-height: 1.4; }
@media (min-width: 860px) {
  .proof { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--color-line); }
  .proof-item { border-bottom: 0; border-right: 1px solid var(--color-line); padding: 34px 26px 26px; }
  .proof-item:nth-child(even) { padding-left: 26px; }
  .proof-item:first-child { padding-left: 0; }
  .proof-item:last-child { border-right: 0; }
}
.badge-line {
  margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: center;
  font-size: 0.92rem; color: var(--color-text-soft);
}
.badge-line span { display: inline-flex; align-items: center; gap: 8px; }
.badge-line svg { width: 18px; height: 18px; color: var(--color-blue); }

/* ---------- 8. "What brings you in today?" chooser ---------- */
.chooser { background: var(--color-surface); }
.chooser-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .chooser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .chooser-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

.choice {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 230px; padding: 28px;
  border-radius: var(--radius);
  background: var(--color-wall);
  border: 1px solid var(--color-line);
  text-decoration: none; color: var(--color-text);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .45s, color .45s, border-color .45s;
  isolation: isolate;
}
.choice::before {
  /* Color wash that sweeps up on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--color-ink);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.choice:hover::before, .choice:focus-visible::before { transform: translateY(0); }
.choice:hover, .choice:focus-visible { color: #fff; transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: transparent; }
.choice:hover h3, .choice:focus-visible h3 { color: #fff; }
.choice:hover p, .choice:focus-visible p { color: var(--color-text-on-ink-soft); }

.choice-icon {
  width: 84px; height: 84px; border-radius: 22px;
  display: grid; place-items: center;
  background: var(--color-blue-tint); color: var(--color-blue-deep);
  margin-bottom: auto;
  transition: background .45s, color .45s;
}
.choice-icon svg { width: 28px; height: 28px; }
.choice-icon .bicon { width: 64px; height: 64px; transition: transform .5s var(--ease); }
.choice:hover .choice-icon .bicon { transform: scale(1.08) rotate(-4deg); }
.choice:hover .choice-icon { background: var(--color-blue-tint); }
.choice h3 { margin-top: 30px; transition: color .45s; }
.choice p { margin-top: 8px; font-size: 0.98rem; color: var(--color-text-soft); transition: color .45s; }
.choice-arrow {
  position: absolute; top: 26px; right: 26px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--color-line);
  transition: transform .45s var(--ease), background .45s, border-color .45s;
}
.choice-arrow svg { width: 16px; height: 16px; }
.choice:hover .choice-arrow { transform: rotate(-45deg); background: var(--color-red); border-color: var(--color-red); color: #fff; }

/* The featured choice (transfer) is red from the start */
.choice--feature { background: var(--color-red); color: #fff; border-color: var(--color-red); }
.choice--feature h3 { color: #fff; }
.choice--feature p { color: rgba(255,255,255,.82); }
.choice--feature .choice-icon { background: #fff; }
.choice--feature .choice-arrow { border-color: rgba(255,255,255,.4); }

/* ---------- 9. Brand foundation: Big where it counts / Small where it matters ---------- */
.foundation-grid {
  display: grid; gap: 18px; grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 900px) { .foundation-grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
.foundation-card {
  border-radius: 24px; padding: clamp(30px, 4vw, 52px);
  position: relative; overflow: hidden;
}
.foundation-card h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.03em; }
.foundation-card > p { margin-top: 12px; }
.foundation-card ul { list-style: none; margin-top: 28px; display: grid; gap: 2px; }
.foundation-card li {
  display: grid; grid-template-columns: 26px 1fr; gap: 12px;
  padding: 14px 0; border-top: 1px solid var(--color-line);
  font-size: 1.02rem; line-height: 1.45;
}
.foundation-card li svg { width: 22px; height: 22px; margin-top: 1px; }
.foundation-card li strong { display: block; }
.foundation-card li span { color: var(--color-text-soft); font-size: 0.95rem; }

.foundation-card--big { background: var(--color-ink); color: var(--color-text-on-ink); }
.foundation-card--big h3 { color: #fff; }
.foundation-card--big .eyebrow { color: var(--color-amber); }
.foundation-card--big > p, .foundation-card--big li span { color: var(--color-text-on-ink-soft); }
.foundation-card--big li { border-color: var(--color-line-on-ink); }
.foundation-card--big li svg { color: var(--color-amber); }

.foundation-card--small { background: var(--color-surface); border: 1px solid var(--color-line); box-shadow: var(--shadow-soft); }
.foundation-card--small h3 .serif { color: var(--color-red); }
.foundation-card--small li svg { color: var(--color-red); }

/* Leaf mark watermark */
.watermark {
  position: absolute; right: -60px; bottom: -60px; width: 300px; opacity: 0.06; pointer-events: none;
}
.foundation-card--big .watermark { opacity: 0.08; }

/* ---------- 10. Switching steps (route line) ---------- */
.steps {
  list-style: none; counter-reset: step;
  display: grid; gap: 22px; grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.step {
  position: relative; padding: 32px 28px 30px;
  background: var(--color-surface); border-radius: var(--radius);
  border: 1px solid var(--color-line);
}
.step-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 4.6rem; line-height: 0.9; letter-spacing: -0.05em;
  color: var(--color-blue);
  display: block; margin-bottom: 18px;
}
.step:first-child .step-num { color: var(--color-red); }
.step p { margin-top: 10px; color: var(--color-text-soft); font-size: 1rem; }
.step-tag {
  display: inline-block; margin-top: 16px;
  font-size: 0.8rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  color: var(--color-blue-deep); background: var(--color-blue-tint);
  padding: 5px 10px; border-radius: 6px;
}
.route-line {
  display: none; position: absolute; left: 0; right: 0; top: 76px; height: 20px; z-index: 0;
  pointer-events: none;
}
@media (min-width: 900px) { .route-line { display: block; } .step { z-index: 1; } }
.route-line path { stroke: var(--color-red); stroke-width: 2; stroke-dasharray: 6 8; fill: none; opacity: .5; }

/* ---------- 11. Delivery band with ZIP checker ---------- */
.delivery-band { overflow: hidden; background: radial-gradient(70% 90% at 100% 0%, #24507e 0%, rgba(36,80,126,0) 70%), var(--color-ink); }
.delivery-grid { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: center; }
.delivery-grid > *, .hero-grid > *, .area-grid > *, .visit-grid > *, .page-hero-grid > *, .content-grid > * { min-width: 0; }
@media (min-width: 960px) { .delivery-grid { grid-template-columns: 1.1fr .9fr; gap: 80px; } }
.delivery-band h2 { max-width: 14ch; }
.delivery-band h2 em { font-style: normal; color: var(--color-amber); }

.zip-card {
  background: var(--color-ink); border: 1px solid var(--color-line-on-ink);
  border-radius: 22px; padding: clamp(26px, 3.5vw, 40px);
  box-shadow: 0 30px 60px rgba(0,0,0,.3);
}
.zip-card label { display: block; font-weight: 650; color: #fff; font-size: 1.1rem; }
.zip-card .hint { font-size: 0.92rem; margin-top: 4px; color: var(--color-text-on-ink-soft); }
.zip-form { display: flex; gap: 10px; margin-top: 18px; }
.zip-form input {
  flex: 1; min-width: 0; min-height: 58px; padding: 0 18px;
  border-radius: 12px; border: 1.5px solid #6c7d92;
  background: rgba(255,255,255,.04); color: #fff;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 650; letter-spacing: .12em;
}
.zip-form input::placeholder { color: rgba(255,255,255,.3); letter-spacing: .12em; }
.zip-form input:focus { outline: none; border-color: var(--color-amber); box-shadow: 0 0 0 4px var(--color-amber-soft); }
.zip-result {
  color: var(--color-text-on-ink-soft);
  margin-top: 18px; min-height: 60px;
  font-size: 1.02rem; line-height: 1.45; color: var(--color-text-on-ink-soft);
}
.zip-result.is-yes { color: #fff; }
.zip-result.is-yes strong { color: #6ee7a0; }
.zip-result.is-no strong { color: var(--color-amber); }
.zip-pop { animation: pop .5s var(--ease); }
@keyframes pop { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }

.no-catch { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.no-catch li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--color-text-on-ink-soft); }
.no-catch li strong { color: #fff; }
.no-catch svg { width: 22px; height: 22px; color: var(--color-amber); margin-top: 2px; }

/* ---------- 12. The store: photo wall ---------- */
.store-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 150px;
}
.store-grid figure { position: relative; border-radius: 16px; overflow: hidden; background: var(--color-wall-2); }
.store-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.store-grid figure:hover img { transform: scale(1.05); }
.store-grid figcaption {
  position: absolute; left: 10px; bottom: 10px; right: 10px;
  font-size: 0.78rem; font-weight: 600; color: #fff;
  background: rgba(14,38,64,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 6px 10px; border-radius: 8px; width: fit-content; max-width: calc(100% - 20px);
}
.store-grid .g-a { grid-column: span 2; grid-row: span 2; }
.store-grid .g-b, .store-grid .g-c { grid-row: span 1; }
.store-grid .g-d { grid-column: span 2; grid-row: span 2; }
.store-grid .g-e { grid-column: span 2; grid-row: span 1; }
@media (min-width: 900px) {
  .store-grid { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 16px; }
  .store-grid .g-a { grid-column: 1 / span 7; grid-row: 1 / span 4; }
  .store-grid .g-b { grid-column: 8 / span 5; grid-row: 1 / span 2; }
  .store-grid .g-c { grid-column: 8 / span 5; grid-row: 3 / span 2; }
  .store-grid .g-d { grid-column: 1 / span 5; grid-row: 5 / span 3; }
  .store-grid .g-e { grid-column: 6 / span 7; grid-row: 5 / span 3; }
  .store-grid figcaption { font-size: 0.85rem; left: 14px; bottom: 14px; }
}
.store-note {
  margin-top: 28px; display: grid; gap: 16px 40px; grid-template-columns: 1fr;
  color: var(--color-text-soft);
}
@media (min-width: 900px) { .store-note { grid-template-columns: 1fr 1fr; } }

/* ---------- 13. Reviews ---------- */
.reviews { background: var(--color-wall-2); overflow: hidden; }
.reviews-head { display: grid; gap: 30px; grid-template-columns: 1fr; align-items: end; margin-bottom: 48px; }
@media (min-width: 900px) { .reviews-head { grid-template-columns: 1.3fr .7fr; } }
.score-card {
  background: var(--color-ink); color: #fff; border-radius: 22px; padding: 28px 30px;
  display: flex; align-items: center; gap: 22px; justify-content: space-between;
}
.score-card .big { font-family: var(--font-display); font-size: 4.2rem; font-weight: 800; line-height: .9; letter-spacing: -.05em; }
.score-card .stars { color: #f4b63d; font-size: 1.15rem; letter-spacing: 3px; }
.score-card p { color: var(--color-text-on-ink-soft); font-size: .92rem; margin-top: 4px; }
.score-card a { color: var(--color-amber); font-weight: 650; font-size: .95rem; }

.review-wall { columns: 1; column-gap: 18px; }
@media (min-width: 700px) { .review-wall { columns: 2; } }
@media (min-width: 1080px) { .review-wall { columns: 3; } }
.review {
  break-inside: avoid; margin-bottom: 18px;
  background: var(--color-surface); border-radius: var(--radius);
  padding: 26px 26px 22px; border: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.review:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-card); }
.review .stars { color: #b7790a; letter-spacing: 2px; font-size: .9rem; }
.review blockquote { margin-top: 12px; font-size: 1.04rem; line-height: 1.55; color: var(--color-text); }
.review blockquote.pull { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.25; color: var(--color-ink); }
.review footer { margin-top: 16px; display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--color-text-soft); }
.review .avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: .9rem; color: #fff; background: var(--color-blue);
}
.review:nth-child(3n+2) .avatar { background: var(--color-red); }
.review:nth-child(3n) .avatar { background: var(--color-ink-3); }
.review footer strong { color: var(--color-ink); display: block; font-size: .95rem; }
.review--accent { background: var(--color-red); border-color: var(--color-red); }
.review--accent blockquote, .review--accent blockquote.pull, .review--accent footer strong { color: #fff; }
.review--accent .stars { color: #ffd479; }
.review--accent footer { color: #f2d9d8; }
.review--accent .avatar { background: rgba(255,255,255,.18) !important; }

/* ---------- 14. Service area ---------- */
.area-grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .area-grid { grid-template-columns: .95fr 1.05fr; gap: 72px; } }
.town-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.town-list a, .town-list span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px;
  background: var(--color-surface); border: 1px solid var(--color-line);
  font-weight: 600; font-size: .97rem; text-decoration: none; color: var(--color-ink);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.town-list a:hover { background: var(--color-ink); color: #fff; border-color: var(--color-ink); transform: translateY(-2px); }
.town-list small { color: var(--color-text-soft); font-weight: 500; font-size: .82rem; }
.town-list a:hover small { color: var(--color-text-on-ink-soft); }

/* Live Google map in a branded card */
.map-card {
  position: relative; border-radius: 24px; overflow: hidden;
  background: var(--color-wall-2); border: 1px solid var(--color-line);
  box-shadow: var(--shadow-card);
  aspect-ratio: 5 / 4; min-height: 360px;
}
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-info {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-card);
}
.map-info .bicon { width: 40px; height: 40px; }
.map-info-text { display: flex; align-items: center; gap: 12px; min-width: 0; }
.map-info strong { display: block; color: var(--color-ink); font-size: 1rem; }
.map-info span { color: var(--color-text-soft); font-size: .9rem; }
/* Phones: map on top, address bar underneath (never covers the pin, never too wide) */
@media (max-width: 700px) {
  .map-card { aspect-ratio: auto; min-height: 0; display: flex; flex-direction: column; }
  .map-card iframe { position: relative; inset: auto; height: 340px; }
  .map-info { position: static; border-radius: 0; box-shadow: none; background: var(--color-surface); padding: 16px; }
  .map-info .btn { width: 100%; justify-content: center; }
}

/* ---------- 15. FAQ ---------- */
.faq-wrap { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 80px; } .faq-wrap .section-head { position: sticky; top: 110px; align-self: start; } }
.faq-item { border-bottom: 1px solid var(--color-line); }
.faq-item:first-child { border-top: 1px solid var(--color-line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0;
  font-family: var(--font-display); font-weight: 650; font-size: clamp(1.12rem, 1.8vw, 1.3rem);
  line-height: 1.3; letter-spacing: -0.01em; color: var(--color-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--color-line);
  background:
    linear-gradient(var(--color-ink), var(--color-ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--color-ink), var(--color-ink)) center / 2px 12px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq-item[open] summary::after { transform: rotate(135deg); background-color: var(--color-red-tint); }
.faq-item summary:hover { color: var(--color-red); }
.faq-item .answer { padding: 0 0 26px; color: var(--color-text-soft); }
.faq-item .answer p + p { margin-top: 10px; }
.faq-item .answer a { color: var(--color-blue-deep); font-weight: 600; }

/* ---------- 16. Visit / final CTA ---------- */
.visit { background: var(--color-wall); }
.visit-grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .visit-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.visit h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.visit .btn-row { margin-top: 34px; }
.hours-card {
  background: var(--color-ink); color: #fff;
  border-radius: 22px; padding: 30px; box-shadow: var(--shadow-card);
}
.hours-card h3 { font-size: 1.1rem; font-weight: 650; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; letter-spacing: -0.01em; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 1rem; }
.hours-table td { padding: 9px 0; border-bottom: 1px solid var(--color-line-on-ink); color: var(--color-text-on-ink-soft); }
.hours-table td:last-child { text-align: right; color: #fff; font-weight: 550; font-variant-numeric: tabular-nums; }
.hours-table tr.is-today td { color: #fff; }
.hours-table tr.is-today td:first-child::after { content: "Today"; margin-left: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-ink); background: var(--color-amber); padding: 2px 7px; border-radius: 5px; }
.visit-address { margin-top: 22px; font-size: 1.02rem; color: var(--color-text-soft); }
.visit-address strong { color: var(--color-ink); display: block; font-size: 1.15rem; }
.prescriber-strip {
  margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--color-line);
  display: grid; gap: 14px 40px; grid-template-columns: 1fr;
  font-size: .95rem; color: var(--color-text-soft);
}
@media (min-width: 760px) { .prescriber-strip { grid-template-columns: auto 1fr 1fr 1fr; align-items: baseline; } }
.prescriber-strip b { display: block; color: var(--color-ink); font-weight: 650; }
.prescriber-strip .label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-red); }

/* ---------- 17. Footer ---------- */
.footer { background: var(--color-ink); color: var(--color-text-on-ink-soft); padding: 72px 0 110px; font-size: .95rem; }
@media (min-width: 900px) { .footer { padding-bottom: 36px; } }
.footer a { color: inherit; text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-logo { width: 200px; }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.footer h2 { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer-legal {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--color-line-on-ink);
  display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .84rem;
}
.footer-legal span:first-child { margin-right: auto; }

/* ---------- 18. Sticky mobile action dock ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
  display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px;
  padding: 6px; border-radius: 18px;
  background: rgba(17,22,29,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  transform: translateY(140%); visibility: hidden;
  transition: transform .5s var(--ease), visibility 0s linear .5s;
}
body.is-scrolled .dock { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
body.menu-open .dock { transform: translateY(140%); visibility: hidden; }
.dock a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 56px; border-radius: 13px;
  color: #fff; text-decoration: none; font-size: .8rem; font-weight: 650;
}
.dock a svg { width: 20px; height: 20px; }
.dock a.dock-red { background: var(--color-red); }
@media (min-width: 1080px) { .dock { display: none; } }

/* ---------- 19. Inner page hero + content ---------- */
.page-hero {
  padding: calc(var(--nav-height) + clamp(56px, 7vw, 96px)) 0 clamp(60px, 8vw, 96px);
  background:
    radial-gradient(55% 60% at 85% 0%, #e3eefa 0%, rgba(227, 238, 250, 0) 100%),
    var(--color-surface);
  border-bottom: 1px solid var(--color-line);
}
.page-hero-grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: end; position: relative; z-index: 2; }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: 1.25fr .75fr; gap: 64px; } }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 16ch; }
.page-hero .lead { margin-top: 22px; }
.page-hero .btn-row { margin-top: 30px; }

.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; margin-bottom: 26px; color: var(--color-text-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a { text-decoration: none; color: var(--color-text-soft); }
.breadcrumb a:hover { color: var(--color-ink); }
.breadcrumb [aria-current] { color: var(--color-ink); font-weight: 550; }

/* Quick facts card: short, citable answers (AI engines love these) */
.facts {
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: 20px; padding: 26px 26px 18px; box-shadow: var(--shadow-card);
}
.facts h2 { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--color-red); margin-bottom: 8px; }
.facts dl { display: grid; gap: 0; }
.facts dl div { display: grid; grid-template-columns: 7.2em 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--color-line); font-size: .95rem; }
.facts dt { color: var(--color-text-soft); }
.facts dd { color: var(--color-ink); font-weight: 600; }

/* Article-style content blocks */
.content-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .content-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 80px; } }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 64px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 36px; }
.prose p, .prose li { color: var(--color-text-soft); }
.prose p strong, .prose li strong { color: var(--color-ink); }
.prose .answer-first { font-size: 1.2rem; color: var(--color-text); line-height: 1.55; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 30px; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 12px; height: 12px; border-radius: 3px;
  background: var(--color-red); transform: rotate(45deg) scale(.7);
}
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 50px; counter-increment: n; min-height: 36px; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: -2px;
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 750; color: #fff; background: var(--color-ink);
}
.prose a { color: var(--color-blue-deep); font-weight: 600; }
.prose figure { border-radius: 18px; overflow: hidden; margin-top: 30px; box-shadow: var(--shadow-soft); }
.prose figure figcaption { font-size: .88rem; padding: 12px 16px; background: var(--color-surface); color: var(--color-text-soft); }

.callout {
  border-radius: 18px; padding: 24px 26px; margin-top: 30px;
  background: var(--color-surface); border: 1px solid var(--color-line); border-left: 5px solid var(--color-red);
}
.callout p { color: var(--color-text); }
.callout--blue { border-left-color: var(--color-blue); }

.table-wrap { overflow-x: auto; margin-top: 24px; border-radius: 16px; border: 1px solid var(--color-line); background: var(--color-surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 520px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--color-line); vertical-align: top; }
.table-wrap th { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-soft); background: var(--color-wall); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap td:first-child { font-weight: 650; color: var(--color-ink); }

/* Sidebar */
.aside { display: grid; gap: 18px; align-content: start; }
@media (min-width: 1000px) { .aside { position: sticky; top: 100px; } }
.aside-card { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-soft); }
.aside-card h3 { font-size: 1.25rem; }
.aside-card p { font-size: .96rem; color: var(--color-text-soft); margin-top: 8px; }
.aside-card .btn { width: 100%; justify-content: center; margin-top: 16px; }
.aside-card--ink { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.aside-card--ink h3 { color: #fff; }
.aside-card--ink p { color: var(--color-text-on-ink-soft); }
.aside-links { list-style: none; display: grid; gap: 4px; margin-top: 10px; }
.aside-links a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--color-line); text-decoration: none; font-weight: 600; color: var(--color-ink); font-size: .98rem; }
.aside-links a:hover { color: var(--color-red); }

/* Related pages row */
.related-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-grid .choice { min-height: 190px; }

/* ---------- 20. Transfer form ---------- */
.form-card {
  background: var(--color-surface); color: var(--color-text);
  border-radius: 24px; padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-float);
  position: relative;
}
.form-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--color-ink); }
.form-card > p { margin-top: 8px; color: var(--color-text-soft); font-size: 1rem; }
.form-card form { margin-top: 24px; display: grid; gap: 18px; }
.field label, .field legend { display: block; font-weight: 650; font-size: .98rem; margin-bottom: 8px; color: var(--color-ink); }
.field .opt { font-weight: 500; color: var(--color-text-soft); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"] {
  width: 100%; min-height: 56px; padding: 0 16px;
  border-radius: 12px; border: 1.5px solid #7b8797;
  background: var(--color-wall); font: inherit; font-size: 1.08rem; color: var(--color-ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus { outline: none; border-color: var(--color-blue); background: #fff; box-shadow: 0 0 0 4px rgba(54,113,170,.16); }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
fieldset.field { border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px;
  border-radius: 10px; border: 1.5px solid #7b8797;
  font-weight: 600; font-size: .95rem; cursor: pointer; background: var(--color-wall);
  transition: all .2s;
}
.chips input:checked + span { background: var(--color-ink); color: #fff; border-color: var(--color-ink); }
.chips input:focus-visible + span { outline: 3px solid var(--color-blue-deep); outline-offset: 2px; }
.form-reassure {
  display: grid; grid-template-columns: 26px 1fr; gap: 12px;
  background: var(--color-blue-tint); border-radius: 12px; padding: 14px 16px;
  font-size: .93rem; color: var(--color-blue-deep); line-height: 1.45;
}
.form-reassure svg { width: 22px; height: 22px; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: .95rem; color: var(--color-text-soft); cursor: pointer; }
.consent input { width: 22px; height: 22px; accent-color: var(--color-red); margin-top: 2px; }
.form-submit { width: 100%; justify-content: center; min-height: 60px; font-size: 1.1rem; }
.form-fineprint { font-size: .82rem; color: var(--color-text-soft); line-height: 1.5; }
.form-or { text-align: center; font-size: .95rem; color: var(--color-text-soft); }
.form-or a { color: var(--color-red); font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.hidden-field { position: absolute; left: -9999px; }

/* ---------- 21. Legal / utility pages ---------- */
.legal { padding: calc(var(--nav-height) + 70px) 0 90px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal h2 { font-size: 1.5rem; margin-top: 44px; }
.legal p, .legal li { margin-top: 12px; color: var(--color-text-soft); }
.legal ul { padding-left: 22px; }
.legal .updated { font-size: .92rem; margin-top: 10px; }
.legal a { color: var(--color-blue-deep); }
.legal-note { margin-top: 30px; padding: 16px 20px; border-radius: 12px; background: var(--color-red-tint); color: var(--color-red); font-weight: 600; font-size: .95rem; }

/* ---------- 22. Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
/* No-JS safety: if scripts fail, show everything */
.no-js .reveal { opacity: 1; transform: none; }
.no-js .welcome-word span { opacity: 1; transform: none; }

.hover-lift { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.hover-lift:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }

/* ---------- 23. Reduced motion: respect the user's setting ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .welcome-word span { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- 24. Print: hours + address only, no chrome ---------- */
@media print {
  .nav, .dock, .mobile-menu, .brandmark { display: none !important; }
  .on-ink { background: #fff !important; color: #000 !important; }
  .on-ink * { color: #000 !important; }
}



/* Transfer page: on phones, get the form on screen sooner */
@media (max-width: 959px) { .hero-review { display: none; } }


/* ---------- 25. Brand icons (custom illustrated set, soft duotone) ----------
   Rules: navy outline + blue fill + one red accent. Minimum size 28px.
   On dark backgrounds they ALWAYS sit on a pale tint tile (the navy
   outlines disappear on navy otherwise). */
.bicon { display: block; width: 48px; height: 48px; flex-shrink: 0; }

/* Big where it counts / Small where it matters lists */
.foundation-card li { grid-template-columns: 52px 1fr; gap: 16px; align-items: center; }
.foundation-card li .bicon {
  width: 52px; height: 52px; padding: 6px;
  border-radius: 14px; background: var(--color-blue-tint);
}
.foundation-card--small li .bicon { background: var(--color-wall); }

/* Hero pickup chips */
.pickup-row .bicon { width: 34px; height: 34px; }
.page-hero .pickup-row { gap: 14px 26px; }

/* Trust badges under the stats */
.badge-line .bicon { width: 30px; height: 30px; }
.badge-line span { gap: 10px; }

/* ---------- 26. Accessibility helpers ---------- */
.table-wrap:focus-visible { outline-offset: 2px; }
.form-required-note { font-size: .92rem; color: var(--color-text-soft); margin-top: -8px; }
/* Windows High Contrast / forced colors: keep focus and buttons visible */
@media (forced-colors: active) {
  .btn, .choice, .zip-form input, .field input { border: 1px solid CanvasText; }
  :focus-visible { outline: 3px solid Highlight; }
}

/* Phones: hero buttons stack at one even, full width */
@media (max-width: 560px) {
  .hero .btn-row { width: 100%; flex-direction: column; }
  .hero .btn-row .btn { width: 100%; justify-content: center; }
}

/* ---------- 27. Blog (tips and news) ----------
   Index cards, the date line on a post, the room-by-room checklist
   cards, and a 4-up related row. Reuses the existing tokens only. */

/* Date and read time line */
.post-meta { font-size: .92rem; color: var(--color-text-soft); font-weight: 550; }
.page-hero .post-meta { margin-top: 18px; }

/* Blog index: list of post cards */
.post-list { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
.post-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover, .post-card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.post-card picture { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-wall); }
.post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover img { transform: scale(1.04); }
.post-card-body { padding: 24px 26px 28px; display: grid; gap: 10px; align-content: center; }
/* While there is only one post, show it as one wide card: photo left, text right */
@media (min-width: 860px) {
  .post-list:has(> .post-card:only-child) { grid-template-columns: 1fr; }
  .post-card:only-child { flex-direction: row; }
  .post-card:only-child picture { flex: 0 0 48%; aspect-ratio: auto; min-height: 340px; }
  .post-card:only-child .post-card-body { padding: 36px 40px; }
}
.post-card h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.15; }
.post-card-link { color: var(--color-ink); text-decoration: none; }
/* The whole card is clickable, but only the title is a real link */
.post-card-link::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.post-card-link:focus-visible { outline: none; }
.post-card:focus-within { outline: 3px solid var(--color-blue-deep); outline-offset: 3px; }
.post-card-body > p:not(.post-meta) { color: var(--color-text-soft); }
.post-card-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--color-red); margin-top: 4px; }
.post-card-more svg { width: 18px; height: 18px; transition: transform var(--transition); }
.post-card:hover .post-card-more svg { transform: translateX(4px); }

/* Room-by-room checklist cards inside a post */
.room-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 26px; }
@media (min-width: 700px) { .room-grid { grid-template-columns: repeat(2, 1fr); } }
.room-card {
  background: var(--color-surface); border-radius: 18px; padding: 22px 22px 20px;
  border: 1px solid var(--color-line); border-top: 4px solid var(--color-blue);
  box-shadow: var(--shadow-soft); transition: transform var(--transition), box-shadow var(--transition);
}
.room-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.prose .room-card h3 { margin-top: 0; font-size: 1.12rem; }
.prose .room-card ul { margin-top: 12px; gap: 8px; }
.prose .room-card li { font-size: .98rem; }
.prose .room-card ul li::before { background: var(--color-blue); }

/* Sources line at the end of a post */
.post-sources { font-size: .92rem; }

/* Four related cards in one row on wide screens */
@media (min-width: 760px) { .related-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .related-grid--4 { grid-template-columns: repeat(4, 1fr); } }
