/* ============================================
   Waves — Design System
   Per official Waves Brand Kit 2026:
   Navy 2F4858 · Teal-deep 135D71 · Teal 007481
   Teal-bright 008B85 · Green 00A07E
   Typeface: Inter (Light/Regular/Medium/Bold)
   ============================================ */

:root {
  --navy: #2F4858;
  --navy-soft: #5A6E76;
  --teal-deep: #135D71;
  --teal: #007481;
  --teal-bright: #008B85;
  --green: #00A07E;
  --green-soft: #4DB596;
  --paper: #FBFCFB;
  --mist: #F1F6F5;
  --mist-edge: #E1EAE9;
  --ink-muted: #7C8B90;

  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1120px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;
}

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

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-sm);
  color: var(--navy);
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.4rem); font-weight: 600; }

p { margin: 0 0 var(--space-sm); color: var(--navy-soft); }

a { color: var(--teal-deep); text-decoration: none; }
a:hover { color: var(--teal); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: var(--space-xs);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--green);
  display: inline-block;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

img { max-width: 100%; display: block; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--mist-edge);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.logo-link img { height: 34px; width: auto; }

nav.primary-nav ul {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.primary-nav a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.97rem;
  padding: 0.4rem 0.1rem;
  position: relative;
}

nav.primary-nav a.active { color: var(--teal-deep); }

nav.primary-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle svg { width: 24px; height: 24px; color: var(--navy); }

@media (max-width: 720px) {
  nav.primary-nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--paper);
    transform: translateY(-110%);
    transition: transform 0.28s ease;
    border-top: 1px solid var(--mist-edge);
  }
  nav.primary-nav.open { transform: translateY(0); }
  nav.primary-nav ul {
    flex-direction: column;
    padding: var(--space-md) 1.5rem;
    gap: var(--space-md);
  }
  nav.primary-nav a { font-size: 1.2rem; }
  .nav-toggle { display: block; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--navy);
  color: var(--paper);
}
.btn-primary:hover { background: var(--teal-deep); color: var(--paper); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--mist-edge);
}
.btn-ghost:hover { border-color: var(--teal-deep); color: var(--teal-deep); }

.btn-light {
  background: var(--paper);
  color: var(--teal-deep);
}
.btn-light:hover { background: var(--mist); }

/* ---------- Hero (wave/ripple motif) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 var(--space-lg);
}

.hero-blob {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 560px;
  height: 560px;
  z-index: 0;
  opacity: 0.5;
}

.wave-banner {
  width: 100%;
  height: 90px;
  line-height: 0;
  overflow: hidden;
}
.wave-banner svg { width: 100%; height: 100%; display: block; }

@media (min-width: 720px) {
  .wave-banner { height: 130px; }
}

.brand-lockup {
  margin-bottom: var(--space-md);
}
.lockup-logo { height: 52px; width: auto; }
.lockup-tagline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0.5em 0 0;
  letter-spacing: 0.005em;
}

.hero .wrap { position: relative; z-index: 1; padding-top: var(--space-xl); }

.hero-inner { max-width: 680px; }

.hero .lede {
  font-size: 1.15rem;
  color: var(--navy-soft);
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

/* ---------- Full-screen photo hero ---------- */

.hero-photo {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  background-image: url('assets/hero-waves.jpg');
  background-size: cover;
  background-position: center 38%;
  overflow: hidden;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 28, 34, 0.28) 0%, rgba(15, 28, 34, 0.08) 40%, rgba(15, 28, 34, 0.05) 60%, rgba(15, 28, 34, 0.35) 100%);
}

.hero-photo-content {
  position: relative;
  z-index: 1;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  max-width: 700px;
}

.hero-photo-content h1 { color: var(--paper); }

.eyebrow-light {
  color: var(--paper);
}
.eyebrow-light::before { background: var(--green-soft); }

