@font-face { font-family: "Host Grotesk"; src: url("/assets/fonts/host-grotesk-300-800.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

/* Feetpath website. White paper, navy ink, the logo's blue and teal, one coral signal. Type carries the design.
   Colours are RGB channels, so rgb(var(--ink-900)) and rgb(var(--ink-200) / .7) both work. A hex in a component is a bug. */
:root {
  --surface: 255 255 255;
  --soft: 244 247 252;
  --ink-900: 12 30 69;      /* a very deep shade of the logo's blue: text, titles */
  --ink-700: 45 61 99;
  --ink-500: 88 103 136;
  --ink-400: 110 124 154;
  --ink-200: 221 228 240;
  --ink-100: 236 240 247;
  --brand-500: 48 85 165;   /* the logo's blue: lines and icons */
  --brand-600: 0 71 204;    /* button fills: white on it is 7.6:1 */
  --brand-700: 0 56 163;    /* hover darkens, never lightens */
  --brand-fg: 0 71 204;     /* blue text and links */
  --brand-50: 234 241 253;
  --teal-500: 11 173 204;   /* the logo's teal: large areas only, with navy text */
  --teal-100: 217 243 248;
  --coral-500: 228 90 43;   /* the secondary brand colour: one word per view, never body text */
  --poster: 12 30 69;
  --success: 14 122 62;
  --warning: 154 91 0;
  --danger: 180 35 49;
  --ease-settle: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 11vw, 160px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font-family: "Host Grotesk", system-ui, -apple-system, sans-serif; font-size: 1.0625rem; line-height: 1.55; color: rgb(var(--ink-900)); background: rgb(var(--surface)); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: rgb(var(--brand-fg)); text-underline-offset: 3px; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
.i { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -0.125em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: rgb(var(--surface)); padding: 10px 14px; transition: transform 150ms var(--ease-settle); }
.skip-link:focus { transform: translateY(72px); }
:focus-visible { outline: 2px solid rgb(var(--brand-600)); outline-offset: 3px; }
.is-photo :focus-visible, .is-blue :focus-visible, .is-navy :focus-visible { outline-color: #fff; }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: rgb(var(--ink-500)); }
.optional { color: rgb(var(--ink-500)); font-weight: 400; font-size: .875em; }

/* Reveal: a short rise, once. Nothing stays hidden if scripts fail, because the class is added by script. */
.will-reveal { opacity: 0; transform: translateY(18px); }
.is-revealed { opacity: 1; transform: none; transition: opacity 700ms var(--ease-settle), transform 900ms var(--ease-settle); transition-delay: var(--d, 0ms); }

/* ---------- Buttons: square on the website ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: 0; font: inherit; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 180ms, color 180ms, border-color 180ms, transform 120ms; }
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 1.0625rem; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-primary { background: rgb(var(--brand-600)); color: #fff; }
.btn-primary:hover:not(:disabled) { background: rgb(var(--brand-700)); }
.btn-ghost { border-color: rgb(var(--ink-900)); color: rgb(var(--ink-900)); background: none; }
.btn-ghost:hover:not(:disabled) { background: rgb(var(--ink-900)); color: #fff; }
.btn-quiet { color: rgb(var(--danger)); background: none; }
.btn-quiet:hover:not(:disabled) { background: rgb(var(--danger) / .07); }
.btn-on-photo { background: #fff; color: rgb(var(--ink-900)); }
.btn-on-photo:hover { background: rgb(var(--teal-100)); }
.btn.is-busy { opacity: .6; pointer-events: none; }
.row-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: rgb(var(--ink-900)); text-decoration: none; white-space: nowrap; }
.row-link .i { transition: transform 200ms var(--ease-settle); }
.row-link:hover { color: rgb(var(--brand-fg)); }
.row-link:hover .i { transform: translateX(4px); }
.row-link.is-quiet { color: rgb(var(--ink-500)); font-weight: 500; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 30; background: rgb(var(--surface) / .96); border-bottom: 1px solid rgb(var(--ink-200) / .8); transition: background-color 250ms, border-color 250ms; }
.nav-inner { display: flex; align-items: center; gap: 28px; max-width: 1360px; margin-inline: auto; padding: 0 var(--gutter); min-height: 72px; }
.nav-logo { flex: none; position: relative; display: block; width: 170px; }
.nav-logo img { width: 100%; height: auto; }
.logo-white { display: none; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { position: relative; color: rgb(var(--ink-700)); text-decoration: none; font-weight: 500; font-size: .9688rem; padding: 6px 0; transition: color 180ms; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease-settle); }
.nav-links a:hover, .nav-links a[aria-current] { color: rgb(var(--ink-900)); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-menu { display: none; margin-left: auto; }
.nav-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; color: rgb(var(--ink-900)); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-sheet { position: fixed; inset: 72px 0 0 0; background: rgb(var(--surface)); padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.nav-sheet nav { display: flex; flex-direction: column; margin-bottom: 18px; }
.nav-sheet nav a { font-size: clamp(2.25rem, 11vw, 3.5rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.16; color: rgb(var(--ink-900)); text-decoration: none; padding: 4px 0; border-bottom: 1px solid rgb(var(--ink-200)); }
.nav-sheet nav a[aria-current] { color: rgb(var(--brand-fg)); }
.nav-sheet-phone { text-align: center; padding: 10px; font-weight: 500; }
.has-cover .nav.is-on-cover { background: transparent; border-bottom-color: transparent; }
.has-cover .nav.is-on-cover .logo-ink { display: none; }
.has-cover .nav.is-on-cover .logo-white { display: block; }
.has-cover .nav.is-on-cover .nav-links a, .has-cover .nav.is-on-cover .nav-menu summary { color: #fff; }
.has-cover .nav.is-on-cover .nav-book { background: #fff; color: rgb(var(--ink-900)); }
.has-cover .nav-menu[open] ~ * { display: none; }
body:not(.has-cover) main { padding-top: 72px; }

/* ---------- The magazine cover: full bleed, one enormous statement ---------- */
.cover { position: relative; display: flex; isolation: isolate; overflow: hidden; color: #fff; background: rgb(var(--poster)); }
.cover.is-full, .cover.is-masthead { min-height: 100dvh; }
.cover.is-tall { min-height: 88dvh; }
.cover-photo { position: absolute; inset: 0; z-index: -2; }
.cover-photo img { width: 100%; height: 100%; object-fit: cover; }
/* The beach photo's feet sit low and left of centre; a phone's tall crop would otherwise show only legs. */
.focus-feet img { object-position: 42% 78%; }
.cover.is-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(var(--poster) / .46); }
.cover.is-blue { background: rgb(var(--brand-600)); }
.cover.is-navy { background: rgb(var(--poster)); }
.cover.is-teal { background: rgb(var(--teal-500)); color: rgb(var(--ink-900)); }
.cover-body { position: relative; width: 100%; max-width: 1680px; margin-inline: auto; padding: clamp(104px, 12vw, 136px) var(--gutter) clamp(36px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: clamp(40px, 7vw, 96px); }
.cover-title { font-weight: 700; font-size: clamp(4.25rem, 16.5vw, 19rem); line-height: .86; letter-spacing: -0.055em; text-wrap: initial; }
.cover-line { display: block; }
.cover-line.is-accent { color: rgb(var(--teal-500)); }
.cover.is-blue .cover-line.is-accent { color: rgb(var(--teal-100)); }
.cover.is-teal .cover-line.is-accent { color: #fff; }
.cover-note { font-size: clamp(1.125rem, 1.7vw, 1.5rem); line-height: 1.32; font-weight: 500; letter-spacing: -0.012em; max-width: 30ch; }
.cover-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px clamp(24px, 4vw, 56px); }
.cover-lines { display: flex; flex-wrap: wrap; gap: 8px clamp(24px, 3vw, 44px); margin-left: auto; }
.cover-lines a { display: block; color: inherit; text-decoration: none; border-top: 2px solid currentColor; padding-top: 10px; min-width: 132px; transition: transform 220ms var(--ease-settle); }
.cover-lines a:hover { transform: translateY(-4px); }
.cover-lines strong { display: block; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.012em; }
.cover-lines span { font-size: .9375rem; opacity: .92; }
.cover.is-masthead .cover-title { font-size: clamp(4.5rem, 24.4vw, 30rem); line-height: .8; letter-spacing: -0.035em; margin-left: -0.03em; white-space: nowrap; }
/* A side photo overlaps the headline, the way a cover subject sits over the masthead. */
.cover.has-side .cover-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 34%); grid-template-rows: 1fr auto; gap: clamp(24px, 3vw, 44px) 0; }
.cover.has-side .cover-title { grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 2; align-self: start; }
.cover-side { grid-column: 2; grid-row: 1 / 3; align-self: end; position: relative; z-index: 1; margin-top: clamp(40px, 12vw, 200px); }
.cover-side img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.cover.has-side .cover-foot { grid-column: 1; grid-row: 2; align-self: end; }

/* ---------- Statement and sections ---------- */
.statement { padding-block: var(--section); display: grid; gap: clamp(40px, 6vw, 72px); }
.statement-text { font-size: clamp(2rem, 5.4vw, 5.25rem); font-weight: 500; line-height: 1.04; letter-spacing: -0.035em; max-width: 21ch; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border-top: 1px solid rgb(var(--ink-900)); }
.facts li { padding: 18px 20px 18px 0; color: rgb(var(--ink-700)); border-bottom: 1px solid rgb(var(--ink-200)); }
.facts strong { display: block; color: rgb(var(--ink-900)); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; padding-bottom: clamp(24px, 4vw, 44px); }
.section-head h2 { font-size: clamp(2.25rem, 5.6vw, 5rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; max-width: 18ch; }
.contents, .services-preview, .steps, .journal, .reviews, .team-section { padding-block: var(--section); }
.contents-list { border-top: 1px solid rgb(var(--ink-900)); }
.contents-list li { border-bottom: 1px solid rgb(var(--ink-200)); }
.contents-list a { display: grid; grid-template-columns: 56px minmax(0, 1.4fr) minmax(0, 1fr) 28px; gap: 8px 20px; align-items: baseline; padding: clamp(16px, 2vw, 26px) 0; color: inherit; text-decoration: none; transition: padding-left 0ms; }
.contents-num { color: rgb(var(--ink-500)); font-variant-numeric: tabular-nums; font-size: .9375rem; }
.contents-name { font-size: clamp(1.625rem, 3.6vw, 3.25rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; transition: color 180ms, transform 280ms var(--ease-settle); }
.contents-sub { color: rgb(var(--ink-500)); font-size: 1rem; line-height: 1.42; }
.contents-list .i { font-size: 1.375rem; align-self: center; color: rgb(var(--ink-400)); transition: color 180ms, transform 240ms var(--ease-settle); }
.contents-list a:hover .contents-name { color: rgb(var(--brand-fg)); transform: translateX(8px); }
.contents-list a:hover .i { color: rgb(var(--brand-fg)); transform: translate(3px, -3px); }

/* ---------- Service rows ---------- */
.service-group { padding-bottom: clamp(32px, 5vw, 64px); scroll-margin-top: 110px; }
.service-group-title { font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; color: rgb(var(--ink-500)); padding-bottom: 12px; border-bottom: 1px solid rgb(var(--ink-900)); }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 84px 112px; gap: 8px 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid rgb(var(--ink-200)); }
.service-main h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.16; }
.service-main p { color: rgb(var(--ink-500)); font-size: 1rem; margin-top: 6px; max-width: 62ch; }
.service-meta { color: rgb(var(--ink-500)); font-size: .9375rem; }
.service-price { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.service-row .row-link { justify-self: end; }
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: clamp(32px, 5vw, 56px); }
.jump-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: rgb(var(--soft)); color: rgb(var(--ink-700)); text-decoration: none; font-weight: 500; font-size: .9375rem; transition: background-color 180ms, color 180ms; }
.jump-links a:hover { background: rgb(var(--ink-900)); color: #fff; }

/* ---------- Feature, steps, reviews ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: end; padding-block: 0 var(--section); }
.feature-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; background: rgb(var(--soft)); }
.feature-text h2 { font-size: clamp(2.5rem, 6.6vw, 6.25rem); font-weight: 700; letter-spacing: -0.05em; line-height: .94; }
.feature-role { margin-top: 18px; color: rgb(var(--ink-500)); }
.feature-quote { font-size: clamp(1.375rem, 2.6vw, 2.25rem); font-weight: 500; line-height: 1.16; letter-spacing: -0.025em; margin: clamp(24px, 4vw, 48px) 0 16px; max-width: 24ch; }
.feature-text .btn { margin-top: 28px; }
.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); border-top: 1px solid rgb(var(--ink-900)); }
.steps-list li { padding-top: 18px; }
.steps-list span { display: block; font-size: clamp(4rem, 9vw, 8.5rem); font-weight: 700; letter-spacing: -0.06em; line-height: 1; color: rgb(var(--brand-600)); }
.steps-list h3 { font-size: 1.5rem; margin: 14px 0 8px; }
.steps-list p { color: rgb(var(--ink-500)); max-width: 34ch; }
.review-wall { columns: 3 300px; column-gap: clamp(24px, 3vw, 48px); }
.review-wall blockquote { break-inside: avoid; padding: 0 0 clamp(28px, 4vw, 48px); }
.review-wall p { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.24; }
.review-wall footer { margin-top: 12px; color: rgb(var(--ink-500)); font-size: .9375rem; }
.stars { color: rgb(var(--coral-500)); margin-left: 6px; letter-spacing: .1em; }

/* ---------- Journal ---------- */
.journal-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 64px); }
.journal-grid .is-lead { grid-row: span 2; }
.journal-grid.is-full { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.journal-grid.is-full .post-card { grid-column: span 4; }
.journal-grid.is-full .is-lead { grid-column: span 8; grid-row: span 2; }
.post-card a { display: block; color: inherit; text-decoration: none; }
.post-image { overflow: hidden; background: rgb(var(--soft)); aspect-ratio: 16 / 10; }
.post-card.is-lead .post-image { aspect-ratio: 4 / 3; }
.post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-settle); }
.post-card a:hover img { transform: scale(1.03); }
.post-card h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); margin-top: 14px; line-height: 1.14; }
.post-card.is-lead h3 { font-size: clamp(1.75rem, 3.8vw, 3.5rem); letter-spacing: -0.04em; line-height: 1.02; }
.post-meta { color: rgb(var(--ink-500)); font-size: .9375rem; margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq-section { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); padding-block: 0 var(--section); align-items: start; }
.faq-section h2 { font-size: clamp(2.25rem, 5.6vw, 5rem); letter-spacing: -0.04em; line-height: 1; position: sticky; top: 104px; }
.faq details { border-bottom: 1px solid rgb(var(--ink-200)); }
.faq details:first-child { border-top: 1px solid rgb(var(--ink-900)); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform 220ms var(--ease-settle); color: rgb(var(--ink-500)); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq p { padding: 0 0 22px; color: rgb(var(--ink-700)); max-width: 62ch; }

/* ---------- Footer ---------- */
.footer { padding-block: clamp(48px, 7vw, 88px) 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 56px); padding-bottom: clamp(40px, 6vw, 72px); }
.footer-brand img { width: 200px; }
.footer-brand p { color: rgb(var(--ink-500)); margin-top: 16px; max-width: 28ch; }
.footer-col h2 { font-size: .9375rem; color: rgb(var(--ink-500)); font-weight: 500; letter-spacing: 0; margin-bottom: 12px; }
.footer-col a, .footer-col p { display: block; color: rgb(var(--ink-900)); text-decoration: none; padding: 4px 0; font-size: 1rem; }
.footer-col p span { color: rgb(var(--ink-500)); margin-right: 8px; }
.footer-col a:hover { color: rgb(var(--brand-fg)); text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-block: 18px 0; border-top: 1px solid rgb(var(--ink-200)); color: rgb(var(--ink-500)); font-size: .9375rem; }
.footer-legal nav { display: flex; gap: 18px; }
.footer-legal a { color: inherit; display: inline-flex; align-items: center; min-height: 24px; }

