/* ═══════════════════════════════════════════════════════════
   BLEED INTO PURPOSE — style.css
   Replicates trauma-healing-hub.replit.app
   Fonts:   Cormorant Garamond (serif headings) + Inter (body)
   Palette: warm cream bg · sage green primary · soft borders
   Last updated: May 2026
════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── DESIGN TOKENS ─────────────────────────────────────────
   All colours, spacing, and radii live here.
   Change a value once and it updates everywhere.
──────────────────────────────────────────────────────────── */
:root {
  /* Colours — exact HSL values from the Replit palette */
  --bg:        hsl(40,43%,96%);    /* warm cream — page background */
  --fg:        hsl(93,10%,18%);    /* near-black — headings & strong text */
  --primary:   hsl(93,14%,38%);    /* sage green — buttons, links, accents */
  --primary-h: hsl(93,14%,30%);    /* darker sage — hover state */
  --secondary: hsl(100,22%,87%);   /* light sage tint — card bg, pills */
  --muted:     hsl(38,30%,85%);    /* warm tan — dividers */
  --muted-fg:  hsl(93,8%,32%);     /* darkened for WCAG AA contrast on cream bg */
  --border:    hsl(100,14%,82%);   /* subtle sage border */
  --card:      hsl(0,0%,100%);     /* white — card surfaces */

  /* Typography */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  /* Layout */
  --px:    1.5rem;    /* horizontal padding — mobile */
  --px-md: 3rem;      /* horizontal padding — desktop */
  --max:   1200px;    /* max content width */

  /* Border radii */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-full: 9999px;   /* pill shape */

  /* Shadows */
  --shadow:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
}

/* ── RESET ─────────────────────────────────────────────────
   Minimal reset — box-sizing, margins, smooth scroll.
──────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-h); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  color: var(--fg);
  line-height: 1.15;
  letter-spacing: -.01em;
}

/* ── ACCESSIBILITY ─────────────────────────────────────────
   Skip link (keyboard users) + visible focus ring.
──────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--primary); color: #fff;
  padding: 10px 20px; font-size: .875rem; font-weight: 500;
  z-index: 9999; text-decoration: none;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

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

/* ── CONTAINER ─────────────────────────────────────────────
   Centred content wrapper with responsive side padding.
──────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--px); }
@media (min-width: 768px) { .container { padding: 0 var(--px-md); } }

/* ═══════════════════════════════════════════════════════════
   HEADER
   Fixed at top. Transparent by default, blurs on scroll.
   JS adds .scrolled when window.scrollY > 20.
════════════════════════════════════════════════════════════ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
header.scrolled {
  background: hsla(40,43%,96%,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  padding: 12px 0;
}
header nav {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
@media (min-width: 768px) { header nav { padding: 0 var(--px-md); } }

/* Brand logo — name + tagline stacked */
.nav-brand { display: flex; flex-direction: column; line-height: 1.1; color: var(--fg); }
.nav-brand .name {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 500;
  color: var(--fg); letter-spacing: -.01em;
}
.nav-brand .tagline {
  font-family: var(--sans); font-size: .6rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted-fg); margin-top: 2px;
}

/* Desktop nav links — hidden on mobile, shown at 768px+ */
.nav-links { display: none; align-items: center; gap: 32px; list-style: none; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a { font-size: .875rem; font-weight: 500; color: var(--muted-fg); transition: color .2s; }
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--primary); }
/* Current page: heavier text plus a short sage underline */
.nav-links a[aria-current="page"]:not(.btn-book) {
  font-weight: 600; color: var(--fg);
  text-decoration: underline; text-decoration-color: var(--primary);
  text-decoration-thickness: 2px; text-underline-offset: 8px;
}
/* On the booking page, Book a Talk shows a ring instead */
.nav-links .btn-book[aria-current="page"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--primary); }
.nav-links .btn-book {
  background: var(--primary); color: #fff !important;
  padding: 10px 22px; border-radius: var(--r-full);
  font-size: .875rem; font-weight: 500;
  white-space: nowrap;
  transition: background .2s;
}
.nav-links .btn-book:hover { background: var(--primary-h); }

/* Hamburger button — visible on mobile only */
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  position: relative; z-index: 300; /* above the mobile overlay */
}
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--fg); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
/* Animate hamburger → X when open */
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay — full-screen, links stacked just under the header.
   Sits below the header (z 100) so the brand and close button stay visible. */
