/* ==========================================================================
   Daynamic Strategies — shared styles (all pages)
   Palette per brief: sand #F1F1EF, white, ink #141414, muted #4A4A4A,
   lime accent #CDDC36 (hover #B8C72F), avatar #E4E4E0.
   Type: Inter (EN, leads stack) + Noto Sans TC (TC). WCAG AA: lime is only
   ever a surface under ink text or a decorative bar — never under white text.
   Photo update (real-photos round): added .page-hero--photo (full-bleed hero
   image + dark gradient overlay), .card-photo (service-card top image),
   .avatar-img / .team-photo (circular real portraits), per-person
   object-position helpers, and split-media focal point for Dayna's portrait.
   ========================================================================== */

:root {
  --bg: #F1F1EF;
  --surface: #FFFFFF;
  --ink: #141414;
  --muted: #4A4A4A;
  --accent: #CDDC36;
  --accent-dark: #B8C72F;
  --overlay: rgba(20, 20, 20, 0.45);
  --avatar-bg: #E4E4E0;
  --hairline: #E3E3DF;            /* (chosen — brief silent on hairline hex) */
  --shadow: 0 4px 20px rgba(20, 20, 20, 0.06);
  --shadow-lg: 0 10px 32px rgba(20, 20, 20, 0.10);
  --radius: 1rem;
  --radius-sm: 0.75rem;
  --font-main: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", sans-serif;
  --header-h: 76px;
  --container: 1160px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- i18n visibility (flash-proof: defaults to EN before JS) ---------- */
html[data-lang="tc"] .t-en { display: none !important; }
html:not([data-lang="tc"]) .t-tc { display: none !important; }

/* ---------- layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--white { background: var(--surface); }
.section--sand { background: var(--bg); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 12px;
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); flex: none;
}

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.title-underline {
  display: block; width: 64px; height: 5px; border-radius: 3px;
  background: var(--accent); margin-top: 16px;
}
.section-head--center { text-align: center; }
.section-head--center .title-underline { margin-inline: auto; }
.section--tight .title-underline { margin-inline: auto; }

.section-sub {
  color: var(--muted); font-size: 1.0625rem; max-width: 640px; margin: 14px 0 0;
}
.section-head--center .section-sub { margin-inline: auto; }

.lede { font-size: 1.0625rem; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 9999px; padding: 0.85rem 1.75rem;
  font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.75); }
.btn-outline-light:hover, .btn-outline-light:focus-visible { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--hairline); box-shadow: var(--shadow); }

.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-icon { height: 44px; width: auto; }
.brand-word { height: 30px; width: auto; object-fit: contain; }

.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav a {
  text-decoration: none; font-weight: 500; font-size: 0.9688rem;
  padding: 8px 14px; border-radius: 9999px; color: var(--ink);
  transition: background-color .15s ease;
}
.main-nav a:hover { background: var(--bg); }
.main-nav a.nav-cta {
  background: var(--accent); font-weight: 600; margin-left: 8px;
}
.main-nav a.nav-cta:hover { background: var(--accent-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--hairline); border-radius: 9999px; padding: 5px 10px;
  background: var(--surface); font-size: 0.875rem;
}
.lang-toggle .sep { color: var(--muted); opacity: .6; }
.lang-toggle button {
  border: 0; background: transparent; font: inherit; font-weight: 600;
  color: var(--muted); cursor: pointer; padding: 2px 6px; border-radius: 9999px;
}
.lang-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.hamburger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--hairline);
  border-radius: 12px; background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center; padding: 0;
}
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; position: relative; transition: transform .2s ease, opacity .2s ease;
}
.hamburger span::before { position: absolute; top: -6px; }
.hamburger span::after { position: absolute; top: 6px; }
body.nav-open .hamburger span { background: transparent; }
body.nav-open .hamburger span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .hamburger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero (landing)
   ========================================================================== */
.hero {
  position: relative; min-height: min(92vh, 860px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 56px) 0 72px;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(20,20,20,0.78) 0%, rgba(20,20,20,0.58) 52%, rgba(20,20,20,0.36) 100%);
}
.hero-content { max-width: 680px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.35);
  border-radius: 9999px; padding: 7px 16px; font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.04em; margin-bottom: 22px;
}
.hero-kicker .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem); font-weight: 700; line-height: 1.08;
  letter-spacing: -0.02em; margin: 0 0 20px;
}
.hero .hero-sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.55;
  color: rgba(255,255,255,0.92); max-width: 560px; margin: 0 0 34px;
}

/* ---------- inner-page hero ---------- */
.page-hero {
  padding: calc(var(--header-h) + 72px) 0 64px;
  background:
    radial-gradient(560px 280px at 88% -10%, rgba(205,220,54,0.30), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--hairline);
}
.page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; line-height: 1.12;
  letter-spacing: -0.02em; margin: 0 0 16px;
}
.page-hero .hero-sub { color: var(--muted); font-size: 1.125rem; max-width: 640px; margin: 0; }

