/* Layout: quiet neutral grounds, light serif headlines, centred logo; burgundy is the one brand colour */
:root {
  --bg: #F5F4F2;
  --paper: #FBFAF8;
  --sand: #E6DDD5;
  --foot: #EEE9E4;
  --ink: #2D1D16;
  --muted: #6F625B;
  --line: #DDD4CC;
  --brand: #660922;
  --brand-deep: #4A0518;
  --gold: #CDBFB3;
  --cream: #F6EEE8;
  --accent: #660922;
  --accent-ink: #FBF6F2;
  --gold-text: #7A6A61;
  --dermis: #EED6CB;
  --epidermis: #8E2A3F;
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
img { display: block; max-width: 100%; height: auto; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }

h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; }
.label { font-family: var(--body); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
figure { margin: 0; }
figcaption { font-family: var(--body); font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
svg text { font-family: var(--body); }

/* Header: light bar, links split around the centred logo (logo drawn in burgundy through the mark's alpha) */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); color: var(--ink); border-bottom: 1px solid var(--line); }
.top .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: 16px; }
.mark { display: block; justify-self: center; }
.logo { display: block; width: 170px; aspect-ratio: 842 / 185; background: var(--brand); -webkit-mask: url("/assets/logo-mark.png") center / contain no-repeat; mask: url("/assets/logo-mark.png") center / contain no-repeat; }
.nav { display: flex; gap: 28px; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--brand); }
.nav-r { display: flex; justify-content: flex-end; align-items: center; gap: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 13px 24px; border-radius: 10px; border: 0; cursor: pointer; transition: background .2s ease; }
.btn:hover { background: var(--brand-deep); }
.btn.small { padding: 9px 16px; font-size: 0.86rem; }
@media (max-width: 860px) { .nav { display: none; } .top .wrap { grid-template-columns: 1fr auto; } .mark { justify-self: start; grid-column: 1; } .nav-l { display: none; } }
.btn { white-space: nowrap; }
@media (max-width: 420px) { .logo { width: 124px; } .btn.small { padding: 9px 13px; font-size: 0.8rem; } }

