/* The Village Medical Practice - website styles (20-10-2026)
   "Warm living room": linen and oat backgrounds, the brand teals, Fraunces for
   display, Montserrat for text, and a little of the roof's confetti. */

@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-latin-wght-normal.woff2) format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-latin-wght-italic.woff2) format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(/assets/fonts/montserrat-latin-wght-normal.woff2) format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(/assets/fonts/montserrat-latin-wght-italic.woff2) format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }

:root {
  --teal-900: #06576a;
  --teal-800: #06657a;
  --teal-700: #0d6d7a;
  --teal-500: #2fc1cb;
  --teal-300: #8fdde2;
  --teal-100: #e2f4f5;
  --linen: #f8f3eb;
  --oat: #efe6d7;
  --sand: #e4d6c1;
  --paper: #fffdf9;
  --ink: #1d2a2f;
  --ink-2: #3c4a4f;
  --muted: #5d6c71;
  --line: #e2d8c8;
  --leather: #8a4b2a;
  --leather-2: #a5603a;
  --here: #23935a;
  --later: #d08a00;
  --off: #9aa6aa;
  --warn: #b5560d;
  --c-orange: #ff6600; --c-pink: #d66298; --c-purple: #d250e6; --c-lime: #99ca40;
  --c-yellow: #d5d908; --c-blue: #185ca1; --c-green: #548b33; --c-red: #a0354a;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(29, 42, 47, .06), 0 8px 24px rgba(29, 42, 47, .08);
  --shadow-lg: 0 2px 6px rgba(29, 42, 47, .08), 0 22px 50px rgba(29, 42, 47, .16);
  --wrap: 1180px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--linen); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; font-weight: 420; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, picture, svg { max-width: 100%; display: block; }
picture img { width: 100%; height: auto; object-fit: cover; }
a { color: var(--teal-800); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-900); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; line-height: 1.12; color: var(--teal-900); letter-spacing: -0.01em; font-variation-settings: "SOFT" 60, "opsz" 72; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.3rem; }
h1 em, h2 em { font-style: italic; color: var(--teal-700); }
p { margin: 0 0 1em; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--paper); padding: 8px 14px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 650; color: var(--leather); margin: 0 0 .6em; }
.lede { font-size: 1.18rem; color: var(--ink-2); max-width: 62ch; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }
.link-arrow.light { color: #fff; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-weight: 650; font-size: .95rem; line-height: 1; padding: 14px 22px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .1s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal-800); color: #fff; box-shadow: 0 6px 16px rgba(6, 101, 122, .25); }
.btn-primary:hover { background: var(--teal-900); color: #fff; }
.btn-ghost { background: transparent; color: var(--teal-800); border-color: currentColor; }
.btn-ghost:hover { background: var(--teal-100); }
.btn-sm { padding: 10px 16px; font-size: .85rem; }

/* ------------------------------------------------------------- staging/notices */
.staging-bar { background: repeating-linear-gradient(45deg, #2b2b2b, #2b2b2b 12px, #333 12px, #333 24px); color: #ffd36b; font-size: .8rem; text-align: center; padding: 6px 12px; letter-spacing: .04em; }
.staging-bar a { color: #fff; }
.notices { background: var(--teal-800); color: #fff; }
.notice { max-width: var(--wrap); margin: 0 auto; padding: 10px 20px; display: flex; gap: 12px; align-items: center; font-weight: 550; font-size: .95rem; }
.notice::before { content: "i"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--teal-800); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-style: italic; }
.notice.warning { background: var(--warn); }

/* ---------------------------------------------------------------- header */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(248, 243, 235, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { width: 56px; height: auto; }
.brand-word { width: 168px; height: auto; }
.main-nav { flex: 1; }
.main-nav > ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; justify-content: center; }
.main-nav a { display: block; white-space: nowrap; padding: 10px 11px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 560; font-size: .93rem; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--oat); color: var(--teal-900); }
.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 8px; opacity: .6; }
.sub { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px); background: var(--paper); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; list-style: none; margin: 0; min-width: 230px; opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sub a { border-radius: 8px; padding: 9px 12px; font-weight: 500; }
.head-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.open-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--off); flex: none; }
.is-open .dot, .dot.on { background: var(--here); box-shadow: 0 0 0 0 rgba(35, 147, 90, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(35, 147, 90, .45); } 70% { box-shadow: 0 0 0 8px rgba(35, 147, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(35, 147, 90, 0); } }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); max-height: calc(100vh - 76px); overflow: auto; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 20px; }
.mobile-nav li a { display: block; padding: 12px 0; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav li ul { padding: 0 0 0 14px; }
.mobile-nav li ul a { font-weight: 500; font-size: .95rem; }
.mobile-call { padding: 16px 20px 24px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1100px) { .open-pill .txt { display: none; } .open-pill { padding: 10px; } }
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .head-row { justify-content: space-between; }
}
@media (max-width: 520px) { .brand-word { width: 128px; } .brand-mark { width: 44px; } .btn-book { padding: 11px 16px; } .open-pill { display: none; } }