/* photo variant: full-bleed background image + dark gradient overlay so the
   white headline/subhead stay legible (overlay gradient matches landing hero) */
.page-hero--photo {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 420px;
  padding: calc(var(--header-h) + 120px) 0 56px;
  color: #fff; background: var(--ink); border-bottom: 0;
}
.page-hero--photo .page-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.page-hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(20,20,20,0.78) 0%, rgba(20,20,20,0.58) 52%, rgba(20,20,20,0.36) 100%);
}
.page-hero--photo h1 { color: #fff; }
.page-hero--photo .eyebrow { color: rgba(255,255,255,0.85); }
.page-hero--photo .hero-sub { color: rgba(255,255,255,0.92); }

/* ==========================================================================
   About / two-column
   ========================================================================== */
.split {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.split-media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4; position: relative;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.media-tag {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255,255,255,0.94); color: var(--ink);
  border-radius: 9999px; padding: 7px 16px; font-size: 0.8125rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.media-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-dark); }
.about-body p { margin: 0 0 18px; color: var(--muted); font-size: 1.0625rem; }
.about-sign {
  margin-top: 26px; display: flex; align-items: center; gap: 14px;
}
.about-sign .avatar { width: 56px; height: 56px; font-size: 1.05rem; }
.about-sign .avatar-img { width: 56px; height: 56px; aspect-ratio: 1 / 1; object-position: center 20%; }
.about-sign .who { font-weight: 700; }
.about-sign .role { color: var(--muted); font-size: 0.9rem; }

/* ==========================================================================
   Accreditation pills
   ========================================================================== */
.pills { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 34px 0 0; }
.pills li {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 9999px; padding: 10px 20px;
  font-weight: 500; font-size: 0.9375rem; box-shadow: var(--shadow);
}
.pills li .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }

/* ==========================================================================
   Cards (services / generic)
   ========================================================================== */
.card-grid { display: grid; gap: 24px; margin-top: 44px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px 28px; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
a.card { text-decoration: none; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* top photo area for service cards: full-bleed within card padding, ~16:10,
   rounded top corners come from the card's own overflow:hidden + radius */
.card-photo {
  margin: -32px -28px 24px; aspect-ratio: 16 / 10;
  overflow: hidden; background: var(--avatar-bg); flex: none;
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.card .card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent); color: var(--ink);
  font-weight: 700; font-size: 1rem; margin-bottom: 20px; flex: none;
}
.card h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin: 0 0 12px; }
.card p { color: var(--muted); margin: 0; font-size: 0.9688rem; }
.card .card-link {
  margin-top: 22px; font-weight: 600; font-size: 0.9375rem;
  display: inline-flex; align-items: center; gap: 8px; color: var(--ink);
}
.card .card-link .arrow { transition: transform .2s ease; display: inline-block; }
a.card:hover .card-link .arrow { transform: translateX(4px); }
.card .card-link .lime-chip {
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem;
}

/* ==========================================================================
   Impact stats
   ========================================================================== */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px;
}
.stat {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 24px; text-align: center;
}
.stat-num {
  display: inline-block; background: var(--accent); color: var(--ink);
  font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1;
  padding: 8px 18px; border-radius: 12px; margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--muted); font-weight: 500; font-size: 0.9375rem; }

/* ==========================================================================
   Vision
   ========================================================================== */
.vision { text-align: center; }
.vision-body {
  max-width: 820px; margin: 22px auto 0; color: var(--muted);
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); line-height: 1.75;
}
.vision-mark {
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px; color: var(--ink);
}

/* ==========================================================================
   Avatars / team / animals
   ========================================================================== */
.avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--avatar-bg); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.6rem; letter-spacing: 0.02em;
  border: 3px solid var(--surface); box-shadow: var(--shadow);
  flex: none; user-select: none;
}
/* real-photo circular portraits (team cards / about signature) */
.avatar-img {
  border-radius: 50%; object-fit: cover; flex: none;
  background: var(--avatar-bg);
  border: 3px solid var(--surface); box-shadow: var(--shadow);
}
.team-photo { width: 88px; height: 88px; aspect-ratio: 1 / 1; }
/* per-person focal points (faces sit at different heights in source photos) */
.pos-20 { object-position: center 20%; }
.pos-25 { object-position: center 25%; }
.pos-30 { object-position: center 30%; }
.pos-35 { object-position: center 35%; }