.nav-menu {
  display: none; position: fixed; inset: 0;
  background: var(--bg); z-index: 90;
  flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 4px; padding: 112px var(--px) 40px;
}
.nav-menu.open { display: flex; }
.nav-menu a {
  font-family: var(--serif); font-size: 1.75rem; font-weight: 400;
  color: var(--muted-fg); letter-spacing: -.01em; transition: color .2s;
  padding: 6px 16px; min-height: 44px; display: inline-flex; align-items: center;
}
.nav-menu a:hover,
.nav-menu a[aria-current="page"] { color: var(--primary); }
.nav-menu a[aria-current="page"]:not(.btn-menu) {
  color: var(--fg); font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--primary);
  text-decoration-thickness: 2px; text-underline-offset: 10px;
}
.nav-menu .btn-menu[aria-current="page"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--primary); }
.nav-menu .btn-menu {
  font-family: var(--sans); font-size: 1rem; font-weight: 500;
  background: var(--primary); color: #fff;
  padding: 16px 40px; border-radius: var(--r-full);
  margin-top: 16px; display: inline-flex; align-items: center;
  transition: background .2s;
}
.nav-menu .btn-menu:hover { background: var(--primary-h); color: #fff; }

/* Push page content below fixed header */
.page-content { padding-top: 0; } /* nav clearance handled per-section */

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY
════════════════════════════════════════════════════════════ */
h1 { font-size: clamp(2.6rem, 7vw, 5rem);  font-weight: 400; margin-bottom: 24px; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem);  font-weight: 400; margin-bottom: 20px; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 500; margin-bottom: 12px; }
p  { font-size: 1.0625rem; color: var(--muted-fg); margin-bottom: 16px; line-height: 1.85; }
p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff;
  padding: 14px 32px; border-radius: var(--r-full);
  font-family: var(--sans); font-size: .95rem; font-weight: 500;
  border: none; cursor: pointer; min-height: 48px;
  transition: background .2s, transform .1s; letter-spacing: .01em;
}
.btn-primary:hover { background: var(--primary-h); color: #fff; }
.btn-primary:active { transform: scale(.98); }

.btn-outline, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--fg);
  padding: 13px 32px; border-radius: var(--r-full);
  font-family: var(--sans); font-size: .95rem; font-weight: 500;
  border: 1.5px solid hsla(93,14%,38%,.25); cursor: pointer; min-height: 48px;
  transition: background .2s, border-color .2s;
}
.btn-outline:hover, .btn-secondary:hover {
  background: var(--secondary); border-color: var(--border); color: var(--fg);
}

/* Arrow link — used inline for "Learn more →" style links */
.link-underline {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .875rem; font-weight: 500; color: var(--primary);
  margin-top: 12px; transition: gap .2s;
}
.link-underline:hover { gap: 10px; color: var(--primary-h); }

/* ═══════════════════════════════════════════════════════════
   UTILITIES
════════════════════════════════════════════════════════════ */

/* Pill label above section headings */
.section-label, .eyebrow {
  display: inline-block;
  font-family: var(--sans); font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary); background: var(--secondary);
  padding: 4px 14px; border-radius: var(--r-full); margin-bottom: 16px;
}

.divider { width: 48px; height: 1px; background: var(--border); margin: 28px 0; border: none; }

/* Section padding helpers */
.section-pad { padding: 80px var(--px); }
@media (min-width: 768px) { .section-pad { padding: 96px var(--px-md); } }
.white-bg  { background: var(--card); }
.cream-bg  { background: var(--bg); }
.muted-bg  { background: hsla(100,22%,87%,.3); }

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   Full-bleed background image with centred text overlay.
   Structure: .hero > .hero-bg (abs image) + .hero-body (text)
