/* Sub-pages (migrated from the live site) - rendered by public/page.html from
   site.json `pages`. Built entirely from the homepage's design language. */

/* The whole page column runs at the site-wide 1160 wrap - head, body and CTA
   band all share the same full width, so every edge lines up (operator call,
   2026-08-27: expand the content to the title, never condense the title). */
.subpage .page-head { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); padding: 56px 0 48px; border-bottom: 1px solid #E7E3DC; }
.subpage .page-head .wrap { display: grid; gap: 14px; }
.subpage h1 { font-size: var(--step-4); }
.subpage .page-head .lede { font-size: var(--step-1); line-height: 1.55; }

.subpage .page-head .page-head-inner { display: grid; gap: 14px; }

/* A photo header (site.json pages.<slug>.head_img, or a booking page's headImg): a banner - the
   photograph fills a rounded panel inside the page width (not full bleed: operator, 2026-10-05,
   "we cant see the picture properly if spanned the width" ... "more like a header not just a
   picture, just not as wide"), with the heading over a dark fade on the left so the right of the
   picture stays clear. */
/* A homepage section on its own page: it carries straight on from the header, with no band or line of its own (operator, 2026-11-06). */
.section-page .prices { background: none; border-top: 0; }
.subpage .page-head.has-media { background: var(--paper); border-bottom: 0; padding: 28px 0 0; }
.subpage .page-head.has-media .page-head-inner { position: relative; isolation: isolate; overflow: hidden; border-radius: 20px; background: var(--ink);
  min-height: clamp(380px, 36vw, 470px); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 56px 56px 52px;
  box-shadow: 0 1px 2px rgba(34, 51, 46, .08), 0 24px 48px -28px rgba(34, 51, 46, .5); }
