/* ============================================================
   HUB CITY ALLERGY & ASTHMA — Shared Design System
   Palette: teal + deep green, WCAG AA verified (see build notes)
   Type: Cormorant Garamond (display) + DM Sans (body/UI)
   ============================================================ */

:root {
  /* Color tokens — derived directly from the real logo file (sampled & contrast-verified).
     Single teal hue family, light to dark — the actual logo has no separate "green" hue. */
  --teal-950: #113633;   /* darkest — body text/ink, button hover-darken, pull-quotes — 12.17:1 on cream */
  --teal-900: #20655E;   /* deep prominent teal — nav/hero/page-hero backgrounds, headings — 6.84:1 vs white, 6.35:1 on cream */
  --teal-700: #25746C;   /* brand action teal — primary buttons, links, active states — 5.53:1 vs white, 5.13:1 on cream */
  --teal-500: #2F948A;   /* actual sampled logo teal — DECORATIVE / LARGE TEXT ONLY — 3.67:1, fails AA for small body copy */
  --ink: #113633;        /* primary body text — same as teal-950, brand-tinted rather than neutral gray */
  --cream-50: #FAF6EF;   /* page background */
  --sand-100: #EFE8D8;   /* card / alt-section background (warm) */
  --mint-50: #EAF4F1;    /* alt-section background (cool) — adds rhythm variety alongside sand-100 */
  --white: #FFFFFF;
  --border-soft: rgba(32,101,94,0.14);
  --shadow-soft: 0 10px 28px rgba(32,101,94,0.10);
  --shadow-glow: 0 18px 40px rgba(37,116,108,0.24);

  /* Type scale */
  --font-display: "Cormorant Garamond", serif;
  --font-body: "DM Sans", sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  --radius: 22px;
  --radius-sm: 12px;
  --nav-height: 92px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--teal-900);
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); font-weight: 600; }
h4 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 600; }
p { margin: 0 0 var(--space-sm); }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-700);
  margin-bottom: var(--space-xs);
  display: inline-block;
}

/* Visible focus state everywhere — accessibility baseline */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--teal-700);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
  z-index: 1;
}
.section { padding: var(--space-xl) 0; position: relative; }
.section--alt { background: var(--sand-100); }
.section--mint { background: var(--mint-50); }