/* ----------------------------------------------------------------- hero */
.hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo picture, .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 42, 47, 0) 35%, rgba(29, 42, 47, .45) 100%); }
.hero-inner { position: relative; padding-top: 140px; padding-bottom: 48px; }
.hero-card { background: rgba(255, 253, 249, .95); border-radius: 26px; padding: clamp(24px, 4vw, 44px); max-width: 600px; box-shadow: var(--shadow-lg); }
.hero-card h1 { margin-bottom: .35em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.2em 0 1em; }
.hero-status { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; color: var(--ink-2); font-size: .95rem; }

/* --------------------------------------------------------------- today */
.today { padding: 64px 0 56px; background: var(--paper); border-bottom: 1px solid var(--line); }
.today-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.today-head h2 { margin: 0; }
.today-sub { margin: 0; color: var(--muted); max-width: 46ch; }
.today-groups { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
.today-group { min-width: 0; }
.today-group h3 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 650; margin: 0 0 12px; }
.face-row { display: flex; gap: 18px; overflow-x: auto; padding: 4px 4px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.face-row.wrapline { flex-wrap: wrap; overflow: visible; }
.today-foot { margin: 18px 0 0; font-size: .9rem; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.today-empty { color: var(--muted); padding: 10px 0; }
.sep { color: var(--sand); }

/* faces */
.face { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; text-align: center; width: 128px; flex: none; cursor: pointer; scroll-snap-align: start; border-radius: 16px; padding: 6px 4px 8px; transition: background .15s; }
.face:hover { background: var(--linen); }
.face:focus-visible { outline: 3px solid var(--teal-500); }
.face-ring { position: relative; width: 104px; height: 104px; border-radius: 50%; padding: 4px; background: var(--line); transition: transform .2s; }
.face:hover .face-ring { transform: translateY(-2px); }
.face-ring picture, .face-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--paper); }
.face-initial { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: var(--teal-100); color: var(--teal-800); font-family: var(--serif); font-size: 2.2rem; border: 3px solid var(--paper); }
.face-initial.big { font-size: 4rem; aspect-ratio: 1; }
.face-initial.huge { font-size: 7rem; aspect-ratio: 1; }
.face-status { position: absolute; right: 6px; bottom: 6px; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--paper); background: var(--off); display: none; }
[data-state="here"] .face-ring { background: conic-gradient(var(--here) 0 100%); }
[data-state="here"] .face-status { display: block; background: var(--here); }
[data-state="later"] .face-ring { background: repeating-conic-gradient(var(--later) 0 9deg, transparent 9deg 15deg); }
[data-state="later"] .face-status { display: block; background: var(--later); }
[data-state="done"] .face-ring { background: var(--line); }
[data-state="done"] .face-ring img { filter: saturate(.4); opacity: .8; }
.face-name { margin-top: 8px; font-weight: 650; font-size: .88rem; line-height: 1.25; color: var(--ink); }
.face-role { font-size: .74rem; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.face-live { font-size: .74rem; font-weight: 600; margin-top: 4px; line-height: 1.3; }
.face-live .ok { color: var(--here); }
.face-live .full { color: var(--muted); }
.face-live .late { color: var(--warn); }
.face-sm { width: 104px; }
.face-sm .face-ring { width: 76px; height: 76px; padding: 3px; }
.face.unpublished .face-ring::after { content: "draft"; position: absolute; left: 50%; top: -6px; transform: translateX(-50%); background: var(--warn); color: #fff; font-size: .62rem; font-weight: 700; padding: 1px 7px; border-radius: 99px; letter-spacing: .05em; text-transform: uppercase; }

/* ----------------------------------------------------------- welcome */
.welcome { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: 80px; padding-bottom: 80px; }
.welcome-text p { font-size: 1.08rem; }
.welcome-photo picture img { border-radius: var(--radius); aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .welcome { grid-template-columns: 1fr; } .welcome-photo picture img { aspect-ratio: 4/3; } }

/* ---------------------------------------------------------- different */
.different { background: var(--teal-800); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.different::before { content: ""; position: absolute; right: -140px; top: -120px; width: 520px; height: 520px; background: url(/assets/brand/mark.svg) no-repeat center/contain; opacity: .07; }
.different h2, .different h3 { color: #fff; }
.different h2 em { color: var(--teal-300); }
.different .eyebrow { color: var(--teal-300); }
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.diff { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 26px 24px; }
.diff-n { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--teal-300); display: block; margin-bottom: 14px; }
.diff p { color: rgba(255, 255, 255, .86); font-size: .97rem; margin: 0; }
@media (max-width: 980px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .diff-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ services */
.help { padding-top: 80px; padding-bottom: 70px; }
.help-head { display: grid; gap: 4px; margin-bottom: 26px; }
.filter { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chip { all: unset; cursor: pointer; font-size: .86rem; font-weight: 600; padding: 8px 15px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--teal-500); }
.chip.is-on { background: var(--teal-800); border-color: var(--teal-800); color: #fff; }
.chip:focus-visible { outline: 3px solid var(--teal-500); }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.svc-grid li[hidden] { display: none; }
.svc { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; position: relative; }
.svc:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--teal-300); color: var(--ink); }
.svc-t { font-family: var(--serif); font-size: 1.22rem; font-weight: 560; color: var(--teal-900); }
.svc-s { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.svc-aud { display: flex; gap: 6px; margin-top: auto; padding-top: 6px; }
.svc-aud i, .tag { font-style: normal; font-size: .7rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; background: var(--oat); color: var(--leather); padding: 3px 9px; border-radius: 99px; }
.svc-grid.big { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

/* --------------------------------------------------------------- bothy */
.bothy-band { background: #2a1d16 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23ffffff' stroke-opacity='.035' stroke-width='6'/%3E%3C/svg%3E"); color: #f4e9dc; padding: 80px 0; }
.bothy-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.bothy-photo img { border-radius: var(--radius); aspect-ratio: 4/3; }
.bothy-band h2 { color: #fff; }
.bothy-band .eyebrow { color: #e7b98e; }
.bothy-band p { color: #eadccb; }
.bothy-status { display: flex; align-items: center; gap: 10px; font-weight: 600; }
@media (max-width: 860px) { .bothy-inner { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- reviews */
.words { padding-top: 80px; padding-bottom: 70px; }
.rating { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 8px 0 26px; font-weight: 650; }
.stars { color: #e3a008; letter-spacing: 2px; font-size: 1.2rem; }
.quotes { columns: 3 280px; column-gap: 18px; }
.quote { break-inside: avoid; background: var(--paper); border-radius: 16px; padding: 22px 22px 18px; margin: 0 0 18px; border: 1px solid var(--line); position: relative; }
.quote::before { content: "“"; position: absolute; top: -6px; left: 14px; font-family: var(--serif); font-size: 3.4rem; color: var(--teal-300); line-height: 1; }
.quote p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.5; margin: 10px 0 8px; color: var(--ink); }
.quote cite { font-style: normal; font-size: .82rem; color: var(--muted); font-weight: 600; }
.quote .badge { position: absolute; top: 10px; right: 10px; }

/* ------------------------------------------------------- split / radio */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 30px; padding-bottom: 80px; }
.first-visit, .radio-card { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); }
.first-visit ul { padding-left: 1.2em; }
.first-visit li { margin-bottom: .5em; }
.radio-card { background: var(--oat); }
.show { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; background: var(--paper); border-radius: 14px; padding: 12px; margin: 14px 0; }
.show img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; }
.show h3 { font-size: 1.08rem; margin: 0 0 4px; }
.show p { margin: 0; font-size: .82rem; color: var(--muted); }
.show audio { width: 100%; margin-top: 8px; height: 36px; }
.radio-list .show { grid-template-columns: 120px 1fr; }
.radio-list .show img { width: 120px; height: 120px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- inside */
.inside-band { padding: 70px 0; background: var(--oat); }
.inside-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.inside-head h2 { margin: 0; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip img { border-radius: 14px; aspect-ratio: 4/3; }
.strip figcaption { margin-top: 8px; font-size: .92rem; }
@media (max-width: 700px) { .strip { grid-auto-columns: 78%; } }

/* --------------------------------------------------------------- visit */
.visit { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; padding-top: 70px; padding-bottom: 80px; }
.hours { border-collapse: collapse; width: 100%; font-size: .95rem; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.is-today td { color: var(--teal-900); font-weight: 700; }
.hours tr.is-today td:first-child::after { content: " · today"; color: var(--leather); font-weight: 600; font-size: .8rem; }
.hours tr.closed td:last-child { color: var(--muted); font-weight: 500; }
.hours .hol { display: block; font-size: .78rem; color: var(--warn); font-weight: 600; }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } }

/* -------------------------------------------------------- page heads */
.page-head { padding: 64px 0 40px; background: linear-gradient(180deg, var(--oat), var(--linen)); }
.page-head.slim { padding: 46px 0 26px; }
.page-head .lede { margin-top: .4em; }
.crumbs { font-size: .85rem; font-weight: 600; margin: 0 0 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a::after { content: " /"; color: var(--muted); }
.lede-block p { font-size: 1.1rem; color: var(--ink-2); max-width: 70ch; }

/* --------------------------------------------------------- prose pages */
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 30px; padding-bottom: 70px; align-items: start; }
.narrow.wrap { padding-top: 30px; padding-bottom: 70px; }
@media (max-width: 960px) { .with-side { grid-template-columns: 1fr; gap: 30px; } }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.75rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--teal-500); }
.prose strong { font-weight: 680; color: var(--ink); }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--teal-300); font-family: var(--serif); font-size: 1.15rem; color: var(--ink-2); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.table-wrap { overflow-x: auto; margin: 1.2em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: .93rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--oat); font-weight: 650; }
.callout { border-radius: 14px; padding: 18px 22px 6px; margin: 1.6em 0; background: var(--teal-100); border: 1px solid #c4e8ea; }
.callout-label { font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; display: flex; align-items: center; gap: 10px; color: var(--teal-900); margin-bottom: 8px; }
.callout-icon { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-800); color: #fff; font-family: var(--serif); font-style: italic; font-size: .9rem; }
.callout-urgent { background: #fdf0e8; border-color: #f2cfb8; }
.callout-urgent .callout-label { color: #9a3b0c; }
.callout-urgent .callout-icon { background: #c2410c; font-style: normal; }
.callout-book { background: var(--oat); border-color: var(--sand); font-family: var(--serif); font-size: 1.1rem; }
.check { background: #fff1a8; color: #5a4200; padding: 1px 6px; border-radius: 4px; font-size: .85em; font-weight: 600; font-family: var(--sans); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.chart-placeholder { border: 2px dashed var(--sand); border-radius: 14px; padding: 40px 20px; text-align: center; color: var(--muted); margin: 1.4em 0; }
.side { position: sticky; top: 100px; display: grid; gap: 22px; }
@media (max-width: 960px) { .side { position: static; } }
.side-h { font-family: var(--sans); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 680; margin: 0 0 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink-2); font-size: .9rem; }
.toc a:hover { border-left-color: var(--teal-500); color: var(--teal-900); }
.side-people, .side-book { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.side-people .face-row { flex-wrap: wrap; gap: 4px; overflow: visible; padding: 0; }
.side-book { display: grid; gap: 10px; }
.side-book p { margin: 0; }
.disclaimer p { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding: 18px 0 50px; margin: 0; }
.note-band { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; margin: 30px 0 70px; }

/* ---------------------------------------------------------------- team */
.team-tools { padding-top: 10px; }
.finder { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-top: -10px; }
.finder-label { font-family: var(--serif); font-size: 1.35rem; color: var(--teal-900); display: block; margin-bottom: 10px; }
.finder-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.finder-row input[type=search] { flex: 1 1 320px; font: inherit; padding: 13px 18px; border-radius: 999px; border: 1px solid var(--sand); background: var(--linen); min-width: 0; }
.finder-row input[type=search]:focus { outline: 3px solid var(--teal-300); border-color: var(--teal-500); }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; cursor: pointer; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--linen); }
.toggle input { accent-color: var(--teal-800); width: 18px; height: 18px; }
.finder-chips { margin-top: 14px; }
.finder-none { margin: 14px 0 0; color: var(--warn); font-weight: 600; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .8rem; font-weight: 600; background: var(--teal-100); color: var(--teal-900); padding: 4px 11px; border-radius: 99px; }
.chips li:has(.chip) { background: none; padding: 0; }
.chips.small li { font-size: .72rem; padding: 3px 9px; }
.team-group { padding-top: 46px; }
.team-group[hidden] { display: none; }
.team-group > h2 { margin-bottom: .25em; }
.pcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 20px; }
.pcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.pcard[hidden] { display: none; }
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pcard-photo { all: unset; cursor: pointer; position: relative; display: block; aspect-ratio: 1/1; background: var(--oat); }
.pcard-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
/* Cut-out portraits (transparent background, 20-10-2026): the card shows
   through, and the photo sits on the card's bottom edge of the frame. */
.pcard-photo.cut { background: transparent; }
.pcard-photo.cut img { object-fit: contain; object-position: center bottom; transform-origin: center bottom; }
.pcard:hover .pcard-photo img { transform: scale(1.03); }
.pcard-photo .face-status { width: 26px; height: 26px; right: 14px; bottom: 14px; }
.pcard-photo:focus-visible { outline: 3px solid var(--teal-500); outline-offset: -3px; }
.pcard-text { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard h3 { margin: 0; font-size: 1.28rem; }
.pcard h3 a { text-decoration: none; color: var(--teal-900); }
.pcard-role { margin: 0; font-size: .85rem; color: var(--muted); font-weight: 600; }
.pcard-line { margin: 0; font-size: .93rem; }
.pcard-live { margin: 4px 0 0; font-size: .85rem; font-weight: 650; min-height: 1.3em; }
.pcard-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding-top: 10px; }
.pcard.unpublished { border-style: dashed; border-color: var(--warn); }
.badge { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 99px; width: max-content; }
.badge-warn { background: #fde7d4; color: #8a3a06; }
.live-here { color: var(--here); }
.live-later { color: var(--later); }
.live-off, .live-full { color: var(--muted); }
.live-late { color: var(--warn); }

/* person page */
.person-head { background: linear-gradient(180deg, var(--oat), var(--linen)); padding: 50px 0 40px; }
.person-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.person-photo { position: relative; }
.person-photo img { border-radius: 50%; aspect-ratio: 1/1; box-shadow: var(--shadow-lg); border: 6px solid var(--paper); }
.person-photo .face-status { width: 40px; height: 40px; right: 26px; bottom: 26px; border-width: 5px; }
.person-role { font-weight: 650; color: var(--ink-2); margin: 0 0 4px; }
.person-cred { font-size: .88rem; color: var(--muted); letter-spacing: .02em; }
.person-live { display: grid; gap: 6px; margin: 16px 0; }
.live-line { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.person-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.person-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 40px; padding-bottom: 80px; }
.person-side { display: grid; gap: 18px; align-content: start; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 6px 0 6px 26px; position: relative; border-bottom: 1px solid var(--line); font-size: .93rem; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 10px; height: 6px; border-left: 2px solid var(--teal-500); border-bottom: 2px solid var(--teal-500); transform: rotate(-45deg); }
.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.week-grid div { text-align: center; font-size: .72rem; padding: 6px 2px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.week-grid div b { display: block; font-size: .78rem; color: var(--ink); }
.week-grid div.has { background: #e3f3ea; border-color: #bfe3cc; color: var(--here); font-weight: 650; }
@media (max-width: 860px) { .person-grid { grid-template-columns: 1fr; gap: 24px; } .person-photo { max-width: 240px; } .person-body { grid-template-columns: 1fr; gap: 30px; } }

/* -------------------------------------------------------- the dialog */
.person-dialog { border: 0; padding: 0; border-radius: 24px; width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 40px); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); }
.person-dialog::backdrop { background: rgba(20, 30, 34, .55); backdrop-filter: blur(3px); }
.person-dialog[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.pd-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--oat); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); z-index: 2; }
.pd-top { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; padding: 28px 28px 10px; background: linear-gradient(180deg, var(--oat), var(--paper)); }
.pd-top img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 5px solid var(--paper); box-shadow: var(--shadow); }
.pd-top h2 { font-size: 1.7rem; margin: 0 0 4px; }
.pd-main { padding: 10px 28px 28px; }
.pd-main .chips { margin: 4px 0 14px; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 520px) { .pd-top { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* --------------------------------------------------------------- tour */
.tour { display: grid; gap: 50px; padding-top: 30px; padding-bottom: 80px; }
.tour-stop { margin: 0; display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: center; }
.tour-stop.flip { grid-template-columns: 1fr 1.5fr; }
.tour-stop.flip picture { order: 2; }
.tour-stop img { border-radius: var(--radius); aspect-ratio: 3/2; box-shadow: var(--shadow); }
.tour-n { font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--teal-500); }
@media (max-width: 760px) { .tour-stop, .tour-stop.flip { grid-template-columns: 1fr; } .tour-stop.flip picture { order: 0; } }

/* -------------------------------------------------------------- gallery */
.gallery { columns: 3 240px; column-gap: 14px; padding-bottom: 70px; }
.gallery figure { margin: 0 0 14px; break-inside: avoid; }
.gallery img { border-radius: 12px; }
.gallery figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; }

/* ------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 30px; padding-bottom: 40px; }
.contact-card { background: var(--paper); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.contact-card h2 { font-size: 1.25rem; margin-top: 1.2em; }
.contact-card h2:first-child { margin-top: 0; }
.contact-card .big { font-family: var(--serif); font-size: 2rem; margin: 0 0 6px; }
.open-line { display: flex; gap: 10px; align-items: center; font-weight: 650; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid + .wrap img, .wrap > picture img { border-radius: var(--radius); }

/* ----------------------------------------------------------- join/roles */
.role-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 1.5em 0; }
.fees-table { padding-bottom: 80px; }
.band-now { font-weight: 650; color: var(--teal-900); }

/* -------------------------------------------------------------- review */
.review { padding-bottom: 80px; }
.review-item { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 14px; }
.review-item h2 { font-size: 1.15rem; margin-bottom: 10px; }
.review-item ul { margin: 0; padding-left: 1.2em; font-size: .92rem; }
.review-item li { margin-bottom: 6px; }
.review-item .checks { list-style: none; padding: 0; }

/* -------------------------------------------------------------- footer */
.site-foot { background: var(--teal-900); color: rgba(255, 255, 255, .86); position: relative; margin-top: 0; }
.site-foot a { color: #fff; }
.confetti { height: 8px; background: linear-gradient(90deg, var(--c-orange) 0 12%, var(--c-pink) 12% 24%, var(--c-purple) 24% 36%, var(--teal-500) 36% 48%, var(--c-lime) 48% 60%, var(--c-yellow) 60% 72%, var(--c-blue) 72% 84%, var(--c-red) 84% 100%); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-top: 56px; padding-bottom: 30px; }
.foot-grid img { width: 220px; height: auto; margin-bottom: 10px; }
.foot-tag { font-family: var(--serif); font-style: italic; color: var(--teal-300); font-size: 1.15rem; }
.foot-h { font-family: var(--sans); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--teal-300); margin: 0 0 12px; }
.foot-small { font-size: .85rem; }
.foot-links { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.foot-links a { text-decoration: none; }
.hours-mini { font-size: .9rem; border-collapse: collapse; width: 100%; }
.hours-mini td { padding: 4px 0; }
.hours-mini td:last-child { text-align: right; }
.hours-mini tr.is-today td { color: #fff; font-weight: 700; }
.muted-light { color: rgba(255, 255, 255, .62); }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 20px; padding-bottom: 30px; font-size: .82rem; }
.foot-legal p { margin: 0 0 8px; }
.ack { color: rgba(255, 255, 255, .78); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* grid children may shrink below their content - long buttons wrap instead of pushing the page wide */
.split > *, .visit > *, .welcome > *, .bothy-inner > *, .contact-grid > *, .person-body > *, .with-side > *, .person-grid > *, .diff-grid > * { min-width: 0; }
@media (max-width: 520px) { .btn { white-space: normal; text-align: center; line-height: 1.25; } }
.bothy-band a:not(.btn) { color: #f1c79c; }
.strip img, .tour-stop img, .bothy-photo img, .welcome-photo img { object-fit: cover; }
.strip picture img { aspect-ratio: 4/3 !important; }
.tour-stop picture img { aspect-ratio: 3/2 !important; }
.bothy-photo picture img { aspect-ratio: 4/3 !important; }

/* the footer duck - small, quiet, and it waddles if you find it */
.foot-legal { position: relative; padding-right: 60px; }
.foot-duck { position: absolute; right: 20px; bottom: 26px; width: 34px; opacity: .8; transition: opacity .2s, transform .2s; transform-origin: 50% 90%; }
.foot-duck img { width: 34px; height: auto; }
.foot-duck:hover, .foot-duck:focus-visible { opacity: 1; animation: waddle .6s ease-in-out 2; }
@keyframes waddle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
.face-live .on, .live-on { color: var(--ink-2); }

.data-block { margin: 1.4em 0; }
.data-block h3 { font-size: 1.15rem; margin-top: 1.2em; }
.adhd-fees table { border-collapse: collapse; width: 100%; font-size: .93rem; background: var(--paper); }
.adhd-fees th, .adhd-fees td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.adhd-fees th { background: var(--oat); font-weight: 650; }
.adhd-fees tr.total td { font-weight: 700; }

/* Medicare rebate vs cost of care chart (rebate_chart.py, 20-10-2026) */
.rebate-chart { margin: 1.8em 0; padding: 22px 22px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.rc-head { font-family: var(--serif); font-size: 1.15rem; color: var(--teal-900); margin: 0 0 10px; }
.rc-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 8px; padding: 0; font-size: .85rem; color: var(--ink-2); }
.rc-legend li { display: flex; align-items: center; gap: 7px; margin: 0; }
.rc-plot { position: relative; }
.rc-svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.rc-grid { stroke: var(--line); stroke-width: 1; }
.rc-base { stroke: var(--muted); stroke-width: 1; }
.rc-tick { fill: var(--muted); font-size: 12px; }
.rc-band { fill: var(--oat); opacity: .55; }
.rc-note { fill: var(--muted); font-size: 11px; font-style: italic; }
.rc-end { fill: var(--ink); font-size: 13px; font-weight: 700; }
.rc-end-l { fill: var(--muted); font-size: 11px; }
.rc-cross { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 2 3; pointer-events: none; }
.rc-hit { cursor: crosshair; }
.rc-tip { position: absolute; top: 0; pointer-events: none; background: var(--ink); color: #fff; border-radius: 10px; padding: 8px 11px; font-size: .8rem; line-height: 1.45; white-space: nowrap; box-shadow: var(--shadow); z-index: 2; }
.rc-tip b { display: block; font-size: .85rem; margin-bottom: 2px; }
.rc-tip i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.rebate-chart figcaption { margin-top: 10px; font-size: .95rem; color: var(--ink-2); }
.rc-src { display: block; margin-top: 8px; font-size: .78rem; color: var(--muted); }
.rc-table { margin-top: 10px; font-size: .88rem; }
.rc-table summary { cursor: pointer; color: var(--teal-800); font-weight: 600; }
.rc-table table { margin-top: 8px; }
.rc-table td, .rc-table th { text-align: right; padding: 3px 10px; }
.rc-table th[scope=row], .rc-table thead th:first-child { text-align: left; }
.rc-compact { display: none; }
@media (max-width: 600px) {
  .rebate-chart { padding: 16px 12px 12px; }
  .rc-wide { display: none; } .rc-compact { display: block; }
  .rc-tip { white-space: normal; max-width: 220px; }
}
