/*
Theme Name: EmmaW Final
Theme URI: https://emmawpsychotherapy.com
Author: Emma W Psychotherapy
Author URI: https://emmawpsychotherapy.com
Description: Final theme for Emma W Psychotherapy — calm, near-white, gallery-like. Scenic imagery, italicised serif rhythm, a prominent booking CTA, and a native booking calendar.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: emmaw-final
Tags: one-column, custom-menu, therapist, minimal, featured-image-header
*/

/* Google Fonts are loaded via wp_enqueue_style in functions.php (non-blocking)
   instead of @import here (which would be render-blocking). */

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --bg:              #FDFCF9;
  --surface:         #FFFFFF;
  --callout-sage:    #F0F4EE;
  --callout-blush:   #F7EFE8;
  --sage:            #8FA98F;
  --sage-dark:       #6E8E6E;
  --sage-soft:       #C8D8C8;
  --gold:            #C4A96A;
  --gold-dark:       #A88A48;
  --text:            #2C2C2C;
  --text-muted:      #5A5A5A;
  --divider:         #E5E0DA;
  --divider-soft:    #EFEAE1;

  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --w-wide:   1040px;
  --w-main:    780px;
  --w-narrow:  640px;
  --pad-x:     2rem;

  --radius:       8px;
  --radius-card: 12px;

  --t:        0.3s ease;
  --t-slow:  0.5s ease;

  --section-pad:  7rem;
  --section-pad-md: 5rem;
  --section-pad-sm: 3.5rem;
}

/* ==========================================================================
   Reset + base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-dark); text-decoration: none; transition: color var(--t); }
a:hover, a:focus { color: var(--gold-dark); }
a:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--sage-soft); color: var(--text); }

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

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 4.2vw, 3.4rem); font-weight: 400; }
h2 { font-size: clamp(1.75rem, 2.8vw, 2.2rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.9rem;
}
.italic-line {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--text);
  line-height: 1.6;
  max-width: var(--w-narrow);
  margin: 0 auto;
  text-align: center;
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.wrap       { width: 100%; max-width: var(--w-wide);   margin: 0 auto; padding: 0 var(--pad-x); }
.wrap-main  { width: 100%; max-width: var(--w-main);   margin: 0 auto; padding: 0 var(--pad-x); }
.wrap-narrow{ width: 100%; max-width: var(--w-narrow); margin: 0 auto; padding: 0 var(--pad-x); }

.section { padding: var(--section-pad) 0; }
.section--tight { padding: var(--section-pad-sm) 0; }
.section-heading { text-align: center; margin-bottom: 2.5rem; }
.section-heading--italic h2 { font-style: italic; font-weight: 400; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--divider-soft);
  z-index: 50;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-hidden {
  transform: translateY(-100%);
}
/* subtle shadow once scrolled past the top so the header reads as 'pinned' */
.site-header.is-stuck {
  box-shadow: 0 2px 12px rgba(60, 50, 40, 0.04);
}
.site-header__inner {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 1.4rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}
.site-title a { color: inherit; }
.site-title a:hover { color: var(--sage-dark); }
.site-title .site-title__mark {
  font-style: italic;
  color: var(--sage-dark);
}

.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}
.primary-nav a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), color var(--t);
}
.primary-nav a:hover,
.primary-nav a:focus { color: var(--sage-dark); border-bottom-color: var(--sage); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 28px;
  height: 28px;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  margin: 6px 0;
  background: var(--text);
  transition: transform var(--t), opacity var(--t);
}
.primary-nav.is-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.primary-nav.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
.primary-nav.is-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Header primary CTA — sits to the right of the nav links */
.site-header__cta {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   Hero (two-column: text+CTA left, Emma portrait right)
   ========================================================================== */
.hero {
  position: relative;
  background: var(--bg);
  padding: 5rem 0 4rem;
}
.hero__inner {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}
.hero__content {
  max-width: 620px;
}
.hero h1 {
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--sage-dark);
}
.hero__divider {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0 2rem;
  border: 0;
}
.hero__intro {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 2.25rem;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
.hero__portrait {
  position: relative;
  aspect-ratio: 4/5;
  background-image: url('assets/emma-portrait.jpg');
  background-size: cover;
  background-position: center top;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 32px rgba(60, 50, 40, 0.08);
}
.hero__portrait::after {
  /* subtle warm overlay to tie it to the cream background */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
  text-align: center;
}
.btn--primary {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}
.btn--primary:hover,
.btn--primary:focus {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  padding: 0.5rem 0;
  border: 0;
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
}
.btn--ghost:hover,
.btn--ghost:focus { color: var(--gold-dark); border-bottom-color: var(--gold-dark); }

/* ==========================================================================
   Contact strip (inline below hero)
   ========================================================================== */
.contact-strip {
  text-align: center;
  padding: 2.25rem var(--pad-x);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--divider-soft);
}
.contact-strip a {
  color: var(--text);
  border-bottom: 1px solid var(--divider);
  padding-bottom: 1px;
  transition: color var(--t), border-color var(--t);
}
.contact-strip a:hover,
.contact-strip a:focus { color: var(--sage-dark); border-bottom-color: var(--sage); }
.contact-strip__sep { color: var(--divider); margin: 0 0.8rem; }

