/* ==========================================================================
   Academia Women's Health — Design System
   Fraunces (display serif) + Inter (UI sans)
   Palette: plum #6c5481 · azure #539DDB · blue #335D83 · navy #203253
            tints #E6F1FA #F4FAFF #B1DDFF
   ========================================================================== */

:root {
  /* Brand */
  --plum: #6c5481;
  --plum-dark: #54406a;
  --plum-soft: #f1ebf5;
  --azure: #539DDB;
  --blue: #335D83;
  --navy: #203253;
  --tint-1: #E6F1FA;
  --tint-2: #F4FAFF;
  --tint-3: #B1DDFF;

  /* Roles */
  --ink: #243044;
  --ink-soft: #50607a;
  --line: #e3e9f2;
  --white: #ffffff;
  --bg: #ffffff;

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(32, 50, 83, 0.06);
  --shadow: 0 14px 40px rgba(32, 50, 83, 0.10);
  --shadow-lg: 0 26px 70px rgba(32, 50, 83, 0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--plum); }
ul, ol { padding-left: 1.2em; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  color: var(--navy);
  letter-spacing: 0;
}
/* Cormorant runs small + light, so sizes/weights are bumped for presence */
h1 { font-size: clamp(1.9rem, 5.6vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(2.1rem, 3.9vw, 3rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); font-weight: 600; }
h4 { font-size: 1.3rem; font-weight: 600; }
p { margin-bottom: 1.1rem; }
.lead { font-size: 1.22rem; color: var(--ink-soft); line-height: 1.65; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 1rem;
  display: inline-block;
}
.script {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-tint { background: var(--tint-2); }
.bg-tint-2 { background: linear-gradient(180deg, var(--tint-2) 0%, var(--tint-1) 100%); }
.bg-plum { background: var(--plum); color: #fff; }
.bg-navy { background: var(--navy); color: #fff; }
.text-center { text-align: center; }
.center-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.center-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-body); font-weight: 600; font-size: 0.97rem;
  padding: 0.92em 1.7em; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; transition: all 0.25s var(--ease); white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--plum); color: #fff; box-shadow: 0 8px 22px rgba(108, 84, 129, 0.28); }
.btn-primary:hover { background: var(--plum-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(108, 84, 129, 0.36); }
.btn-outline { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-outline:hover { background: var(--plum); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--plum); }
.btn-light:hover { background: var(--tint-1); color: var(--plum-dark); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost-light:hover { background: #fff; color: var(--plum); }
.btn-lg { padding: 1.05em 2.1em; font-size: 1.03rem; }

/* ---------- Top utility bar ---------- */
.utility {
  background: var(--navy); color: #cfe0f1; font-size: 0.82rem;
  padding: 0.45rem 0;
}
.utility .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.utility a { color: #cfe0f1; }
.utility a:hover { color: #fff; }
.utility-links { display: flex; gap: 1.4rem; align-items: center; }
.utility-contact { display: flex; gap: 1.4rem; align-items: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.7rem 1.5rem; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 0.35rem; list-style: none; padding: 0; margin: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block; padding: 0.55rem 0.85rem; color: var(--ink); font-weight: 500;
  font-size: 0.95rem; border-radius: 8px;
}
.nav-menu > li > a:hover, .nav-menu > li > a[aria-current="page"], .nav-menu > li > a.active-parent { color: var(--plum); background: var(--plum-soft); }
.dropdown a[aria-current="page"] { background: var(--plum-soft); color: var(--plum); }
.nav-actions { display: flex; align-items: center; gap: 0.8rem; flex-shrink: 0; }
.nav-phone { font-weight: 600; color: var(--navy); font-size: 0.95rem; white-space: nowrap; }
.nav-phone:hover { color: var(--plum); }

/* Dropdown */
.has-dropdown > a::after { content: "⌄"; margin-left: 0.3em; font-size: 0.85em; opacity: 0.7; position: relative; top: -2px; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 0.5rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.22s var(--ease);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 0.6rem 0.85rem; border-radius: 8px; color: var(--ink); font-size: 0.92rem; font-weight: 500; }
.dropdown a:hover { background: var(--plum-soft); color: var(--plum); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(165deg, var(--tint-2) 0%, var(--tint-1) 55%, #dcebf8 100%); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -18%; right: -8%; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(177, 221, 255, 0.55), transparent 70%); border-radius: 50%;
}
.hero::after {
  content: ""; position: absolute; bottom: -22%; left: -10%; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(108, 84, 129, 0.12), transparent 70%); border-radius: 50%;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; padding: clamp(3rem, 7vw, 5.5rem) 1.5rem; }
.hero-copy h1 { color: var(--navy); margin-bottom: 1.3rem; }
.hero-copy .lead { margin-bottom: 2rem; max-width: 30rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.hero-quote {
  position: absolute; bottom: -28px; left: -24px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.1rem 1.4rem; max-width: 280px; border-left: 4px solid var(--plum);
}
.hero-quote p { font-family: var(--font-display); font-style: italic; font-size: 1.02rem; color: var(--navy); margin: 0; line-height: 1.4; }
.hero-quote cite { display: block; margin-top: 0.5rem; font-style: normal; font-size: 0.82rem; color: var(--plum); font-weight: 600; }

/* Page hero (interior) */
.page-hero { background: linear-gradient(160deg, var(--tint-2), var(--tint-1)); padding: clamp(2.8rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; top: -30%; right: -6%; width: 360px; height: 360px; background: radial-gradient(circle, rgba(177,221,255,0.5), transparent 70%); border-radius: 50%; }
.page-hero .container { position: relative; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.9rem; }
.breadcrumb a { color: var(--plum); }
.page-hero h1 { margin-bottom: 0.8rem; }
.page-hero p { max-width: 640px; color: var(--ink-soft); font-size: 1.12rem; }

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1.2rem; }
.stat-num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--plum); line-height: 1; }
.bg-navy .stat-num, .bg-plum .stat-num { color: var(--tint-3); }
.stat-label { font-size: 0.92rem; color: var(--ink-soft); margin-top: 0.5rem; }
.bg-navy .stat-label, .bg-plum .stat-label { color: rgba(255,255,255,0.85); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.8rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Life-stage image tiles */
.stage { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.stage img { width: 100%; height: 340px; object-fit: cover; display: block; transition: transform 0.55s var(--ease); }
.stage:hover img { transform: scale(1.06); }
.stage figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.3rem 1.1rem;
  background: linear-gradient(to top, rgba(32,50,83,0.85), rgba(32,50,83,0.05));
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.15;
}
.stage figcaption small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.82rem; color: rgba(255,255,255,0.85); margin-top: 0.2rem; letter-spacing: 0.02em; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 3/2; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.5rem 1.6rem 1.7rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 0.6rem; }
.card-body p { color: var(--ink-soft); font-size: 0.97rem; flex: 1; }
.card-link { margin-top: 1rem; font-weight: 600; color: var(--plum); display: inline-flex; align-items: center; gap: 0.4em; }
.card-link::after { content: "→"; transition: transform 0.2s var(--ease); }
.card:hover .card-link::after { transform: translateX(4px); }

/* Compact service cards (small image + text) */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.svc-card {
  display: flex; gap: 1.3rem; align-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.15rem;
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-card img { width: 116px; height: 116px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.svc-body { flex: 1; min-width: 0; }
.svc-body h3 { font-size: 1.28rem; margin-bottom: 0.3rem; }
.svc-body p { font-size: 0.92rem; color: var(--ink-soft); margin: 0 0 0.5rem; }
.svc-body .card-link { font-weight: 600; color: var(--plum); font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.4em; }
.svc-body .card-link::after { content: "→"; transition: transform 0.2s var(--ease); }
.svc-card:hover .card-link::after { transform: translateX(4px); }

/* Feature (icon) cards */
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--plum-soft); display: grid; place-items: center; margin-bottom: 1.2rem; color: var(--plum); }
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { margin-bottom: 0.6rem; font-size: 1.3rem; }
.feature p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }

/* ---------- Split / media-text ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.split-copy h2 { margin-bottom: 1.2rem; }
.split-copy p { color: var(--ink-soft); }
.split.reverse .split-img { order: 2; }

/* Rounded portrait (circular image) — high specificity to beat .split-img img */
.portrait-frame { display: flex; justify-content: center; align-items: center; position: relative; }
.portrait-frame::before {
  content: ""; position: absolute; width: clamp(240px, 30vw, 360px); aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(177,221,255,0.5), transparent 70%);
  z-index: 0;
}
.split-img img.portrait-round,
.portrait-frame .portrait-round,
img.portrait-round {
  position: relative; z-index: 1;
  width: clamp(220px, 26vw, 320px); aspect-ratio: 1 / 1; height: auto; max-width: 82vw;
  border-radius: 50%; object-fit: cover; object-position: center 28%;
  margin: 0 auto; display: block;
  border: 8px solid #fff; box-shadow: var(--shadow);
}

/* ---------- Prose (article pages) ---------- */
.prose { font-size: 1.06rem; color: var(--ink); }
.prose h2 { margin: 2.6rem 0 1rem; }
.prose h3 { margin: 2rem 0 0.8rem; color: var(--plum); }
.prose p { color: #3c4a60; }
.prose ul, .prose ol { margin: 0 0 1.3rem; color: #3c4a60; }
.prose li { margin-bottom: 0.5rem; }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin: 1.8rem 0; }
.prose strong { color: var(--navy); }
.prose .float-img { float: right; max-width: 320px; margin: 0.4rem 0 1.4rem 2rem; }

/* Pull quote */
.pullquote {
  border-left: 4px solid var(--plum); background: var(--plum-soft);
  padding: 1.6rem 1.9rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 2rem 0;
}
.pullquote p { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--navy); margin: 0; line-height: 1.4; }
.pullquote cite { display: block; margin-top: 0.8rem; font-style: normal; font-size: 0.9rem; color: var(--plum); font-weight: 600; }

/* Condition / tag chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 1.5rem 0; }
.chips li { background: #fff; border: 1px solid var(--line); color: var(--blue); padding: 0.5rem 1rem; border-radius: 100px; font-size: 0.88rem; font-weight: 500; box-shadow: var(--shadow-sm); }

/* Checklist */
.checklist { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.checklist li { position: relative; padding-left: 2rem; color: #3c4a60; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.4rem; height: 1.4rem; background: var(--plum-soft); color: var(--plum); border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.testi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.9rem; box-shadow: var(--shadow-sm); position: relative;
}
.testi::before { content: "\201C"; font-family: var(--font-display); font-size: 4.5rem; color: var(--tint-3); position: absolute; top: 0.4rem; left: 1.2rem; line-height: 1; }
.testi p { position: relative; color: #3c4a60; font-size: 0.99rem; margin-bottom: 1.2rem; }
.testi cite { font-style: normal; font-weight: 600; color: var(--plum); font-size: 0.9rem; }
.testi-name { display: flex; align-items: center; gap: 0.6rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--plum) 0%, var(--blue) 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem, 5vw, 3.8rem); text-align: center; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; margin-bottom: 0.8rem; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 1.8rem; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.6rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.45rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--tint-2);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 3px rgba(83, 157, 219, 0.18); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--ink-soft); }
.consent input { width: auto; margin-top: 0.25rem; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 1rem; }
.form-status { margin-top: 1rem; font-size: 0.95rem; font-weight: 500; }
.form-status.ok { color: #1c7a4d; }
.form-status.err { color: #b23b4a; }

/* ---------- Info / contact blocks ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--plum-soft); color: var(--plum); display: grid; place-items: center; }
.info-icon svg { width: 22px; height: 22px; }
.info-item h4 { margin-bottom: 0.25rem; color: var(--navy); }
.info-item p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Logos row (press) ---------- */
.press-list { display: grid; gap: 1.4rem; }
.press-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.7rem; box-shadow: var(--shadow-sm); }
.press-item h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.press-meta { color: var(--plum); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem; }
.press-item p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 0.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c3d2e6; padding: clamp(3rem, 6vw, 4.5rem) 0 0; font-size: 0.94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { height: 54px; margin-bottom: 1.2rem; }
.footer-brand p { color: #93a6c2; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.1rem; font-weight: 600; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer-links a { color: #c3d2e6; }
.footer-links a:hover { color: #fff; }
.site-footer a { color: #c3d2e6; }
.site-footer a:hover { color: #fff; }
.footer-hours span { display: block; }
.footer-hours strong { color: #fff; font-weight: 600; }
.socials { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: #c3d2e6; transition: all 0.2s var(--ease); }
.socials a:hover { background: var(--plum); color: #fff; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.5rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: #8597b4; }

/* ---------- Condition × modality matrix ---------- */
.cond-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: #fff; -webkit-overflow-scrolling: touch; }
.cond-table { border-collapse: collapse; width: 100%; min-width: 900px; font-size: 0.9rem; }
.cond-table th, .cond-table td { padding: 0.7rem 0.55rem; text-align: center; border-bottom: 1px solid var(--line); }
.cond-table thead th { background: var(--navy); color: #fff; font-family: var(--font-body); font-weight: 500; font-size: 0.76rem; line-height: 1.25; vertical-align: bottom; }
.cond-table thead th:first-child { text-align: left; }
.cond-table tbody th { text-align: left; font-family: var(--font-body); font-weight: 600; color: var(--navy); white-space: nowrap; background: var(--tint-2); position: sticky; left: 0; z-index: 1; }
.cond-table tbody tr:hover th { background: var(--plum-soft); }
.cond-table tbody tr:hover td { background: rgba(108,84,129,0.05); }
.cond-table td i { color: var(--plum); font-style: normal; font-weight: 700; font-size: 1.05rem; }
.table-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.9rem; text-align: center; }
.scroll-hint { display: none; font-size: 0.82rem; color: var(--plum); margin-bottom: 0.6rem; text-align: center; }
@media (max-width: 760px) { .scroll-hint { display: block; } }

/* ---------- Map ---------- */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 3rem 0; }
.badge { display: inline-block; background: var(--tint-1); color: var(--blue); padding: 0.3rem 0.8rem; border-radius: 100px; font-size: 0.8rem; font-weight: 600; }
.two-col-list { columns: 2; column-gap: 2.5rem; }
.two-col-list li { break-inside: avoid; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-media { max-width: 520px; }
  .grid-3, .grid-4, .testi-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-img { order: 0; }
  .utility { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .nav-phone { display: none; }
  .brand img { height: auto; max-width: 240px; }
  .nav-actions .btn { display: none; }
  .hero-inner { padding: 2.4rem 1.5rem 2.8rem; }

  /* Mobile menu panel */
  .nav-menu.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; z-index: 200;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 0.8rem 1.2rem 1.4rem;
    max-height: calc(100vh - 64px); overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav-menu.open > li { width: 100%; }
  .nav-menu.open > li > a { padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .has-dropdown > a::after { display: none; }
  .nav-menu.open .dropdown {
    display: none; position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; padding: 0 0 0.5rem 1rem; min-width: 0;
  }
  .nav-menu.open .dropdown a { padding: 0.5rem; font-size: 0.88rem; }

  .grid-2, .grid-3, .testi-grid, .info-grid, .svc-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .svc-card img { width: 88px; height: 88px; }
  .stage img { height: 240px; }
  .stage figcaption { font-size: 1.15rem; padding: 1rem; }
  .field-row { grid-template-columns: 1fr; }
  .two-col-list { columns: 1; }
  .prose .float-img { float: none; max-width: 100%; margin: 1.4rem 0; }
  .hero-quote { position: static; max-width: 100%; margin-top: 1.2rem; left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
