/* Riverline — Concept A for Hamley House Medical.
   Type: Newsreader (display, optical sizes, a warm italic) over Atkinson Hyperlegible Next
   (body and interface; drawn for low-vision readers, which suits a practice whose patients
   run from newborns to the very old). Colour: the logo's four teals and blush, plus a deep
   river ink for the dark grounds and a warm paper. */

:root {
  --ink: #10302c;
  --ink-2: #33504c;
  --river: #0b3f3a;
  --teal: #157970;
  --sage: #599d9c;
  --aqua: #a9d0d3;
  --blush: #e9c9c5;
  --blush-2: #f4e3df;
  --paper: #f7f2ee;
  --white: #fffdfb;
  --line: rgba(16, 48, 44, .16);
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
  --gut: clamp(20px, 4.2vw, 120px);
  --max: 1840px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 clamp(17px, .35vw + 15.5px, 21px)/1.6 var(--body);
  font-feature-settings: "kern";
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 50; }
.skip:focus { top: 12px; }

/* ── The bar: the logo, four places, and the two doors ─────────────────────────────── */
.bar {
  position: sticky; top: 0; z-index: 30;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 10px var(--gut);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar__logo img { height: clamp(44px, 3.4vw, 76px); width: auto; display: block; }
.bar nav { justify-self: center; display: flex; gap: clamp(18px, 2.2vw, 44px); }
.bar nav a { text-decoration: none; font-size: clamp(.9rem, .5vw + .4rem, 1.3rem); letter-spacing: .02em; padding: 8px 0; border-bottom: 1px solid transparent; }
.bar nav a:hover, .bar nav a[aria-current] { border-bottom-color: var(--teal); }
.doors { display: flex; align-items: center; gap: 10px; }
.status { font-size: clamp(.8rem, .4vw + .4rem, 1.1rem); color: var(--ink-2); display: flex; align-items: center; gap: 8px; margin-right: 8px; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 3px rgba(89, 157, 156, .22); }
.status[data-open="1"]::before { background: #2f9e6e; box-shadow: 0 0 0 3px rgba(47, 158, 110, .22); }
.door {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap;
  font-weight: 700; font-size: clamp(.9rem, .45vw + .45rem, 1.25rem); padding: clamp(11px, .6vw, 18px) clamp(16px, 1vw, 28px); border: 1.5px solid var(--ink); border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.door--book { background: var(--teal); border-color: var(--teal); color: var(--white); }
.door--book:hover { background: var(--river); border-color: var(--river); }
.door--call:hover { background: var(--ink); color: var(--white); }
.door svg { width: 16px; height: 16px; flex: none; }
.menu-btn { display: none; font: 700 .9rem/1 var(--body); background: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 10px 16px; color: var(--ink); cursor: pointer; }
.menu-btn[aria-expanded="true"] { background: var(--ink); color: var(--white); }

/* ── Opening: the name of the practice is the four people who own it ──────────────── */
/* One sentence, then the four of them, filling the rest of the first screen. Nothing else. */
.open { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: calc(100svh - var(--bar-h, 84px)); }
.open__head { padding: clamp(24px, 3.4vw, 80px) var(--gut) clamp(20px, 2.6vw, 60px); }
.kicker { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin: 0 0 18px; }
.open h1 {
  font: 360 clamp(46px, 6.4vw, 240px)/.92 var(--display);
  letter-spacing: -.03em; margin: 0; max-width: 17ch; text-wrap: balance;
}
.open h1 em { font-style: italic; color: var(--teal); font-weight: 320; }
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; min-height: 380px; }
.four figure { margin: 0; position: relative; overflow: hidden; background: var(--aqua); min-height: 100%; }
.four img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.four .f-helen img { object-position: 56% 8%; transform: scale(1.22); transform-origin: 56% 20%; }
.four figure:hover img { transform: scale(1); }
.four .f-helen:hover img { transform: scale(1.18); }
.four figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 90px clamp(16px, 1.6vw, 40px) clamp(16px, 1.6vw, 36px);
  color: var(--white); background: linear-gradient(to top, rgba(8, 36, 33, .82), rgba(8, 36, 33, 0));
}
.four .who { font: 400 clamp(22px, 1.9vw, 64px)/1.02 var(--display); display: block; letter-spacing: -.01em; }
.four .what { font-size: clamp(.72rem, .4vw + .4rem, 1.05rem); letter-spacing: .12em; text-transform: uppercase; opacity: .92; display: block; margin-top: 8px; }
.open__line { margin: 0; padding: 18px var(--gut); display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; color: var(--ink-2); font-size: clamp(.95rem, .3vw + .8rem, 1.3rem); border-bottom: 1px solid var(--line); }
.open__line a { color: var(--teal); font-weight: 700; text-underline-offset: 4px; }

.listen-band { background: var(--river); color: var(--white); }
.statement {
  max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: clamp(40px, 6vw, 130px) var(--gut);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 140px); align-items: start;
}
.statement blockquote { margin: 0; font: 300 clamp(28px, 3.2vw, 96px)/1.12 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.statement .body { color: rgba(255, 253, 251, .86); max-width: 52ch; }
.statement .body p { margin: 0 0 1em; }

/* ── A consult, given room ───────────────────────────────────────────────────────── */
.room { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); min-height: 72vh; }
.room__img { position: relative; overflow: hidden; }
.room__img img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; }
.room__text { background: var(--blush-2); padding: clamp(36px, 5vw, 110px) clamp(24px, 4vw, 100px); display: flex; flex-direction: column; justify-content: center; }
.room__text h2 { font: 360 clamp(36px, 3.6vw, 84px)/1 var(--display); letter-spacing: -.02em; margin: 0 0 24px; }
.room__text h2 em { color: var(--teal); }
.room__text p { max-width: 40ch; margin: 0 0 1em; }

