/* ---------------------------------------------------
   Victoria Clarke — Art & Therapy
   Tokens
--------------------------------------------------- */
:root {
  --paper: #fdefe7;
  --paper-deep: #f5decf;
  --ink: #24404b;
  --ink-soft: #4a6d7e;
  --moss: #146b7a;
  --moss-deep: #0f4a54;
  --moss-tint: #dceef0;
  --clay: #794c10;
  --clay-deep: #5c3a0c;
  --peach: #fab085;
  --peach-deep: #f99b65;
  --sand-line: #ead9ce;
  --cream-card: #fff8f2;
  --marigold: #edb65f;
  --olive: #8a9463;

  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1120px;
  --radius: 22px;
}

/* On wide-gamut (P3) displays, swap the key accent colors for slightly
   richer equivalents — same hue and lightness, ~16% more chroma than sRGB
   allows. Everything else keeps the sRGB hex above as a universal fallback. */
@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    :root {
      --moss: color(display-p3 0.1500 0.4183 0.4859);
      --moss-deep: color(display-p3 0.1031 0.2893 0.3346);
      --clay: color(display-p3 0.4651 0.2973 0.0525);
      --marigold: color(display-p3 0.9175 0.7144 0.3601);
    }
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
  background-image: url("assets/paper-texture-light.webp");
  background-size: 180px 180px;
  background-repeat: repeat;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-ligatures: common-ligatures discretionary-ligatures contextual;
  font-feature-settings: "liga" 1, "dlig" 1, "clig" 1, "calt" 1;
}

main {
  flex: 1;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

::selection {
  background: var(--marigold);
  color: var(--ink);
}

/* ---------------------------------------------------
   Scroll / entrance reveal
   (no-JS visitors: see everything immediately, since
   .reveal only hides content once JS confirms it can
   also reveal it — enforced via the <noscript> override
   in each page's <head>.)
--------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Above-the-fold reveals affect Largest Contentful Paint timing (Chrome
   doesn't count an element as "painted" until it's fully opaque), so keep
   these noticeably faster than the leisurely scroll-triggered ones. */
.reveal[data-reveal="onload"] {
  transition-duration: 0.25s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger > *:nth-child(6) { transition-delay: 350ms; }
.reveal-stagger > *:nth-child(7) { transition-delay: 420ms; }
.reveal-stagger > *:nth-child(8) { transition-delay: 490ms; }
.reveal-stagger > *:nth-child(9) { transition-delay: 560ms; }
.reveal-stagger > *:nth-child(10) { transition-delay: 630ms; }
.reveal-stagger > *:nth-child(11) { transition-delay: 700ms; }
.reveal-stagger > *:nth-child(12) { transition-delay: 770ms; }
.reveal-stagger > *:nth-child(13) { transition-delay: 840ms; }
.reveal-stagger > *:nth-child(14) { transition-delay: 910ms; }
.reveal-stagger > *:nth-child(15) { transition-delay: 980ms; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--moss-deep);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 100;
  border-radius: 0 0 10px 0;
}
.skip-link:focus {
  left: 0;
}

a { color: inherit; }

:focus-visible {
  outline: 2.5px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------
   Header
--------------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--sand-line);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--moss-deep);
  padding: 6px 4px;
  position: relative;
}

.header-link .link-icon svg {
  width: 18px;
  height: 18px;
}

.header-link::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: -2px;
  height: 1.5px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.header-link:hover::after,
.header-link:focus-visible::after {
  transform: scaleX(1);
}

.header-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-link--phone-mobile {
  display: none;
}

.header-logo-link {
  position: absolute;
  left: 50%;
  top: 5px;
  transform: translateX(-50%);
  width: 160px;
  height: 142px;
  flex-shrink: 0;
  z-index: 5;
  display: block;
  cursor: pointer;
  filter: drop-shadow(0 8px 16px rgba(36, 64, 75, 0.25));
}

.header-logomark {
  display: block;
  width: 100%;
  height: 100%;
}

.logomark-blob {
  fill: var(--ink);
}

.logomark-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 475px;
  fill: var(--paper);
}

.logomark-sub {
  font-family: var(--font-body);
  font-size: 200px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: var(--paper);
}

/* ---------------------------------------------------
   Hero
--------------------------------------------------- */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 76px 28px 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.header-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
  line-height: 1;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 28px;
  color: var(--ink);
}

.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 8px;
}

.lede--secondary {
  margin-top: 8px;
}