.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px;
}
.team-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 20px 26px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.team-card .avatar { width: 88px; height: 88px; font-size: 1.45rem; }
.team-card h3 { margin: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.team-card .role { margin: 0; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }

.animals-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 44px;
}
.animal-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column; align-items: center;
  padding-bottom: 16px; transition: transform .2s ease, box-shadow .2s ease;
}
.animal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.animal-photo { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--avatar-bg); }
.animal-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.animal-card h3 { margin: 14px 8px 0; font-size: 0.9688rem; font-weight: 700; text-align: center; line-height: 1.3; }
.animal-card .badge {
  margin: 8px 10px 0; font-size: 0.75rem; font-weight: 600; color: var(--muted);
  background: var(--bg); border-radius: 9999px; padding: 4px 12px;
  text-align: center; line-height: 1.35; max-width: calc(100% - 20px);
}

/* ==========================================================================
   SEN Sharing Channel (video)
   ========================================================================== */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 44px; }
.video-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.video-wrap { position: relative; aspect-ratio: 16 / 9; background: #0d0d0d; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card h3 { margin: 0; padding: 16px 20px 18px; font-size: 1rem; font-weight: 700; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quotes { display: grid; gap: 24px; margin-top: 44px; max-width: 920px; margin-inline: auto; }
.quote-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 34px 34px 28px; position: relative;
}
.quote-mark {
  font-size: 3.2rem; line-height: 1; font-weight: 700; color: var(--muted);
  font-family: Georgia, serif; margin-bottom: 6px;
}
.quote-card blockquote { margin: 0; color: var(--muted); font-size: 0.9688rem; line-height: 1.75; }
.quote-who { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.quote-who .avatar { width: 44px; height: 44px; font-size: 0.9rem; border-width: 0; box-shadow: none; }
.quote-who .name { font-weight: 700; font-size: 0.9375rem; }
.quote-who .meta { color: var(--muted); font-size: 0.8125rem; }

/* ==========================================================================
   Partners
   ========================================================================== */
.partners-heading {
  text-align: center; font-size: 0.9375rem; font-weight: 700;
  letter-spacing: 0.22em; color: var(--muted); margin: 0 0 34px;
}
.partners-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px;
}
.partner-cell {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); height: 96px;
  display: flex; align-items: center; justify-content: center; padding: 14px;
}
.partner-cell img {
  max-height: 56px; max-width: 100%; width: auto; height: auto;
  object-fit: contain;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; margin-top: 44px; }
.contact-panel {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px;
}
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.contact-lines .label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px; display: flex; align-items: center; gap: 8px;
}
.contact-lines .label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.contact-lines .value { font-size: 1.0625rem; font-weight: 500; }
.contact-cta {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 40px 36px; display: flex; flex-direction: column; gap: 18px; justify-content: center;
}
.contact-cta h3 { margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.25; }
.contact-cta p { margin: 0; color: rgba(255,255,255,0.78); }
.contact-cta .btn { align-self: flex-start; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.82); padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-brand .brand-word { filter: brightness(0) invert(1); height: 26px; }
.footer-brand .brand-icon { height: 40px; }
.footer-brand p { color: rgba(255,255,255,0.66); font-size: 0.9375rem; max-width: 300px; margin: 16px 0 0; }
.footer-col h4 {
  margin: 0 0 16px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.82); text-decoration: none; font-size: 0.9375rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact { font-size: 0.9375rem; display: grid; gap: 8px; color: rgba(255,255,255,0.72); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center;
  font-size: 0.875rem; color: rgba(255,255,255,0.6);
}

/* ==========================================================================
   Article pages (privacy / accessibility)
   ========================================================================== */
.article {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 44px; max-width: 860px; margin: 44px auto 0;
}
.article p { color: var(--muted); font-size: 1.0625rem; line-height: 1.8; margin: 0 0 18px; }
.article p:last-child { margin-bottom: 0; }
.article-note {
  margin-top: 26px; padding: 16px 20px; border-left: 4px solid var(--accent);
  background: var(--bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9375rem; color: var(--muted);
}

/* page bottom spacer so fixed header never covers footers etc. */
main { display: block; }

/* ==========================================================================
   Responsive — tablet
   ========================================================================== */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .animals-grid { grid-template-columns: repeat(4, 1fr); }
  .partners-grid { grid-template-columns: repeat(5, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Responsive — mobile
   ========================================================================== */
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .section { padding: 64px 0; }

  .hamburger { display: inline-flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--surface); border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-lg); padding: 14px 20px 20px;
    display: none;
  }
  body.nav-open .main-nav { display: flex; }
  .main-nav a { padding: 13px 16px; border-radius: 12px; font-size: 1.0625rem; }
  .main-nav a.nav-cta { margin-left: 0; text-align: center; margin-top: 6px; }

  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-media { order: -1; }
  .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .animals-grid { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .article { padding: 28px 22px; }
  .hero { min-height: min(88vh, 720px); }
  .page-hero--photo { min-height: 360px; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .stats-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .animals-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-word { display: none; }
  .quote-card { padding: 26px 22px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