/* ── The river of a life: a map of six stops, then one spine down the page ──────── */
.life { position: relative; padding: clamp(60px, 8vw, 170px) 0 clamp(50px, 6vw, 140px); }
.life__head { padding: 0 var(--gut); max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto clamp(26px, 3vw, 60px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.life__head h2 { font: 360 clamp(44px, 6vw, 170px)/.92 var(--display); letter-spacing: -.03em; margin: 0; }
.life__head p { margin: 0; color: var(--ink-2); max-width: 44ch; }

/* the map: six stops along a river, each a link to its stage */
.stops { position: relative; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto clamp(40px, 5vw, 110px); padding: 0 var(--gut); }
.stops__river { position: absolute; left: var(--gut); right: var(--gut); top: 0; width: calc(100% - 2 * var(--gut)); height: 40px; overflow: visible; }
.stops__river path { fill: none; stroke: var(--sage); stroke-width: 2; vector-effect: non-scaling-stroke; }
.stops ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.stops a { display: grid; gap: 10px; justify-items: start; text-decoration: none; padding: 9px 12px 8px 0; font: 400 clamp(20px, 1.5vw, 46px)/1.05 var(--display); }
.stop__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 2px solid var(--teal); transition: background .3s var(--ease); }
.stop__no { font: 700 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.stops a:hover .stop__dot, .stops a:focus-visible .stop__dot { background: var(--teal); }

/* the spine: name on the river, photograph, then what we do at that stage */
.spine-wrap { position: relative; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.river { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.river path { fill: none; stroke: var(--teal); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.river path.wash { stroke: var(--aqua); stroke-width: 38; opacity: .38; }
.stages { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; display: grid; gap: 0; }
.stage { display: grid; grid-template-columns: minmax(0, 30fr) minmax(0, 32fr) minmax(0, 38fr); gap: clamp(24px, 3.4vw, 90px); align-items: start; padding: clamp(36px, 4vw, 90px) 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.stage__mark { display: grid; grid-template-columns: 22px 1fr; column-gap: clamp(16px, 1.4vw, 32px); row-gap: 10px; align-items: center; }
.stage__dot { grid-row: 1 / span 2; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 6px var(--paper); }
.stage__no { font: 700 .74rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.stage__name { font: 340 clamp(40px, 4.4vw, 150px)/.9 var(--display); letter-spacing: -.025em; margin: 0; }
.stage__img { margin: 0; overflow: hidden; background: var(--aqua); aspect-ratio: 4 / 5; }
.stage__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.stage:hover .stage__img img { transform: scale(1.03); }
#s-women .stage__img img { object-position: 50% 30%; }
#s-longer .stage__img { aspect-ratio: 5 / 4; }
.stage__care { display: grid; gap: clamp(22px, 2vw, 40px); max-width: 62ch; }
.care h4 { font: 400 clamp(22px, 1.5vw, 40px)/1.1 var(--display); margin: 0 0 8px; }
.care p { margin: 0; color: var(--ink-2); }

/* ── Fees, and what changed because patients asked ───────────────────────────────── */
.ledger { background: var(--white); border-block: 1px solid var(--line); }
.ledger__in { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: clamp(56px, 7vw, 140px) var(--gut); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 160px); }
.ledger h2 { font: 360 clamp(38px, 3.8vw, 92px)/.95 var(--display); letter-spacing: -.025em; margin: 0 0 14px; }
.ledger .lede { color: var(--ink-2); margin: 0 0 32px; max-width: 46ch; }
.fees { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fees caption { text-align: left; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); font-weight: 700; padding-bottom: 12px; }
.fees th, .fees td { text-align: right; padding: 16px 0 16px 18px; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.fees th:first-child, .fees td:first-child { text-align: left; padding-left: 0; }
.fees thead th { font: 700 .76rem/1.3 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.fees tbody th { font: 400 clamp(20px, 1.4vw, 30px)/1.15 var(--display); }
.fees tbody th small { display: block; font: 400 .82rem/1.3 var(--body); color: var(--ink-2); margin-top: 4px; }
.fees .gap { font: 400 clamp(24px, 1.8vw, 40px)/1 var(--display); color: var(--teal); }
.fine { font-size: .86rem; color: var(--ink-2); margin-top: 18px; max-width: 60ch; }
.asked { background: var(--blush-2); padding: clamp(28px, 3vw, 56px); align-self: start; }
.asked h3 { font: 400 clamp(26px, 2vw, 46px)/1.05 var(--display); margin: 0 0 22px; }
.asked dl { margin: 0; display: grid; gap: 22px; }
.asked dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.asked dd { margin: 6px 0 0; }
.asked .pair { display: grid; grid-template-columns: 2fr 3fr; gap: 20px; border-top: 1px solid rgba(16, 48, 44, .14); padding-top: 18px; }
.asked .pair p { margin: 0; }
.asked .pair .you { color: var(--ink-2); }
.asked .pair .we { color: var(--ink); font: 400 clamp(18px, 1.15vw, 24px)/1.35 var(--display); }

/* ── Visiting the clinic: hours, address, and what to do when it is closed ─────────── */
.find { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: clamp(56px, 7vw, 140px) var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 90px); }
.find h2 { grid-column: 1 / -1; font: 360 clamp(40px, 4.6vw, 112px)/.95 var(--display); letter-spacing: -.03em; margin: 0 0 10px; }
.find h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours li.today { font-weight: 700; }
.hours li.today span:first-child::after { content: " · today"; color: var(--teal); font-weight: 400; }
.addr { font: 400 clamp(24px, 1.8vw, 42px)/1.15 var(--display); margin: 0 0 18px; font-style: normal; }
.closed { background: var(--river); color: var(--white); padding: clamp(24px, 2.4vw, 44px); }
.closed h3 { color: var(--aqua); }
.closed p { margin: 0 0 14px; }
.closed a { display: block; font: 400 clamp(22px, 1.6vw, 34px)/1.15 var(--display); text-decoration: none; margin-top: 2px; }
.closed a:hover { text-decoration: underline; text-decoration-color: var(--aqua); }
.closed .zero { font-size: clamp(40px, 3vw, 64px); color: var(--blush); }

/* ── The ending: the two doors, and the room you will walk into ──────────────────── */
.end { background: var(--teal); color: var(--white); }
.end__in { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: clamp(50px, 6vw, 140px) var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 30%); gap: clamp(30px, 5vw, 120px); align-items: center; }
.end h2 { font: 340 clamp(36px, 4vw, 120px)/.98 var(--display); letter-spacing: -.03em; margin: 0 0 clamp(24px, 2.6vw, 56px); max-width: 18ch; }
.big-doors { display: grid; }
.big-doors a { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; text-decoration: none; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .34); font: 380 clamp(32px, 4.2vw, 128px)/1 var(--display); letter-spacing: -.02em; }
.big-doors a span { font: 700 clamp(.72rem, .4vw + .4rem, 1rem)/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--blush); text-align: right; }
.big-doors a:hover { color: var(--blush); }
.end__room { margin: 0; justify-self: end; width: 100%; max-width: 420px; }
.end__room img { width: 100%; aspect-ratio: 778 / 800; object-fit: cover; }
.end__room figcaption { margin-top: 14px; font-size: .9rem; color: rgba(255, 253, 251, .9); }

footer.foot { background: var(--river); color: rgba(255, 253, 251, .82); font-size: .9rem; }
.foot__in { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 40px var(--gut); display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; }
.foot a { color: var(--white); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ── Our people (team.html) ──────────────────────────────────────────────────────── */
.people-open { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: clamp(36px, 5vw, 100px) var(--gut) clamp(30px, 4vw, 80px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 140px); align-items: end; }
.people-open h1 { font: 340 clamp(48px, 7vw, 176px)/.9 var(--display); letter-spacing: -.035em; margin: 0; }
.people-open h1 em { display: block; font-style: normal; color: var(--teal); }
.people-open .intro p { margin: 0 0 1em; color: var(--ink-2); max-width: 48ch; }
.index { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.index ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; text-decoration: none; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.index .ph { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--aqua); }
.index .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(2.2); transform-origin: 50% 30%; }
.index b { display: block; font: 400 clamp(20px, 1.5vw, 32px)/1.05 var(--display); }
.index small { color: var(--ink-2); font-size: .8rem; }
.index a:hover b { color: var(--teal); }

.person { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: clamp(60px, 8vw, 160px) var(--gut) 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "pic head" "pic body"; grid-template-rows: auto 1fr; column-gap: clamp(30px, 6vw, 150px); align-items: start; scroll-margin-top: 90px; }
.person:nth-of-type(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "head pic" "body pic"; }
.person__head { grid-area: head; }
.person__body { grid-area: body; }
.person__pic { grid-area: pic; position: sticky; top: 100px; margin: 0; }
.person__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 16%; background: var(--aqua); }
.person__pic figcaption { display: flex; gap: 18px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.person__pic figcaption img { height: 40px; width: auto; aspect-ratio: auto; background: none; object-fit: contain; }
.person__no { font: italic 400 1.1rem/1 var(--display); color: var(--teal); }
.person h2 { font: 360 clamp(40px, 4.6vw, 140px)/.92 var(--display); letter-spacing: -.035em; margin: 10px 0 14px; }
.person .role { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--teal); margin: 0 0 36px; }
.person .lead { font: 400 clamp(22px, 1.7vw, 38px)/1.3 var(--display); margin: 0 0 28px; max-width: 30ch; }
.person .bio { color: var(--ink-2); max-width: 62ch; }
.person .bio p { margin: 0 0 1em; break-inside: avoid-column; }
.person .off { margin-top: 28px; padding: 22px 26px; background: var(--blush-2); max-width: 60ch; }
.person .off span { display: block; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 6px; }
.person .off p { margin: 0; }

.values { background: var(--river); color: var(--white); margin-top: clamp(80px, 9vw, 180px); }
.values__in { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: clamp(60px, 8vw, 160px) var(--gut); }
.values h2 { font: 340 clamp(40px, 4.8vw, 116px)/.95 var(--display); letter-spacing: -.03em; margin: 0 0 clamp(30px, 4vw, 70px); }

.values ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .22); }
.values li { padding: 28px 28px 34px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.values b { display: block; font: 400 clamp(28px, 2.2vw, 52px)/1 var(--display); margin-bottom: 12px; color: var(--blush); }
.values p { margin: 0; color: rgba(255, 253, 251, .82); max-width: 36ch; }
.mission { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: clamp(60px, 8vw, 170px) var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 40px; }
.mission p.big { font: 300 clamp(30px, 3.2vw, 80px)/1.12 var(--display); letter-spacing: -.015em; margin: 0; text-wrap: pretty; }
.mission p.big em { font-style: normal; color: var(--teal); }
.guests { background: var(--blush-2); }
.guests__in { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: clamp(60px, 7vw, 140px) var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 140px); }
.guests h2 { grid-column: 1 / -1; font: 340 clamp(38px, 4vw, 96px)/.95 var(--display); letter-spacing: -.03em; margin: 0; }
.guest { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: clamp(20px, 2.4vw, 48px); align-items: start; }
.guest img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }
.guest h3 { font: 400 clamp(28px, 2.2vw, 52px)/1 var(--display); margin: 0 0 8px; }
.guest .when { font-weight: 700; color: var(--teal); margin: 0 0 16px; }
.guest p { margin: 0 0 1em; color: var(--ink-2); }
.guest ul { margin: 0 0 1em; padding-left: 1.1em; color: var(--ink-2); columns: 2 16ch; column-gap: 28px; font-size: .94rem; }
.guest li { margin-bottom: 6px; break-inside: avoid; }