/* ---------- Botanical watermark (echoes the logo's leaf motif, used sparingly) ---------- */
.watermark-leaf { position: absolute; pointer-events: none; user-select: none; z-index: 0; }
.section--mint { background: var(--mint-50); }
.section-head { max-width: 700px; margin: 0 auto var(--space-lg); text-align: center; }
.section-head.left { margin: 0 0 var(--space-lg); text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-3px); text-decoration: none; }
.btn-primary { background: var(--teal-700); color: var(--white); }
.btn-primary:hover { background: var(--teal-950); box-shadow: var(--shadow-glow); }
.btn-outline { background: transparent; color: var(--teal-900); border-color: var(--teal-900); }
.btn-outline:hover { background: var(--teal-900); color: var(--white); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; pointer-events: none; }
.btn[aria-disabled="true"]:hover { background: transparent; color: var(--teal-900); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-ghost-light:hover { background: var(--white); color: var(--teal-900); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.88rem; }

/* ---------- Announcement bar (auto-expiring, see build.py) ---------- */
:root { --announce-height: 0px; }
.announce-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background: var(--teal-900);
  color: var(--white);
  font-family: var(--font-body);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
}
.announce-inner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; max-width: 1120px; }
.announce-msg { font-size: 0.95rem; font-weight: 500; }
.announce-cta {
  display: inline-block;
  background: var(--white);
  color: var(--teal-900);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.announce-cta:hover { background: var(--cream-50); text-decoration: none; }
.announce-close {
  background: none; border: none; color: rgba(255,255,255,0.75);
  font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 0.25rem;
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
}
.announce-close:hover { color: var(--white); }
/* When a banner is present, push the fixed nav and content down by the banner height. */
body:has(.announce-bar) { --announce-height: 52px; }
body:has(.announce-bar) .site-nav { top: var(--announce-height); }
body:has(.announce-bar) .hero,
body:has(.announce-bar) .page-hero { padding-top: calc(var(--nav-height) + var(--announce-height) + var(--space-xl)); }
@media (max-width: 560px) {
  body:has(.announce-bar) { --announce-height: 68px; }
  .announce-close { right: 0.4rem; }
}

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(250,246,239,0.88);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(32,101,94,0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.site-nav .container { display: flex; align-items: center; justify-content: flex-start; gap: 2.8rem; width: 100%; }
.nav-brand { display: flex; align-items: center; gap: 0.7rem; color: var(--teal-900); flex-shrink: 0; }
.nav-brand img { height: 46px; width: auto; }
.nav-brand .brand-text { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; color: var(--teal-900); white-space: nowrap; }
.nav-brand .brand-text small { display: block; font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-700); }
.nav-links { display: flex; align-items: center; flex: 1; }
.nav-links-group { display: flex; align-items: center; gap: 1.8rem; margin: 0 auto; }
.nav-links .btn { margin-left: auto; }
.nav-links a:not(.btn) { color: var(--teal-900); font-weight: 500; font-size: 0.87rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; padding-bottom: 5px; border-bottom: 2px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.nav-links a:not(.btn):hover { color: var(--teal-700); border-bottom-color: var(--teal-500); text-decoration: none; }
.nav-links a.active { color: var(--teal-700); border-bottom-color: var(--teal-700); }
.nav-toggle { display: none; background: none; border: none; color: var(--teal-900); cursor: pointer; padding: 0.6rem; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 28px; height: 28px; }

.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 0.3rem; background: none; border: none; cursor: pointer; padding: 0; font-family: inherit; color: var(--teal-900); font-weight: 500; font-size: 0.87rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; padding-bottom: 5px; border-bottom: 2px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.nav-dropdown-toggle:hover { color: var(--teal-700); border-bottom-color: var(--teal-500); }
.nav-dropdown-toggle.active { color: var(--teal-700); border-bottom-color: var(--teal-700); }
.nav-dropdown-toggle .nav-caret { transition: transform 0.2s ease; flex-shrink: 0; }
.nav-dropdown-toggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; margin-top: 0.6rem; background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); min-width: 200px; padding: 0.4rem; z-index: 50; }
.nav-dropdown-menu.open { display: block; }
.nav-dropdown-menu a { display: block; padding: 0.55rem 0.7rem !important; border-radius: 8px; text-transform: none !important; letter-spacing: normal !important; font-size: 0.85rem !important; border-bottom: none !important; }
.nav-dropdown-menu a:hover { background: var(--cream-50); border-bottom: none !important; }

@media (max-width: 1150px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    background: var(--cream-50);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-sm) var(--space-md) var(--space-lg);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-top: 1px solid rgba(32,101,94,0.1);
    border-bottom: 1px solid rgba(32,101,94,0.1);
    box-shadow: 0 12px 24px rgba(17,54,51,0.12);
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links-group { flex-direction: column; align-items: stretch; gap: 0; margin: 0; width: 100%; }
  .nav-links a:not(.btn) { padding: 0.85rem 0; border-bottom: 1px solid rgba(32,101,94,0.08); letter-spacing: 0.04em; }
  .nav-links .btn { margin-top: var(--space-sm); margin-left: 0; width: 100%; }
  .nav-dropdown { display: block; width: 100%; }
  .nav-dropdown-toggle { display: flex; width: 100%; justify-content: space-between; padding: 0.85rem 0; border-bottom: 1px solid rgba(32,101,94,0.08); letter-spacing: 0.04em; }
  .nav-dropdown-menu { position: static; box-shadow: none; border: none; margin-top: 0; padding: 0 0 0 1rem; min-width: 0; }
  .nav-dropdown-menu a { padding: 0.7rem 0 !important; border-bottom: 1px solid rgba(32,101,94,0.05) !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-xl);
  background: linear-gradient(180deg, var(--teal-900) 0%, #25746C 60%, var(--teal-900) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero .breathline { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; text-align: center; }
.hero-logo { width: 90px; height: 90px; flex-shrink: 0; }
.hero-lockup { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem; margin-bottom: var(--space-md); text-align: center; }
.hero-name { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--white); line-height: 1.1; }
.hero-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: #9FD8D2; }
@media (max-width: 560px) {
  .hero-lockup { flex-direction: column; gap: 0.6rem; }
}
.hero h1 { color: var(--white); }
.hero .hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto var(--space-lg); }
.hero-ctas { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }

