/* =============================================================
   Prime Care Senior Services — Stylesheet
   Aesthetic: "Serene Teal" — calm, premium, reassuring.
   Single source of truth for all design tokens (see :root below).
   ============================================================= */

/* ---- 1. Design tokens (change colors/spacing here) ---------- */
:root {
  /* Brand colors */
  --teal:        #2C6E6A;   /* primary */
  --teal-dark:   #235755;   /* hover / pressed */
  --teal-soft:   #DDE8E3;   /* tints, soft fills */
  --sage:        #7BA8A0;
  --cream:       #FBF8F3;   /* page background */
  --sand:        #F0E9DC;   /* warm accent band */
  --gold:        #B7894B;   /* small premium accents */
  --surface:     #FFFFFF;   /* cards */

  /* Text */
  --ink:         #1C2B29;   /* headings / strong text */
  --body:        #3C4B49;   /* body text */
  --muted:       #6A7976;   /* secondary text */

  /* Lines & shadows */
  --line:        #E7E1D6;
  --line-soft:   #EFEAE1;
  --shadow-sm:   0 1px 2px rgba(28,43,41,.05), 0 2px 8px rgba(28,43,41,.04);
  --shadow-md:   0 4px 14px rgba(28,43,41,.07), 0 10px 30px rgba(28,43,41,.06);
  --shadow-lg:   0 18px 50px rgba(28,43,41,.12);

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1140px;
  --radius:   18px;
  --radius-sm:12px;
  --radius-pill: 999px;

  /* Spacing scale */
  --space-section: clamp(4rem, 9vw, 8rem);
}

/* ---- 2. Reset & base --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* offset for sticky header on anchor jumps */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.02rem, 0.5vw + 0.95rem, 1.15rem);
  line-height: 1.7;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); }

p { margin: 0 0 1.1rem; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

ul { margin: 0; padding: 0; list-style: none; }

/* Visible focus for keyboard users (accessibility) */
:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- 3. Layout helpers ------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.lead { font-size: clamp(1.1rem, 1vw + 1rem, 1.32rem); color: var(--body); }
.muted { color: var(--muted); }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--teal); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color:#fff; }

/* ---- 4. Buttons -------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: .9rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  line-height: 1; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-dark); color:#fff; box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--teal); border-color: rgba(44,110,106,.35); }
.btn-ghost:hover { background: var(--teal-soft); color: var(--teal-dark); }

.btn-light { background:#fff; color: var(--teal); box-shadow: var(--shadow-sm); }
.btn-light:hover { background:#fff; color: var(--teal-dark); box-shadow: var(--shadow-md); }

.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

/* Extra-large call-to-action (wider, bigger padding, defined border + ring) */
.btn-cta {
  padding: 1.45rem 3.8rem; font-size: 1.22rem; font-weight: 700;
  min-width: 310px; justify-content: center; border-radius: var(--radius-pill);
  border: 2px solid var(--teal-dark);
  box-shadow: 0 10px 26px rgba(44,110,106,.30), 0 0 0 4px rgba(44,110,106,.12);
}
.btn-cta:hover {
  box-shadow: 0 16px 34px rgba(44,110,106,.40), 0 0 0 5px rgba(44,110,106,.16);
}
@media (max-width: 520px) { .btn-cta { width: 100%; min-width: 0; padding-inline: 1.5rem; } }

/* ---- 5. Header / navigation -------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(251,248,243,.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }

.brand { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand .mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; color: var(--ink); letter-spacing: .01em; }
.brand-sub  { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 1.9rem; }
/* Plain nav links (NOT buttons — buttons keep their own white text) */
.nav-links a:not(.btn) {
  font-size: .98rem; font-weight: 500; color: var(--body); position: relative; padding: .25rem 0;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--teal);
  transition: width .25s ease;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after { width: 100%; }