/* ==========================================================================
   About section (portrait + bio)
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about__figure { margin: 0; }
.about__image {
  width: 100%;
  aspect-ratio: 4/5;
  background-image: url('assets/emma-about.jpg');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-card);
}
.about__caption {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
  letter-spacing: 0.04em;
}
.about__body h2 { margin-bottom: 1.5rem; }
.about__body p + p { margin-top: 1em; }

/* ==========================================================================
   Scenic image break
   ========================================================================== */
.scenic {
  padding: 3.5rem 0 4rem;
}
.scenic__image {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
}
.scenic__image--01 { background-image: url('assets/scene-01.jpg'); }
.scenic__image--02 { background-image: url('assets/space-pana.jpeg'); aspect-ratio: 3/1; }
.scenic__image--03 { background-image: url('assets/scene-03.jpg'); }
.scenic__caption {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  padding: 0 var(--pad-x);
}

/* ==========================================================================
   Lists
   ========================================================================== */
.styled-list {
  list-style: none;
  max-width: var(--w-main);
  margin: 0 auto;
}
.styled-list li {
  padding: 0.9rem 0 0.9rem 1.5rem;
  border-left: 2px solid var(--sage);
  margin-bottom: 0.6rem;
  background: transparent;
  font-size: 1.05rem;
  color: var(--text);
}
.styled-list--questions li {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text);
}
.styled-list--compact li {
  padding: 0.45rem 0 0.45rem 1.2rem;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}
.two-column-list {
  columns: 2;
  column-gap: 2.5rem;
}
.two-column-list li { break-inside: avoid; }

/* ==========================================================================
   Pill list (#issues variant)
   ========================================================================== */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  list-style: none;
  max-width: var(--w-main);
  margin: 0 auto;
}
.pill-list li { display: block; }

.pill {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--sage);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.pill:hover {
  background: var(--callout-sage);
}
.pill:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}
.pill[aria-expanded="true"] {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}

/* Single detail panel shared by the pill list — only one open at a time */
.pill-details {
  max-width: var(--w-main);
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  background: var(--callout-sage);
  border-radius: var(--radius-card);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  padding: 0 2rem;
  transition: opacity var(--t), max-height 0.4s ease, margin-top var(--t), padding var(--t);
}
.pill-details.has-active {
  opacity: 1;
  max-height: 700px;
  margin-top: 2rem;
  padding: 2rem;
}
.pill-detail { display: none; }
.pill-detail.is-active { display: block; }
.pill-detail h3 {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  color: var(--text);
}
.pill-detail p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ==========================================================================
   Callout blocks (sage + blush)
   ========================================================================== */
.callout {
  padding: 3rem var(--pad-x);
  border-radius: var(--radius-card);
  max-width: var(--w-main);
  margin: 0 auto;
}
.callout--sage  { background: var(--callout-sage); }
.callout--blush { background: var(--callout-blush); }
.callout .section-heading { margin-bottom: 1.8rem; }
.callout .styled-list { max-width: none; }
.callout .styled-list li { background: transparent; }

/* ==========================================================================
   Dimension cards (therapy)
   ========================================================================== */
.dimensions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: var(--w-main);
  margin: 2rem auto 0;
}
.dimension-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-card);
  border-top: 2px solid var(--sage);
  padding: 2rem 1.75rem;
  box-shadow: 0 1px 3px rgba(60, 50, 40, 0.04);
  cursor: pointer;
  transition: box-shadow var(--t), transform var(--t);
}
.dimension-card:hover,
.dimension-card:focus-visible {
  box-shadow: 0 4px 18px rgba(60, 50, 40, 0.08);
  transform: translateY(-1px);
}
.dimension-card:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}
.dimension-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.dimension-card h3::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  display: inline-block;
}
.dimension-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Expandable extra text — opens on hover, keyboard focus, or click */
.dimension-card__extra {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease, opacity 0.3s ease, margin-top 0.3s ease;
  opacity: 0;
  margin-top: 0;
}
.dimension-card__extra-inner {
  overflow: hidden;
  min-height: 0;
}
.dimension-card__extra p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.dimension-card:hover .dimension-card__extra,
.dimension-card:focus-visible .dimension-card__extra,
.dimension-card.is-open .dimension-card__extra {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0.85rem;
}