.page-hero {
  padding: calc(var(--nav-height) + var(--space-lg)) 0 var(--space-lg);
  background: var(--teal-900);
  color: var(--white);
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 620px; margin: 0 auto; }

/* ---------- Divider (quiet reuse of signature line) ---------- */
.divider-line { display: block; width: 100%; height: 28px; margin: 0; opacity: 0.5; }

/* ---------- Signature "breathline" motif ---------- */
.breathline-pulse { animation: breathe 7s linear infinite; }
@keyframes breathe { to { stroke-dashoffset: -180; } }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pricing-cards { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .pricing-cards { grid-template-columns: 1fr; } .insurance-list { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 420px) { .insurance-list { grid-template-columns: 1fr !important; } }
.pricing-cards .card h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.pricing-cards .card p:not(.price-tag) { font-size: 0.9rem; color: var(--teal-700); margin: 0; }
.price-tag { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; color: var(--teal-700); margin: 0.15rem 0 0.5rem; }
.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: var(--space-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(37,116,108,0.3); }
.card .card-icon { width: 42px; height: 42px; margin-bottom: var(--space-sm); color: var(--teal-700); }
.card .card-icon path, .card .card-icon circle, .card .card-icon line { stroke-linecap: round; stroke-linejoin: round; }
.card a.card-link { font-weight: 700; color: var(--teal-700); display: inline-flex; align-items: center; gap: 0.3rem; }
.teaser-card { text-decoration: none; color: inherit; display: block; }

/* ---------- Condition list (services page) ---------- */
.condition-category { margin-bottom: var(--space-lg); }
.condition-category h3 { display: flex; align-items: center; gap: 0.6rem; }
.condition-list { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); list-style: none; padding: 0; margin: 0; }
.condition-list > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.link-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.link-list a { font-weight: 600; }
.edu-cards > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.condition-item { border: 1px solid var(--border-soft); border-radius: var(--radius-sm); background: var(--white); }
.condition-item summary {
  cursor: pointer;
  padding: 0.95rem 1.2rem;
  font-weight: 700;
  color: var(--teal-900);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.condition-item summary::-webkit-details-marker { display: none; }
.condition-item summary::after { content: "+"; font-size: 1.3rem; color: var(--teal-700); font-weight: 400; }
.condition-item[open] summary::after { content: "\2212"; }
.condition-item .condition-body { padding: 0 1.2rem 1.1rem; color: var(--ink); font-size: 0.95rem; }
.placeholder-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--teal-700); background: rgba(37,116,108,0.1); border-radius: 6px; padding: 2px 8px; margin-bottom: 0.4rem; }
.audience-badge { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 1.1rem; border-radius: 999px; background: rgba(255,255,255,0.14); border: 1.5px solid rgba(255,255,255,0.5); color: var(--white); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-sm); }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-item summary { cursor: pointer; padding: 1.3rem 0; font-weight: 700; font-size: 1.05rem; color: var(--teal-900); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--teal-700); font-size: 1.4rem; flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-body { padding: 0 0 1.4rem; }
.sign-off-note { background: rgba(37,116,108,0.08); border-left: 4px solid var(--teal-700); padding: 0.85rem 1rem; border-radius: 6px; font-size: 0.9rem; margin-top: 0.6rem; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: var(--space-sm); text-align: left; }
.form-field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 0.35rem; color: var(--teal-900); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px; /* must stay >=16px: iOS Safari auto-zooms the page on focus for anything smaller */
  color: var(--ink);
  background: var(--white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--teal-700); }
.form-error { color: #9B2C2C; font-size: 0.82rem; margin-top: 0.3rem; display: none; }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea { border-color: #9B2C2C; }
.form-field.invalid .form-error { display: block; }
.form-note {
  background: rgba(32,101,94,0.06);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  margin-bottom: var(--space-md);
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(13,30,28,0.55);
  display: none; align-items: center; justify-content: center;
  z-index: 2000; padding: var(--space-sm);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--cream-50);
  border-radius: var(--radius);
  max-width: 540px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: var(--space-lg);
  position: relative;
  box-shadow: 0 24px 60px rgba(13,30,28,0.35);
}
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--teal-900); padding: 0.2rem 0.5rem; }
.modal-success { text-align: center; padding: var(--space-md) 0; }
.modal-success .check { width: 56px; height: 56px; margin: 0 auto var(--space-sm); color: var(--teal-700); }