.lede-light {
  font-size: 1.15rem;
  color: #E7EEEF;
  max-width: 540px;
}

.btn-primary-light {
  background: var(--paper);
  color: var(--navy);
}
.btn-primary-light:hover { background: var(--mist); }

.btn-ghost-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(251, 252, 251, 0.55);
}
.btn-ghost-light:hover { border-color: var(--paper); background: rgba(251,252,251,0.1); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--paper);
  opacity: 0.8;
  animation: scroll-bounce 2.2s ease-in-out infinite;
}
.scroll-cue svg { width: 22px; height: 22px; }

@keyframes scroll-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none; }
}

@media (max-width: 720px) {
  .hero-photo { min-height: 92vh; }
  .hero-photo-content { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
}

/* ---------- Acknowledgement of Country ---------- */

.acknowledgement {
  padding: var(--space-md) 0;
  background: var(--navy);
}
.acknowledgement p {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}

/* ---------- Sections ---------- */

section { padding: var(--space-lg) 0; }
section.tight { padding: var(--space-md) 0; }

.section-head { margin-bottom: var(--space-md); }

.bg-mist { background: var(--mist); }
.bg-navy { background: var(--navy); color: var(--paper); }
.bg-navy h2, .bg-navy h3 { color: var(--paper); }
.bg-navy p { color: #C7D3D6; }

/* ---------- Pillars / Cards ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 880px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.pillar-card {
  background: var(--paper);
  border-radius: 18px;
  padding: var(--space-md);
  border: 1px solid var(--mist-edge);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -18px rgba(45, 62, 70, 0.35);
}

.pillar-card .num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: block;
  text-align: center;
}

.pillar-card h3 { display: none; }

.pillar-card ul {
  margin: var(--space-xs) 0 0;
  padding-left: 1.1rem;
  color: var(--navy-soft);
  font-size: 0.95rem;
}
.pillar-card ul li { margin-bottom: 0.35rem; }

.pillar-card.dark {
  background: var(--teal-deep);
  color: var(--paper);
  border: none;
}
.pillar-card.dark h3, .pillar-card.dark .num { color: var(--paper); }
.pillar-card.dark p, .pillar-card.dark ul { color: #D7E8E6; }

.pillar-card.mid { background: var(--teal-bright); color: var(--paper); border: none; }
.pillar-card.mid h3, .pillar-card.mid .num { color: var(--paper); }
.pillar-card.mid p, .pillar-card.mid ul { color: #E2F3F1; }

.pillar-card.bright { background: var(--green); color: var(--paper); border: none; }
.pillar-card.bright h3, .pillar-card.bright .num { color: var(--paper); }
.pillar-card.bright p, .pillar-card.bright ul { color: #E9F7F1; }

/* ---------- Wave divider ---------- */

.wave-divider {
  display: block;
  width: 100%;
  height: 60px;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-lg);
  align-items: start;
}

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
}

.headshot-frame {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}
.headshot-frame img { width: 100%; }

.linkedin-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: var(--space-sm);
  font-weight: 600;
  font-size: 0.92rem;
}

.values-list {
  list-style: none;
  margin: var(--space-sm) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-sm);
}
.values-list li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--navy-soft);
}
.values-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
}
.values-list strong { color: var(--navy); }

/* ---------- Relationship approach strip ---------- */

.approach-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-sm);
}
@media (max-width: 980px) { .approach-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .approach-grid { grid-template-columns: 1fr; } }

.approach-card {
  background: var(--paper);
  border: 1px solid var(--mist-edge);
  border-radius: 14px;
  padding: 1.4rem 1.2rem;
}
.approach-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--teal-deep);
  margin-bottom: 0.5rem;
}
.approach-card p { font-size: 0.9rem; margin-bottom: 0; }

/* ---------- Services ---------- */

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--mist-edge);
}
.service-block:last-child { border-bottom: none; }