/* Tiny + indicator in the corner; rotates to × when open */
.dimension-card__plus {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 16px;
  height: 16px;
  opacity: 0.45;
  transition: opacity var(--t), transform var(--t);
}
.dimension-card__plus::before,
.dimension-card__plus::after {
  content: '';
  position: absolute;
  background: var(--text);
  border-radius: 1px;
}
.dimension-card__plus::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  transform: translateY(-50%);
}
.dimension-card__plus::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1.5px;
  transform: translateX(-50%);
}
.dimension-card:hover .dimension-card__plus,
.dimension-card:focus-visible .dimension-card__plus,
.dimension-card.is-open .dimension-card__plus {
  opacity: 0.7;
  transform: rotate(45deg);
}

/* ==========================================================================
   Credentials strip
   ========================================================================== */
.credentials {
  padding: 3rem 0;
  border-top: 1px solid var(--divider-soft);
  border-bottom: 1px solid var(--divider-soft);
  background: var(--bg);
}
.credentials__inner {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
}
.credentials__link {
  display: inline-flex;
  border-radius: 4px;
  text-decoration: none;
  transition: transform var(--t);
}
.credentials__link:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 4px;
}
a.credentials__link:hover { transform: translateY(-1px); }
.credentials img {
  height: 56px;
  width: auto;
  opacity: 0.75;
  filter: grayscale(20%);
  transition: opacity var(--t);
}
.credentials__link:hover img,
.credentials__link:focus-visible img { opacity: 1; }

/* ==========================================================================
   First-step section (invitation before booking)
   ========================================================================== */
#first_step p { text-align: center; }
#first_step .first-step__meta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--divider-soft);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.first-step__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}
@media (max-width: 480px) {
  .first-step__ctas { flex-direction: column; align-items: stretch; gap: 1rem; }
  .first-step__ctas .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Booking section
   ========================================================================== */
.booking {
  background: var(--bg);
}
.booking__intro {
  text-align: center;
  max-width: var(--w-narrow);
  margin: 0 auto 2.5rem;
}
.booking__intro h2 { margin-bottom: 1rem; }
.booking__tabs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.booking__tab {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--divider);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--t);
}
.booking__tab[aria-selected="true"] {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}
.booking__tab:hover:not([aria-selected="true"]) {
  border-color: var(--sage);
  color: var(--sage-dark);
}
.booking__panel {
  background: #fff;
  border: 1px solid var(--divider-soft);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(60, 50, 40, 0.04);
}
.booking__placeholder {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  padding: 2rem 0;
}
.booking__placeholder strong {
  color: var(--text);
  font-weight: 500;
}
.booking__placeholder code {
  display: inline-block;
  background: var(--callout-sage);
  color: var(--sage-dark);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: 'SFMono-Regular', Menlo, monospace;
}

