/* ==========================================================================
   Siarad Psychotherapy — design system
   Accent colours are split by role because a single gold cannot meet WCAG AA
   on both light and dark grounds. Verified ratios noted inline; do not swap
   --accent-decorative into text without re-checking contrast.
   ========================================================================== */

:root {
  /* Teal — sampled from the Siarad logo (#106379) and extended into a scale */
  --teal-900: #0c4a5b;
  --teal-800: #106379; /* brand teal */
  --teal-700: #14718a;
  --teal-600: #3f93a9;
  --pale-blue: #c5dfe6; /* the speech bubbles in the logo */

  /* Warm neutrals */
  --sand-50:  #fbf8f3;
  --sand-100: #f5efe5;
  --sand-200: #ece2d3;
  --sand-300: #ddcdb5;

  /* Accents, by role. The brand gold (#d99644) only reaches 2.4:1 on cream, so
     it is decorative only; text accents use a darkened version of the same hue. */
  --accent-on-light:   #8a5f22; /* 5.3:1 on --sand-50  */
  --accent-on-dark:    #f0d49a; /* 4.7:1 on --teal-800 */
  --accent-decorative: #d99644; /* brand gold — bullets, rules, borders only */

  --ink-900: #2a2723;
  --ink-700: #55504a;

  --white: #ffffff;
  --focus: #14718a;

  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --shadow-soft: 0 18px 44px -24px rgba(29, 63, 68, 0.28);
  --shadow-lift: 0 26px 60px -28px rgba(29, 63, 68, 0.36);

  --measure: 68ch;
  --header-h: 74px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.22;
  margin: 0 0 0.5em;
  color: var(--teal-900);
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
a { color: inherit; }
img { max-width: 100%; }

strong { font-weight: 600; }

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.prose { max-width: var(--measure); }
.prose p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--teal-900);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-on-light);
  margin-bottom: 0.9em;
}
.eyebrow-light { color: var(--accent-on-dark); }

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

/* Utilities */
.tick-list-single { grid-template-columns: 1fr; }
.prose-center { margin-left: auto; margin-right: auto; }
.mt-lg { margin-top: 1.7em; }
.mt-xl { margin-top: 2.5rem; }
.no-rule { border-top: none; padding-top: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(29, 63, 68, 0.09);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 50px; width: auto; }

/* Footer wordmark: the logo art is teal, so it disappears on the dark footer.
   The footer uses type instead. */
.site-footer h3.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.15em;
}
.footer-wordmark span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
  font-weight: 600;
}

.main-nav { display: flex; gap: 28px; }
.nav-link {
  text-decoration: none;
  color: var(--ink-700);
  font-weight: 500;
  font-size: 0.97rem;
  position: relative;
  padding: 6px 0;
}
.nav-link:hover { color: var(--teal-900); }
.nav-link[aria-current="page"] { color: var(--teal-900); font-weight: 600; }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent-decorative);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 14px; }

/* Language switcher — styles ready for the Welsh build. Do not add the markup
   to the pages until cy/ actually has content: a switcher that leads nowhere
   is worse than no switcher. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--sand-300);
  border-radius: 999px;
  padding: 3px;
  background: var(--white);
}
.lang-switch a {
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-700);
}
.lang-switch a[aria-current="true"] { background: var(--teal-700); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--teal-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.btn-primary { background: var(--teal-700); color: var(--white); }
.btn-primary:hover { background: var(--teal-800); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  border-color: rgba(49, 104, 114, 0.45);
  color: var(--teal-800);
}
.btn-ghost:hover { background: rgba(49, 104, 114, 0.08); border-color: var(--teal-700); }

.btn-small { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

.on-dark .btn-ghost,
.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.on-dark .btn-ghost:hover,
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--white); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The lighthouse photo has a bright sky, so the lower half needs a firm scrim
   to keep the headline and eyebrow readable over it. */
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(12, 74, 91, 0.14) 0%,
    rgba(12, 74, 91, 0.34) 32%,
    rgba(12, 74, 91, 0.74) 62%,
    rgba(12, 74, 91, 0.90) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px 88px;
}
.hero-content h1 { color: var(--white); max-width: 16ch; }
/* Text sits over photography, where local contrast varies with the crop, so the
   accent colour is dropped here and a soft shadow carries the legibility. */