.page-head-media, .page-head-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-head-media { z-index: -2; }
.page-head-media img { object-fit: cover; }
.subpage .page-head.has-media .page-head-inner::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(22, 33, 30, .9) 0%, rgba(22, 33, 30, .72) 34%, rgba(22, 33, 30, .18) 66%, rgba(22, 33, 30, 0) 100%); }
/* wide enough that a heading's line never breaks short (operator, 2026-11-03), still over the photo's dark side */
.subpage .page-head.has-media .page-head-inner > :not(.page-head-media) { max-width: 760px; }
.subpage .page-head.has-media .eyebrow { color: #F0B9B3; }
.subpage .page-head.has-media h1 { color: #fff; font-size: var(--step-5); letter-spacing: -.01em; }
.subpage .page-head.has-media .lede { color: rgba(255, 255, 255, .9); }
.subpage .page-head .page-head-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.subpage .page-head.has-media .btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.subpage .page-head.has-media .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }

.page-body { display: grid; gap: 28px; }
.page-body .prose { display: grid; gap: 12px; }
.page-body .prose h2 { font-size: var(--step-2); margin-top: 8px; }
.page-body .team-heading h2 { font-size: var(--step-3); margin-top: 16px; }

.person-card { background: #fff; border: 1px solid #E7E3DC; border-radius: 12px; padding: 28px; display: grid; gap: 12px; }
.person-card h3 { font-size: 24px; }
.person-card .cred { display: inline-flex; align-items: flex-start; gap: 8px; background: #E4EAE7; border-radius: 6px; color: var(--ink-2); font-size: 13.5px; font-weight: 600; padding: 8px 12px; justify-self: start; }
.person-card .cred svg { flex: none; margin-top: 2px; }
.person-card .skills { font-size: 13.5px; color: var(--ink-3); font-weight: 700; letter-spacing: .02em; }
.person-card p { font-size: 15.5px; }

.page-body .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

.page-body .qa-list details.acc summary { font-size: 17px; }
/* The FAQ's heading is a section heading like the prose ones, with room before the first question
   (operator, 2026-10-05: it sat right on top of the list). */
.page-body .qa-list .team-heading h2 { font-size: var(--step-2); margin: 20px 0 18px; }
.page-body .qa-list details.acc .rows p { font-size: 15px; }

/* 404 */
.notfound-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nf-card { background: #fff; border: 1px solid #E7E3DC; border-radius: 10px; padding: 20px 22px; display: grid; gap: 4px; text-decoration: none; }
.nf-card:hover { border-color: var(--ink-2); }
.nf-card b { font-family: var(--font-display); color: var(--ink); font-size: 18px; }
.nf-card:hover b { color: var(--accent); }
.nf-card span { color: var(--ink-3); font-size: 14px; }
@media (max-width: 899.98px) { .notfound-grid { grid-template-columns: 1fr; } }

/* Distinct from the flat-ink footer that follows it: a diagonal slate
   gradient with a red keyline on top and a lighter hairline before the
   footer, so the band reads as its own moment rather than footer overrun. */
.cta-band { background: linear-gradient(135deg, var(--ink-2) 0%, #2A3E37 55%, var(--ink) 100%); color: var(--paper); border-top: 3px solid var(--accent); border-bottom: 1px solid #4A5D54; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: var(--sp-6); padding-bottom: var(--sp-6); flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: var(--step-3); }
.cta-band p { color: #C7D2CC; margin-top: 6px; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-ghost { border-color: #55685F; color: #fff; }
.cta-band .btn-ghost:hover { border-color: #E8B4AE; color: #E8B4AE; }

@media (max-width: 899.98px) {
  .subpage .page-head { padding: 28px 0 26px; }
  .subpage h1 { font-size: 30px; }
  .subpage .page-head .lede { font-size: 16.5px; }
  .subpage .page-head.has-media { padding: 16px 0 0; }
  .subpage .page-head.has-media .page-head-inner { min-height: 360px; padding: 24px 22px 24px; border-radius: 16px; gap: 10px; }
  .subpage .page-head.has-media .page-head-inner::after { background: linear-gradient(0deg, rgba(22, 33, 30, .94) 0%, rgba(22, 33, 30, .7) 45%, rgba(22, 33, 30, .05) 85%); }
  .subpage .page-head.has-media h1 { font-size: 34px; }
  .subpage .page-head .page-head-ctas { gap: 10px; margin-top: 4px; }
  .subpage .page-head .page-head-ctas .btn { flex: 1 1 auto; padding: 13px 18px; }
  .page-body { gap: 18px; }
  .person-card { border-radius: 12px; padding: 18px; }
  .person-card h3 { font-size: 21px; }
  .person-card p { font-size: 14.5px; }
  .cta-band .wrap { display: grid; justify-items: start; }
  .cta-band .cta-actions .btn { width: 100%; }
  .cta-band .cta-actions { width: 100%; display: grid; }
}

/* "Your first visit": the steps as numbered cards, like the booking steps (operator, 2026-10-15) */
.visit-steps { display: grid; gap: 20px; }
.visit-step { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; background: #fff; border: 1px solid #E7E3DC; border-radius: 18px;
  padding: 28px 32px 30px; box-shadow: 0 1px 2px rgba(34, 51, 46, .04), 0 18px 36px -30px rgba(34, 51, 46, .4); }
.visit-step .vs-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #F6E9E7; color: var(--accent);
  font-family: var(--font-display); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.visit-step h2 { font-size: var(--step-2); margin: 6px 0 10px; }
.visit-step p + p { margin-top: 10px; }
@media (max-width: 899.98px) {
  .visit-steps { gap: 14px; }
  .visit-step { grid-template-columns: 1fr; gap: 10px; padding: 20px 18px 22px; border-radius: 14px; }
  .visit-step .vs-num { width: 36px; height: 36px; font-size: 15px; }
  .visit-step h2 { margin-top: 0; }
}

/* Under a photo header the page body starts close, not a full section's padding below (operator, 2026-10-15) */
.subpage .page-head + .section { padding-top: 28px; } /* every subpage: the body starts close under its heading */
@media (max-width: 899.98px) { .subpage .page-head + .section { padding-top: 18px; } }

/* Text sections sit in the same white cards as the booking steps and first-visit stages
   (operator, 2026-10-15: "put this in a container also") */
.page-body > .prose { background: #fff; border: 1px solid #E7E3DC; border-radius: 18px; padding: 28px 32px 30px;
  box-shadow: 0 1px 2px rgba(34, 51, 46, .04), 0 18px 36px -30px rgba(34, 51, 46, .4); }
.page-body > .prose > h2:first-child { margin-top: 0; }
@media (max-width: 899.98px) { .page-body > .prose { padding: 20px 18px 22px; border-radius: 14px; } }
.page-body > .prose > .cta-row { margin-top: 10px; }

/* Buttons with a heading of their own: a card like the homepage reviews card, warm paper glow
   (operator, 2026-10-16) */
.page-body > .cta-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 40px;
  background: #fff radial-gradient(circle at 100% 0%, #EDE8DF 0, rgba(237, 232, 223, 0) 55%);
  border: 1px solid #E7E3DC; border-radius: 18px; padding: 32px 36px; box-shadow: 0 10px 30px rgba(34, 51, 46, .08); }
.page-body > .cta-card h2 { margin: 0 0 6px; }
.page-body > .cta-card p { color: var(--ink-3); margin: 0; }
/* ...and with a photo, the photo is the card's background under the photo headers' dark fade,
   white words over it (operator, 2026-10-16) */
.page-body > .cta-card.has-img { display: block; position: relative; isolation: isolate; overflow: hidden; padding: 0; border: 0;
  background: var(--ink); min-height: 440px; box-shadow: 0 1px 2px rgba(34, 51, 46, .08), 0 24px 48px -28px rgba(34, 51, 46, .5); }
.cta-card .cc-img, .cta-card .cc-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-card .cc-img { z-index: -2; }
.cta-card .cc-img img { object-fit: cover; object-position: 60% 30%; }
.page-body > .cta-card.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(22, 33, 30, .9) 0%, rgba(22, 33, 30, .72) 38%, rgba(22, 33, 30, .18) 70%, rgba(22, 33, 30, 0) 100%); }
.cta-card .cc-body { display: grid; gap: 22px; align-content: center; min-height: 440px; max-width: 560px; padding: 44px 48px; }
.cta-card.has-img h2 { color: #fff; }
.cta-card.has-img p { color: rgba(255, 255, 255, .88); }
.cta-card.has-img .btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.cta-card.has-img .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
@media (max-width: 899.98px) {
  .page-body > .cta-card.has-img { padding: 0; border-radius: 14px; min-height: 0; }
  .page-body > .cta-card.has-img::after { background: linear-gradient(0deg, rgba(22, 33, 30, .94) 0%, rgba(22, 33, 30, .72) 55%, rgba(22, 33, 30, .25) 100%); }
  .cta-card .cc-body { min-height: 420px; align-content: end; padding: 24px 20px; gap: 18px; }
  .page-body > .cta-card { grid-template-columns: 1fr; padding: 22px 18px 24px; border-radius: 14px; }
  .page-body > .cta-card .cta-row { display: grid; gap: 10px; }
  .page-body > .cta-card .btn { width: 100%; }
}

/* The team: one list, shown on /team by category and on the treatment pages (2026-10-15) */
.people { display: grid; gap: 20px; }
.page-body .person-card { border-radius: 18px; padding: 28px 32px 30px; box-shadow: 0 1px 2px rgba(34, 51, 46, .04), 0 18px 36px -30px rgba(34, 51, 46, .4); }
.person-card .pc-body { display: grid; gap: 12px; min-width: 0; }
.person-card.has-photo { grid-template-columns: 120px minmax(0, 1fr); gap: 26px; align-items: start; }
.person-card .pc-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 4px solid #F3F1EB; }
.team-cats { display: grid; gap: 20px; }
.tc-tabs { display: flex; flex-wrap: nowrap; gap: 6px; background: #fff; border: 1px solid #E7E3DC; border-radius: 14px; padding: 8px;
  overflow-x: auto; scrollbar-width: none; } /* seven tabs on one row; scrolls rather than wraps if it ever runs out of room (2026-10-16) */
.tc-tabs::-webkit-scrollbar { display: none; }
.tc-tabs[hidden] { display: none; }
.tc-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; border-radius: 10px; padding: 10px 12px; font-family: var(--font-body);
  flex: 1 0 auto; justify-content: center; white-space: nowrap; font-size: 15px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.tc-tabs button:hover { background: var(--paper); }
.tc-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tc-tabs .tc-n { font-size: 12px; font-weight: 800; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center;
  background: #EFEBE4; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tc-tabs button[aria-selected="true"] .tc-n { background: rgba(255, 255, 255, .16); color: #fff; }
.tc-panel { display: grid; gap: 16px; }
.tc-panel + .tc-panel { margin-top: 12px; }
.team-cats.js-tabs .tc-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } /* the tab names it */
.team-cats.js-tabs .tc-panel + .tc-panel { margin-top: 0; }
@media (max-width: 899.98px) {
  .page-body .person-card { padding: 20px 18px 22px; border-radius: 14px; }
  .person-card.has-photo { grid-template-columns: 1fr; gap: 14px; }
  .person-card .pc-photo { width: 88px; height: 88px; }
  .tc-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tc-tabs::-webkit-scrollbar { display: none; }
  .tc-tabs button { flex: none; padding: 9px 13px; font-size: 14px; }
}

/* Lists inside a text card (the treatment pages, 2026-10-15): soft tiles, each with a filled check
   in the clinic red (operator: "make tick boxes look better") */
.prose .ticks { list-style: none; padding: 0; margin: 6px 0 2px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; } /* two columns (operator, 2026-10-15) */
.prose .ticks.odd li:last-child { grid-column: 1 / -1; } /* an odd count still closes evenly */
.prose .ticks li { justify-content: space-between; gap: 12px; }
.prose .ticks li small { flex: none; font-size: 13px; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prose .ticks li { position: relative; display: flex; align-items: center; min-height: 48px; padding: 10px 14px 10px 50px;
  background: #F7F5F1; border: 1px solid #EFEBE4; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.prose .ticks li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: 0 2px 6px -2px rgba(176, 51, 44, .45); }
@media (max-width: 899.98px) { .prose .ticks { grid-template-columns: minmax(0, 1fr); gap: 8px; } .prose .ticks li { font-size: 14.5px; min-height: 44px; } }

/* A FAQ block is a card too, its questions as divided rows inside it (operator, 2026-10-15) */
.page-body > .qa-list { background: #fff; border: 1px solid #E7E3DC; border-radius: 18px; padding: 24px 32px 28px;
  box-shadow: 0 1px 2px rgba(34, 51, 46, .04), 0 18px 36px -30px rgba(34, 51, 46, .4); display: grid; gap: 0; }
.page-body > .qa-list .team-heading h2 { margin: 0 0 8px; }
.page-body > .qa-list .acc { border: 0; border-top: 1px solid #EFEBE4; border-radius: 0; box-shadow: none; background: none; margin: 0; }
.page-body > .qa-list .acc:first-of-type { border-top: 0; }
.page-body > .qa-list .acc summary { padding-left: 0; padding-right: 0; }
.page-body > .qa-list .acc .rows { padding-left: 0; padding-right: 0; }
.page-body > .qa-list > .cta-row { margin-top: 18px; }
@media (max-width: 899.98px) { .page-body > .qa-list { padding: 18px 18px 22px; border-radius: 14px; } }

/* The no-photo placeholder: initials on the clinic's dark green with a soft sage light, ringed like a photo */
.person-card .pc-initials { display: grid; place-items: center; box-sizing: border-box;
  background: radial-gradient(circle at 30% 25%, #4F6F66 0%, var(--ink-2) 45%, var(--ink) 100%);
  color: #F3F1EB; font-family: var(--font-display); font-weight: 700; font-size: 38px; letter-spacing: .04em; }
@media (max-width: 899.98px) { .person-card .pc-initials { font-size: 28px; } }

/* A header whose subject is on the left of the photo (the Team page: Gemma at reception): the photo
   fills the right of the banner and the heading sits on plain clinic green (operator, 2026-10-15) */
@media (min-width: 900px) {
  .subpage .page-head.has-media.media-right .page-head-media { left: 38%; }
  .subpage .page-head.has-media.media-right .page-head-inner::after {
    background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 38%, rgba(34, 51, 46, .6) 46%, rgba(34, 51, 46, 0) 62%); }
}

/* /prices: laid out as every other page's header (operator, 2026-11-06: "match the other pages"). Its towels sit further
   left than the other photos' subjects, so the copy stops short of them. */
@media (min-width: 900px) { .subpage .page-head.has-media.media-fit .page-head-inner > :not(.page-head-media) { max-width: 560px; } }

/* A live Cliniko treatment tile is a link to /book with it chosen, with a very small "Click to book" */
.prose .ticks li.tk-link { padding: 0; }
.prose .ticks li.tk-link a { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px;
  padding: 9px 14px 9px 50px; border-radius: 12px; color: inherit; text-decoration: none; transition: background .15s ease, border-color .15s ease; }
.prose .ticks li.tk-link:hover { border-color: var(--accent); background: #fff; }
.prose .ticks li.tk-link:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.prose .ticks .tk-name { flex: 1; min-width: 0; }
.prose .ticks li.tk-link small { margin-left: auto; }
.prose .ticks .tk-price { flex: none; min-width: 52px; text-align: right; font-family: var(--font-body); font-size: 15.5px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.prose .ticks li.tk-link:hover .tk-price { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .prose .ticks li.tk-link a { transition: none; } }

/* The closing "meet the team" card on treatment pages: copy and button left, an overlapping row of
   that page's practitioners right (Mobbin: Complex Law's tinted portrait circles, Harvest's closing card) */
.team-promo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; background: #fff; border: 1px solid #E7E3DC;
  border-radius: 18px; padding: 32px 36px; box-shadow: 0 1px 2px rgba(34, 51, 46, .04), 0 18px 36px -30px rgba(34, 51, 46, .4);
  background-image: radial-gradient(circle at 100% 0%, #F6E9E7 0, rgba(246, 233, 231, 0) 45%); }
.team-promo .tp-text { display: grid; gap: 10px; justify-items: start; }
.team-promo h2 { font-size: var(--step-2); margin: 0; }
.team-promo p { color: var(--ink-3); margin: 0 0 6px; } /* no width cap: the line uses the column (operator, 2026-10-15) */
.tp-faces { display: flex; align-items: center; padding-left: 18px; text-decoration: none; }
.tp-faces img, .tp-faces span { width: 84px; height: 84px; border-radius: 50%; margin-left: -18px; border: 4px solid #fff; object-fit: cover; object-position: 50% 20%;
  box-shadow: 0 8px 18px -12px rgba(34, 51, 46, .55); position: relative; transition: transform .18s ease; }
.tp-faces span { display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--ink-2); }
.tp-faces .tp-more { background: var(--ink); color: #fff; font-size: 18px; }
.tp-faces:hover img, .tp-faces:hover span { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .tp-faces img, .tp-faces span { transition: none; } .tp-faces:hover img, .tp-faces:hover span { transform: none; } }
@media (max-width: 899.98px) {
  .team-promo { grid-template-columns: 1fr; gap: 20px; padding: 22px 18px 24px; border-radius: 14px; }
  .team-promo .tp-faces { order: -1; }
  .tp-faces img, .tp-faces span { width: 64px; height: 64px; margin-left: -14px; font-size: 19px; }
  .team-promo .btn { width: 100%; }
  .team-promo .tp-text { justify-items: stretch; }
}

/* Bookable (live Cliniko) tiles look like the others; only the mark differs: a calendar instead of
   the tick (operator, 2026-10-15) */
.prose .ticks li.tk-link::before {
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5.5' width='16' height='14.5' rx='2.5'/%3E%3Cpath d='M4 10.5h16M8.5 3.5v4M15.5 3.5v4'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* The team card in the homepage team card's colours: warm paper with its glow and shadow
   (operator, 2026-10-16; was the clinic green, 2026-10-15) */
.team-promo { background: var(--paper) radial-gradient(circle at 100% 0%, #EDE8DF 0, rgba(237, 232, 223, 0) 55%); border-color: #E7E3DC;
  box-shadow: 0 10px 30px rgba(34, 51, 46, .08); }
.team-promo .eyebrow { color: var(--ink-2); }
.tp-faces span { color: var(--ink); }

/* /contact (operator, 2026-10-16): the enquiry form in one white card, the clinic's details and the
   self-hosted map in a column beside it; every gap 20px. The submit is clinic green - red stays for
   booking. */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; }
.contact-side { display: grid; gap: 20px; }
.contact-card { background: #fff; border: 1px solid #E7E3DC; border-radius: 18px; padding: 28px 32px 30px; display: grid; gap: 14px; align-content: start;
  box-shadow: 0 1px 2px rgba(34, 51, 46, .04), 0 18px 36px -30px rgba(34, 51, 46, .4); }
.contact-card:focus { outline: none; }
.contact-form { scroll-margin-top: 20px; }
.contact-card h2 { font-size: var(--step-2); margin: 0; }
.contact-card .cc-intro { color: var(--ink-3); margin: -4px 0 0; }
.contact-form .enq { background: none; border: 0; border-radius: 0; padding: 0; margin: 0; gap: 18px; }
.contact-form .enq label { font-size: 14px; }
.contact-form .enq .opt { font-weight: 600; color: var(--ink-3); }
.contact-form .enq textarea { min-height: 150px; }
.enq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.enq-note { display: flex; gap: 10px; align-items: flex-start; margin: -6px 0 0; padding: 12px 14px; border-radius: 10px; background: #EEF3F0; border: 1px solid #DCE6E1;
  color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.enq-note svg { flex: none; margin-top: 2px; }
.contact-form .enq-privacy { font-size: 13px; line-height: 1.5; }
.enq-send .btn { min-width: 210px; }
.enq-body { display: grid; gap: 14px; }
.contact-form .enq .form-msg { margin: -4px 0 0; }
/* Sent (operator, 2026-10-27): the form folds away and this takes its place in the card. The ring
   draws, then the tick, over a soft halo that scales in; the text rises in after it. */
.enq-done { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 36px 8px 30px; }
.enq-body[hidden], .enq-done[hidden] { display: none; }
.enq-tick { display: block; width: 88px; height: 88px; margin-bottom: 8px; overflow: visible; }
.enq-tick-halo { fill: #E4EDE8; transform-origin: 44px 44px; animation: enq-halo .5s cubic-bezier(.2,.9,.3,1.3) both; }
.enq-tick-ring { stroke: var(--ink-2); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  transform: rotate(-90deg); transform-origin: 44px 44px; animation: enq-draw .6s cubic-bezier(.65,0,.35,1) .1s forwards; }
.enq-tick-mark { stroke: var(--ink-2); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: enq-draw .38s cubic-bezier(.65,0,.35,1) .62s forwards; }
.enq-done > :not(.enq-tick) { animation: enq-rise .45s ease-out both; }
.enq-done-title { animation-delay: .55s !important; }
.enq-done-text { animation-delay: .65s !important; }
.enq-again { animation-delay: .75s !important; }
.contact-card .enq-done-title { font-size: var(--step-3); margin: 0; }
.enq-done-title:focus { outline: none; }
.enq-done-text { margin: 0; color: var(--body); font-size: 17px; }
.enq-again { margin-top: 8px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: var(--ink-2); font-weight: 700; font-size: 15px;
  text-decoration: underline; text-decoration-color: rgba(62,90,82,.35); text-underline-offset: 4px; }
.enq-again:hover { color: var(--ink); text-decoration-color: currentColor; }
.enq-again:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 2px; border-radius: 4px; }
@keyframes enq-draw { to { stroke-dashoffset: 0; } }
@keyframes enq-halo { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes enq-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .enq-tick-halo, .enq-done > :not(.enq-tick) { animation: none; }
  .enq-tick-ring, .enq-tick-mark { animation: none; stroke-dashoffset: 0; }
}
.cd-rows { margin: 0; display: grid; }
.cd-row { display: grid; gap: 3px; padding: 12px 0; border-top: 1px solid #EFEBE4; } /* label over value: the email address fits on one line */
.cd-row:first-child { border-top: 0; padding-top: 4px; }
.cd-row dt { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.cd-row dd { margin: 0; color: var(--ink); font-size: 15.5px; overflow-wrap: anywhere; }
.cd-row dd a { color: var(--ink-2); font-weight: 700; }
.contact-side .map-card { margin: 0; }
.contact-side .map-card .cap { flex-direction: column; align-items: stretch; }
.contact-side .map-card .map-go { width: 100%; }
@media (max-width: 899.98px) {
  .contact-grid { grid-template-columns: 1fr; gap: 14px; }
  .contact-side { gap: 14px; }
  .contact-card { padding: 20px 18px 22px; border-radius: 14px; gap: 12px; }
  .contact-form .enq { gap: 16px; }
  .contact-form .enq textarea { min-height: 130px; }
  .enq-row { grid-template-columns: 1fr; gap: 16px; }
  .enq-send .btn { width: 100%; }
  .cd-row { padding: 11px 0; }
  .contact-form { scroll-margin-top: 80px; }
  .contact-card .enq-done-title { font-size: 22px; } /* the size of the page h1 on a phone */
  .enq-done { padding: 28px 4px 22px; }
}

/* Phones: a smaller type scale on the inner pages, headings most (operator, 2026-10-16). Scoped to
   <main>, so the menu and footer keep their sizes; the homepage does not load this file. The tokens
   cover everything sized by --step-*, the rest are the fixed sizes set for phones above. */
@media (max-width: 899.98px) {
  main { --step-0: 14px; --step-1: 15.5px; --step-2: 18px; --step-3: 19px; --step-4: 22px; --step-5: 24px; font-size: 14px; line-height: 1.55; }
  main.subpage h1, main .subpage h1 { font-size: 22px; }
  .subpage .page-head.has-media h1 { font-size: 24px; }
  .subpage .page-head .lede { font-size: 14px; }
  .subpage .page-head .eyebrow { font-size: 10px; }
  .person-card h3 { font-size: 17px; }
  .page-body .qa-list details.acc summary { font-size: 14.5px; }
  .prose .ticks li { font-size: 13px; }
  .prose .ticks .tk-price { font-size: 13.5px; }
  main .btn { font-size: 14px; }
}

/* Draft pages (pages.<slug>.draft, 2026-10-21): a banner only a signed-in admin or local demo ever
   sees, and "[TO CONFIRM: ...]" placeholders highlighted so a draft cannot be read past them. */
.draft-banner { background: #FFF4CC; border-bottom: 1px solid #E8D27A; color: #4A3B00; font-size: 14.5px; line-height: 1.5; padding: 12px 0; }
.draft-banner .wrap { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.draft-banner strong { font-weight: 800; letter-spacing: .02em; }
mark.tbc { background: #FFE58A; color: #3D3000; font-weight: 700; padding: 1px 4px; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
@media (max-width: 899.98px) { .draft-banner { font-size: 13px; padding: 10px 0; } }

/* The memberships on the gym page (public/js/gym-plans.js, 2026-11-17): a card of its own like the page's others,
   its heading inside it (operator: "this should be in a container on its own (title is out)"), then a row each:
   the name and how many classes, the price, Join. */
.gym-plans { background: #fff; border: 1px solid #E7E3DC; border-radius: 18px; padding: 26px 32px 12px;
  box-shadow: 0 1px 2px rgba(34, 51, 46, .04), 0 18px 36px -30px rgba(34, 51, 46, .4); animation: gp-in .35s ease-out both; }
.gym-plans[hidden] { display: none; }
@keyframes gp-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.gp-head { display: grid; gap: 4px; padding-bottom: 14px; }
.gp-head h2 { font-size: var(--step-2); margin: 0; }
.gp-head p { color: var(--ink-3); }
.gp-grid { list-style: none; margin: 0; padding: 0; }
.gp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 28px; padding: 18px 0; border-top: 1px solid #EFEBE4; }
.gp-what { display: grid; gap: 3px; min-width: 0; }
.gp-what h3 { font-size: 19px; }
.gp-gives { color: var(--ink-2); font-size: 15px; }
.gp-price { color: var(--ink-3); font-size: 15px; white-space: nowrap; text-align: right; }
.gp-price b { font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--ink); letter-spacing: -.01em; }
.gp-join { padding: 11px 26px; min-width: 104px; }
@media (max-width: 899.98px) { .gym-plans { padding: 20px 18px 6px; border-radius: 14px; } }
/* a phone: still a list, not blocks: the words on the left, the price over a small Join on the right */
@media (max-width: 640px) {
  .gp-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 14px; row-gap: 8px; padding: 16px 0; align-items: start; }
  .gp-what { grid-row: 1 / span 2; }
  .gp-what h3 { font-size: 17.5px; }
  .gp-gives { font-size: 14.5px; }
  .gp-price { font-size: 14px; }
  .gp-price b { font-size: 22px; }
  .gp-join { justify-self: end; align-self: start; min-width: 0; min-height: 40px; padding: 0 22px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .gym-plans { animation: none; } }