.lede--areas {
  font-size: 0.92rem;
  margin-top: 14px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 26px;
  border: none;
  border-radius: 999px;
  background: var(--peach);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(224, 138, 82, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-cta::after {
  content: "\2192";
}

.hero-cta:hover,
.hero-cta:focus-visible {
  background: var(--peach-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -12px rgba(224, 138, 82, 0.6);
}

.hero-booking-card {
  max-width: 440px;
  margin: 26px 0 30px;
  padding: 32px 30px 34px;
  gap: 14px;
  box-shadow: 0 10px 22px -12px rgba(224, 138, 82, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-booking-card:hover,
.hero-booking-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -12px rgba(224, 138, 82, 0.6);
}

.hero-booking-card .contact-card-head {
  margin-bottom: 4px;
}

.hero-booking-cue {
  display: block;
  margin-top: 6px;
}

.squiggle-divider {
  position: relative;
  display: block;
  width: 145px;
  height: 18px;
  margin: -12px 0 0 -4px;
  color: var(--ink);
}

.squiggle-divider svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.section-squiggle {
  width: 240px;
  height: 22px;
  margin: 0 auto 44px;
  color: var(--ink);
}

.section-squiggle svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.squiggle-path {
  fill: currentColor;
  opacity: 0.94;
  clip-path: inset(0 100% 0 0);
  animation: draw-squiggle 1.1s cubic-bezier(0.5, 0, 0.2, 1) forwards 0.3s;
}

@keyframes draw-squiggle {
  to { clip-path: inset(0 -20% 0 0); }
}

.inline-link {
  color: var(--clay);
  text-decoration: underline;
  text-decoration-color: rgba(143, 90, 20, 0.4);
  text-underline-offset: 3px;
  font-weight: 600;
}

.inline-link:hover,
.inline-link:focus-visible {
  text-decoration-color: currentColor;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-media-shape {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 480px;
  aspect-ratio: 400 / 560;
}

.hero-illustration {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.blob--halo {
  fill: var(--moss-tint);
}

image {
  filter: saturate(1.02);
}

/* ---------------------------------------------------
   Section shared bits
--------------------------------------------------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--ink);
}

.section-intro {
  font-size: 1.02rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 28px;
}

.location-block {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--sand-line);
}

.location-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 18px;
}

.location-modes {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.location-mode {
  display: flex;
  align-items: center;
  gap: 14px;
}

.location-icon {
  width: 36px;
  height: 36px;
}

.location-icon svg {
  width: 18px;
  height: 18px;
}

.location-mode-text {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.location-pills {
  list-style: none;
  margin: -2px 0 0;
  padding: 0 0 0 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.location-pills li {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--clay);
  background: var(--cream-card);
  border-radius: 999px;
  padding: 5px 13px;
}

/* ---------------------------------------------------
   Help band (specialisms + FAQ, side by side)
--------------------------------------------------- */
.help-band {
  background-color: var(--paper-deep);
  background-image: url("assets/paper-texture.webp");
  background-size: 180px 180px;
  background-repeat: repeat;
  border-top: 1px solid var(--sand-line);
  padding: 64px 28px 0;
}

.help-band-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.pill-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--moss-deep);
  background: var(--moss-tint);
  border-radius: 999px;
  padding: 8px 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--cream-card);
  border: 1px solid var(--sand-line);
  border-radius: 16px;
  padding: 4px 22px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 30px 18px 0;
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--moss);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:focus-visible {
  outline: 2.5px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

.faq-item p {
  margin: 0 0 20px;
  font-size: 0.96rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ---------------------------------------------------
   Contact form modal
--------------------------------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 5, 5, 0.8);
}

.modal-overlay:target {
  display: flex;
}

/* JS-driven close (Escape / backdrop click) uses history.replaceState to
   clear the hash, but browsers don't reliably re-evaluate :target after a
   replaceState-only change — so this explicit override backs it up. */
.modal-overlay.is-closed {
  display: none !important;
}

.modal-card {
  position: relative;
  background: var(--paper);
  border-radius: 28px;
  padding: 44px 40px 40px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 60px -20px rgba(15, 74, 84, 0.45);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--moss-tint);
  color: var(--moss-deep);
  transition: background 0.2s ease;
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--sand-line);
}

.modal-intro {
  margin-bottom: 26px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-hidden {
  position: absolute;
  left: -9999px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-hint {
  margin: -8px 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--sand-line);
  background: var(--cream-card);
  color: var(--ink);
  resize: vertical;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2.5px solid var(--clay);
  outline-offset: 2px;
}

.form-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  background: var(--moss);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.form-submit:hover,
.form-submit:focus-visible {
  background: var(--moss-deep);
  transform: translateY(-2px);
}

@media (max-width: 560px) {
  .modal-card {
    padding: 36px 24px 30px;
    border-radius: 22px;
  }

  .form-row {
    flex-direction: column;
    gap: 18px;
  }
}

/* ---------------------------------------------------
   Contact band
--------------------------------------------------- */
.contact-band {
  background-color: var(--paper-deep);
  background-image: url("assets/paper-texture.webp");
  background-size: 180px 180px;
  background-repeat: repeat;
  padding: 72px 28px 88px;
}

.contact-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--cream-card);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 1px 0 rgba(36, 64, 75, 0.04);
  font: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -14px rgba(36, 64, 75, 0.28);
  border-color: var(--moss);
}