.hero-content { text-shadow: 0 1px 14px rgba(6, 40, 50, 0.55); }
.hero-content .eyebrow-light { color: rgba(255, 255, 255, 0.92); }
.hero-actions { text-shadow: none; }
.hero-lede {
  font-size: 1.16rem;
  color: rgba(255, 255, 255, 0.93);
  max-width: 54ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: var(--teal-800);
  color: rgba(255, 255, 255, 0.9);
  padding: 72px 0 64px;
}
.page-header h1 { color: var(--white); margin-bottom: 0.35em; }
.page-header .lede {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 58ch;
  margin-bottom: 0;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-warm { background: var(--sand-100); }
.section-accent { background: var(--sand-200); }

.section-dark {
  background: var(--teal-800);
  color: rgba(255, 255, 255, 0.88);
}
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }
.section-dark a { color: var(--accent-on-dark); }

.section-title { margin-bottom: 0.7em; }
.section-intro { max-width: var(--measure); margin-bottom: 2.4em; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.card h3 { margin-bottom: 0.45em; }
.card p:last-child { margin-bottom: 0; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1em;
  font-weight: 600;
  color: var(--teal-700);
  text-decoration: none;
  border-bottom: 2px solid var(--accent-decorative);
  padding-bottom: 2px;
}
.card-link:hover { color: var(--teal-900); }

/* ---------- Steps (how it works) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step { counter-increment: step; position: relative; padding-top: 58px; }
.step::before {
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}
.step h3 { margin-bottom: 0.35em; }
.step p { margin-bottom: 0; color: var(--ink-700); }
.section-dark .step p { color: rgba(255, 255, 255, 0.85); }
/* Gold behind the step number only reaches 3.9:1 against teal-900 text, so the
   pale blue is used on dark sections instead. */
.section-dark .step::before { background: var(--pale-blue); color: var(--teal-900); }

/* ---------- About / portrait ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 64px;
  align-items: start;
}
.portrait-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--accent-decorative);
  box-shadow: var(--shadow-lift);
}
.portrait-frame img {
  width: 100%;
  /* The width/height attributes (kept to prevent layout shift) act as
     presentational hints; without height:auto the 900px hint wins and
     aspect-ratio is ignored. */
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.portrait-placeholder {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  background: linear-gradient(150deg, var(--teal-700), var(--teal-900));
}
.portrait-initials {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.portrait-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
  margin: 0;
}
.portrait-caption {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--ink-700);
  text-align: center;
}
.section-dark .portrait-caption { color: rgba(255, 255, 255, 0.75); }

/* ---------- Credential badges ---------- */
.badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 2em;
  padding-top: 1.6em;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.section-warm .badge-row,
.section:not(.section-dark) .badge-row { border-top-color: var(--sand-300); }

.badge-slot {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--teal-800);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  border: 1px dashed var(--sand-300);
}
.badge-slot img { height: 100%; width: auto; display: block; }

/* The BACP mark must not be altered, so it keeps its own white ground and sits
   on a white chip rather than being knocked out to transparent. */
.bacp-badge {
  width: 220px;
  height: auto;
  display: block;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.badge-text { font-size: 0.88rem; margin: 0; }
.section-dark .badge-text { color: rgba(255, 255, 255, 0.85); }

/* ---------- Lists ---------- */
.tick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px 28px;
}
.tick-list li { position: relative; padding-left: 24px; }
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent-decorative);
}
.section-dark .tick-list li { color: rgba(255, 255, 255, 0.88); }

/* ---------- Fees ---------- */
.fee-card { display: flex; flex-direction: column; }
.fee-meta { color: var(--ink-700); margin-bottom: 0.5em; }
.fee-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent-on-light);
  font-weight: 600;
  margin: auto 0 0;
}
.fee-note { font-style: italic; color: var(--ink-700); margin-top: 20px; }

/* ---------- Accordion ---------- */
.accordion { display: flex; flex-direction: column; gap: 14px; }
.info-card {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  padding: 20px 26px;
}
.info-card summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--teal-900);
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
}
.info-card summary::-webkit-details-marker { display: none; }
.info-card summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--accent-on-light);
}
.info-card[open] summary::after { content: "\2212"; }
.info-card summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--sand-100);
  color: var(--teal-700);
  flex-shrink: 0;
}
.info-body { padding-top: 14px; color: var(--ink-700); max-width: var(--measure); }
.info-body p:last-child { margin-bottom: 0; }