════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
  background: hsl(93,14%,80%); /* fallback if hero image fails to load */
}
/* Background image fills the section */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
/* Semi-transparent overlay so text is legible */
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: hsla(40,43%,96%,.58);
  backdrop-filter: blur(1px);
}
/* Text content sits above the overlay */
.hero-body {
  position: relative; z-index: 1;
  max-width: 820px; margin: 0 auto;
  padding: 100px var(--px) 64px; /* 88px nav height + 12px breathing room */
}
/* Pill badge above the headline */
.hero-pill {
  display: inline-block;
  background: hsla(40,43%,96%,.75); color: var(--fg);
  font-size: .85rem; font-weight: 500;
  padding: 7px 18px; border-radius: var(--r-full);
  margin-bottom: 28px; letter-spacing: .01em;
  border: 1px solid var(--border);
}
.hero h1 { color: var(--fg); margin-bottom: 20px; }
.hero p  { font-size: 1.1rem; font-weight: 600; color: hsla(93,10%,18%,.85); max-width: 580px; margin: 0 auto 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }

/* ═══════════════════════════════════════════════════════════
   PAGE HEADER
   Used on inner pages (About, Speaking, etc.) in place of hero.
════════════════════════════════════════════════════════════ */
.page-header { padding: 100px var(--px) 64px; text-align: center; }
@media (min-width: 768px) { .page-header { padding: 112px var(--px-md) 80px; } }
.page-header h1 { max-width: 700px; margin: 0 auto 20px; }
.page-header p  { font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════
   IMAGE + TEXT SPLIT LAYOUT
   Used on home intro, about, speaking, programs pages.
   Structure: .image-section > .container > .image-section-inner
              > .image-section-img + .image-section-text
   Add .reversed to .image-section-inner to flip order on desktop.
════════════════════════════════════════════════════════════ */
.image-section { padding: 64px var(--px); }
@media (min-width: 768px) { .image-section { padding: 96px var(--px-md); } }

.image-section-inner {
  display: flex; flex-direction: column; gap: 48px; align-items: center;
}
@media (min-width: 1024px) {
  .image-section-inner { flex-direction: row; gap: 80px; align-items: flex-start; }
  .image-section-inner.reversed { flex-direction: row-reverse; }
}

.image-section-img { width: 100%; }
@media (min-width: 1024px) {
  .image-section-img {
    width: 50%;
    flex-shrink: 0;
    padding-top: 36px; /* aligns image top with the pill label in the adjacent text column */
  }
  /* Reversed layout: text is on right, image on left — same top padding needed */
  .image-section-inner.reversed .image-section-img {
    padding-top: 36px;
  }
}

/* ── Headshot image sizing ──────────────────────────────────
   Use aspect-ratio at every breakpoint — no fixed heights.
   Fixed heights fight object-fit:cover on near-square images
   and cause horizontal stretching on mobile.
   aspect-ratio lets the container match the image shape exactly,
   with object-fit:cover doing a clean centre crop inside it.

   Mobile:  2/3 — tall enough to show face and shoulders clearly.
   Tablet+: 3/4 — slightly taller portrait, matches Replit desktop.
   The column width (50% on desktop, 100% on mobile) constrains
   the actual rendered size, so no explicit height is ever needed.
──────────────────────────────────────────────────────────── */
.image-section-img > img {
  width: 100%;
  height: auto;          /* let the image keep its natural proportions — no distortion */
  object-fit: contain;   /* never crop or stretch */
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  display: block;
}

.image-section-text { width: 100%; }
@media (min-width: 1024px) { .image-section-text { width: 50%; } }
.image-section-text p { font-size: 1.05rem; }

/* ═══════════════════════════════════════════════════════════
   FEATURE CARDS — home page "Ways to Work Together" grid
════════════════════════════════════════════════════════════ */
.feature-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px;
}
@media (min-width: 640px)  { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 28px 24px;
  transition: box-shadow .2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p  { font-size: .9rem; }
.feature-card a  { display: inline-block; font-size: .8rem; font-weight: 500; color: var(--primary); margin-top: 12px; }
.feature-card a:hover { color: var(--primary-h); }

/* ═══════════════════════════════════════════════════════════
   SPEAKING TOPIC CARDS
════════════════════════════════════════════════════════════ */
.topics-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
@media (min-width: 640px) { .topics-grid { grid-template-columns: repeat(2, 1fr); } }
.topic-card {
  background: var(--card); border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--r-xl); padding: 28px 28px 28px 24px;
  transition: box-shadow .2s;
}
.topic-card:hover { box-shadow: var(--shadow); }
/* .topic-icon removed — emoji icons replaced with clean card layout */
.topic-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.topic-card p  { font-size: .95rem; }