.contact-card--static {
  cursor: default;
  border-top-width: 4px;
  border-top-color: var(--moss);
}

.contact-card--static:hover {
  transform: none;
  box-shadow: 0 1px 0 rgba(36, 64, 75, 0.04);
  border-right-color: var(--sand-line);
  border-bottom-color: var(--sand-line);
  border-left-color: var(--sand-line);
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  width: 100%;
  padding: 8px 0;
  border-radius: 10px;
  transition: color 0.2s ease;
}

.contact-line:first-of-type {
  margin-top: 4px;
}

.contact-line + .contact-line {
  border-top: 1px solid var(--sand-line);
  padding-top: 16px;
  margin-top: 4px;
}

.contact-line:hover,
.contact-line:focus-visible {
  color: var(--moss-deep);
}

.contact-line .contact-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.contact-line-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-line-label {
  font-weight: 700;
  font-size: 0.95rem;
}

.contact-line-value {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--moss-tint);
  color: var(--moss-deep);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.contact-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
}

.contact-body {
  font-size: 0.95rem;
  color: var(--ink-soft);
  flex-grow: 1;
}

.crisis-card {
  margin-top: 32px;
  text-align: left;
}

.crisis-list {
  margin: 0;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.crisis-list li {
  margin-bottom: 10px;
}

.crisis-list li:last-child {
  margin-bottom: 0;
}

.crisis-list strong {
  color: var(--ink);
}

.contact-cue {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--moss-deep);
  margin-top: 6px;
}

.contact-cue--button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--moss-deep);
  font-size: 0.82rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-cue--button span {
  transition: transform 0.2s ease;
}

.contact-card--primary:hover .contact-cue--button,
.contact-card--primary:focus-visible .contact-cue--button {
  background: var(--cream-card);
}

.contact-card--primary:hover .contact-cue--button span,
.contact-card--primary:focus-visible .contact-cue--button span {
  transform: translateX(3px);
}

/* ---------------------------------------------------
   Fees card
--------------------------------------------------- */
.contact-card--fees {
  gap: 0;
  border-top-color: var(--clay);
}

.contact-card--fees .contact-card-head {
  margin-bottom: 18px;
}

.fees-price {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0 20px;
}

.fees-amount {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--moss);
  font-variant-numeric: oldstyle-nums;
  font-feature-settings: "onum" 1;
}

.fees-unit {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1.3;
}

.fees-divider {
  width: 100%;
  max-width: 175px;
  height: 16px;
  color: var(--ink);
  margin-bottom: 18px;
}

.fees-divider svg {
  width: 100%;
  height: 100%;
}

.fees-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.contact-card--primary {
  background: var(--peach);
  color: var(--ink);
  border-color: var(--peach);
}

.contact-card--primary .contact-body {
  color: rgba(36, 64, 75, 0.88);
}

.contact-card--primary .contact-icon {
  background: rgba(36, 64, 75, 0.12);
  color: var(--ink);
}

.contact-card--primary .contact-cue {
  color: var(--ink);
}

.contact-card--primary .contact-cue--button {
  color: var(--moss-deep);
}

.contact-card--primary:hover,
.contact-card--primary:focus-visible {
  border-color: var(--ink);
  box-shadow: 0 14px 34px -14px rgba(224, 138, 82, 0.55);
}

/* ---------------------------------------------------
   Footer
--------------------------------------------------- */
.site-footer {
  background: var(--moss-deep);
  color: var(--paper);
  text-align: center;
  padding: 34px 20px;
  font-size: 0.85rem;
}

.site-footer p {
  margin: 4px 0;
}

.footer-fine {
  opacity: 0.7;
  font-size: 0.78rem;
}

.footer-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(253, 239, 231, 0.5);
  text-underline-offset: 2px;
}

.footer-link:hover,
.footer-link:focus-visible {
  text-decoration-color: currentColor;
}

/* ---------------------------------------------------
   Responsive
--------------------------------------------------- */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-media {
    order: -1;
  }

  .hero-media-shape {
    max-width: 260px;
    height: auto;
    aspect-ratio: 400 / 560;
    margin: 0 auto;
  }

  .hero-illustration {
    height: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .help-band-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    padding: 12px 18px;
  }

  .header-link .link-text {
    display: none;
  }

  .header-eyebrow {
    display: none;
  }

  .header-link--phone-mobile {
    display: inline-flex;
  }

  .header-links .header-link--phone {
    display: none;
  }

  .header-logo-link {
    top: 0;
    width: 118px;
    height: 105px;
  }

  .hero {
    padding: 88px 20px 24px;
  }

  .contact-band {
    padding: 56px 20px 64px;
  }
}