/* ---------- Wide photo band ---------- */
.photo-band { height: clamp(220px, 32vw, 360px); overflow: hidden; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Calm CTA band ---------- */
.cta-band {
  background: var(--teal-700);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 52ch; margin: 0 auto 1.8em; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  align-items: start;
}
.contact-line { margin-bottom: 0.4em; }
.contact-line a { color: var(--teal-800); font-weight: 600; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.form-row { margin-bottom: 24px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 7px;
  color: var(--teal-900);
}
.form-row .optional { font-weight: 400; color: var(--ink-700); }

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--sand-50);
  color: var(--ink-900);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal-700);
  box-shadow: 0 0 0 3px rgba(49, 104, 114, 0.18);
}
.form-row input:focus-visible,
.form-row textarea:focus-visible { outline: none; }
.form-row textarea { resize: vertical; min-height: 130px; }

.form-row input[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] { border-color: #a4402f; background: #fdf6f4; }
.field-error {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #8c3324;
}

.form-hint {
  background: var(--sand-100);
  border-left: 3px solid var(--accent-decorative);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--ink-700);
  margin-bottom: 24px;
}
.form-consent { font-size: 0.85rem; color: var(--ink-700); margin-bottom: 22px; }
.form-status { margin-top: 16px; font-weight: 600; min-height: 1.3em; }
.form-status[data-state="error"] { color: #8c3324; }
.form-status[data-state="ok"] { color: var(--teal-800); }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------- Booking embed ---------- */
.booking-panel {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.booking-embed { margin-top: 24px; min-height: 0; }
.booking-embed:empty { display: none; }

/* ---------- Crisis signposting ---------- */
.crisis {
  background: var(--sand-100);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-md);
  padding: 26px 30px;
}
.crisis h2, .crisis h3 { font-size: 1.1rem; margin-bottom: 0.5em; }
.crisis p { margin-bottom: 0.8em; }
.crisis ul { margin: 0; padding-left: 20px; }
.crisis li { margin-bottom: 0.45em; }
.crisis a { color: var(--teal-800); font-weight: 600; }
.crisis-compact { font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-900);
  color: rgba(255, 255, 255, 0.82);
  padding: 64px 0 28px;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.6em;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-body);
  margin-bottom: 1em;
}
.site-footer a { color: var(--accent-on-dark); }
.site-footer p { color: rgba(255, 255, 255, 0.78); }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; }

.footer-crisis {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  font-size: 0.89rem;
}
.footer-crisis p { margin-bottom: 0.5em; }
.footer-crisis p:last-child { margin-bottom: 0; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.75); }

/* ---------- Sticky mobile CTA ---------- */
/* Netlify injects a "Powered by" badge into the bottom-right corner on the free
   plan. Measured on the live site it is 197x64px, anchored to the bottom right,
   on both phone and tablet — too wide to sit the button beside it on a phone.
   So the button is lifted clear and the badge occupies the strip below it.
   84px rather than the bare 64px the badge needs, because phone browsers show
   and hide their own bottom toolbar as you scroll, which moves the goalposts.
   If the badge is ever removed, drop this back to 12px and set the body
   padding-bottom below to 76px. */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 12px 16px calc(84px + env(safe-area-inset-bottom));
  background: rgba(251, 248, 243, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--sand-300);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-small { display: none; }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--sand-50);
    padding: 18px 24px 26px;
    gap: 4px;
    border-bottom: 1px solid var(--sand-300);
    box-shadow: var(--shadow-soft);
  }
  .site-header.nav-open .nav-link { padding: 12px 0; font-size: 1.05rem; }

  .split-grid { grid-template-columns: 1fr; gap: 44px; }
  /* Once the columns stack, the portrait would otherwise fill the full page
     width and tower over everything. */
  .portrait-frame { max-width: 320px; margin-left: auto; margin-right: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 64px 0; }
  .hero-content { padding: 56px 24px 72px; }

  .mobile-cta { display: block; }
  body { padding-bottom: 148px; }
}

@media (max-width: 560px) {
  body { font-size: 1.02rem; }
  .contact-form, .card, .booking-panel { padding: 26px 22px; }
  .form-row-split { grid-template-columns: 1fr; }
  .hero-content { padding: 44px 20px 60px; }
  .crisis { padding: 22px 20px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-cta, .hero-media, .booking-panel { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
}