/* Hero: full-bleed clinic film under a soft warm shade; headline set over it in cream */
.hero { position: relative; display: grid; align-items: end; min-height: clamp(540px, 84vh, 880px); overflow: hidden; background: #3A2A22; color: #FBF6F2; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 20, 14, .28) 0%, rgba(36, 20, 14, 0) 30%, rgba(36, 20, 14, .62) 100%), linear-gradient(90deg, rgba(36, 20, 14, .42) 0%, rgba(36, 20, 14, 0) 62%); }
.hero-inner { position: relative; display: grid; gap: 22px; padding-block: clamp(56px, 9vw, 112px); width: 100%; }
.hero .label { color: rgba(251, 246, 242, .82); }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6.4rem); line-height: 1.02; max-width: 12em; }
.hero h1 em { font-style: italic; }
.hero .lede { color: rgba(251, 246, 242, .88); max-width: 32em; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 6px; }
.btn.light { background: #FBF6F2; color: var(--brand); }
.btn.light:hover { background: #FFFFFF; }
.btn.outline-light { background: transparent; color: #FBF6F2; border: 1px solid rgba(251, 246, 242, .6); }
.btn.outline-light:hover { background: rgba(251, 246, 242, .12); }
.hero-pause { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(251, 246, 242, .55); background: rgba(36, 20, 14, .25); color: #FBF6F2; cursor: pointer; display: grid; place-items: center; }
.hero-pause svg { width: 14px; height: 14px; }
@media (max-width: 600px) { .hero { min-height: clamp(520px, 88vh, 760px); } .hero-inner { padding-bottom: 72px; } }

section { border-top: 1px solid var(--line); }
.sec { padding-block: clamp(56px, 8vw, 104px); display: grid; gap: clamp(28px, 4vw, 48px); }
.sec-head { display: grid; gap: 14px; max-width: 46em; }

/* Experience: large editorial image beside the welcome copy */
.experience .sec { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 80px); }
.exp-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.exp-copy { display: grid; gap: 26px; align-content: center; min-width: 0; }
.exp-points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.exp-points li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 0.96rem; color: var(--muted); }
.exp-points b { font-family: var(--display); font-weight: 300; font-size: 1.3rem; color: var(--ink); line-height: 1.2; }
.exp-side { justify-self: end; width: 68%; }
.exp-side img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
@media (max-width: 860px) { .experience .sec { grid-template-columns: 1fr; } .exp-side { width: 100%; } }
@media (max-width: 480px) { .exp-points li { grid-template-columns: 1fr; gap: 4px; } }

/* Full-bleed image band with a short line over it */
.band { position: relative; display: grid; align-items: center; min-height: clamp(380px, 48vw, 580px); overflow: hidden; color: #FBF6F2; border-top: 0; background: #3A2A22; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36, 20, 14, .62) 0%, rgba(36, 20, 14, .2) 60%, rgba(36, 20, 14, 0) 100%); }
.band .wrap { position: relative; z-index: 1; display: grid; gap: 18px; padding-block: 56px; }
.band .label { color: rgba(251, 246, 242, .8); }
.band blockquote { margin: 0; max-width: 17em; font-family: var(--display); font-weight: 300; font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.14; text-wrap: balance; }

/* Is it a true scar */
/* Column widths follow each image's aspect ratio (678×452 = 1.5, 1124×612 ≈ 1.84) so both render at the same height */
.assess-figs { display: grid; grid-template-columns: 1.5fr 1.837fr; gap: 20px; }
.assess-figs figure { display: grid; gap: 10px; align-content: start; min-width: 0; }
.assess-figs img { width: 100%; border-radius: 4px; border: 1px solid var(--line); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.trio > div { padding: 26px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.trio > div + div { border-left: 1px solid var(--line); }
.trio .k { font-family: var(--mono); font-size: 0.72rem; color: var(--gold-text); letter-spacing: 0.08em; }
.trio p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 760px) { .trio, .assess-figs { grid-template-columns: 1fr; } .trio > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Scar explorer */
.explorer { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; }
.tab { font: inherit; font-size: 0.95rem; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 9px 18px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.tab:hover { border-color: var(--accent); }
.tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.figure { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 20px 20px 14px; display: grid; gap: 10px; min-width: 0; }
.figure svg { width: 100%; height: auto; display: block; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
#skin { transition: d .6s cubic-bezier(.6,0,.2,1); }
.overlay { transition: opacity .4s ease; }
.detail { display: grid; grid-template-columns: 1fr 132px; gap: 20px 24px; min-width: 0; align-items: start; }
.detail > .head { grid-column: 1 / -1; display: grid; gap: 8px; }
.detail .shape { font-family: var(--mono); font-size: 0.8rem; color: var(--gold-text); letter-spacing: 0.04em; }
.detail dl { margin: 0; display: grid; gap: 16px; min-width: 0; }
.detail dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.detail dd { margin: 0; }
.case { display: grid; gap: 8px; }
.case img { width: 132px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; background: var(--dermis); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 0.85rem; border: 1px solid var(--line); border-radius: 8px; padding: 4px 12px; background: var(--paper); }
@media (max-width: 860px) { .explorer { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .tab { padding: 9px 4px; font-size: 0.86rem; text-align: center; white-space: nowrap; }
}
@media (max-width: 460px) { .detail { grid-template-columns: 1fr; } .case img { width: 160px; } }

/* Method */
/* Laser photo and subcision diagram share one row height; captions sit on a common baseline */
.tools { display: grid; grid-template-columns: 1fr 2.4fr; gap: 20px; }
.tools figure { display: grid; grid-template-rows: 1fr auto; gap: 10px; min-width: 0; }
.tools .media { position: relative; min-height: 220px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.tools .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.diagram { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 20px 16px 12px; display: grid; gap: 4px; }
.diagram h3 { font-size: 1.35rem; padding-inline: 8px; }
.diagram svg { width: 100%; height: auto; display: block; overflow: visible; }
.diagram .lbl { font-family: var(--body); font-size: 25px; font-weight: 500; fill: var(--ink); }
.diagram .lbl tspan + tspan { fill: var(--muted); font-weight: 400; }
.diagram .lead { stroke: var(--gold-text); stroke-width: 2; fill: none; }
.diagram .pin { fill: var(--accent); stroke: var(--paper); stroke-width: 3; }
.diagram .num { font-family: var(--mono); font-size: 17px; fill: var(--accent-ink); text-anchor: middle; dominant-baseline: central; }
.diagram ol { display: none; margin: 0; padding: 0 8px; list-style: none; gap: 8px; counter-reset: k; }
.diagram ol li { counter-increment: k; display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 0.95rem; }
.diagram ol li::before { content: counter(k); width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 12px/22px var(--mono); text-align: center; }
@media (max-width: 860px) { .tools { grid-template-columns: 1fr; } .tools .media { aspect-ratio: 16 / 9; min-height: 0; } .tools figure:first-child { order: 2; } }
@media (max-width: 600px) { .diagram .lbl, .diagram .lead { display: none; } .diagram ol { display: grid; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; }
.steps li { counter-increment: s; padding: 24px 20px 0 0; border-top: 2px solid var(--accent); display: grid; gap: 8px; align-content: start; min-width: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 0.75rem; color: var(--gold-text); }
.steps b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; }
.steps p { font-size: 0.95rem; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; column-gap: 20px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Improve ≠ Erase */
.promise { background: var(--brand); color: var(--cream); border-top: 0; }
.promise .sec { grid-template-columns: auto minmax(280px, 1fr); align-items: center; gap: clamp(24px, 5vw, 64px); }
.promise .big { font-family: var(--display); font-weight: 300; font-size: clamp(2.8rem, 6.6vw, 5.8rem); line-height: 1; white-space: nowrap; }
.promise .big span { color: color-mix(in srgb, var(--cream) 55%, transparent); }
.promise p { max-width: 32em; font-size: 1.1rem; }
.promise .label { color: color-mix(in srgb, var(--cream) 75%, transparent); }
@media (max-width: 720px) { .promise .sec { grid-template-columns: 1fr; } }

/* Doctor */
/* The arch hugs the photo (no padding); the text column centres beside it */
/* White section so the photo's own white ground runs into the page; the full, untrimmed photo stands on the section's bottom edge */
#dr-lim { background: #FFFFFF; }
#dr-lim .sec { padding-bottom: 0; }
.doc { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: end; }
.portrait { width: 100%; max-width: 520px; }
.portrait img { width: 100%; height: auto; }
.doc-text { display: grid; gap: 24px; min-width: 0; align-self: center; padding-bottom: clamp(40px, 6vw, 80px); }
/* Credentials: an editorial list, not buttons. Hairline rule with a short burgundy accent, institution above, qualification in the display serif */
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; margin: 4px 0 6px; width: 100%; }
.highlights div { position: relative; display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.highlights div::before { content: ""; position: absolute; top: -1px; left: 0; width: 28px; height: 1px; background: var(--brand); }
.highlights dt { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
.highlights dd { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.25; color: var(--ink); }
@media (max-width: 420px) { .highlights { grid-template-columns: 1fr; } }
.creds-more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.creds-more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); }
.creds-more summary::-webkit-details-marker { display: none; }
.creds-more summary::after { content: "+"; font-family: var(--body); font-size: 1.5rem; letter-spacing: 0; transition: transform .25s ease; }
.creds-more[open] summary::after { transform: rotate(45deg); }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; padding-bottom: 16px; }
.creds ul { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.creds li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.95rem; display: grid; gap: 2px; }
.creds li small { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
/* Phones: name and intro, then the photo, then the career details. The photo no longer meets the section edge, so its bottom fades into the white */
@media (max-width: 760px) {
  #dr-lim .sec { padding-bottom: 56px; }
  .doc { grid-template-columns: 1fr; gap: 28px; }
  .doc-text { display: contents; }
  .doc-text .sec-head { order: 1; }
  .portrait { order: 2; max-width: 360px; margin-inline: auto; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%); }
  .highlights { order: 3; }
  .creds-open { order: 4; }
  .creds { grid-template-columns: 1fr; }
}

/* Who it's for */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who article { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid var(--accent); }
.who p { color: var(--muted); font-size: 0.98rem; }
.signal { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: clamp(24px, 4vw, 40px); }
.signal q { font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--accent); }
.signal p { color: var(--muted); max-width: 36em; }
@media (max-width: 760px) { .who { grid-template-columns: 1fr; } .signal { grid-template-columns: 1fr; } }

/* Consult + footer */
.consult { background: var(--sand); border-top: 0; }
.consult .sec { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.consult-copy { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.consult h2 { max-width: 14em; }
.consult figure img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-radius: 10px; }
@media (max-width: 760px) { .consult .sec { grid-template-columns: 1fr; } }
footer { background: var(--foot); color: var(--ink); border-top: 1px solid var(--line); }
.foot { display: grid; gap: 40px; padding-block: clamp(48px, 7vw, 80px) 32px; }
.logo-lg { width: min(620px, 100%); }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; font-size: 0.92rem; line-height: 1.6; }
.foot-cols h4 { margin: 0 0 8px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.foot-cols p { color: var(--muted); }
.foot-cols a { color: var(--brand); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; font-size: 0.82rem; color: var(--muted); }
@media (max-width: 860px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-cols { grid-template-columns: 1fr; } }

/* Load-in */
@keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
.hero-inner > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-inner > *:nth-child(2) { animation-delay: .1s; }
.hero-inner > *:nth-child(3) { animation-delay: .2s; }
.hero-inner > *:nth-child(4) { animation-delay: .3s; }

/* Booking window */
.book { width: min(640px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; border: 0; border-radius: 8px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(40, 5, 15, .35); }
.book::backdrop { background: rgba(40, 5, 15, .55); }
.book form { display: grid; grid-template-rows: auto 1fr auto; max-height: calc(100vh - 48px); }
.book-head { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: start; padding: 22px 24px 16px; background: var(--brand); color: var(--cream); }
.book-head h2 { font-size: 1.7rem; }
.book-head .label { color: color-mix(in srgb, var(--cream) 75%, transparent); grid-column: 1; }
.book-close { grid-row: 1 / span 2; grid-column: 2; background: transparent; border: 1px solid color-mix(in srgb, var(--cream) 40%, transparent); color: var(--cream); width: 38px; height: 38px; border-radius: 50%; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.book-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; grid-column: 1 / -1; padding-top: 12px; }
.book-steps i { height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--cream) 25%, transparent); }
.book-steps i.on { background: var(--cream); }
.book-body { overflow-y: auto; padding: 22px 24px; display: grid; gap: 22px; align-content: start; }
.book-body > section { display: grid; gap: 24px; align-content: start; }
.book-body .check { padding-top: 6px; border-top: 1px solid var(--line); padding-block: 18px 0; }
.book-body fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.book-body legend, .book-body .q { font-family: var(--display); font-size: 1.25rem; padding: 0 0 4px; }
.book-body .hint { font-size: 0.88rem; color: var(--muted); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-block; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font-size: 0.92rem; background: var(--bg); transition: background .15s, border-color .15s, color .15s; }
.opt input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.days .opt span { display: grid; justify-items: center; gap: 0; border-radius: 6px; padding: 8px 4px; line-height: 1.2; }
.days .opt small { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: inherit; opacity: .75; }
.days .opt b { font-family: var(--display); font-weight: 400; font-size: 1.4rem; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9rem; font-weight: 500; }
.field input, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; width: 100%; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: transparent; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 0.92rem; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.err { color: #B3261E; font-size: 0.88rem; min-height: 1.2em; }
.book-foot { display: flex; justify-content: space-between; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--line); background: var(--paper); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.summary { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); }
.summary div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 14px; font-size: 0.95rem; }
.summary div + div { border-top: 1px solid var(--line); }
.summary dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.summary dd { margin: 0; }
.note { font-size: 0.85rem; color: var(--muted); border-left: 3px solid var(--brand); padding: 4px 0 4px 12px; }
@media (max-width: 600px) {
  .book { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border-radius: 0; }
  .book form { height: 100%; max-height: 100%; }
  .book-head { padding: calc(18px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 14px max(16px, env(safe-area-inset-left, 0px)); }
  .book-body { padding: 20px 16px; }
  .book-foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); }
  .summary div { grid-template-columns: 1fr; gap: 2px; }
}

/* Visit: address card beside the map */
.visit { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.visit-card { display: grid; gap: 22px; align-content: start; min-width: 0; }
.visit-card address { font-style: normal; display: grid; gap: 2px; font-size: 1.05rem; line-height: 1.55; }
.visit-card address b { font-family: var(--display); font-weight: 300; font-size: 1.5rem; color: var(--accent); margin-bottom: 6px; }
.visit-card .meta { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.visit-card .meta div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; font-size: 0.95rem; }
.visit-card .meta dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.visit-card .meta dd { margin: 0; }
.visit-card .meta a { color: var(--accent); font-weight: 500; }
.hours { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 18px; }
.hours b { font-weight: 500; font-variant-numeric: tabular-nums; }
.phone { font-weight: 500; font-variant-numeric: tabular-nums; user-select: all; }
.map { position: relative; min-height: 360px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.map .fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 24px; color: var(--muted); font-size: 0.92rem; background: repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px), var(--paper); }
.map .fallback svg { width: 40px; height: 40px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } .map { min-height: 300px; } }

/* FAQ */
.faq-list { display: grid; border-top: 1px solid var(--line); max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 22px 0; font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.25; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--body); font-size: 1.6rem; color: var(--gold-text); transition: transform .25s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--accent); }
.faq-list .a { padding: 0 0 24px; color: var(--muted); max-width: 40em; display: grid; gap: 10px; }

/* ---- Multi-page additions ---- */
.nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -1px 0 var(--brand); }
.menu-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: transparent; border: 0; border-radius: 10px; color: var(--ink); cursor: pointer; }
/* Hamburger: three hairlines that fold into an × when the menu is open */
.burger { position: relative; display: block; width: 22px; height: 14px; }
.burger i { position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .3s ease, opacity .2s ease, top .3s ease; }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 6.25px; }
.burger i:nth-child(3) { top: 12.5px; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(1) { top: 6.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(3) { top: 6.25px; transform: rotate(-45deg); }
.menu-btn:hover { color: var(--brand); }
.mnav { border-top: 1px solid var(--line); background: var(--bg); }
.mnav ul { list-style: none; margin: 0; padding: 4px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); }
.mnav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.45rem; font-weight: 300; color: var(--ink); text-decoration: none; }
.mnav a[aria-current="page"] { color: var(--brand); }
@media (max-width: 860px) { .menu-btn { display: inline-flex; } .nav-r { gap: 10px; } }
@media (min-width: 861px) { .mnav { display: none !important; } }
@media (max-width: 420px) { .bk-long { display: none; } }