/* ---------- Pricing table ---------- */


/* ---------- Hours table ---------- */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 0.65rem 0; border-bottom: 1px solid var(--border-soft); }
.hours-table td:first-child { white-space: nowrap; padding-right: 0.75rem; }
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--teal-900); white-space: nowrap; }
.hours-card { background: var(--white); border-radius: var(--radius); padding: var(--space-lg); border: 1px solid var(--border-soft); }
.hours-note { font-size: 0.85rem; color: var(--teal-700); font-weight: 700; margin-top: var(--space-sm); }
.hours-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.hours-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-lg); }
.hours-cols .hours-table td { padding-top: 0.55rem; padding-bottom: 0.55rem; }
@media (max-width: 760px) {
  .hours-cards-grid { grid-template-columns: 1fr; }
  .hours-cols { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: rgba(255,255,255,0.82); padding: var(--space-xl) 0 var(--space-md); }
.footer-grid { display: grid; gap: var(--space-lg); grid-template-columns: 1.4fr 1fr 1fr; margin-bottom: var(--space-lg); }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: var(--space-sm); }
.footer-brand img { height: 32px; }
.footer-brand span { font-family: var(--font-display); font-size: 1.2rem; color: var(--white); }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-sm); }
.footer-col a { display: block; color: rgba(255,255,255,0.78); margin-bottom: 0.55rem; font-size: 0.94rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: var(--space-md); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.6); }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Scroll reveal ----------
   IMPORTANT: hidden state is intentionally NOT the default here.
   JS adds .js-armed at runtime right before observing each element, so if
   script.js fails to load/run for any reason, .reveal content simply renders
   normally instead of staying permanently invisible. */
.reveal.js-armed { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.js-armed.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Skip link (accessibility) ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal-700); color: var(--white);
  padding: 0.6rem 1rem; z-index: 3000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Misc ---------- */
.tag-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: var(--space-sm); }
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-lg); align-items: start; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }
.lede { font-size: 1.15rem; color: var(--teal-950); font-family: var(--font-display); font-style: italic; }
.placeholder-banner {
  background: #FFF6E0; border: 1px solid #E8C97A; color: #6B4E12;
  font-size: 0.85rem; padding: 0.7rem 1rem; border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

/* ---------- Photo placeholders (pending real photography, not a compliance flag) ---------- */
.photo-placeholder {
  background: var(--mint-50);
  border: 2px dashed rgba(32,101,94,0.32);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
  text-align: center;
  padding: 1.5rem;
}
.photo-placeholder svg { width: 44px; height: 44px; margin-bottom: 0.65rem; opacity: 0.5; }
.photo-placeholder span { font-size: 0.82rem; font-weight: 700; line-height: 1.4; max-width: 180px; }
.photo-placeholder--portrait { aspect-ratio: 3 / 4; }
.photo-placeholder--circle { aspect-ratio: 1 / 1; border-radius: 50%; width: 150px; height: 150px; padding: 0.5rem; margin: 0 auto; }
.photo-placeholder--wide { aspect-ratio: 4 / 3; }

.about-intro-grid { display: grid; grid-template-columns: 260px 1fr; gap: var(--space-lg); align-items: center; margin-bottom: var(--space-lg); }
.about-intro-grid.reverse { grid-template-columns: 1fr 260px; }
@media (max-width: 700px) { .about-intro-grid, .about-intro-grid.reverse { grid-template-columns: 1fr; } }

.office-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-md); }
.office-gallery figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: var(--ink); text-align: center; }

.about-portrait-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); display: block; box-shadow: var(--shadow-soft); }
.home-portrait-circle { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto; display: block; box-shadow: var(--shadow-soft); border: 3px solid var(--white); }
.research-photo-img { width: 100%; max-width: 320px; border-radius: var(--radius-sm); object-fit: cover; box-shadow: var(--shadow-soft); }