/* ═══════════════════════════════════════════════════════════
   PROGRAM CARDS
════════════════════════════════════════════════════════════ */
.programs-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
@media (min-width: 640px)  { .programs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .programs-grid { grid-template-columns: repeat(3, 1fr); } }
.program-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: box-shadow .2s;
}
.program-card:hover { box-shadow: var(--shadow); }
.program-tag {
  font-size: .65rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 12px;
}
.program-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.program-card p  { font-size: .9rem; flex-grow: 1; }
.program-ideal {
  background: hsla(100,22%,87%,.5);
  border-radius: var(--r-md); padding: 12px 16px; margin-top: 16px;
}
.program-ideal .ideal-label {
  display: block; font-size: .65rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 4px;
}
.program-ideal span { font-size: .875rem; color: var(--fg); }
.program-card .btn-outline {
  margin-top: 20px; font-size: .85rem; padding: 10px 20px;
  min-height: 40px; width: 100%; justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   AUDIENCE LIST — speaking page
════════════════════════════════════════════════════════════ */
/* Plain bulleted text, no boxes, so the items don't read as buttons */
.audience-list {
  list-style: none; margin-top: 20px;
  display: grid; grid-template-columns: 1fr; gap: 10px 40px;
}
@media (min-width: 768px) { .audience-list { grid-template-columns: repeat(2, 1fr); max-width: 760px; } }
.audience-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.0625rem; color: var(--muted-fg); line-height: 1.6;
}
.audience-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   BLOCKQUOTE
   Default: secondary bg with left sage border.
   Inside .green-strip: transparent, no border, larger text.
════════════════════════════════════════════════════════════ */
blockquote {
  font-family: var(--serif); font-size: 1.3rem; font-style: italic;
  color: var(--fg); line-height: 1.55;
  background: var(--secondary);
  border-left: 5px solid var(--primary);
  border-radius: var(--r-lg);
  padding: 28px 32px; margin: 32px 0;
}
blockquote p { color: inherit; font-size: inherit; font-family: var(--serif); font-style: italic; margin-bottom: 10px; }
blockquote footer, blockquote cite {
  display: block; font-family: var(--sans); font-size: .75rem;
  font-style: normal; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted-fg); margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════════
   CTA / QUOTE STRIP
   Subtle sage-tinted band — matches Replit's bg-primary/5
════════════════════════════════════════════════════════════ */
.green-strip {
  background: hsla(93,14%,38%,.06);
  border-top: 1px solid hsla(93,14%,38%,.14);
  border-bottom: 1px solid hsla(93,14%,38%,.14);
  padding: 64px var(--px);
}
@media (min-width: 768px) { .green-strip { padding: 80px var(--px-md); } }
.green-strip h2 { margin-bottom: 16px; }
.green-strip p  { max-width: 560px; margin: 0 auto 32px; }
.green-strip .cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.green-strip blockquote {
  font-size: 1.5rem;
  border-left: 6px solid var(--primary);
  background: var(--secondary);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  max-width: 860px;
  margin: 0 auto;
}
.green-strip blockquote p { color: var(--fg); font-size: inherit; }
/* About "Bleed Into Purpose" section — text on the left, photo on the right,
   with the closing paragraph under the photo, lined up with the bottom of the text.
   On phones it stacks: photo, text, closing paragraph. */
.image-section-inner.bip-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px 0;
  grid-template-areas: "img" "text" "extra";
}
.bip-grid > .image-section-img  { grid-area: img; }
.bip-grid > .image-section-text { grid-area: text; }
.bip-grid > .bip-extra { grid-area: extra; margin-top: -28px; }
.bip-extra p { font-size: 1.05rem; margin-bottom: 0; }
@media (min-width: 1024px) {
  .image-section-inner.bip-grid {
    grid-template-columns: 1fr 1fr; gap: 24px 80px;
    grid-template-areas: "text img" "text extra";
  }
  .bip-grid > .image-section-img, .bip-grid > .image-section-text { width: auto; }
  .bip-grid > .bip-extra { margin-top: 0; align-self: end; }
}

/* About page portrait — smaller than the standard split-layout photo, centred in its column */
.about-portrait > img { max-width: 380px; margin: 0 auto; }

/* Home intro quote — centred, full-width box below the photo and paragraphs */
.intro-quote {
  max-width: 960px;
  margin: 56px auto 0;
  text-align: center;
}
/* Blockquote inside image-section text column — smaller, still has green border */
.image-section-text blockquote {
  font-size: 1.1rem;
  padding: 20px 24px;
  margin: 20px 0;
}

