/* =========================================================
   Afterglow at The Crescent
   Palette sampled from the brand mark:
   green #263D33  cream #EEDDD6  gold #B98552

   Nav logo is a flat-colour SVG referenced as an <img> (see .brand).
   The AT THE CRESCENT subline is dropped from the nav mark and kept in the
   footer lockup, where it has room to breathe.
   ========================================================= */

:root {
  --green-900: #16241E;
  --green-800: #263D33;
  --green-700: #2F4A3D;
  --green-600: #3D5A4B;

  --gold:      #B98552;
  --gold-lt:   #CDA271;
  --gold-dp:   #9A6B3C;

  --cream:     #EEDDD6;
  --sand:      #F7F2ED;
  --sand-dp:   #EDE4DB;

  --ink:       #22322B;
  --ink-soft:  #5D6E66;

  --display: "Fraunces", Georgia, serif;
  --body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: 1.5rem;
  --header-h: 76px;

  --r-sm: 4px;
  --r-lg: 2px;

  --error:     #A8453A;
  --line:      #DFD3C6;

  --ease: cubic-bezier(.22,.61,.36,1);
}

@media (min-width: 900px) {
  :root { --gutter: 2.5rem; --header-h: 96px; }
}

/* ---------- reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

/* Text links. The underline is always drawn and only its colour changes, so
   hover fades it in rather than snapping it on: text-decoration on/off can't
   be transitioned, but its colour can. In-text links rest with a faint line
   that deepens on hover; the footer rests with none and fades one in.
   Buttons and the main nav set their own decoration and are unaffected. */
a,
.link-button {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: color .5s var(--ease), text-decoration-color .5s var(--ease);
}
a:hover,
a:focus-visible,
.link-button:hover,
.link-button:focus-visible { text-decoration-color: currentColor; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 30, "WONK" 1;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--green-800); color: var(--cream);
  padding: .75rem 1.25rem; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 4.5rem; position: relative; }
@media (min-width: 900px) { .section { padding-block: 7rem; } }

.section--dark { background: var(--green-800); color: var(--cream); }
.section--tint { background: var(--sand-dp); }

.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--cream); }

/* ---------- type scale ---------- */

.eyebrow {
  font-family: var(--body);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-dp);
  margin: 0 0 1.1rem;
}
.section--dark .eyebrow,
.hero .eyebrow { color: var(--gold-lt); }

.h-xl { font-size: clamp(2.6rem, 8vw, 5.1rem); }
.h-lg { font-size: clamp(2rem, 5vw, 3.2rem); }
.h-md { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }

.lede {
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  line-height: 1.6;
  color: var(--ink-soft);
}
.section--dark .lede { color: rgba(238,221,214,.82); }

.measure { max-width: 62ch; }
.measure-tight { max-width: 48ch; }
.centred { text-align: center; margin-inline: auto; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 400;
  line-height: 1.7;   /* stated: <button> doesn't inherit it, <a> does */
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .62rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dp); }

/* Inherits its colour, so it only works inside a container that sets one.
   On a dark background that means the container needs an explicit light
   `color` — otherwise this falls back to body's --ink and goes dark-on-dark.
   .section--dark and .hero both set it. */
.btn--outline { border-color: currentColor; color: inherit; background: transparent; }
.btn--outline:hover { background: var(--cream); color: var(--green-800); border-color: var(--cream); }

