/* Sorrel Nutrition (sample site)
   Paper is warm linen, ink is a green-black. One accent: beet #7E2F45.
   Beet's job: the booking action and the choices a visitor has picked (Book buttons, chosen chips,
   the chosen day). Nothing else is beet.
   Type: Newsreader for headings, Public Sans for everything else. One radius (18px), pills at 999px. */

@font-face {
  font-family: "Newsreader";
  src: url("/demos/health/fonts/Newsreader.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/demos/health/fonts/PublicSans.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
/* metric-matched fallbacks so the swap doesn't shove the layout around */
@font-face {
  font-family: "Newsreader fallback";
  src: local("Georgia");
  size-adjust: 96%;
  ascent-override: 98%;
  descent-override: 26%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Public Sans fallback";
  src: local("Arial");
  size-adjust: 101%;
  ascent-override: 94%;
  descent-override: 23%;
  line-gap-override: 0%;
}

:root {
  --paper: #f6f2eb;
  --panel: #ede7dc;
  --ink: #1f2420;
  --ink-2: #4e554f;
  --line: rgba(31, 36, 32, 0.14);
  --line-2: rgba(31, 36, 32, 0.24);
  --deep: #1e2621;
  --bone: #f3eee5;
  --bone-2: rgba(243, 238, 229, 0.76);
  --bone-line: rgba(243, 238, 229, 0.16);
  --beet: #7e2f45;
  --beet-hover: #66243a;
  --beet-wash: rgba(126, 47, 69, 0.07);

  --serif: "Newsreader", "Newsreader fallback", Georgia, serif;
  --sans: "Public Sans", "Public Sans fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 56px);
  --sec: clamp(76px, 9vw, 132px);
  --r: 18px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --head: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  font-synthesis: none;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 430;
  font-optical-sizing: auto;
  letter-spacing: -0.018em;
  line-height: 1.08;
  text-wrap: balance;
  text-rendering: optimizeLegibility;
}
h1 { font-size: clamp(2.125rem, 1.35rem + 2.65vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.55vw, 2.6rem); line-height: 1.1; }
h3 { font-size: clamp(1.3rem, 1.15rem + 0.4vw, 1.5rem); letter-spacing: -0.01em; line-height: 1.2; }
.tnum { font-variant-numeric: tabular-nums; }
a[href^="tel:"], .tnum { white-space: nowrap; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bone); padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); }
.lede { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--ink-2); }
.small { font-size: 0.9375rem; line-height: 1.55; }