/* The "Free Consultation" nav button — white text + bigger, defined border */
.nav-links .btn-primary {
  color: #fff;
  padding: .8rem 1.5rem;
  border: 3px solid var(--teal-dark);
}
.nav-links .btn-primary:hover { color: #fff; border-color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink); }
.nav-phone svg { color: var(--teal); }

/* Mobile nav toggle */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .4rem;
  width: 44px; height: 44px; color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 920px) {
  .nav-links, .nav-cta .nav-phone-text { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  /* Mobile menu panel */
  .nav-links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem; box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav-links.open { display: flex; transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .9rem .25rem; border-bottom: 1px solid var(--line-soft); font-size: 1.1rem; }
  .nav-links a::after { display: none; }
  .nav-links .btn { margin-top: 1rem; justify-content: center; }
}

/* ---- 6. Credibility banner --------------------------------- */
.cred-banner {
  background: var(--teal); color: #eafaf6;
  font-size: .9rem; text-align: center; padding: .6rem 1rem;
  display: flex; align-items: center; justify-content: center; gap: .6rem; flex-wrap: wrap;
}
.cred-banner strong { color: #fff; font-weight: 600; }
.cred-banner svg { color: #9fd9cf; flex: none; }

/* ---- 7. Hero ----------------------------------------------- */
.hero { position: relative; padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5.5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { max-width: 36ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; }
.hero-note { display: inline-flex; align-items: center; gap: .55rem; font-size: .92rem; color: var(--muted); }
.hero-note svg { color: var(--teal); flex: none; }

/* Decorative hero visual (CSS/SVG, no photo needed) */
.hero-visual { position: relative; }
.hero-card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: 26px; padding: 2.2rem; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 90% 0%, rgba(123,168,160,.18), transparent 60%);
}
.hero-card .quote { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); line-height: 1.4; position: relative; }
.hero-card .quote-mark { font-family: var(--serif); font-size: 4rem; color: var(--teal-soft); line-height: .5; display:block; height: .55em; }
.hero-card .sig { margin-top: 1.4rem; display: flex; align-items: center; gap: .85rem; }
.hero-card .sig .avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--teal), var(--sage));
  color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
}
.hero-card .sig .who { font-size: .92rem; }
.hero-card .sig .who b { color: var(--ink); display: block; font-family: var(--sans); }

/* soft background blobs */
.hero::after {
  content:""; position: absolute; z-index: -1; width: 480px; height: 480px; right: -160px; top: -120px;
  background: radial-gradient(circle at center, rgba(123,168,160,.20), transparent 65%);
  border-radius: 50%;
}

/* Centered hero banner image */
.hero-banner-wrap { text-align: center; }
.hero-banner {
  width: 100%; max-width: 1060px; margin: 0 auto;
  border-radius: 24px; box-shadow: var(--shadow-lg); display: block;
}
.center-actions { justify-content: center; }
.hero-note.centered { justify-content: center; }