/* ── Reveal (only when motion is welcome) ───────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
  .rv.in { opacity: 1; transform: none; }
  .four figure { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); }
  .four.in figure { clip-path: inset(0 0 0 0); }
  .four.in figure:nth-child(2) { transition-delay: .12s; } .four.in figure:nth-child(3) { transition-delay: .24s; } .four.in figure:nth-child(4) { transition-delay: .36s; }
}

/* ── Very wide screens: the page grows, it does not float ───────────────────────── */
@media (min-width: 2200px) {
  :root { --max: 2600px; }
  body { font-size: 22px; }
  .four figure { max-height: 70vh; }
  .stages { gap: 140px; }
}

/* ── Tablet ─────────────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .bar { grid-template-columns: auto 1fr auto; }
  .menu-btn { display: inline-block; justify-self: end; }
  .bar nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 18px; flex-direction: column; gap: 0; }
  .bar nav.open { display: flex; }
  .bar nav a { font: 400 28px/1.2 var(--display); padding: 12px 0; border-bottom: 1px solid var(--line); }
  .status { display: none; }
  .four { grid-template-columns: 1fr 1fr; }
  .four figure { aspect-ratio: 4 / 5; min-height: 0; }
  .stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stage__mark { grid-column: 1 / -1; position: static; }
  .stops ol { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .stops__river { display: none; }
  .end__in { grid-template-columns: 1fr; }
  .end__room { justify-self: start; }
  .open__head, .statement, .room, .life__head, .ledger__in, .people-open, .guests__in, .mission { grid-template-columns: 1fr; }
  .room__img { min-height: 52vh; }
  .find { grid-template-columns: 1fr 1fr; }
  .closed { grid-column: 1 / -1; }
  .visiting__inner { grid-template-columns: 1fr 1fr; }
  .visiting h2 { grid-column: 1 / -1; }
  .values ol { grid-template-columns: 1fr 1fr; }
  .index ol { grid-template-columns: 1fr 1fr; }
  .person, .person:nth-of-type(even) { grid-template-columns: 1fr; grid-template-areas: "head" "pic" "body"; }
  .person__pic { position: static; max-width: 560px; }
}

/* ── Phone: its own layout, not the desktop squeezed ────────────────────────────── */
@media (max-width: 700px) {
  body { font-size: 17px; }
  .bar { grid-template-columns: auto 1fr auto; padding: 8px 16px; gap: 8px; }
  .menu-btn { padding: 9px 12px; font-size: .84rem; }
  .bar__logo img { height: 38px; }
  .bar .doors { justify-self: end; }
  .bar .door { padding: 10px 14px; font-size: .86rem; }
  .bar .door--call .label { display: none; }
  .open__head { padding: 20px 16px 18px; }
  .open h1 { font-size: clamp(42px, 12.4vw, 60px); }
  .open { min-height: 0; }
  .open__line { flex-direction: column; }
  .four figcaption { padding: 50px 12px 12px; }
  .four .who { font-size: 21px; }
  .four .what { font-size: .66rem; letter-spacing: .08em; }
  .statement, .ledger__in, .find, .life__head, .people-open, .guests__in, .mission, .values__in, .end__in, .foot__in { padding-left: 16px; padding-right: 16px; }
  .stops { padding: 0 16px; }
  .stops ol { display: flex; overflow-x: auto; gap: 8px; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .stops li { flex: none; scroll-snap-align: start; }
  .stops a { grid-auto-flow: column; align-items: center; gap: 8px; font-size: 19px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; }
  .stops .stop__dot { width: 12px; height: 12px; }
  .spine-wrap { padding: 0 16px 0 30px; }
  .stage { grid-template-columns: 1fr; gap: 16px; }
  .stage__dot { margin-left: -30px; width: 16px; height: 16px; }
  .stage__mark { grid-template-columns: 0 1fr; column-gap: 0; }
  .stage__img, #s-longer .stage__img { aspect-ratio: 4 / 3; }
  .visiting { padding: 0 16px; }
  .visiting__inner { grid-template-columns: 1fr; }
  .find { grid-template-columns: 1fr; }
  .fees thead { display: none; }
  .fees tr { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid var(--line); padding: 14px 0; }
  .fees tbody th { grid-column: 1 / -1; padding: 0 0 10px; border: 0; }
  .fees td { border: 0; padding: 0; text-align: left; font-size: .86rem; }
  .fees td::before { content: attr(data-l); display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
  .asked .pair { grid-template-columns: 1fr; gap: 6px; }
  .end__in { grid-template-columns: 1fr; }
  .big-doors a { flex-direction: column; gap: 8px; font-size: 40px; }
  .index { padding: 0 16px; }
  .index ol { grid-template-columns: 1fr; }
  .person { padding: 64px 16px 0; }
  .person__pic img { aspect-ratio: 1 / 1; object-position: 50% 12%; }
  .person h2 { font-size: 46px; }
  .values ol { grid-template-columns: 1fr; }
  .guest { grid-template-columns: 1fr; }
  .guest img { max-width: 280px; }
  .guest ul { columns: 1; }
}

.more summary { cursor: pointer; font-weight: 700; color: var(--teal); list-style: none; margin: 4px 0 14px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: " +"; }
.more[open] summary::after { content: " −"; }
@media (min-width: 701px) { .more summary { display: none; } }