/* Page intro on the inner pages */
.page-intro { border-top: 0; }
.page-intro .wrap { display: grid; gap: 18px; padding-block: clamp(56px, 8vw, 104px) clamp(16px, 2vw, 28px); }
.page-intro h1 { font-size: clamp(2.8rem, 6vw, 5rem); max-width: 13em; }
.page-intro .lede { max-width: 40em; }
.crumb { font-size: 0.8rem; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--brand); }
.page-intro + section { border-top: 0; }
.page-intro + section .sec { padding-top: clamp(20px, 3vw, 40px); }

/* Learn-more cards on the home page */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.card { display: grid; gap: 12px; align-content: start; color: inherit; text-decoration: none; }
.card .img { display: block; overflow: hidden; border-radius: 10px; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.card:hover img { transform: scale(1.04); }
.card h3 { font-size: 1.6rem; padding-top: 6px; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .more { font-size: 0.76rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); }
.card .more::after { content: "  →"; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } .card img { aspect-ratio: 3 / 2; } }

/* Closing call to action on the inner pages */
.cta { background: var(--sand); border-top: 0; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.cta-row > div { display: grid; gap: 12px; }
.next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.next a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.35rem; font-weight: 300; }
.next a::after { content: "→"; font-family: var(--body); font-size: 1rem; color: var(--brand); }
.next a:hover { color: var(--brand); }
@media (max-width: 760px) { .next { grid-template-columns: 1fr; } }
.top .btn.small { gap: 0.3em; }