.btn--ink { background: var(--green-800); color: var(--cream); }
.btn--ink:hover { background: var(--green-900); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- crescent: the signature device ---------- */
/* A shallow arc echoing the swoosh in the brand mark, used as the
   boundary where a light section meets a dark one. Kept to two uses. */

.crescent {
  position: absolute;
  top: -1px; left: 0;
  width: 100%;
  height: 42px;
  pointer-events: none;
}
@media (min-width: 900px) { .crescent { height: 78px; } }

.crescent path { fill: var(--sand); }
.crescent--from-tint path { fill: var(--sand-dp); }

.section--dark.has-crescent { padding-top: 6rem; }
@media (min-width: 900px) { .section--dark.has-crescent { padding-top: 9rem; } }

/* small gold arc used as a heading rule */
.arc-rule { width: 92px; height: 12px; margin: 0 0 1.4rem; overflow: visible; }
.arc-rule path { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.centred .arc-rule, .arc-rule.centred { margin-inline: auto; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-800);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header[data-overlay="true"] {
  position: fixed;
  inset-inline: 0;
  background: transparent;
}
.site-header[data-overlay="true"].is-scrolled {
  background: var(--green-800);
  box-shadow: 0 1px 30px rgba(11,22,17,.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

/* Brand lockup.
   The logo is inlined as SVG (see parts/logo.php) rather than referenced as an
   <img>, so it can inherit `color` for the wordmark and read --logo-accent for
   the crescent. That keeps one asset serving both the dark header and the light
   one, and drops a request.

   Widths changed from the old 118/156. The lockup is 1049.82 x 576.14
   (1.822:1) where the old PNG was 1.548:1, so like-for-like widths render
   taller relative to the bar. These values put the logo at roughly 80% of
   --header-h, which leaves it clear of the edges instead of touching them:

     112px wide -> 61px tall, in a 76px bar
     140px wide -> 77px tall, in a 96px bar

   Don't go much below 112px: the AT THE CRESCENT capitals are hairline-thin
   and start to break up under about 8px cap height. */

/* Brand lockup.
   Referenced as a plain <img src=".svg">, not inlined. The nav mark is a
   single flat colour, so it needs none of the currentColor machinery that
   inlining buys — and an <img> can't break the header layout the way a
   viewBox-only inline <svg> can.

   Markup:
     <a class="brand" href="/">
       <img src="/assets/img/afterglow-nav-cream.svg"
            alt="Afterglow at The Crescent" width="1050" height="484">
     </a>

   Keep the width/height attributes. They give the browser the aspect ratio
   before the file loads, so the header doesn't jolt on first paint.

   Lockup is 1049.82 x 483.53 (2.171:1) — the subline is gone, so it's much
   wider than it is tall and sits inside --header-h with real clearance:
     128px wide -> 59px tall, in a 76px bar
     160px wide -> 74px tall, in a 96px bar */

.brand {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.brand img {
  width: 128px;
  height: auto;
  transition: width .4s var(--ease);
}
@media (min-width: 900px) {
  .brand img { width: 160px; }
  .site-header.is-scrolled .brand img { width: 136px; }
}

/* Light header, if ever needed: swap in afterglow-nav-green.svg. */

.nav__list { list-style: none; display: flex; }

.nav__list a {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--cream);
  font-size: .78rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  padding: .6rem 0;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: .15rem;
  width: 100%;
  height: 1px;
  background: var(--gold-lt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after { transform: scaleX(1); }

/* mobile nav */
.nav-toggle {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: none;
  border: 0;
  padding: .5rem 0;
  color: var(--cream);
  font-family: var(--body);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle__bars { display: block; width: 22px; }
.nav-toggle__bars i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.nav-toggle__bars i + i { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--green-800);
    padding: 1.5rem var(--gutter) 2.5rem;
    border-top: 1px solid var(--green-600);
    display: grid;
    gap: 1.5rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: .35rem; }
  .nav__list a { padding: .7rem 0; font-size: .95rem; }
  .nav__cta { justify-content: center; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav { display: flex; align-items: center; gap: 2.5rem; }
  .nav__list { gap: 2rem; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  padding-block: calc(var(--header-h) + 3rem) 4rem;
  background: var(--green-900);
  color: var(--cream);
  overflow: hidden;
}
@media (min-width: 900px) {
  .hero { min-height: 94svh; padding-block: calc(var(--header-h) + 5rem) 6rem; }
}

.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 85% at 22% 78%, rgba(185,133,82,.28), transparent 58%),
    linear-gradient(to top, rgba(11,20,16,.92) 6%, rgba(22,36,30,.62) 45%, rgba(22,36,30,.34) 100%);
}

.hero__inner { position: relative; z-index: 2; width: 100%; }

.hero h1 {
  color: var(--cream);
  margin-bottom: .35em;
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-lt);
}

.hero .lede { color: rgba(238,221,214,.88); max-width: 46ch; }
.hero .btn-row { margin-top: 2.2rem; }

/* Stated outright rather than left to inherit. .btn--outline uses
   `color: inherit`, so it depends on an ancestor setting a light colour — and
   a single missing declaration anywhere up the chain renders it dark-on-dark
   and effectively invisible. Too quiet a failure for a primary call to action.
   The translucent fill is for legibility: a 1px line over photography reads
   differently depending on what's behind it, and the hero image will change. */
.hero .btn--outline {
  color: var(--cream);
  border-color: var(--cream);
  background: rgba(11,20,16,.28);
}
.hero .btn--outline:hover {
  background: var(--cream);
  color: var(--green-800);
  border-color: var(--cream);
}

/* ---------- facilities grid ---------- */

.facilities {
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--green-600);
  border: 1px solid var(--green-600);
  margin-top: 3rem;
}
@media (min-width: 640px) { .facilities { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .facilities { grid-template-columns: repeat(3, 1fr); } }

.facility {
  background: var(--green-800);
  padding: 2rem 1.75rem 2.25rem;
}

.facility h3 {
  font-size: 1.28rem;
  margin-bottom: .5rem;
}
.facility p {
  font-size: .95rem;
  color: rgba(238,221,214,.72);
  margin: 0;
}
.facility__mark {
  width: 26px;
  margin-bottom: 1.1rem;
  opacity: .75;
  color: var(--gold-lt);   /* applies when the mark is an inlined SVG */
}

/* ---------- treatment cards ---------- */

.cards {
  list-style: none;
  display: grid;
  gap: 1.75rem;
  margin-top: 3rem;
}
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
/* A card that spans the row (homepage Tanning, ahead of the six below). */
@media (min-width: 760px) {
  .card--feature { grid-column: 1 / -1; }
  .card--feature > p:not(.card__meta) { max-width: 44rem; }
}

.card {
  background: #fff;
  border: 1px solid var(--sand-dp);
  padding: 2.25rem 1.9rem 2.5rem;
  display: flex;
  flex-direction: column;
}
/* ---------- services section bar ---------- */

.section--before-subnav { padding-bottom: 2.5rem; }
.section--after-subnav  { padding-top: 2.5rem; }

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: var(--sand);
  border-block: 1px solid var(--sand-dp);
}
.subnav__list {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  scrollbar-width: none;
  /* Fade the right edge on narrow screens to hint the row scrolls. */
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
          mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
  padding-right: 2.5rem;
}
.subnav__list::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) {
  /* space-between spreads the labels out, so the gap is only a minimum:
     kept small enough for the pricing page's ten labels at 1000px. */
  .subnav__list { -webkit-mask-image: none; mask-image: none; padding-right: 0; justify-content: space-between; gap: 1rem; }
}

.subnav__list a {
  position: relative;
  display: block;
  padding: .95rem 0;
  white-space: nowrap;
  text-decoration: none;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .4s var(--ease);
}
.subnav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .6rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.subnav__list a:hover,
.subnav__list a[aria-current="true"] { color: var(--ink); }
.subnav__list a:hover::after,
.subnav__list a[aria-current="true"]::after { transform: scaleX(1); }

/* Anchor jumps land below the header and the bar, not under them. */
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 3.5rem); }