/* ---------- Inner pages ---------- */
.page-head { padding-block: clamp(48px, 8vw, 112px) clamp(36px, 6vw, 80px); }
.page-title { font-size: clamp(3.25rem, 11.5vw, 11.5rem); font-weight: 700; letter-spacing: -0.055em; line-height: .9; max-width: 13ch; }
.page-line { font-size: clamp(1.125rem, 2vw, 1.625rem); font-weight: 500; letter-spacing: -0.015em; color: rgb(var(--ink-500)); margin-top: clamp(18px, 3vw, 36px); max-width: 44ch; line-height: 1.26; }
.crumb { margin-bottom: 20px; }
.crumb a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: rgb(var(--ink-700)); text-decoration: none; font-weight: 500; }
.crumb a:hover { color: rgb(var(--brand-fg)); }
.prose { max-width: 66ch; color: rgb(var(--ink-700)); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); color: rgb(var(--ink-900)); margin-top: 1.6em; }
.prose h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); color: rgb(var(--ink-900)); margin-top: 1.5em; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose .lead { font-size: clamp(1.375rem, 2.5vw, 2rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.022em; color: rgb(var(--ink-900)); }
.signoff { font-style: italic; color: rgb(var(--ink-900)); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px !important; }
.prose-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(36px, 6vw, 96px); padding-block: clamp(56px, 8vw, 112px); align-items: start; }
.prose-side h2, .article-side h2 { font-size: 1.375rem; margin-bottom: 14px; }
.hours { border-top: 1px solid rgb(var(--ink-900)); }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgb(var(--ink-200)); }
.hours dd { font-variant-numeric: tabular-nums; font-weight: 500; }
.hours .is-closed { color: rgb(var(--ink-400)); }
.hours .is-closed dd { font-weight: 400; }
.numbered-list { counter-reset: n; border-top: 1px solid rgb(var(--ink-900)); }
.numbered-list li { counter-increment: n; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgb(var(--ink-200)); }
.numbered-list li::before { content: counter(n); font-weight: 600; color: rgb(var(--brand-fg)); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { background: rgb(var(--soft)); padding: 8px 14px; font-size: .9375rem; color: rgb(var(--ink-700)); }
.insurer-section { border-top: 1px solid rgb(var(--ink-900)); margin-block-end: clamp(48px, 7vw, 96px); }
.insurer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px clamp(24px, 4vw, 64px); padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid rgb(var(--ink-200)); }
.insurer h2 { font-size: clamp(2rem, 4.6vw, 4rem); letter-spacing: -0.04em; line-height: 1; }
.insurer ul { margin-top: 12px; color: rgb(var(--ink-500)); font-size: 1rem; }
.insurer li { padding: 3px 0; }
.cover-split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px clamp(24px, 5vw, 80px); padding-bottom: clamp(40px, 6vw, 72px); }
.cover-split h2 { font-size: 1.5rem; margin-bottom: 14px; }
.medical-note { margin-block: clamp(32px, 5vw, 56px) clamp(48px, 7vw, 96px); padding: 16px 18px; background: rgb(var(--soft)); color: rgb(var(--ink-700)); font-size: .9688rem; max-width: 76ch; }
.article { padding-block: clamp(36px, 6vw, 72px) 0; }
.article-title { font-size: clamp(2.75rem, 8vw, 8rem); font-weight: 700; letter-spacing: -0.05em; line-height: .94; max-width: 16ch; }
.article-title.is-post { font-size: clamp(2.5rem, 6.4vw, 6rem); max-width: 19ch; line-height: .98; }
.article-lead { font-size: clamp(1.25rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; color: rgb(var(--ink-500)); margin-top: clamp(18px, 3vw, 32px); max-width: 38ch; }
.article-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: clamp(32px, 6vw, 96px); padding-top: clamp(36px, 6vw, 72px); align-items: start; }
.article-side { position: sticky; top: 104px; background: rgb(var(--soft)); padding: 20px; }
.article-side .btn { margin-top: 14px; width: 100%; white-space: normal; text-align: center; }
.article-image { margin-block: clamp(28px, 4vw, 56px); }
.article-image img { width: 100%; max-height: 72vh; object-fit: cover; }
.article-body { padding-bottom: clamp(48px, 7vw, 96px); margin-inline: 0; }
.more-list { padding-bottom: clamp(48px, 7vw, 96px); }
.more-list h2 { font-size: 1.5rem; margin-bottom: 14px; }
.more-list ul { columns: 2 260px; }
.more-list a { display: block; padding: 6px 0; color: rgb(var(--ink-900)); text-decoration: none; }
.more-list a:hover { color: rgb(var(--brand-fg)); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); }
.team-grid a { display: block; color: inherit; text-decoration: none; }
.team-photo { aspect-ratio: 4 / 5; overflow: hidden; background: rgb(var(--brand-50)); display: flex; align-items: center; justify-content: center; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 700ms var(--ease-settle); }
.team-grid a:hover img { transform: scale(1.03); }
.team-initial { font-size: clamp(5rem, 14vw, 10rem); font-weight: 700; letter-spacing: -0.05em; color: rgb(var(--brand-600)); }
.team-grid h3 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); margin-top: 14px; letter-spacing: -0.03em; }
.team-grid p { color: rgb(var(--ink-500)); margin-top: 4px; }
.member { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); padding-block: clamp(36px, 6vw, 72px) clamp(48px, 7vw, 112px); align-items: start; }
.member-photo { position: sticky; top: 96px; aspect-ratio: 4 / 5; overflow: hidden; background: rgb(var(--brand-50)); display: flex; align-items: center; justify-content: center; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.member h1 { font-size: clamp(2.75rem, 7vw, 7rem); font-weight: 700; letter-spacing: -0.05em; line-height: .94; }
.member h2 { font-size: 1.375rem; margin: 32px 0 14px; }
.member-role { margin-top: 18px; font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 500; }
.member-registration { display: flex; gap: 8px; align-items: baseline; color: rgb(var(--success)); margin: 8px 0 28px; }
.member .btn { margin-top: 32px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; min-width: 0; }
.field label, .field-label { display: block; font-weight: 500; margin-bottom: 6px; }
input:not([type="radio"], [type="checkbox"]), textarea, select { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; color: inherit; background: rgb(var(--surface)); border: 1px solid rgb(var(--ink-400)); border-radius: 0; transition: border-color 150ms, box-shadow 150ms; }
input:not([type="radio"], [type="checkbox"]):focus, textarea:focus, select:focus { outline: none; border-color: rgb(var(--brand-600)); box-shadow: inset 0 0 0 1px rgb(var(--brand-600)); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field-note { color: rgb(var(--ink-500)); font-size: .9375rem; margin-top: 6px; }
.form-error { color: rgb(var(--danger)); font-weight: 500; margin-block: 12px; }
.form-ok { color: rgb(var(--success)); font-weight: 500; margin-block: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: rgb(var(--brand-600)); }
.trap { position: absolute; left: -9999px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); padding-bottom: clamp(48px, 7vw, 112px); align-items: start; }
.contact-big { display: block; font-size: clamp(1.5rem, 4vw, 3.5rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.12; color: rgb(var(--ink-900)); text-decoration: none; overflow-wrap: anywhere; }
.contact-big:hover { color: rgb(var(--brand-fg)); }
.contact-address { display: inline-block; margin-top: 18px; color: rgb(var(--ink-700)); max-width: 34ch; }
.contact-details h2 { font-size: 1.375rem; margin: 36px 0 12px; }
.form h2 { font-size: 1.75rem; margin-bottom: 18px; }
.health-form { max-width: 820px; margin-inline: 0; padding-bottom: clamp(48px, 7vw, 96px); }
.health-form .step legend { font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 600; letter-spacing: -0.03em; padding-bottom: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-choice { position: relative; cursor: pointer; }
.pill-choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pill-choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 1px solid rgb(var(--ink-400)); transition: background-color 150ms, color 150ms, border-color 150ms; }
.pill-choice:hover span { border-color: rgb(var(--ink-900)); }
.pill-choice input:checked + span { background: rgb(var(--ink-900)); border-color: rgb(var(--ink-900)); color: #fff; }
.pill-choice input:focus-visible + span { outline: 2px solid rgb(var(--brand-600)); outline-offset: 3px; }

/* ---------- Booking ---------- */
.booker { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-bottom: clamp(48px, 7vw, 112px); }
.step { padding-bottom: clamp(36px, 5vw, 64px); }
.step:disabled { opacity: .42; }
.step > legend { display: flex; align-items: baseline; gap: 14px; width: 100%; font-size: clamp(2rem, 4.4vw, 4rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; padding-bottom: 20px; }
.step > legend span { color: rgb(var(--brand-600)); }
.step-hint { color: rgb(var(--ink-500)); }
.choice-group { font-size: .9375rem; font-weight: 500; letter-spacing: 0; color: rgb(var(--ink-500)); margin: 22px 0 8px; }
.choices { border-top: 1px solid rgb(var(--ink-900)); }
.choice { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto 70px; gap: 4px 12px; align-items: center; min-height: 60px; padding: 12px 8px 12px 0; border-bottom: 1px solid rgb(var(--ink-200)); cursor: pointer; transition: background-color 150ms, padding-left 180ms var(--ease-settle); }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: rgb(var(--brand-600)); }
.choice:hover { background: rgb(var(--soft)); padding-left: 8px; }
.choice:has(input:checked) { background: rgb(var(--brand-50)); padding-left: 8px; }
.choice-name { font-weight: 500; line-height: 1.24; }
.choice-meta { color: rgb(var(--ink-500)); font-size: .9375rem; white-space: nowrap; }
.choice-price { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.month { max-width: 520px; }
.month-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.month-title { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.month-nav { display: flex; gap: 4px; }
.icon-btn { width: 44px; height: 44px; border: 0; background: none; color: rgb(var(--ink-900)); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 150ms; font-size: 1.125rem; }
.icon-btn:hover:not(:disabled) { background: rgb(var(--ink-100)); }
.icon-btn:disabled { color: rgb(var(--ink-200)); cursor: default; }
.month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.month-dow { text-align: center; font-size: .8125rem; color: rgb(var(--ink-500)); padding: 6px 0; }
.day { aspect-ratio: 1; min-height: 44px; border: 0; background: none; font: inherit; font-variant-numeric: tabular-nums; color: rgb(var(--ink-200)); display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: default; }
.day.is-open { background: rgb(var(--brand-50)); color: rgb(var(--ink-900)); font-weight: 600; cursor: pointer; transition: background-color 150ms, color 150ms; }
.day.is-open:hover { background: rgb(var(--brand-600)); color: #fff; }
.day.is-full { color: rgb(var(--ink-400)); text-decoration: line-through; background: rgb(var(--soft)); }
.day[aria-pressed="true"] { background: rgb(var(--ink-900)); color: #fff; }
.times-title { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; margin: 26px 0 10px; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; }
.time { min-height: 52px; border: 1px solid rgb(var(--ink-400)); background: none; font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; color: rgb(var(--ink-900)); cursor: pointer; transition: background-color 150ms, color 150ms, border-color 150ms; }
.time:hover:not(:disabled) { border-color: rgb(var(--brand-600)); color: rgb(var(--brand-fg)); }
.time[aria-pressed="true"] { background: rgb(var(--brand-600)); border-color: rgb(var(--brand-600)); color: #fff; }
.time:disabled { border-color: rgb(var(--ink-100)); background: rgb(var(--soft)); color: rgb(var(--ink-400)); text-decoration: line-through; font-weight: 400; cursor: not-allowed; }
.times-key { color: rgb(var(--ink-500)); font-size: .9375rem; margin-top: 10px; }
.provisional { display: flex; gap: 12px; margin-top: 24px; padding: 16px 18px; background: rgb(var(--teal-100)); color: rgb(var(--ink-900)); font-weight: 500; }
.provisional .i { font-size: 1.25rem; margin-top: 2px; }
.waitlist { margin-top: 22px; }
.waitlist summary { cursor: pointer; font-weight: 500; color: rgb(var(--brand-fg)); min-height: 44px; display: flex; align-items: center; }
.waitlist-form { padding-top: 14px; }
.booker-summary { position: sticky; top: 96px; background: rgb(var(--soft)); padding: 22px; }
.booker-summary h2 { font-size: 1.5rem; margin-bottom: 12px; }
.summary-rows { border-top: 1px solid rgb(var(--ink-900)); margin-bottom: 18px; }
.summary-rows div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid rgb(var(--ink-200)); }
.summary-rows dt { color: rgb(var(--ink-500)); flex: none; }
.summary-rows dd { text-align: right; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.closed-note { padding-bottom: clamp(48px, 7vw, 96px); }
.closed-note h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 12px; }

/* ---------- A patient's appointment ---------- */
.visit { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 96px); }
.visit-status { font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -0.015em; color: rgb(var(--ink-500)); }
.visit-date { font-size: clamp(3.5rem, 15vw, 15rem); font-weight: 700; letter-spacing: -0.06em; line-height: .88; margin: 14px 0 clamp(24px, 3vw, 40px); }
.visit-date span { display: block; }
.visit-date .is-accent { color: rgb(var(--brand-600)); font-variant-numeric: tabular-nums; }
.visit-date.is-struck { color: rgb(var(--ink-400)); text-decoration: line-through; text-decoration-thickness: .05em; }
.visit-date.is-struck .is-accent { color: inherit; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 80px); margin-top: clamp(28px, 4vw, 48px); align-items: start; }
.visit-actions { display: flex; flex-direction: column; gap: 10px; }
.note { display: flex; gap: 10px; padding: 14px 16px; background: rgb(var(--soft)); margin-bottom: 16px; }
.note.is-warn { background: rgb(var(--warning) / .1); color: rgb(var(--warning)); font-weight: 500; }
.note.is-good { background: rgb(var(--success) / .09); color: rgb(var(--success)); font-weight: 500; margin-bottom: 0; }
.move-slot { margin-top: clamp(32px, 5vw, 56px); padding-top: 28px; border-top: 1px solid rgb(var(--ink-900)); }
.move-slot h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 18px; }
.visit-privacy { margin-top: 32px; }

/* ---------- Toasts and dialogs ---------- */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 80; display: flex; flex-direction: column; gap: 8px; max-width: min(400px, calc(100vw - 32px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; background: rgb(var(--ink-900)); color: #fff; padding: 14px 16px; animation: toast-in 250ms var(--ease-settle); }
.toast.is-bad { background: rgb(var(--danger)); }
.toast.is-leaving { opacity: 0; transition: opacity 200ms var(--ease-exit); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
dialog.dialog { border: 0; padding: 0; width: min(520px, calc(100vw - 32px)); color: inherit; box-shadow: 0 24px 60px rgb(var(--poster) / .28); }
dialog.dialog::backdrop { background: rgb(var(--poster) / .5); }
.dialog-grabber { display: none; }
.dialog-head { display: flex; justify-content: space-between; gap: 12px; padding: 22px 22px 6px; }
.dialog-head h2 { font-size: 1.625rem; letter-spacing: -0.03em; }
.dialog-body { padding: 8px 22px 16px; }
.dialog-foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding: 8px 22px 22px; }
.bones { display: grid; gap: 10px; }
.bone { height: 52px; background: rgb(var(--ink-100)); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .5; } }
.state { padding: 28px 0; }
.state h3 { font-size: 1.25rem; margin-bottom: 6px; }
.state .btn { margin-top: 12px; }
.state-icon { display: none; }

/* ---------- Page change ---------- */
@view-transition { navigation: auto; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .nav-book { margin-left: auto; }
  .nav-menu { margin-left: 4px; }
  .nav-menu[open] summary .i { opacity: .6; }
}
@media (max-width: 960px) {
  .booker, .visit-grid, .prose-split, .contact-grid, .article-grid, .faq-section, .feature, .member { grid-template-columns: minmax(0, 1fr); }
  .booker-summary, .article-side, .member-photo, .faq-section h2 { position: static; }
  .journal-grid, .journal-grid.is-full { grid-template-columns: minmax(0, 1fr); }
  .journal-grid.is-full .post-card, .journal-grid.is-full .is-lead { grid-column: auto; grid-row: auto; }
  .journal-grid .is-lead { grid-row: auto; }
  .steps-list { grid-template-columns: minmax(0, 1fr); }
  .steps-list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 12px; border-bottom: 1px solid rgb(var(--ink-200)); padding-bottom: 18px; }
  .steps-list span { grid-row: span 2; font-size: 5rem; }
  .steps-list h3 { margin-top: 6px; }
  .contents-list a { grid-template-columns: 34px minmax(0, 1fr) 24px; }
  .contents-sub { grid-column: 2; grid-row: 2; }
  .contents-list .i { grid-column: 3; grid-row: 1; }
  .service-row { grid-template-columns: minmax(0, 1fr) auto; }
  .service-main { grid-column: 1 / -1; }
  .service-meta { grid-column: 1; }
  .service-price { grid-column: 2; grid-row: 2; text-align: right; }
  .service-row .row-link { grid-column: 1 / -1; justify-self: start; min-height: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cover-split, .insurer { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .nav-inner { min-height: 64px; gap: 8px; }
  body:not(.has-cover) main { padding-top: 64px; }
  .nav-sheet { inset: 64px 0 0 0; }
  .nav-logo { width: 132px; }
  .nav-book { min-height: 40px; padding: 0 12px; font-size: .875rem; }
  .cover.has-side .cover-body { display: flex; }
  .cover-side { margin-top: 0; width: 72%; align-self: flex-end; order: 2; }
  .cover.has-side .cover-foot { order: 3; }
  .cover-title { font-size: clamp(3.75rem, 19vw, 7rem); }
  .cover-lines { margin-left: 0; width: 100%; }
  .cover-lines li { flex: 1 1 100%; }
  .cover-lines a { display: flex; justify-content: space-between; align-items: baseline; padding-top: 8px; }
  .cover-foot .btn { width: 100%; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .choice { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .choice-meta { grid-column: 2; grid-row: 2; }
  .choice-price { grid-column: 3; grid-row: 1 / 3; }
  .faq summary { min-height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .will-reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