/* Split: a full-bleed photo filling half the screen, as tall as the copy beside it */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split-media { position: relative; margin: 0; min-height: clamp(480px, 46vw, 760px); overflow: hidden; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: grid; gap: 26px; align-content: center; justify-items: start; min-width: 0;
  padding-block: clamp(56px, 8vw, 120px);
  padding-left: clamp(28px, 6vw, 96px);
  padding-right: max(40px, env(safe-area-inset-right, 0px), calc((100vw - var(--wrap)) / 2 + 40px)); }
.split-copy > * { max-width: 36rem; }
.split-copy .exp-points { width: 100%; }
.split.reverse .split-media { order: 2; }
.split.reverse .split-copy {
  padding-right: clamp(28px, 6vw, 96px);
  padding-left: max(40px, env(safe-area-inset-left, 0px), calc((100vw - var(--wrap)) / 2 + 40px)); }
.consult.split h2 { max-width: 14em; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-media, .split.reverse .split-media { order: 0; min-height: 0; aspect-ratio: 4 / 3; }
  .split-copy, .split.reverse .split-copy { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 48px 56px; }
}

/* Qualifications open in a window, so the section layout (and the photo) never moves */
.creds-open { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 16px 0; background: transparent; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: inherit; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); cursor: pointer; text-align: left; }
.creds-open::after { content: "+"; font-size: 1.5rem; font-weight: 400; letter-spacing: 0; color: var(--ink); }
.creds-open:hover { color: var(--brand); }
.creds-dlg { width: min(780px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; border: 0; border-radius: 10px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(40, 20, 14, .3); }
.creds-dlg::backdrop { background: rgba(40, 20, 14, .5); }
.creds-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 24px 28px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
.creds-head h3 { font-size: 1.9rem; margin-top: 6px; }
.dlg-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; flex: none; }
.dlg-close:hover { border-color: var(--brand); color: var(--brand); }
.creds-dlg .creds { padding: 8px 28px 28px; }
@media (max-width: 600px) { .creds-dlg { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border-radius: 0; } .creds-head { padding: calc(20px + env(safe-area-inset-top, 0px)) 16px 16px; } .creds-dlg .creds { padding: 4px 16px calc(24px + env(safe-area-inset-bottom, 0px)); } }