/* ---------------------------------------------------
   Simple content pages (privacy, clients)
--------------------------------------------------- */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 76px 28px 100px;
}

.page-inner {
  max-width: 680px;
  margin: 0 auto;
}

.page-inner--wide {
  max-width: 840px;
}

.main--center {
  display: flex;
  flex-direction: column;
}

.page--center {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* .page's padding-top is only enough when justify-content:center has
     plenty of slack to push content down; on taller content (e.g. the
     crisis-support card) it can sit high enough to collide with the
     header logo's decorative overflow, so this guarantees clearance
     regardless of content height. */
  padding-top: 140px;
}

.page-inner--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 520px;
}

.page-lede {
  margin-bottom: 32px;
}

.cal-inline {
  width: 100%;
  min-height: 700px;
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-card);
}

.eyebrow-standalone {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 700;
  margin: 0 0 14px;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--ink);
}

.page-updated {
  font-size: 0.92rem;
  color: var(--clay);
  background: var(--cream-card);
  border: 1px solid var(--sand-line);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 0 0 40px;
}

.page-prose h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--moss-deep);
  margin: 36px 0 12px;
}

.page-prose h2:first-child {
  margin-top: 0;
}

.page-prose h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin: 24px 0 8px;
}

.page-prose p {
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

@media (max-width: 560px) {
  .page {
    padding: 56px 20px 64px;
  }

  .page--center {
    padding-top: 110px;
  }
}

.page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--moss-deep);
  text-decoration: none;
  margin-bottom: 28px;
}

.page-back-link:hover,
.page-back-link:focus-visible {
  text-decoration: underline;
}

.page-subnav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 32px;
  padding: 14px 16px;
  background: var(--cream-card);
  border: 1px solid var(--sand-line);
  border-radius: 12px;
}

.page-subnav-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  flex-shrink: 0;
}

.page-subnav-select {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--sand-line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.page-subnav-select:focus-visible {
  outline: 2.5px solid var(--clay);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .page-subnav {
    flex-direction: column;
    align-items: stretch;
  }
}

.map-embed {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 340px;
  margin: 20px 0 8px;
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-marker-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--cream-card);
  border: 1px solid var(--sand-line);
  border-radius: 8px;
  padding: 3px 8px;
  box-shadow: 0 2px 6px rgba(36, 64, 75, 0.15);
}

.map-marker-label::before {
  border-top-color: var(--sand-line) !important;
}

.map-marker-label--venue {
  font-size: 0.92rem;
  padding: 5px 11px;
  border-color: var(--moss);
  border-width: 1.5px;
}

@media (max-width: 560px) {
  .map-embed {
    height: 260px;
  }
}

/* ---------------------------------------------------
   Fixed booking bar (content pages)
   Reuses the homepage's contact-card--primary content
   (icon, title, body, cue button) laid out as a slim bar.
--------------------------------------------------- */
body.has-booking-bar {
  /* Fallback for the instant before script.js measures the bar's real
     height (see syncBookingBarPadding) — approximate, not exact. */
  padding-bottom: 84px;
}

.booking-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: var(--peach);
  border-top: 1px solid var(--peach-deep);
  box-shadow: 0 -10px 24px -14px rgba(224, 138, 82, 0.55);
}

.booking-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 28px calc(16px + env(safe-area-inset-bottom));
  background: none;
  border: none;
  font: inherit;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.2s ease;
}

.booking-bar-inner:hover,
.booking-bar-inner:focus-visible {
  opacity: 0.92;
}

.booking-bar-content {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.booking-bar .contact-icon {
  background: rgba(36, 64, 75, 0.12);
  color: var(--ink);
}

.booking-bar-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.booking-bar-copy .contact-title {
  color: var(--ink);
}

.booking-bar-copy .contact-body {
  color: rgba(36, 64, 75, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.booking-bar .contact-cue--button {
  background: var(--paper);
  color: var(--moss-deep);
  flex-shrink: 0;
  margin-top: 0;
}

.booking-bar-inner:hover .contact-cue--button,
.booking-bar-inner:focus-visible .contact-cue--button {
  background: var(--cream-card);
}

@media (max-width: 560px) {
  .booking-bar-inner {
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    gap: 12px;
  }

  .booking-bar .contact-icon {
    width: 36px;
    height: 36px;
  }

  .booking-bar .contact-icon svg {
    width: 18px;
    height: 18px;
  }

  .booking-bar-copy .contact-body {
    display: none;
  }

  body.has-booking-bar {
    padding-bottom: 72px;
  }
}