/* ═══════════════════════════════════════════════════════════
   REFLECTION PROMPTS — resources page
════════════════════════════════════════════════════════════ */
.prompt-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.prompt-list li {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px 20px;
  font-family: var(--serif); font-style: italic; font-size: 1.1rem;
  color: var(--fg); line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   WELLNESS & GROUNDING CARDS — resources page
════════════════════════════════════════════════════════════ */
.content-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
@media (min-width: 640px) { .content-grid { grid-template-columns: repeat(2, 1fr); } }
.content-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 28px;
}
.content-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.content-card p  { font-size: .9rem; }

/* ═══════════════════════════════════════════════════════════
   CONTACT — booking page
════════════════════════════════════════════════════════════ */
.contact-row {
  display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 16px 20px;
}
.contact-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--secondary); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem;
}
.contact-label { font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-fg); margin-bottom: 4px; }
.contact-value { font-size: 1rem; color: var(--fg); font-weight: 400; }
.contact-value a { color: var(--primary); }

/* ═══════════════════════════════════════════════════════════
   FORMS — booking page
════════════════════════════════════════════════════════════ */
.inquiry-form {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 36px 28px;
  box-shadow: var(--shadow); margin-top: 32px;
}
.form-note { font-size: .9rem; color: var(--muted-fg); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .875rem; font-weight: 500; color: var(--fg); margin-bottom: 6px; }
.form-group label .req      { color: #c0392b; margin-left: 3px; }
.form-group label .req-note { font-size: .75rem; color: var(--muted-fg); font-weight: 400; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 16px;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-family: var(--sans); font-size: 1rem; color: var(--fg);
  background: var(--bg); outline: none;
  transition: border-color .2s, box-shadow .2s; min-height: 46px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(93,14%,38%,.15);
}
.form-group textarea { height: 120px; resize: vertical; min-height: 90px; }
.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] { border-color: #c0392b; }
.field-error { font-size: .8rem; color: #c0392b; margin-top: 4px; display: none; }
.field-error.visible { display: block; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.site-footer {
  background: hsla(100,22%,87%,.3);
  border-top: 1px solid var(--border);
  padding: 40px var(--px) 28px;
}
@media (min-width: 768px) { .site-footer { padding: 48px var(--px-md) 32px; } }

/* ── FOOTER TOP — centered quote + contact ── */
.footer-top {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.footer-brand .quote {
  font-family: var(--serif); font-style: italic; font-size: 1rem;
  color: hsla(93,10%,18%,.6); margin-bottom: 10px; line-height: 1.6;
}
.footer-brand .footer-email {
  font-size: .875rem; color: var(--fg);
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-brand .footer-email:hover { color: var(--primary); }
.footer-brand .footer-phone { font-size: .875rem; color: var(--fg); display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.footer-brand .footer-phone:hover { color: var(--primary); }

.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
  text-align: center;
}
.footer-bottom p { margin: 0; }
/* Copyright line — small, quiet */
.footer-legal-row p:first-child {
  font-size: .7rem;
  color: var(--muted-fg);
  letter-spacing: .04em;
  opacity: .8;
}
/* Disclaimer — serif italic, matches footer quote tone */
.footer-legal-row p:last-child {
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  color: hsla(93,10%,18%,.65);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}
.footer-legal-row p:last-child strong {
  font-style: normal;
  font-weight: 600;
  color: var(--fg);
}
.footer-bottom a { color: var(--primary); }
.footer-bottom a:hover { color: var(--primary-h); }

/* ═══════════════════════════════════════════════════════════
   FADE-IN ANIMATION
   JS adds .visible when element enters the viewport.
   Respects prefers-reduced-motion.
════════════════════════════════════════════════════════════ */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── CRISIS SUPPORT — resources page, two columns from tablet up ── */
.crisis-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .crisis-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.crisis-grid > * { min-width: 0; }

/* ── FOOTER LEGAL ROW — copyright + disclaimer ── */
.footer-legal-row p { margin-bottom: 6px; }
.footer-legal-row p:last-child { margin-bottom: 0; }

/* Skip-to-content scroll target — clears the fixed nav bar */
#main-content { scroll-margin-top: 88px; }