/* Screen-reader-only heading (keeps the page accessible & good for Google) */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* "Licensed by the Ohio Department of Health" credential badge */
.license-badge {
  display: inline-flex; align-items: center; gap: .9rem;
  background: #fff; border: 1.5px solid var(--teal-soft);
  padding: .65rem 1.4rem .65rem .7rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm); text-align: left;
}
.license-badge .lb-seal {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--teal); color: #fff; display: grid; place-items: center;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.25);
}
.license-badge .lb-seal svg { width: 24px; height: 24px; }
.license-badge .lb-text { display: flex; flex-direction: column; line-height: 1.15; }
.license-badge .lb-top {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.license-badge .lb-main { font-family: var(--serif); font-size: 1.08rem; color: var(--ink); font-weight: 600; }

/* ---- Photo hero with slide-in overlay text ---- */
.hero-photo-card {
  position: relative; max-width: 1140px; margin: 0 auto;
  min-height: clamp(470px, 64vh, 640px);
  border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(140deg, #2C6E6A, #1f4f4c); /* fallback shown if photo not added yet */
  isolation: isolate;
}
.hero-photo-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 26%; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; display: flex; align-items: center;
  background:
    linear-gradient(to right, rgba(14,36,34,.92) 0%, rgba(14,36,34,.74) 26%, rgba(14,36,34,.30) 50%, rgba(14,36,34,0) 72%),
    linear-gradient(to top, rgba(14,36,34,.28) 0%, rgba(14,36,34,0) 42%);
}
.hero-overlay-inner { padding: clamp(1.7rem, 5vw, 4rem); max-width: 560px; text-align: left; color: #fff; }
.eyebrow.on-photo { color: #bfe7e0; }
.hero-title {
  color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.08; margin-bottom: .8rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.30);
}
.hero-sub {
  color: #eaf3f1; font-size: clamp(1.05rem, 1.3vw, 1.25rem); max-width: 48ch; margin-bottom: 1.9rem;
  text-shadow: 0 1px 12px rgba(0,0,0,.30);
}
.hero-photo-card .hero-actions { gap: .9rem; flex-wrap: wrap; }

/* slide-in animation (staggered) */
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
.slide-in > * { opacity: 0; animation: slideInLeft .85s cubic-bezier(.16,1,.3,1) forwards; }
.slide-in > *:nth-child(1){ animation-delay:.12s }
.slide-in > *:nth-child(2){ animation-delay:.26s }
.slide-in > *:nth-child(3){ animation-delay:.40s }
.slide-in > *:nth-child(4){ animation-delay:.54s }
@media (prefers-reduced-motion: reduce){ .slide-in > * { opacity:1; animation:none; } }

@media (max-width: 600px){
  .hero-photo-card { min-height: 560px; }
  .hero-photo-card .hero-actions .btn { width: 100%; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; }
  .hero .lead { max-width: 48ch; }
}

/* ---- 8. Stat strip ----------------------------------------- */
.stats { background: var(--surface); border-block: 1px solid var(--line-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: 2.4rem; }
.stat { text-align: center; padding: .5rem; }
.stat .num { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--teal); line-height: 1; }
.stat .label { font-size: .92rem; color: var(--muted); margin-top: .5rem; }
.stat + .stat { border-left: 1px solid var(--line-soft); }
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat { padding: 1.3rem .5rem; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .stat:nth-child(even) { border-left: 1px solid var(--line-soft); }
}

/* ---- 9. Mission / narrative -------------------------------- */
.mission { background: var(--sand); }
.mission .narrow { text-align: center; }
.mission h2 { margin-bottom: 1rem; }
.mission p { color: #4a4233; }

/* Generic section heading block */
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }

/* ---- 10. Services grid ------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-soft); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal); margin-bottom: 1.1rem;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .45rem; font-family: var(--sans); font-weight: 600; font-size: 1.18rem; color: var(--ink); }
.card p { font-size: .98rem; color: var(--muted); margin: 0; }

/* ---- 11. Differentiators ----------------------------------- */
.different { background: var(--surface); }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2.5rem; }
@media (max-width: 700px) { .check-grid { grid-template-columns: 1fr; } }
.check {
  display: flex; align-items: flex-start; gap: .85rem; padding: .85rem 0;
  border-bottom: 1px solid var(--line-soft); font-weight: 500; color: var(--ink);
}
.check .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff;
  display: grid; place-items: center; margin-top: 1px;
}
.check .tick svg { width: 15px; height: 15px; }

/* ---- 12. Service areas ------------------------------------- */
.areas-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 820px) { .areas-grid { grid-template-columns: 1fr; } }
.area-chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--teal-soft); color: var(--teal-dark); font-weight: 600; font-size: .96rem;
  padding: .6rem 1.1rem; border-radius: var(--radius-pill);
}
.chip svg { width: 16px; height: 16px; }
.map-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-md); text-align: center;
}
.map-card svg { width: 100%; height: auto; max-width: 320px; margin-inline: auto; }
.map-card .cap { font-size: .9rem; color: var(--muted); margin-top: 1rem; }

