/* GoAutoDog — single-page static site
   Layout: sticky header, dark hero with a service-ledger card, then light
   content bands (standards, inventory, family, FAQ) and a dark footer. */

:root {
  /* Brand */
  --gold: #D8AA48;          /* primary — fills, never text on white */
  --gold-deep: #8C6A1E;     /* gold text on light backgrounds (4.8:1) */
  --blue: #1880BF;          /* secondary — buttons with bold text */
  --blue-deep: #13679A;     /* links on white (5.9:1) */
  --black: #000000;         /* tertiary */

  /* Neutrals (slightly warm, toward the gold) */
  --ink: #111214;
  --ink-2: #3B3F45;
  --muted: #5F656D;
  --line: #E3E5E8;
  --bg: #F8F9FA;
  --surface: #FFFFFF;
  --night: #0F1012;
  --night-2: #1B1D20;
  --night-line: #2E3135;
  --night-text: #C6CAD0;

  /* Status */
  --available: var(--blue);
  --recon: var(--gold);
  --adopted: var(--ink);

  /* Type */
  --font: "Segoe UI", "Segoe UI Variable", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --fs-hero: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);

  /* Space */
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1200px;
  --radius: 12px;
  --header-h: 72px;

  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

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

h1, h2, h3 { line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 10px; border: 2px solid transparent;
  font: 700 var(--fs-sm)/1 var(--font);
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #E4B95A; }
.btn-blue { background: var(--blue); color: #FFFFFF; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-ghost-light { border-color: currentColor; color: #F4F5F6; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #FFFFFF; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mascot { height: 48px; width: auto; flex: none; }
.footer-mascot { height: 44px; border-radius: 10px; }
.logo-word { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; }
.logo-word span { color: var(--gold-deep); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
  padding-block: 6px; border-bottom: 2px solid transparent;
}
.nav-links a:hover { border-bottom-color: var(--gold); }

.header-contact { display: flex; align-items: center; gap: 14px; }
.header-email { font-size: var(--fs-sm); color: var(--muted); text-decoration: none; }
.header-email:hover { color: var(--ink); }
.header-phone { min-height: 42px; padding: 0 16px; border-radius: 999px; white-space: nowrap; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .header-email { display: none; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .nav[data-open="false"] { display: none; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .header-contact { flex-direction: column; align-items: stretch; padding-top: 16px; }
  .header-email { display: block; text-align: center; padding: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(216,170,72,.16), transparent 60%),
    var(--night);
  color: #F4F5F6;
  padding-block: clamp(56px, 8vw, 104px);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -0.025em; margin-block: 16px 20px; }
.hero h1 .line-2 { display: block; color: var(--gold); }
.hero-sub { color: var(--night-text); font-size: var(--fs-lg); max-width: 58ch; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-visual { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.hero-visual .ledger { width: 100%; }
.ledger-photo {
  display: block; margin: -26px -26px 18px; aspect-ratio: 16 / 10; max-width: none;
  overflow: hidden; border-radius: 6px 6px 0 0; background: var(--night-2);
}
.ledger-photo img { width: 100%; height: 100%; object-fit: cover; }
.ledger::before { z-index: 1; }

/* The ledger card: a service record in the hero */
.ledger {
  background: #FBFAF6; color: var(--ink);
  border-radius: 6px; padding: 26px 26px 22px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  transform: rotate(1.2deg);
  font-size: var(--fs-sm);
  position: relative;
}
.ledger::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px;
  background: var(--gold); border-radius: 6px 6px 0 0;
}
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.ledger-head strong { font-size: var(--fs-base); }
.ledger-head span { font-family: var(--mono); font-size: var(--fs-xs); color: var(--muted); }
.ledger-meta { font-family: var(--mono); font-size: var(--fs-xs); color: var(--muted); padding-block: 10px; border-bottom: 1px dashed #C9CCD1; }
.ledger ul { list-style: none; }
.ledger li { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; border-bottom: 1px dashed #C9CCD1; }
.ledger li span:last-child { font-family: var(--mono); font-size: var(--fs-xs); color: #1D6B3A; font-weight: 700; white-space: nowrap; }
.ledger-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; }
.ledger-foot .stamp {
  font-family: var(--mono); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border: 2px solid var(--blue-deep); color: var(--blue-deep); padding: 4px 8px; border-radius: 4px; transform: rotate(-4deg);
}
.ledger-foot strong { font-size: var(--fs-lg); }

.assurances {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--night-line);
  list-style: none;
}
.assurances li { display: flex; gap: 12px; align-items: flex-start; color: var(--night-text); font-size: var(--fs-sm); }
.assurances strong { color: #F4F5F6; display: block; font-size: var(--fs-base); }
.assurances svg { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--gold); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .ledger { transform: none; max-width: 520px; }
  .hero-visual { margin-top: 8px; }
  .assurances { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 12px; max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { font-size: var(--fs-xl); font-weight: 800; letter-spacing: -0.02em; }
.section-head p { color: var(--ink-2); font-size: var(--fs-lg); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; }
.pillar {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: grid; gap: 12px; align-content: start;
}
.pillar-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: var(--gold);
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: var(--fs-lg); font-weight: 700; }
.pillar p { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Inventory ---------- */
.inventory-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font: 600 var(--fs-sm)/1 var(--font); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.chip .count { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.chip[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.chip[aria-pressed="true"] .count { color: #B9BEC5; }
.inventory-note { color: var(--muted); font-size: var(--fs-sm); }

.cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; list-style: none; }
.car {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.car:hover { box-shadow: 0 18px 40px -24px rgba(17,18,20,.45); transform: translateY(-2px); }
.car[data-status="adopted"] { background: #F1F2F4; }
.car[data-status="adopted"] .car-photo { filter: grayscale(.6); }

.car-photo {
  position: relative; aspect-ratio: 16 / 10; max-width: 100%;
  background: linear-gradient(180deg, #E9EBEE 0%, #DADDE2 70%, #CDD1D7 100%);
  display: grid; place-items: center;
}
.car-photo picture { position: absolute; inset: 0; }
.car-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo-next {
  position: absolute; right: 12px; bottom: 12px;
  min-height: 34px; padding: 0 12px; border-radius: 999px; border: 0;
  background: rgba(15,16,18,.72); color: #FFFFFF;
  font: 600 var(--fs-xs)/1 var(--font); font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
.photo-next:hover { background: rgba(15,16,18,.9); }
.photo-next span[aria-hidden] { font-size: 1.1rem; line-height: 1; }
.car-photo .silhouette { width: 72%; color: var(--paint, #4A4F55); filter: drop-shadow(0 10px 8px rgba(0,0,0,.18)); }
.car-photo .photo-note {
  position: absolute; left: 12px; bottom: 10px;
  font-size: var(--fs-xs); color: var(--ink-2); background: rgba(255,255,255,.85);
  padding: 3px 8px; border-radius: 6px;
}

.badge {
  position: absolute; left: 12px; top: 12px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em;
  padding: 5px 10px; border-radius: 6px;
}
.badge-available { background: var(--available); color: #FFFFFF; }
.badge-recon { background: var(--recon); color: var(--ink); }
.badge-adopted { background: var(--adopted); color: #FFFFFF; }

.car-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; min-width: 0; }
.car-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.car-title h3 { font-size: var(--fs-lg); font-weight: 700; }
.car-title h3 small { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.price { font-size: 1.375rem; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-soft { font-size: var(--fs-sm); font-weight: 700; color: var(--muted); white-space: nowrap; padding-top: 4px; }

.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border: 1px solid var(--line); border-radius: 8px; }
.specs div { padding: 10px 12px; min-width: 0; }
.specs div + div { border-left: 1px solid var(--line); }
.specs dt { font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.specs dd { margin: 2px 0 0; font-size: var(--fs-sm); font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.highlights h4 { margin: 0 0 8px; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.highlights ul { list-style: none; display: grid; gap: 6px; }
.highlights li { position: relative; padding-left: 24px; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.5; }
.highlights li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px;
  border-left: 2.5px solid #1D6B3A; border-bottom: 2.5px solid #1D6B3A; transform: rotate(-45deg);
}
.highlights li.pending::before { border: 2px solid var(--gold-deep); border-radius: 50%; width: 10px; height: 10px; transform: none; top: .4em; }
.highlights li.pending { color: var(--ink); }
.highlights li.pending em { font-style: normal; font-weight: 700; color: var(--gold-deep); }

.title-status { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 700; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 6px; padding: 4px 8px; align-self: flex-start; }

.car-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.car-actions .btn { flex: 1; }
.adopted-note { margin-top: auto; font-size: var(--fs-sm); color: var(--muted); font-weight: 600; }

.empty-state { padding: 40px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--radius); }

/* ---------- Dialog ---------- */
.ask-dialog {
  width: min(520px, calc(100% - 32px)); border: 0; border-radius: 16px; padding: 0;
  color: var(--ink); background: var(--surface); box-shadow: 0 40px 80px -20px rgba(0,0,0,.5);
}
.ask-dialog::backdrop { background: rgba(15,16,18,.6); }
.ask-inner { padding: 28px; display: grid; gap: 18px; }
.ask-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ask-head h2 { font-size: 1.375rem; }
.close-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; font-size: 1.25rem; line-height: 1; flex: none; }
.ask-message label { display: block; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.ask-message textarea {
  width: 100%; min-height: 96px; resize: vertical; padding: 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font: var(--fs-sm)/1.5 var(--font);
}
.ask-contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ask-contacts .btn { width: 100%; }
.ask-plain { font-size: var(--fs-sm); color: var(--muted); }
.ask-plain strong { color: var(--ink); user-select: all; }
.copy-status { font-size: var(--fs-sm); color: #1D6B3A; font-weight: 600; min-height: 1.5em; }
@media (max-width: 460px) { .ask-contacts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Family ---------- */
.family-intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(32px, 4vw, 48px);
}
.family-intro .section-head { margin-bottom: 0; }
.slogan { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem) !important; line-height: 1.08; }
.family-mascot {
  width: 100%; max-width: 520px; height: auto; justify-self: center;
  animation: drive-in 1s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes drive-in { from { transform: translateX(-40px); } to { transform: translateX(0); } }
@media (max-width: 860px) {
  .family-intro { grid-template-columns: minmax(0, 1fr); }
  .family-mascot { max-width: 360px; }
}
.family-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.mission {
  background: var(--ink); color: #F4F5F6; border-radius: var(--radius); padding: 32px;
  display: grid; gap: 16px;
}
.mission .eyebrow { color: var(--gold); }
.mission p { color: var(--night-text); }
.mission blockquote { margin: 0; font-size: var(--fs-lg); line-height: 1.45; color: #F4F5F6; font-weight: 600; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; }
.member { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.avatar {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: var(--fs-sm); letter-spacing: .02em;
}
.avatar-gold { background: var(--gold); color: var(--ink); }
.avatar-blue { background: var(--blue); color: #FFFFFF; }
.avatar-ink { background: var(--ink); color: var(--gold); }
.member h3 { font-size: var(--fs-base); font-weight: 700; }
.member .role { font-size: var(--fs-sm); font-weight: 600; color: var(--gold-deep); }
.member p:last-child { font-size: var(--fs-sm); color: var(--ink-2); margin-top: 6px; line-height: 1.55; }
.member > div { min-width: 0; }
@media (max-width: 900px) { .family-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .team { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 700; font-size: var(--fs-base);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--gold-deep);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); max-width: 68ch; }

/* ---------- Contact band + footer ---------- */
.contact-band { background: var(--gold); color: var(--ink); padding-block: clamp(40px, 6vw, 64px); }
.contact-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.contact-inner h2 { font-size: var(--fs-xl); font-weight: 800; letter-spacing: -0.02em; }
.contact-inner p { font-size: var(--fs-lg); margin-top: 6px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ink { background: var(--ink); color: #FFFFFF; }
.btn-ink:hover { background: #2A2D31; }
.btn-ink-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }

.site-footer { background: var(--night); color: var(--night-text); padding-block: 56px 40px; font-size: var(--fs-sm); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--night-line); }
.footer-top .logo { color: #F4F5F6; }
.footer-top .logo-word span { color: var(--gold); }
.footer-tag { margin-top: 10px; }
.footer-contact { display: grid; gap: 6px; text-align: right; }
.footer-contact a { color: #F4F5F6; text-decoration: none; font-weight: 600; font-size: var(--fs-base); }
.footer-contact a:hover { color: var(--gold); }
.legal { padding-top: 24px; display: grid; gap: 10px; max-width: 80ch; }
.legal small { font-size: var(--fs-xs); color: #8D939B; }
@media (max-width: 600px) { .footer-contact { text-align: left; } }

/* Odd member count: last card spans the full row */
.team .member:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Team cards with photos: mission band on top, three equal cards below */
.family-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.mission { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; column-gap: 40px; }
.mission .eyebrow { grid-column: 1 / -1; }
.team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team .member:last-child:nth-child(odd) { grid-column: auto; }
.member { flex-direction: column; gap: 0; padding: 0; overflow: hidden; background: var(--surface); }
.member-photo { display: block; width: 100%; aspect-ratio: 4 / 3; max-width: 100%; background: var(--line); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-text { padding: 18px 20px 22px; }
@media (max-width: 860px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mission { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) { .team { grid-template-columns: minmax(0, 1fr); } }