/* Services menu: each card sizes to its own content, so opening one card's
   detail doesn't stretch its neighbours into empty boxes. */
.cards--menu { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); align-items: start; }

.card__prices {
  list-style: none;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sand-dp);
  display: grid;
  gap: .35rem;
  font-size: .85rem;
  color: var(--ink-soft);
}
.card__prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.card__price { font-family: var(--display); font-size: 1.05rem; color: var(--ink); white-space: nowrap; }

/* Expandable treatment detail on services cards. */
.card__more { margin-top: 1rem; font-size: .93rem; color: var(--ink-soft); }
.card__more summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-dp);
}
.card__more summary::-webkit-details-marker { display: none; }
.card__more summary::after {
  content: "";
  width: .45em; height: .45em;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-.15em) rotate(45deg);
  transition: transform .4s var(--ease);
}
.card__more[open] summary::after { transform: translateY(.1em) rotate(-135deg); }
.card__more[open] summary { margin-bottom: .9rem; }
.card__more p { font-size: inherit; margin-bottom: .8em; }
.card p.card__label {
  margin: 1rem 0 .35rem;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}
.card__list { padding-left: 1.1rem; margin-bottom: .8em; }
.card__list li { margin-bottom: .2em; }
.card p.card__note {
  margin-top: 1rem;
  padding-left: .8rem;
  border-left: 2px solid var(--gold-lt);
  font-size: .85rem;
}

/* No hover state on cards or facilities: none of them link anywhere, and a
   hover effect would suggest they do. Add one only if a card becomes a link. */