/* ---- 13. Founder teaser ------------------------------------ */
.founder-teaser { background: var(--teal); color: #eafaf6; }
.founder-teaser .wrap { display: grid; grid-template-columns: 200px 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: center; }
@media (max-width: 760px) { .founder-teaser .wrap { grid-template-columns: 1fr; text-align: center; } }
.founder-portrait {
  width: 180px; height: 180px; border-radius: 50%; margin-inline: auto;
  background: linear-gradient(150deg, #3a8a85, #1f4f4c);
  border: 4px solid rgba(255,255,255,.25);
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.founder-portrait .initials { font-family: var(--serif); font-size: 3.4rem; font-weight: 500; }
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder-teaser h2 { color: #fff; }
.founder-teaser .creds { font-size: .98rem; color: #bfe7e0; letter-spacing: .02em; margin-bottom: 1rem; }
.founder-teaser p { color: #d6f0eb; }
.founder-teaser .btn-light { margin-top: .6rem; }
/* White text for plain links on teal — but NOT for buttons (they keep their own colors) */
.on-teal a:not(.btn) { color:#fff; }

/* ---- 14. Contact ------------------------------------------- */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-aside .contact-method {
  display: flex; align-items: center; gap: 1.15rem; padding: 1.35rem 1.5rem; margin-bottom: 1.1rem;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.contact-method:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: inherit; }
.contact-method .ci { width: 46px; height: 46px; flex:none; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.contact-method .ci svg { width: 22px; height: 22px; }
.contact-method > span:not(.ci) { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.contact-method .lbl { display: block; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; line-height: 1.2; }
.contact-method .val { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); line-height: 1.2; word-break: break-word; }

.tagline-strip { margin-top: 1.6rem; font-family: var(--serif); font-size: 1.1rem; color: var(--teal); letter-spacing: .04em; }

/* Form */
.form-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field .req { color: var(--gold); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(44,110,106,.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: .3rem; }
.form-hint { font-size: .85rem; color: var(--muted); margin-top: .9rem; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* honeypot */

.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: .95rem; display: none; }
.form-status.show { display: block; }
.form-status.ok  { background: #e6f4ef; color: #1f6b53; border: 1px solid #bfe0d3; }
.form-status.err { background: #fbeae8; color: #9b3a2c; border: 1px solid #f0c9c2; }

/* ---- 15. Footer -------------------------------------------- */
.site-footer { background: var(--ink); color: #cdd6d4; padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #cdd6d4; }
.site-footer a:hover { color: #fff; }
.site-footer .f-brand { display:flex; align-items:center; gap:.6rem; margin-bottom: 1rem; }
.site-footer .f-brand .mark { width: 34px; height: 34px; }
.site-footer .f-brand .brand-name { color:#fff; font-size: 1.15rem; }
.site-footer ul li { margin-bottom: .6rem; }
.footer-contact li { display:flex; gap:.6rem; align-items:flex-start; }
.footer-contact svg { color: var(--sage); flex:none; margin-top: 3px; }
.footer-bottom {
  margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #9aa7a4;
}
.disclaimer { font-size: .82rem; color: #8c9996; line-height: 1.6; max-width: 70ch; margin-top: 1.2rem; }

/* ---- 16. Inner page hero (founder/legal) ------------------- */
.page-hero { background: var(--sand); padding-block: clamp(3rem,6vw,5rem); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .lead { max-width: 60ch; }

/* Prose blocks */
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; color: var(--teal); font-family: var(--sans); font-weight: 700; font-size: 1.15rem; }
.prose p, .prose li { color: var(--body); }

/* Publication list */
.pub-list { display: grid; gap: 1rem; margin-top: 1.2rem; }
.pub {
  background: var(--surface); border: 1px solid var(--line-soft); border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm);
}
.pub .field-tag { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.pub .title { font-family: var(--serif); font-size: 1.12rem; color: var(--ink); margin: .35rem 0; }
.pub .cite { font-size: .92rem; color: var(--muted); margin: 0; }

/* Credential pills */
.cred-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0; }
.cred-pill { background: var(--teal-soft); color: var(--teal-dark); font-weight: 600; font-size: .9rem; padding: .5rem 1rem; border-radius: var(--radius-pill); }

/* Training list */
.training { display: grid; gap: 1rem; margin-top: 1rem; }
.training .row {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm);
}
.training .row .ti { flex:none; width: 40px; height:40px; border-radius:10px; background: var(--teal-soft); color: var(--teal); display:grid; place-items:center; }
.training .row b { color: var(--ink); display:block; }
.training .row span { color: var(--muted); font-size: .95rem; }

/* ---- 17. Scroll reveal animation --------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover, .contact-method:hover { transform: none; }
}