@media (max-width: 820px) {
  .service-block { grid-template-columns: 1fr; gap: var(--space-md); }
  .service-block.reverse .service-visual { order: -1; }
}

.service-block.reverse .service-visual { order: 2; }

.service-visual {
  border-radius: 22px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-visual svg { width: 70%; height: auto; }

.tag-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: var(--space-xs) 0 var(--space-sm);
}
.tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-deep);
  background: var(--mist);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  letter-spacing: 0.01em;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}
@media (max-width: 720px) { .mini-grid { grid-template-columns: 1fr; } }

.mini-card {
  background: var(--mist);
  border-radius: 14px;
  padding: 1.2rem;
}
.mini-card h4 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--navy);
}
.mini-card p { font-size: 0.88rem; margin: 0; }

.note-callout {
  background: var(--mist);
  border-left: 3px solid var(--green);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.4rem;
  font-size: 0.92rem;
  color: var(--navy-soft);
  margin-top: var(--space-sm);
}

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

.cta-band {
  background: var(--navy);
  color: var(--paper);
  border-radius: 28px;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--paper); max-width: 600px; margin: 0 auto var(--space-sm); }
.cta-band p { color: #C7D3D6; max-width: 480px; margin: 0 auto var(--space-md); }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Contact ---------- */

.contact-card {
  background: var(--teal-bright);
  border-radius: 24px;
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
.contact-card h2, .contact-card h3 { color: var(--paper); }
.contact-card p, .contact-card strong { color: var(--paper); }
.contact-card a { color: var(--paper); font-weight: 600; }
.contact-card .icon-circle { background: rgba(255,255,255,0.22); }
.contact-card .detail { color: rgba(255,255,255,0.92); }
.contact-method strong { color: var(--paper); font-weight: 700; display: block; }
@media (max-width: 820px) {
  .contact-card { grid-template-columns: 1fr; padding: var(--space-md); }
}

.contact-card-single {
  grid-template-columns: 1fr;
  max-width: 680px;
  margin: 0 auto;
}

.contact-card-with-form {
  grid-template-columns: 1fr 1.4fr;
  max-width: 860px;
  margin: 0 auto;
  gap: var(--space-lg);
}

@media (max-width: 720px) {
  .contact-card-with-form { grid-template-columns: 1fr; }
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: var(--space-sm);
}
.contact-method .icon-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-method .icon-circle svg { width: 18px; height: 18px; }
.contact-method strong { display: block; color: var(--navy); font-size: 0.95rem; }
.contact-method a, .contact-method span.detail { color: var(--navy-soft); font-size: 0.95rem; }

/* Override contact-method text to white when inside the coloured contact card */
.contact-card .contact-method strong { color: var(--paper); }
.contact-card .contact-method a,
.contact-card .contact-method span.detail { color: rgba(255,255,255,0.88); }

/* ---------- Footer ---------- */

footer.site-footer {
  border-top: 1px solid var(--mist-edge);
  padding: var(--space-md) 0;
}
footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
footer.site-footer img { height: 24px; }
footer.site-footer .foot-meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  flex-wrap: wrap;
}
footer.site-footer a { color: var(--ink-muted); }
footer.site-footer a:hover { color: var(--teal-deep); }

/* ---------- Page hero (non-home) ---------- */

/* ---------- Utility ---------- */

.center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Hero photo: white logo + tagline only ---------- */

.hero-photo-logo-only {
  padding-top: 8vh;
  padding-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100vh;
}

.hero-logo-white {
  width: 480px;
  max-width: 82vw;
  height: auto;
  display: block;
}

@media (max-width: 720px) {
  .hero-photo-logo-only { padding-top: 8vh; }
  .hero-logo-white { width: 280px; }
}

/* ---------- Section intro paragraph ---------- */

.section-intro {
  font-size: 1.05rem;
  color: var(--navy-soft);
  margin-top: 0;
  margin-bottom: var(--space-md);
}
.section-intro + .section-intro {
  margin-top: calc(-1 * var(--space-sm));
}

/* ---------- Text links (replace buttons) ---------- */

.text-link {
  color: var(--teal-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.15s;
}
.text-link:hover { color: var(--green); }

.text-link-light {
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(255,255,255,0.5);
  padding-bottom: 1px;
  transition: opacity 0.15s;
}
.text-link-light:hover { opacity: 0.8; }

/* ---------- Page-hero: brand mark instead of blob circle ---------- */

.page-hero {
  padding: var(--space-lg) 0 var(--space-md);
  position: relative;
  overflow: hidden;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero p.lede { max-width: 600px; font-size: 1.08rem; color: var(--navy-soft); }

.page-hero-mark {
  position: absolute;
  top: -60px;
  right: -20px;
  width: 300px;
  height: 300px;
  z-index: 0;
  opacity: 0.16;
  pointer-events: none;
}
.page-hero-mark img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Pillar card h3 removed - now inline strong ---------- */

.pillar-card h3 { display: none; } /* h3s are now folded into <p><strong> */

/* ---------- Approach section: bold teal background with icons ---------- */

.approach-section {
  background: var(--teal-deep);
  padding: var(--space-lg) 0;
}

.approach-section .section-head { margin-bottom: var(--space-md); }
.approach-section .eyebrow { color: rgba(255,255,255,0.7); }
.approach-section .eyebrow::before { background: var(--green-soft); }
.approach-section h2 { color: var(--paper); }

.approach-section .approach-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-sm);
}

@media (max-width: 980px) {
  .approach-section .approach-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .approach-section .approach-grid { grid-template-columns: 1fr; }
}

.approach-section .approach-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 1.4rem 1.2rem;
  color: var(--paper);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.approach-section .approach-card h4 {
  color: var(--paper);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.approach-section .approach-card p {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  margin: 0;
}

.approach-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.9rem;
}
.approach-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ---------- Bibliotherapy page ---------- */

.biblio-hero {
  position: relative;
  padding: var(--space-xl) 0 var(--space-lg);
  overflow: hidden;
  background: var(--navy);
}

/* Unify all text to the same right edge (width of the h1) */
.biblio-hero .wrap > * {
  max-width: 640px;
}
.biblio-hero .eyebrow { color: var(--green-soft); }
.biblio-hero .eyebrow::before { background: var(--green-soft); }
.biblio-hero h1 { color: var(--paper); }
.biblio-hero .lede {
  font-style: italic;
  color: #B29C88;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.biblio-intro { color: rgba(255,255,255,0.88); font-size: 1.05rem; }

.biblio-hero-mark {
  position: absolute;
  top: 20px;
  right: -20px;
  width: 260px;
  opacity: 0.65;
  pointer-events: none;
}
.biblio-hero-mark img { width: 100%; filter: brightness(0) invert(0.55) sepia(1) brightness(0.94); }

.biblio-pillars-section { background: var(--paper); }

.biblio-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 820px) {
  .biblio-pillars { grid-template-columns: 1fr; }
}

.biblio-pillar {
  border-radius: 20px;
  padding: var(--space-md);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.biblio-pillar h3 { color: var(--paper); margin-bottom: 0.6rem; }
.biblio-pillar p { color: rgba(255,255,255,0.88); font-size: 0.97rem; margin: 0; }

.biblio-pillar-1 { background: var(--teal-deep); }
.biblio-pillar-2 { background: var(--teal-bright); }
.biblio-pillar-3 { background: var(--green); }

.biblio-pillar-icon {
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-sm);
}
.biblio-pillar-icon svg { width: 100%; height: 100%; }

.biblio-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
@media (max-width: 720px) {
  .biblio-detail-grid { grid-template-columns: 1fr; }
}

.biblio-detail-card {
  border-radius: 20px;
  padding: var(--space-md) var(--space-md);
}
.biblio-detail-card h3 { margin-bottom: 0.6rem; }
.biblio-detail-card p { font-size: 0.97rem; margin: 0; }

.biblio-detail-dark {
  background: var(--navy);
  color: var(--paper);
}
.biblio-detail-dark h3 { color: var(--paper); }
.biblio-detail-dark p { color: rgba(255,255,255,0.82); }

.biblio-detail-mid {
  background: #B29C88;
  color: var(--navy);
}
.biblio-detail-mid h3 { color: var(--navy); font-weight: 700; }
.biblio-detail-mid p { color: #2F3B44; }

.biblio-footer-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- CTA band: remove button, use text link ---------- */

.cta-band p a { color: inherit; }


/* ---------- Contact lede: match card width and centering ---------- */
.contact-page-lede {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- About hero name: scaled for personal heading ---------- */
.about-name-hero {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}
.about-bio-lede {
  font-size: 1rem;
  color: var(--navy-soft);
  line-height: 1.7;
}

/* ---------- Contact page: centred hero ---------- */
.page-hero-center .wrap { text-align: center; }
.page-hero-center .eyebrow {
  justify-content: center;
}
.page-hero-center p.lede {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Home: Bibliotherapy callout ---------- */
.biblio-callout {
  margin-top: var(--space-md);
  border-left: 3px solid #B29C88;
  padding: 0.9rem 1.2rem;
  background: rgba(178, 156, 136, 0.08);
  border-radius: 0 10px 10px 0;
}
.biblio-callout p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--navy-soft);
}
.biblio-callout strong { color: var(--navy); }
.biblio-callout .text-link {
  color: #B29C88;
  border-bottom-color: #B29C88;
  white-space: nowrap;
}
.biblio-callout .text-link:hover { color: #8a7660; }

/* ---------- Bibliotherapy page: consulting context note ---------- */
.biblio-context-note {
  font-size: 0.9rem;
  color: #B29C88;
  margin: 0.4rem 0 1.4rem;
  line-height: 1.6;
}

/* ---------- Testimonials ---------- */

.testimonials-section {
  background: var(--mist);
  padding: var(--space-lg) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

@media (max-width: 880px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

.testimonial {
  margin: 0;
  padding: var(--space-md);
  background: var(--paper);
  border-radius: 18px;
  border: 1px solid var(--mist-edge);
  display: flex;
  flex-direction: column;
  position: relative;
}

.testimonial-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--teal-bright);
  display: block;
  margin-bottom: 0.2rem;
  margin-top: -0.4rem;
}

.testimonial blockquote {
  margin: 0 0 var(--space-sm);
  flex: 1;
}

.testimonial blockquote p {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--navy-soft);
  margin: 0;
  font-style: italic;
}

.testimonial figcaption {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Inline variant for About page */
.testimonial-inline {
  margin-top: var(--space-md);
  background: var(--mist);
  border: none;
  border-left: 3px solid var(--teal-bright);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.4rem;
}
.testimonial-inline .testimonial-mark {
  font-size: 2.5rem;
  margin-bottom: 0;
  margin-top: -0.2rem;
  color: var(--teal-deep);
}
.testimonial-inline blockquote p { font-size: 0.95rem; }

/* ---------- Contact form ---------- */

.contact-form-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin: 0 0 var(--space-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.02em;
}

.form-field input,
.form-field textarea {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--paper);
  width: 100%;
  transition: border-color 0.15s, background 0.15s;
  outline: none;
  box-sizing: border-box;
  -webkit-appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255,255,255,0.45);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.2);
}

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

.form-submit {
  align-self: flex-start;
  margin-top: 0.4rem;
  background: var(--paper);
  color: var(--teal-bright);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.6rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.form-submit:hover {
  background: var(--mist);
  transform: translateY(-1px);
}

/* Success/error state for Formspree redirect */
.form-submit:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