.card h3 { font-size: 1.45rem; margin-bottom: .55rem; }
.card p { font-size: .97rem; color: var(--ink-soft); }
.card__meta {
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dp);
}

/* ---------- split ---------- */

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .split--flip .split__media { order: 2; }
}

.split__media img { width: 100%; }

.tick {
  list-style: none;
  margin: 1.75rem 0 2rem;
  display: grid;
  gap: .7rem;
}
.tick li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 1rem;
}
.tick li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 12px; height: 1px;
  background: var(--gold);
}

/* ---------- CTA band ---------- */

.cta-band { text-align: center; }
.cta-band picture { display: block; }
.cta-band .leaf { width: 44px; margin: 0 auto 1.75rem; opacity: .9; }


/* Membership tiers */
.tiers {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (min-width: 760px) { .tiers { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
.tier {
  background: #fff;
  border: 1px solid var(--sand-dp);
  border-top: 3px solid var(--gold);
  padding: 2rem 1.75rem 2.25rem;
  text-align: center;
}
.tier__name {
  font-size: .78rem;
  font-family: var(--body);
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dp);
  margin-bottom: 1rem;
}
.tier__price { font-family: var(--display); font-size: 2.6rem; line-height: 1; margin-bottom: .75rem; }
.tier__price span { font-family: var(--body); font-size: .9rem; color: var(--ink-soft); }
.tier__sessions { color: var(--ink-soft); font-size: .95rem; }

.pricing-note { margin-top: 1.5rem; max-width: 62ch; font-size: .88rem; color: var(--ink-soft); }

/* ---------- 404 ---------- */

.not-found { min-height: calc(100vh - var(--header-h)); display: grid; align-items: center; }
.not-found .leaf { width: 44px; margin: 0 auto 1.75rem; opacity: .9; }

/* ---------- signed-in admin flag ---------- */
/* Slim bar along the bottom, only for a signed-in admin (parts/footer.php). */

.admin-flag {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 210;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .35rem 1rem;
  padding: .55rem var(--gutter);
  background: var(--green-900);
  color: var(--cream);
  font-size: .82rem;
  text-align: center;
  box-shadow: 0 -6px 20px -10px rgba(11,22,17,.5);
}
.admin-flag--hidden { background: #8a2a26; color: #fff; }
.admin-flag a,
.admin-flag button {
  color: inherit;
  font: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration-color: currentColor;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.admin-flag form { margin: 0; }
.admin-flag__dot {
  width: .5rem; height: .5rem;
  border-radius: 999px;
  background: currentColor;
  flex: none;
  animation: admin-flag-pulse 2.4s ease-in-out infinite;
}
@keyframes admin-flag-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .admin-flag__dot { animation: none; } }

/* Keep the page's last lines, and the cookie banner, clear of the flag. */
body.has-admin-flag { padding-bottom: 3rem; }
body.has-admin-flag .consent { bottom: 2.6rem; }
@media (max-width: 600px) {
  body.has-admin-flag { padding-bottom: 4.5rem; }
  body.has-admin-flag .consent { bottom: 4rem; }
}

/* ---------- cookie consent ---------- */

.consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 200;
  padding: 0 var(--gutter) var(--gutter);
  pointer-events: none;
}
.consent[hidden] { display: none; }
.consent__inner {
  pointer-events: auto;
  max-width: 760px;
  margin-inline: auto;
  background: var(--green-900);
  color: var(--cream);
  padding: 1.25rem 1.4rem;
  border-top: 2px solid var(--gold);
  box-shadow: 0 10px 40px rgba(11,22,17,.35);
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .consent__inner { grid-template-columns: 1fr auto; align-items: center; gap: 1.75rem; }
}
.consent__text { margin: 0; font-size: .92rem; line-height: 1.55; }
.consent__text a { color: var(--gold-lt); }
.consent__actions { display: flex; gap: .6rem; }
/* Equal weight on purpose: rejecting must be as easy as accepting. */
.consent__btn { flex: 1 1 0; justify-content: center; }
.consent .btn--outline { color: var(--cream); }
/* Restate the hover colour: the rule above outranks .btn--outline:hover. */
.consent .btn--outline:hover,
.consent .btn--outline:focus-visible { color: var(--green-800); }

.link-button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.prose .link-button { color: var(--gold-dp); }

/* ---------- long-form text (legal pages) ---------- */

.prose { margin-top: 2.5rem; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin-top: 2.6rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6rem; margin-bottom: .45rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.15em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--gold-dp); }
.prose__meta { font-size: .85rem; color: var(--ink-soft); }

/* Draft markers: things only the business can confirm. None should be
   left on the page at launch. */
mark.todo { background: #F3DFAE; color: var(--ink); padding: 0 .2em; }

.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.data-table th,
.data-table td { text-align: left; vertical-align: top; padding: .7rem .9rem .7rem 0; border-bottom: 1px solid var(--line); }
.data-table th { font-weight: 400; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.data-table code { font-size: .88em; white-space: nowrap; }

/* ---------- team ---------- */

.team {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem 1.25rem;
  margin-top: 3rem;
}
/* Three across from tablet up: directors fill a row of two, the six
   therapists sit three by two, and every photo is the same size. */
@media (min-width: 760px)  { .team { grid-template-columns: repeat(3, 1fr); gap: 3rem 1.75rem; } }

.team__group {
  margin: 3.5rem 0 0;
  font-family: var(--body);
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dp);
}
.team__group + .team { margin-top: 1.25rem; }

.member__photo {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;   /* the photographer's portrait format */
  object-fit: cover;
  margin-bottom: 1.1rem;
}

/* Until headshots arrive: initials on green, framed like a photo. */
.member__photo--placeholder {
  display: grid;
  place-items: center;
  background: var(--green-800);
  border-bottom: 3px solid var(--gold);
}
.member__photo--placeholder span {
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 300;
  letter-spacing: .04em;
  color: var(--cream);
  opacity: .85;
}

.member__name { font-size: 1.3rem; margin-bottom: .25rem; }
.member__role {
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dp);
}

/* ---------- forms ---------- */
/* Replaces everything from `.form {` down to and including `.notice--fail`.
   Nothing above or below that range changes. */

.form { display: grid; gap: 1.6rem; max-width: 620px; }

.field { display: grid; gap: .4rem; }

/* First and last name sit side by side once there's room. Below that they
   stack, because two half-width text inputs on a phone are worse than one
   full-width one. The breakpoint is the form's own width, not a device size. */
.field-row { display: grid; gap: 1.6rem; }
@media (min-width: 540px) {
  .field-row { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
}

/* Sentence case, not tracked-out caps. Caps labels are the loudest thing on
   a page whose whole job is to feel unhurried, and they forced that inline
   override on the "(optional)" span — which can now go. */
.field label,
.field legend {
  font-size: .95rem;
  font-weight: 400;
  color: var(--ink-soft);
  padding: 0;
}
.field .optional { color: #8b9992; }

/* Filled field with a single rule underneath, rather than a box. The rule
   thickens and turns gold on focus, echoing .arc-rule and the crescent
   instead of introducing a third visual language for inputs. */
.field input,
.field textarea,
.field select {
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .95rem 1.05rem;
  width: 100%;
  transition: border-color .3s var(--ease);
}
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: #cbbcae; }

/* The whole edge turns gold. A 1px border changing colour is a quiet focus
   state, so the :focus-visible outline below carries the load for keyboard
   users rather than this doing both jobs. */
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
}

/* Keyboard users get a ring as well as the underline. Pointer users don't,
   which is why this is :focus-visible and the rule above is :focus. */
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 2px; }

.field textarea { min-height: 170px; resize: vertical; }

/* ---------- floating labels ---------- */
/* The label starts inside the field looking like a placeholder, then shrinks
   to the top edge once the field has focus or content. Pure CSS: the input is
   the label's previous sibling and placeholder=" " (one space) is what makes
   :placeholder-shown flip. No JS, and with CSS off it's still a plain label.

   The point of this over real placeholder text is that the label survives
   typing — which matters most for the two name fields sitting side by side,
   where filled-in boxes would otherwise be indistinguishable. */

.field--float { position: relative; }

.field--float input {
  padding-top: 1.45rem;
  padding-bottom: .5rem;
}

.field--float label {
  position: absolute;
  left: 1.05rem;
  top: .95rem;
  font-size: 1.0625rem;
  color: #97a49c;
  pointer-events: none;
  transform-origin: left top;
  transition: transform .22s var(--ease), color .22s var(--ease);
}

.field--float input:focus + label,
.field--float input:not(:placeholder-shown) + label {
  transform: translateY(-.72rem) scale(.74);
  color: var(--ink-soft);
}

.field--float input:focus + label { color: var(--gold-dp); }

.field--float .optional { font-size: inherit; }

/* Chrome paints its own background on autofilled inputs, which hides the
   raised label behind it. The long inset shadow repaints the field in white
   without fighting the browser over background-color, which it ignores here. */
.field--float input:-webkit-autofill {
  box-shadow: 0 0 0 100px #fff inset;
  -webkit-text-fill-color: var(--ink);
}

.field input::placeholder,
.field textarea::placeholder { color: #a4b0a9; }

.field--error input,
.field--error textarea,
.field--error select { border-color: var(--error); }
.field__error { font-size: .85rem; color: var(--error); }

.form__note { font-size: .85rem; color: var(--ink-soft); }
.form__note a { color: inherit; }

/* ---------- choice pills ---------- */
/* Five fixed options, so a native select is two taps and a menu we can't
   brand. These are radios underneath: same `subject` field, same POST, and
   the server-side whitelist covers them unchanged. */

/* Zeroing padding matters as much as the border here: a fieldset keeps a
   default padding-inline of about .75em even once the border is gone, which
   indents the legend and pills away from the fields above and below. */
.field--choice { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.field--choice legend { margin-bottom: .55rem; }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Sized down as well as hidden: .field input gives them width:100%, and an
   absolutely positioned full-width radio pushes the page into sideways
   scroll. They stay focusable for keyboard users. */
.pills input {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: 0; border: 0;
  opacity: 0;
  pointer-events: none;
}

.pills label {
  font-size: .95rem;
  color: var(--ink-soft);
  background: var(--sand);
  border: 1px solid var(--sand-dp);
  border-radius: 999px;
  padding: .58rem 1.15rem;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.pills label:hover { border-color: var(--gold-lt); color: var(--ink); }

.pills input:checked + label {
  background: var(--green-800);
  border-color: var(--green-800);
  color: var(--cream);
}

.pills input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- honeypot ---------- */

.hp { position: absolute; left: -9999px; }

/* ---------- notices ---------- */

.notice {
  padding: 1.1rem 1.35rem;
  border-left: 2px solid;
  border-radius: 0;
  margin-bottom: 2rem;
  font-size: .97rem;
}
.notice--ok   { border-color: var(--green-600); background: rgba(61,90,75,.08); }
.notice--fail { border-color: var(--error); background: rgba(168,69,58,.07); }

/* ---------- sent confirmation ---------- */
/* Replaces the form outright rather than sitting above it. Given the whole
   page is one column of pale sand, the confirmation earns a surface of its
   own — otherwise "message sent" is just a sentence where a form used to be. */

.sent {
  background: #fff;
  border: 1px solid var(--sand-dp);
  border-radius: var(--r-sm);
  padding: 3.25rem 2rem 2.75rem;
  text-align: center;
  max-width: 620px;
}

.sent__mark { width: 64px; height: 64px; margin: 0 auto 1.5rem; overflow: visible; }
.sent__ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  opacity: .45;
}
.sent__tick {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* One orchestrated moment, on arrival, and nothing else on the page moves.
   The ring sweeps, then the tick draws through it. */
@media (prefers-reduced-motion: no-preference) {
  .sent__ring {
    stroke-dasharray: 183;
    stroke-dashoffset: 183;
    animation: sent-ring .75s var(--ease) forwards;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
  }
  .sent__tick {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: sent-tick .4s var(--ease) .5s forwards;
  }
  .sent__h, .sent__body, .sent__actions {
    opacity: 0;
    animation: sent-rise .5s var(--ease) .55s forwards;
  }
  .sent__body { animation-delay: .65s; }
  .sent__body--quiet { animation-delay: .72s; }
  .sent__actions { animation-delay: .8s; }
}

@keyframes sent-ring { to { stroke-dashoffset: 0; } }
@keyframes sent-tick { to { stroke-dashoffset: 0; } }
@keyframes sent-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.sent__h {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 400;
  color: var(--green-800);
  margin: 0 0 .85rem;
}

.sent__body {
  margin: 0 auto .6rem;
  max-width: 42ch;
  color: var(--ink-soft);
}
.sent__body--quiet { font-size: .92rem; }
.sent__body a { color: var(--gold-dp); }

.sent__actions { justify-content: center; margin-top: 1.9rem; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--green-900);
  color: rgba(238,221,214,.78);
  padding-top: 4.5rem;
  font-size: .95rem;
}

.footer-grid { display: grid; gap: 2.75rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
/* Each column takes exactly the width its content needs, and the leftover
   space is spread evenly between them. Fixed fr shares are the wrong tool
   here: the four columns hold a logo, an address, a time table and four short
   links, and no ratio guessed up front stays right when any of that changes. */
@media (min-width: 1000px) {
  .footer-grid {
    grid-template-columns: repeat(4, max-content);
    justify-content: space-between;
    gap: 3rem;
  }
}

/* Footer uses the full lockup, tagline included — afterglow-footer-cream.svg,
   1049.82 x 686.06 (1.53:1), so 200px wide is 131px tall. Larger than the old
   178px because the mark is now the only branding down here. */
.footer-brand { line-height: 0; }
.footer-brand img { width: 200px; height: auto; }

.footer-h {
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.1rem;
}

.site-footer address { font-style: normal; margin-bottom: 1rem; }
.site-footer a,
.site-footer .link-button { text-decoration-color: transparent; }
.site-footer a:hover,
.site-footer a:focus-visible { color: var(--gold-lt); text-decoration-color: currentColor; }

/* max-content columns size to the longest line, so a long email address would
   otherwise stretch the Visit column and squeeze the rest. Cap it and let the
   address wrap instead. */
.footer-contact { max-width: 26ch; }
.footer-contact a { overflow-wrap: break-word; }

/* Day column sized to its content rather than a 1fr share, so "Monday–Friday"
   can't be squeezed into a wrap. Both sides are nowrap: a time range broken
   across lines reads as two separate times. */
.hours {
  margin: 0;
  display: grid;
  grid-template-columns: max-content auto;
  gap: .5rem 1.5rem;
  align-items: baseline;
}
.hours dt { color: rgba(238,221,214,.6); white-space: nowrap; }
.hours dd { margin: 0; text-align: right; white-space: nowrap; }

.footer-links { list-style: none; display: grid; gap: .5rem; }

.footer-base {
  margin-top: 3.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(238,221,214,.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .82rem;
  color: rgba(238,221,214,.55);
}
.footer-base p { margin: 0; }
.footer-base .footer-company { order: 10; flex-basis: 100%; font-size: .78rem; line-height: 1.6; opacity: .82; }

.legal-links { list-style: none; display: flex; gap: 1.25rem; margin-inline-end: auto; }
.site-footer .legal-links a:hover,
.site-footer .legal-links a:focus-visible,
.site-footer .legal-links .link-button:hover,
.site-footer .legal-links .link-button:focus-visible { color: var(--cream); text-decoration-color: currentColor; }

.social { list-style: none; display: flex; gap: 1rem; }
.social a {
  display: block;
  color: rgba(238,221,214,.7);
  transition: color .5s var(--ease);
}
.social a:hover,
.social a:focus-visible { color: var(--gold-lt); }
.social svg { display: block; }

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
  .brand img { transition: none; }
}

/* ---------- price list ---------- */
/* Menu-style rows rather than a table, so it degrades cleanly on narrow screens
   instead of forcing a horizontal scroll. */

.price-list { list-style: none; border-top: 1px solid var(--sand-dp); }

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name  price"
    "mins  price";
  gap: 0 1rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--sand-dp);
}

.price-row__name  { grid-area: name; font-size: 1.02rem; }
.price-row__opt   { display: block; color: var(--ink-soft); font-size: .9rem; }
.price-row__mins  { grid-area: mins; color: var(--ink-soft); font-size: .84rem;
                    letter-spacing: .12em; text-transform: uppercase; }
.price-row__price { grid-area: price; font-family: var(--display);
                    font-size: 1.22rem; white-space: nowrap; }
.price-row__dots  { display: none; }

@media (min-width: 720px) {
  .price-row {
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas: "name dots mins price";
    gap: 0 1.25rem;
  }
  .price-row__opt { display: inline; margin-left: .5rem; }
  .price-row__dots {
    grid-area: dots;
    display: block;
    align-self: center;
    height: 1px;
    background: repeating-linear-gradient(to right,
      var(--sand-dp) 0 4px, transparent 4px 8px);
  }
  .price-row__mins { min-width: 5.5rem; text-align: right; }
  .price-row__price { min-width: 5.5rem; text-align: right; }
}

.nowrap { white-space: nowrap; }