/* Quiet WhatsApp fallback link beneath the booking calendar */
.booking__nudge {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.04em;
  margin-top: 1.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.booking__nudge a {
  color: var(--sage-dark);
  border-bottom: 1px solid var(--sage);
  padding-bottom: 1px;
  transition: color var(--t), border-color var(--t);
}
.booking__nudge a:hover,
.booking__nudge a:focus { color: var(--gold-dark); border-bottom-color: var(--gold); }

/* Booking plugin overrides (applied when Simply Schedule Appointments is active) */
.booking .ssa-app,
.booking .ssa-group-appointment-types {
  font-family: var(--font-body) !important;
}
.booking .ssa-heading,
.booking .ssa-calendar-month-title {
  font-family: var(--font-head) !important;
  font-weight: 500 !important;
}
.booking .ssa-button-primary,
.booking .ssa-btn-primary {
  background: var(--sage) !important;
  border-color: var(--sage) !important;
  border-radius: var(--radius) !important;
}
.booking .ssa-button-primary:hover,
.booking .ssa-btn-primary:hover {
  background: var(--sage-dark) !important;
  border-color: var(--sage-dark) !important;
}
.booking .ssa-time-slot.ssa-available {
  border-color: var(--sage) !important;
  color: var(--sage-dark) !important;
}

/* ==========================================================================
   Contact section (plain text fallback)
   ========================================================================== */
.contact-section { text-align: center; }
.contact-section .section-heading h2 { font-style: italic; font-weight: 400; }
.contact-section__italic {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.contact-section__details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.contact-section__details a {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--text);
  border-bottom: 1px solid var(--divider);
  display: inline-block;
  padding-bottom: 2px;
  transition: color var(--t), border-color var(--t);
}
.contact-section__details a:hover,
.contact-section__details a:focus {
  color: var(--sage-dark);
  border-bottom-color: var(--gold);
}
.contact-section__location {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.contact-section__note {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 440px;
  margin: 1.5rem auto 0;
}

/* ==========================================================================
   Bridging italic line between sections
   ========================================================================== */
.bridging {
  padding: 2rem 0;
}
.bridging p {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.25rem;
  text-align: center;
  color: var(--text-muted);
  max-width: var(--w-narrow);
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 3rem 0;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--divider-soft);
}
.site-footer__line {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.site-footer__line a {
  color: var(--text);
  border-bottom: 1px solid var(--divider);
  padding-bottom: 1px;
}
.site-footer__line a:hover,
.site-footer__line a:focus { color: var(--sage-dark); border-bottom-color: var(--sage); }
.site-footer__copy {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* WhatsApp button — sits at the top of the footer, sage-themed */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.2rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--sage);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  text-decoration: none;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.whatsapp-btn:hover,
.whatsapp-btn:focus-visible {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
  transform: translateY(-1px);
}
.whatsapp-btn:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}
.whatsapp-btn__icon {
  width: 16px;
  height: 16px;
  fill: var(--sage-dark);
  transition: fill var(--t);
  flex: 0 0 16px;
}
.whatsapp-btn:hover .whatsapp-btn__icon,
.whatsapp-btn:focus-visible .whatsapp-btn__icon { fill: #fff; }

/* ==========================================================================
   Supervision page
   ========================================================================== */
.page-header {
  padding: 5rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--divider-soft);
}
.page-header h1 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}
.page-content {
  padding: 4rem 0 var(--section-pad);
}
.page-content h2 { margin-top: 2.5rem; }
.page-content h3 { margin-top: 1.75rem; }

/* ==========================================================================
   Accessibility
   ========================================================================== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sage-dark);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  color: #fff;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  :root { --section-pad: var(--section-pad-md); }
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__portrait { max-width: 420px; margin: 0 auto; aspect-ratio: 1/1; }
  .about { grid-template-columns: 1fr; gap: 2rem; }
  .about__image { aspect-ratio: 4/3; max-width: 520px; margin: 0 auto; }
  .dimensions { grid-template-columns: 1fr; }
  .two-column-list { columns: 1; }
}

@media (max-width: 720px) {
  :root { --section-pad: var(--section-pad-sm); }
  .hero { padding: 3rem 0 3rem; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 1rem; }
  .hero__ctas .btn { width: 100%; justify-content: center; }

  .menu-toggle { display: block; order: 2; }
  .primary-nav { position: relative; }
  .primary-nav ul {
    display: none;
    position: absolute;
    top: calc(100% + 1.4rem);
    right: -1rem;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.5rem;
    border: 1px solid var(--divider-soft);
    border-radius: var(--radius);
    min-width: 200px;
    box-shadow: 0 4px 16px rgba(60, 50, 40, 0.06);
  }
  .primary-nav.is-open ul { display: flex; }
  .primary-nav li { width: 100%; padding: 0.55rem 0; border-bottom: 1px solid var(--divider-soft); }
  .primary-nav li:last-child { border-bottom: 0; }

  /* On mobile, shrink the header CTA so it sits comfortably alongside the hamburger */
  .site-header__inner { gap: 1rem; }
  .site-header__cta { padding: 0.45rem 0.85rem; font-size: 0.82rem; }
  .site-header__cta span { display: none; } /* hide the arrow on mobile to save width */

  .booking__panel { padding: 1.5rem; }
  .callout { padding: 2rem 1.25rem; }
  .contact-section__details a { font-size: 1.2rem; }
  .contact-strip__sep { display: inline-block; margin: 0 0.4rem; }

  /* On mobile, hide the shared panel and show details inline below each pill */
  .pill-details { display: none; }
  .pill-inline-detail {
    flex: 0 0 100%;
    list-style: none;
    background: var(--callout-sage);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    margin-top: 0.25rem;
  }
  .pill-inline-detail h3 {
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 500;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text);
  }
  .pill-inline-detail p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .pill-list { gap: 0.5rem; }
  .pill-list li:not(.pill-inline-detail) { padding: 0.45rem 0.9rem; font-size: 0.88rem; }
  .site-title { font-size: 1rem; }
}