/* links in text */
.link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-skip-ink: auto;
  transition: text-decoration-color 0.25s var(--ease);
}
.link:hover { text-decoration-color: currentColor; }
.arrow::after { content: "\2192"; display: inline-block; margin-left: 0.35em; transition: transform 0.25s var(--ease); }
.arrow:hover::after { transform: translateX(3px); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 1rem/1 var(--sans); letter-spacing: 0; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-book { background: var(--beet); color: var(--bone); }
.btn-book:hover { background: var(--beet-hover); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-bone { background: var(--bone); color: var(--ink); }
.btn-bone:hover { background: #fff8ee; }

.tag {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font: 500 0.8125rem/1 var(--sans); color: var(--ink-2); letter-spacing: 0;
}

/* ------------------------------------------------------------------ header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  pointer-events: none;
}
.top-in {
  max-width: var(--max); margin-inline: auto; padding: 14px var(--gutter) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.top a, .top button { pointer-events: auto; }
.glass {
  background: rgba(246, 242, 235, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(31, 36, 32, 0.06);
}
.mark {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 16px 0 12px; margin-left: -12px; border-radius: 999px;
  text-decoration: none; color: var(--ink);
  border: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.mark svg { width: 22px; height: 22px; flex: none; }
.mark-name { font-family: var(--serif); font-size: 1.375rem; font-weight: 480; letter-spacing: -0.015em; line-height: 1; }
.mark-name span { color: var(--ink-2); font-weight: 400; }
.is-scrolled .mark {
  background: rgba(246, 242, 235, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(31, 36, 32, 0.06);
}
.pill {
  display: flex; align-items: center; gap: 4px;
  padding: 5px 5px 5px 10px; border-radius: 999px;
}
.pill a { text-decoration: none; }
.pill .nl {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink);
  transition: background-color 0.25s var(--ease);
}
.pill .nl:hover { background: rgba(31, 36, 32, 0.06); }
.pill .nl[aria-current="page"] { background: rgba(31, 36, 32, 0.07); }
.pill .tel { font-variant-numeric: tabular-nums; padding-left: 14px; margin-left: 4px; border-left: 1px solid var(--line); border-radius: 0 999px 999px 0; }
.pill .btn { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; margin-left: 4px; }
.menu-btn {
  display: none; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 999px;
  font: 600 0.9375rem/1 var(--sans); color: var(--ink); cursor: pointer;
}
.menu-btn svg { width: 18px; height: 18px; }

/* phone menu: a designed screen, not a dropdown */
.sheet {
  position: fixed; inset: 0; z-index: 60;
  background: var(--paper);
  display: flex; flex-direction: column;
  padding: 14px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.sheet[hidden] { display: none; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; }
.sheet nav { margin-top: 40px; display: grid; }
.sheet nav a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 2rem; line-height: 1.1; letter-spacing: -0.015em; text-decoration: none;
}
.sheet nav a small { font: 500 0.875rem/1 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; min-width: 1.6em; }
.sheet-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.sheet-foot .btn { width: 100%; }
.sheet-foot p { color: var(--ink-2); font-size: 0.9375rem; }
html.js .sheet:not([hidden]) nav a { animation: rise 0.6s var(--ease) both; }
html.js .sheet:not([hidden]) nav a:nth-child(2) { animation-delay: 0.05s; }
html.js .sheet:not([hidden]) nav a:nth-child(3) { animation-delay: 0.1s; }
html.js .sheet:not([hidden]) nav a:nth-child(4) { animation-delay: 0.15s; }
html.js .sheet:not([hidden]) nav a:nth-child(5) { animation-delay: 0.2s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* phone bottom bar */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(246, 242, 235, 0.86);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  border-top: 1px solid var(--line);
  transition: transform 0.35s var(--ease);
}
.dock .btn { min-height: 52px; padding: 0 16px; }
.dock .call { flex: 1.7; background: var(--ink); color: var(--bone); }
.dock .btn-book { flex: 1; }
.dock.is-away { transform: translateY(110%); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; }
.hero-in {
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  min-height: clamp(640px, 94svh, 900px);
  display: flex; align-items: center;
}
.hero-text { width: 49%; padding: 120px 0 72px; }
.hero h1 { max-width: 11em; }
.hero .lede { margin-top: 24px; max-width: 40ch; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero-note { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 0.9375rem; color: var(--ink-2); max-width: 40ch; }
.hero-note b { color: var(--ink); font-weight: 600; }
.hero-photo {
  position: absolute; top: 0; right: 0; bottom: 0; margin: 0;
  left: calc(max(0px, (100% - var(--max)) / 2) + var(--gutter) + (min(100%, var(--max)) - 2 * var(--gutter)) * 0.555);
  border-bottom-left-radius: 32px; overflow: hidden; background: var(--panel);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 40%; }

/* facts row */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 26px 24px 28px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts h3, .fact-k { font: 600 0.875rem/1.3 var(--sans); letter-spacing: 0; color: var(--ink); margin-bottom: 6px; }
.facts p { color: var(--ink-2); font-size: 0.9875rem; line-height: 1.5; }

/* section heads */
.head { display: grid; grid-template-columns: 5fr 7fr; gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.head p { color: var(--ink-2); max-width: 52ch; }
.head-single { max-width: 720px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.head-single p { margin-top: 16px; color: var(--ink-2); max-width: 56ch; }

/* what we help with */
.help { display: grid; grid-template-columns: 5fr 7fr; gap: 48px clamp(32px, 6vw, 96px); align-items: start; }
.help-side { position: sticky; top: 112px; }
.help-side p { margin-top: 18px; color: var(--ink-2); max-width: 40ch; }
.help-side .link { display: inline-block; margin-top: 22px; font-weight: 600; }
.help-side figure { margin: 36px 0 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--panel); }
.help-side figure img { width: 100%; height: 100%; object-fit: cover; }
.help-list li { border-top: 1px solid var(--line); }
.help-list li:last-child { border-bottom: 1px solid var(--line); }
.help-list a {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center;
  padding: 24px 4px 24px 0; text-decoration: none;
}
.help-list h3 { font-size: clamp(1.25rem, 1.12rem + 0.4vw, 1.4375rem); }
.help-list p { grid-column: 1; color: var(--ink-2); font-size: 0.98rem; max-width: 52ch; }
.help-list .go {
  grid-column: 2; grid-row: 1 / span 2;
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-2);
  display: grid; place-items: center; transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.help-list .go svg { width: 16px; height: 16px; }
.help-list a:hover .go { border-color: var(--ink); background: rgba(31, 36, 32, 0.05); }

/* program cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: rgba(255, 255, 255, 0.28); }
.card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); }
.card figure img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-meta { font-size: 0.9375rem; color: var(--ink-2); margin-top: 6px; }
.card ul { margin-top: 18px; display: grid; gap: 8px; font-size: 0.97rem; }
.card li, .incl li { position: relative; padding-left: 20px; }
.card li::before, .incl li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 8px; height: 1px; background: var(--ink); }
.price { margin-top: auto; padding-top: 22px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-n { font-family: var(--serif); font-size: 1.75rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums lining-nums; }
.price-n small { font: 400 0.9375rem/1 var(--sans); color: var(--ink-2); margin-left: 6px; }
.card .book-link { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--beet); font-weight: 600; text-decoration: none; display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.card .book-link:hover { color: var(--beet-hover); }
.after-cards { margin-top: 28px; color: var(--ink-2); }

/* insurance band */
.band { background: var(--panel); }
.ins { display: grid; grid-template-columns: 5fr 7fr; gap: 48px clamp(32px, 6vw, 96px); }
.ins-lead p { margin-top: 18px; color: var(--ink-2); max-width: 42ch; }
.ins-lead .btn { margin-top: 32px; }
.ins-list li { padding: 22px 0; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: 11rem 1fr; gap: 6px 28px; }
.ins-list li:last-child { border-bottom: 1px solid var(--line-2); }
.ins-list h3 { font: 600 1rem/1.4 var(--sans); letter-spacing: 0; }
.ins-list p { color: var(--ink-2); }

/* how visits work */
.visits { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.visit figure { margin: 0 0 22px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel); }
.visit figure img { width: 100%; height: 100%; object-fit: cover; }
.visit p { margin-top: 10px; color: var(--ink-2); max-width: 40ch; }
.first { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 5fr 7fr; gap: 24px clamp(32px, 6vw, 96px); padding-top: 32px; border-top: 1px solid var(--line); }
.first p { color: var(--ink-2); max-width: 56ch; }
.first p + p { margin-top: 14px; }

/* the dietitian */
.nina { display: grid; grid-template-columns: 5fr 7fr; gap: 48px clamp(32px, 6vw, 96px); align-items: center; }
.nina figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--panel); }
.nina figure img { width: 100%; height: 100%; object-fit: cover; }
.who { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px; color: var(--ink-2); font-size: 0.9375rem; }
.nina-text p { margin-top: 18px; max-width: 54ch; }
.nina-text p.muted { color: var(--ink-2); }
.creds { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.creds li { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.creds li b { display: block; font-weight: 600; }
.creds li span { color: var(--ink-2); }
.nina-text .link { display: inline-block; margin-top: 26px; font-weight: 600; }

/* reviews: the one deep band */
.deep { background: var(--deep); color: var(--bone); }
.deep .muted, .deep p { color: var(--bone-2); }
.rev-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.rating { display: flex; align-items: center; gap: 12px; font-size: 0.9875rem; color: var(--bone-2); }
.rating b { color: var(--bone); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; fill: var(--bone); }
.revs { display: grid; grid-template-columns: 6fr 6fr; gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.rev-left .rating { margin-top: 16px; }
.rev-feature { margin: clamp(36px, 4vw, 56px) 0 0; }
.rev-feature blockquote { margin: 0; }
.rev-feature p {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.15rem); line-height: 1.24;
  letter-spacing: -0.012em; color: var(--bone); text-indent: -0.42em; text-wrap: pretty;
}
.rev-by { margin-top: 22px; font-size: 0.9375rem; color: var(--bone-2); }
.rev-by b { color: var(--bone); font-weight: 600; }
.rev-list li { padding: 24px 0; border-top: 1px solid var(--bone-line); }
.rev-list li:first-child { border-top: 0; padding-top: 0; }
.rev-list blockquote { margin: 0; }
.rev-list p { color: var(--bone); font-size: 1.0625rem; line-height: 1.55; }
.rev-list .rev-by { margin-top: 10px; }

/* booking */
.book { display: grid; grid-template-columns: 7fr 5fr; gap: 48px clamp(32px, 6vw, 96px); align-items: start; }
.book-form { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); background: rgba(255, 255, 255, 0.3); }
.book-form fieldset { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.book-form legend, .field label { display: block; font-weight: 600; font-size: 0.9875rem; margin-bottom: 12px; padding: 0; }
.legend-note { font-weight: 400; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.9625rem; line-height: 1.2; color: var(--ink);
  background: var(--paper); text-align: center;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--beet); border-color: var(--beet); color: var(--bone); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.chip input:disabled + span { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.days .chip span { flex-direction: column; min-width: 76px; min-height: 58px; padding: 6px 12px; gap: 2px; }
.days .chip b { font-weight: 600; font-size: 0.9375rem; }
.days .chip i { font-style: normal; font-size: 0.8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.days .chip input:checked + span i { color: var(--bone-2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 18px; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.4 var(--sans);
  transition: border-color 0.2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(31, 36, 32, 0.1); }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input[aria-invalid="true"] { border-color: var(--beet); }
.err { color: var(--beet); font-size: 0.9rem; margin-top: 6px; }
.send { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.send p { color: var(--ink-2); font-size: 0.9375rem; max-width: 34ch; }
.done { padding: 8px 0; }
.done h3 { margin-bottom: 12px; }
.done p { color: var(--ink-2); max-width: 46ch; }
.done p + p { margin-top: 10px; }

.book-aside > div { padding: 22px 0; border-top: 1px solid var(--line); }
.book-aside > div:first-child { border-top: 0; padding-top: 0; }
.book-aside h3 { font: 600 1rem/1.4 var(--sans); letter-spacing: 0; margin-bottom: 8px; }
.book-aside p { color: var(--ink-2); }
.big-tel { display: inline-block; font-family: var(--serif); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); letter-spacing: -0.01em; text-decoration: none; font-variant-numeric: tabular-nums lining-nums; line-height: 1.15; }
.big-tel:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.maps { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.maps a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.maps a:hover { border-color: var(--ink); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hours dt { color: var(--ink); }
.hours dd { margin: 0; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 48px 40px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px 48px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot nav a { text-decoration: none; display: inline-flex; min-height: 40px; align-items: center; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.foot-info { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px 28px; color: var(--ink-2); font-size: 0.9375rem; }
.foot-info a { text-decoration: none; }
.credit { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--ink-2); }
.credit a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 0.2em; }
.credit a:hover { text-decoration-color: currentColor; }

/* ------------------------------------------------------------------ inner pages */
.page-head { padding-top: calc(var(--head) + clamp(56px, 8vw, 110px)); padding-bottom: clamp(48px, 6vw, 80px); }
.page-head .lede { margin-top: 22px; max-width: 48ch; }
.page-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 48px clamp(32px, 6vw, 96px); align-items: end; }
.prices { border-top: 1px solid var(--line-2); }
.prices li { display: grid; grid-template-columns: 1fr auto auto; gap: 4px 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.prices .p-name { font-weight: 600; }
.prices .p-len { color: var(--ink-2); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.prices .p-amt { font-family: var(--serif); font-size: 1.375rem; font-variant-numeric: tabular-nums lining-nums; min-width: 3.4em; text-align: right; }
.prices-note { margin-top: 14px; color: var(--ink-2); font-size: 0.9375rem; }

.prog { display: grid; grid-template-columns: 5fr 7fr; gap: 36px clamp(32px, 6vw, 96px); padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); align-items: start; }
.prog:first-of-type { border-top: 0; padding-top: 0; }
.prog figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel); position: sticky; top: 108px; }
.prog figure img { width: 100%; height: 100%; object-fit: cover; }
.prog .for { margin-top: 12px; color: var(--ink-2); max-width: 52ch; }
.prog-facts { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.incl { margin-top: 26px; display: grid; gap: 10px; max-width: 56ch; }
.incl-h { margin-top: 28px; font-weight: 600; }
.incl-h + .incl { margin-top: 12px; }
.prog-buy { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.prog-buy .price-n { font-size: 2rem; }

.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-family: var(--serif); font-size: clamp(1.2rem, 1.1rem + 0.35vw, 1.375rem); letter-spacing: -0.01em; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.4rem; line-height: 1; color: var(--ink-2); flex: none; width: 24px; text-align: center; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 64ch; }

.close { display: grid; grid-template-columns: 7fr 5fr; gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
.close p { margin-top: 14px; color: var(--ink-2); max-width: 46ch; }
.close-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: flex-end; }

.about-head { padding-top: calc(var(--head) + clamp(40px, 6vw, 80px)); }
.about-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px clamp(32px, 6vw, 96px); align-items: center; }
.about-grid figure { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--panel); }
.about-grid figure img { width: 100%; height: 100%; object-fit: cover; }
.about-grid .story p { margin-top: 18px; max-width: 54ch; }
.about-grid .story p:first-of-type { margin-top: 26px; }
.ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 6vw, 96px); }
.ways > div { padding: 28px 0 32px; border-top: 1px solid var(--line); }
.ways p { margin-top: 10px; color: var(--ink-2); max-width: 46ch; }
.office { display: grid; grid-template-columns: 7fr 5fr; gap: 40px clamp(32px, 6vw, 96px); align-items: center; }
.office-photos { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(12px, 1.6vw, 20px); align-items: end; }
.office-photos figure { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--panel); }
.office-photos figure:first-child { aspect-ratio: 4 / 3; }
.office-photos figure:last-child { aspect-ratio: 3 / 4; }
.office-photos img { width: 100%; height: 100%; object-fit: cover; }
.office-text p { margin-top: 16px; color: var(--ink-2); max-width: 44ch; }
.office-text ul { margin-top: 22px; border-top: 1px solid var(--line); }
.office-text li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.9875rem; }

/* reveals: once, below the fold only, and only when JS is on */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal]:not(.in) { opacity: 0; transform: translateY(24px); }
  html.js [data-reveal] { transition: opacity 1s var(--ease), transform 1s var(--ease); }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1099px) {
  .pill .nl.opt-nl { display: none; }
}
@media (max-width: 999px) {
  :root { --head: 68px; }
  .pill { display: none; }
  .menu-btn { display: inline-flex; }
  .dock { display: flex; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

  .hero-in { min-height: 0; display: block; }
  .hero-text { width: auto; padding: calc(var(--head) + 40px) 0 32px; }
  .hero h1 { max-width: 15ch; }
  .hero .lede { max-width: 52ch; }
  .hero-photo { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin: 0 var(--gutter); border-radius: var(--r); aspect-ratio: 4 / 3; max-width: calc(var(--max) - 2 * var(--gutter)); }
  .facts { border-top: 0; margin-top: 8px; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 20px 20px 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .facts li:first-child { padding-left: 0; }

  .head, .help, .ins, .nina, .book, .first, .page-grid, .prog, .close, .about-grid, .office { grid-template-columns: 1fr; }
  .help-side { position: static; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .cards .card:last-child figure { aspect-ratio: auto; height: 100%; }
  .visits { grid-template-columns: 1fr 1fr; }
  .visits .visit:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 2.4vw, 32px); align-items: start; }
  .visits .visit:last-child figure { margin-bottom: 0; }
  .nina figure { max-width: 520px; }
  .revs { grid-template-columns: 1fr; }
  .prog figure { position: static; }
  .close-actions { justify-content: flex-start; }
  .about-grid figure { max-width: 520px; order: -1; }
  .office-photos { order: -1; }
}
@media (max-width: 699px) {
  .hero-photo { aspect-ratio: 4 / 5; }
  .facts ul { grid-template-columns: 1fr; }
  .facts li, .facts li:nth-child(2n) { padding: 16px 0 18px; border-left: 0; }
  .facts li:first-child { border-top: 0; }
  .cards, .visits { grid-template-columns: 1fr; }
  .cards .card:last-child, .visits .visit:last-child { display: flex; flex-direction: column; grid-column: auto; }
  .cards .card:last-child figure { aspect-ratio: 4 / 3; height: auto; }
  .visits .visit:last-child figure { margin-bottom: 22px; }
  .ins-list li { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr; }
  .prices li { grid-template-columns: 1fr auto; }
  .prices .p-len { grid-column: 1; grid-row: 2; }
  .prices .p-amt { grid-row: 1 / span 2; align-self: center; }
  .prog-buy .btn, .send .btn { width: 100%; }
  .faq details p { padding-right: 0; }
  .mark-name { font-size: 1.25rem; }
  .rev-feature p { text-indent: 0; }
  .sheet nav a { font-size: 1.75rem; }
  .office-photos { grid-template-columns: 1fr; }
  .office-photos figure:last-child { display: none; }
}
@media (max-width: 360px) {
  .mark-name span { display: none; }
  .hero-actions .btn { width: 100%; }
}
