/* ==========================================================================
   Consoles for Hope — site stylesheet
   Design tokens and component styles extracted from the design bundle.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color */
  --navy:            #0A1836;
  --ink:             #0B1D3F;
  --ink-muted:       #2B3A5C;
  --slate:           #4A5878;
  --red:             #EF3340;
  --red-light:       #FF5A63;
  --blue:            #1668E3;
  --blue-mid:        #4E9AF5;
  --blue-pale:       #8FC0FF;
  --green:           #5BB84A;
  --yellow:          #FFC629;
  --canvas:          #FBFAF8;
  --surface:         #FFFFFF;
  --border:          #E6E3DC;
  --border-soft:     #EFEDE7;
  --border-input:    #DCD8CE;
  --border-dashed:   #C9C4B4;
  --placeholder-ink: #8A8674;

  --on-navy-80:      rgba(255, 255, 255, 0.8);
  --on-navy-78:      rgba(255, 255, 255, 0.78);
  --on-navy-72:      rgba(255, 255, 255, 0.72);
  --on-navy-70:      rgba(255, 255, 255, 0.7);
  --on-navy-66:      rgba(255, 255, 255, 0.66);
  --rule-on-navy:    rgba(255, 255, 255, 0.14);

  /* Type */
  --font-display: "Outfit", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Nunito Sans", system-ui, -apple-system, "Segoe UI", Helvetica, sans-serif;
  --font-script:  "Caveat", "Brush Script MT", cursive;
  --font-mono:    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Fluid type scale */
  --fs-h1-hero:  clamp(2.55rem, 7.2vw, 4.75rem);   /* 41 -> 76px */
  --fs-h1-page:  clamp(2.25rem, 6vw, 4.125rem);    /* 36 -> 66px */
  --fs-h1-sub:   clamp(2.1rem, 5.6vw, 3.75rem);    /* 34 -> 60px */
  --fs-h2:       clamp(1.85rem, 4.4vw, 2.75rem);   /* 30 -> 44px */
  --fs-h2-sm:    clamp(1.7rem, 3.8vw, 2.375rem);   /* 27 -> 38px */
  --fs-h2-xs:    clamp(1.55rem, 3.2vw, 2.125rem);  /* 25 -> 34px */
  --fs-quote:    clamp(1.5rem, 3.9vw, 2.5rem);     /* 24 -> 40px */
  --fs-lead:     clamp(1.125rem, 1.7vw, 1.3125rem);/* 18 -> 21px */

  /* Layout */
  --wide:   1180px;
  --mid:    1080px;
  --narrow: 860px;
  --copy:   820px;
  --gutter: 28px;

  /* Radius */
  --r-pill:  999px;
  --r-xl:    32px;
  --r-lg:    28px;
  --r-md:    26px;
  --r-card:  22px;
  --r-slot:  20px;
  --r-acc:   18px;
  --r-input: 12px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--blue); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--red); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.03em;
}

p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--blue-mid);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
/* Grid children default to min-content width, which lets long words, wide
   <select> options, and code-ish strings push a single-column layout past the
   viewport. min-width:0 lets them shrink instead. */
.hero__grid > *,
.split > *,
.prose-cols > *,
.panel-dark > *,
.cta-panel > *,
.contact-grid > *,
.card-grid > *,
.team-grid > *,
.site-footer__top > * { min-width: 0; }

.wrap        { width: 100%; max-width: var(--wide);   margin-inline: auto; }
.wrap--mid   { max-width: var(--mid); }
.wrap--narrow{ max-width: var(--narrow); }
.wrap--copy  { max-width: var(--copy); }

.section { padding: clamp(56px, 8vw, 88px) var(--gutter); }
.section--flush-top { padding-top: 0; }
.section--tight { padding-block: clamp(52px, 7vw, 80px); }
.section--light { background: var(--canvas); }
.section--surface { background: var(--surface); }
.section--rule-bottom { border-bottom: 1px solid var(--border); }
.section--ruled {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--dark { background: var(--navy); color: #fff; }

.section-title { font-size: var(--fs-h2); font-weight: 900; }
.section-title--sm { font-size: var(--fs-h2-sm); font-weight: 900; }

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 620px;
}
.section-title + .lead { margin-top: 14px; }

.eyebrow-note {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--placeholder-ink);
}

/* Section header row: heading block left, link right */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: var(--fs-h2); font-weight: 900; }
.section-head .lead { margin-top: 14px; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  padding: 15px 27px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--red      { background: var(--red); color: #fff; }
.btn--red:hover{ background: #d92b38; color: #fff; }

.btn--ghost-light        { border-color: rgba(255,255,255,0.28); color: #fff; }
.btn--ghost-light:hover  { border-color: #fff; color: #fff; }

.btn--ghost-on-red       { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn--ghost-on-red:hover { border-color: #fff; color: #fff; }

.btn--white-on-red       { background: #fff; color: var(--red); }
.btn--white-on-red:hover { background: #fff; color: #b8232f; }

.btn--white-on-blue       { background: #fff; color: var(--blue); }
.btn--white-on-blue:hover { background: #fff; color: #0f4fae; }

.btn--sm { font-size: 15px; padding: 11px 20px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-stack { display: flex; flex-direction: column; gap: 12px; }

.link-strong { font-family: var(--font-display); font-weight: 800; font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 24, 54, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(10, 24, 54, 0.88); backdrop-filter: blur(8px); }
}

.site-header__inner {
  max-width: var(--wide);
  margin-inline: auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand__mark {
  width: 46px; height: 46px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
  flex-shrink: 0;
}
.brand__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand__word .w-for  { color: var(--blue-mid); }
.brand__word .w-hope { color: var(--red-light); }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 700;
  font-size: 15px;
}
.site-nav a { color: var(--on-navy-72); }
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: #fff; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 10px;
  padding: 9px 10px;
  cursor: pointer;
  color: #fff;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  content: "";
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after  { position: absolute; top: 6px; }

@media (max-width: 860px) {
  .site-header__inner { gap: 16px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 8px var(--gutter) 22px;
    font-size: 17px;
    display: none;
  }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a {
    padding: 14px 2px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .site-nav .btn {
    margin-top: 16px;
    border-bottom: 0;
    align-self: start;
  }
  .brand__word { font-size: 17px; }
  .brand__mark { width: 40px; height: 40px; }
}

/* --------------------------------------------------------------------------
   6. Heroes
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: clamp(60px, 8vw, 96px) var(--gutter) clamp(72px, 10vw, 120px);
  isolation: isolate;
}
.hero__dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.09;
  background-image: radial-gradient(var(--blue-mid) 1.5px, transparent 1.6px);
  background-size: 26px 26px;
  pointer-events: none;
}
.hero__grid {
  max-width: var(--wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  font-size: var(--fs-h1-hero);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.035em;
}
.hero h1 .accent { color: var(--red-light); }
.hero__body {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--on-navy-80);
  max-width: 520px;
  margin-top: 24px;
}
.hero .btn-row { margin-top: 36px; }
.hero__figure { display: flex; justify-content: center; }
.hero__logo {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: var(--r-xl);
  padding: 18px;
  height: auto;
}
.script-line {
  font-family: var(--font-script);
  font-size: 27px;
  line-height: 1.3;
  color: var(--blue-pale);
  margin-top: 34px;
}

@keyframes cfh-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__logo { animation: cfh-float 7s ease-in-out infinite; }
}

/* Sub-page hero */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: clamp(52px, 7vw, 80px) var(--gutter) clamp(58px, 8vw, 88px);
}
.page-hero__inner { max-width: var(--copy); margin-inline: auto; }
.page-hero--wide .page-hero__inner { max-width: var(--narrow); }
.page-hero h1 {
  font-size: var(--fs-h1-page);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
}
.page-hero--sub h1 { font-size: var(--fs-h1-sub); line-height: 1.02; }
.page-hero p {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--on-navy-78);
  margin-top: 20px;
  max-width: 62ch;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__figure { order: -1; }
  .hero__logo { max-width: 300px; }
  .hero__body { max-width: none; }
}

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 30px;
}
.card h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 22px 0 8px;
}
.card p {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--slate);
}

.card-grid {
  display: grid;
  gap: 22px;
  margin-top: 46px;
}
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }

@media (max-width: 1000px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .card-grid--4, .card-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 26px; }
}

/* Abstract shapes that head the "What we deliver" cards */
.shape         { flex-shrink: 0; }
.shape--console{ width: 52px; height: 34px; border-radius: 14px; background: var(--red); }
.shape--game   { width: 44px; height: 34px; border-radius: 6px;  background: var(--blue); }
.shape--acc    { width: 40px; height: 36px; border-radius: 18px 18px 8px 8px; background: var(--green); }
.shape--moment { width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); }

.dot { width: 14px; height: 14px; border-radius: 50%; }
.dot--blue  { background: var(--blue); }
.dot--red   { background: var(--red); }
.dot--green { background: var(--green); }
.card .dot + h3 { margin-top: 20px; }

/* --------------------------------------------------------------------------
   8. Numbered steps ("How it works")
   -------------------------------------------------------------------------- */
.split {
  max-width: var(--wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 60px);
  align-items: start;
}
.split h2 { font-size: var(--fs-h2); font-weight: 900; }
.split__intro { font-size: 18px; line-height: 1.6; color: var(--slate); margin-top: 16px; }

.steps { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.step {
  display: flex;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border-soft);
}
.step:last-child { border-bottom: 0; }
.step:first-child { padding-top: 0; }
.step__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  min-width: 52px;
}
.step__num--1 { color: var(--blue); }
.step__num--2 { color: var(--red); }
.step__num--3 { color: var(--green); }
.step h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.step p { font-size: 16px; line-height: 1.6; color: var(--slate); }

@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .step:first-child { padding-top: 8px; }
}
@media (max-width: 520px) {
  .step { gap: 14px; }
  .step__num { font-size: 28px; min-width: 40px; }
}

/* --------------------------------------------------------------------------
   9. Quote band
   -------------------------------------------------------------------------- */
.quote-band {
  background: var(--navy);
  color: #fff;
  padding: clamp(56px, 8vw, 84px) var(--gutter);
}
.quote-band__inner { max-width: 900px; margin-inline: auto; text-align: center; }
.quote-band blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-quote);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.quote-band .script-line { font-size: 26px; margin-top: 26px; }

/* --------------------------------------------------------------------------
   10. Image slots (placeholder / real photos)
   -------------------------------------------------------------------------- */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 38px;
}
.slot {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-slot);
  border: 1px solid var(--border);
  overflow: hidden;
  background-image: repeating-linear-gradient(45deg, #F2F0EA 0 10px, #EAE7DF 10px 20px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slot span { font-family: var(--font-mono); font-size: 12.5px; color: var(--placeholder-ink); }
.slot img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) { .slot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .slot-grid { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   11. Closing CTA panel
   -------------------------------------------------------------------------- */
.cta-panel {
  max-width: var(--wide);
  margin-inline: auto;
  background: var(--red);
  border-radius: var(--r-xl);
  padding: clamp(40px, 5.5vw, 64px) clamp(28px, 5vw, 56px);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(30px, 4vw, 48px);
  align-items: center;
}
.cta-panel h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.875rem);
  font-weight: 900;
  line-height: 1.05;
}
.cta-panel p {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.6;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.panel-blue {
  max-width: var(--narrow);
  margin-inline: auto;
  background: var(--blue);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(32px, 4.5vw, 46px);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.panel-blue h2 { font-size: clamp(1.6rem, 3.2vw, 2rem); font-weight: 900; letter-spacing: -0.025em; }
.panel-blue p { font-size: 17.5px; margin-top: 10px; color: rgba(255, 255, 255, 0.9); }

@media (max-width: 860px) {
  .cta-panel { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   12. Dark stat panel ("Where we are today")
   -------------------------------------------------------------------------- */
.panel-dark {
  max-width: var(--mid);
  margin-inline: auto;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(36px, 5vw, 52px) clamp(28px, 4.5vw, 46px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 44px);
}
.panel-dark h2 { font-size: var(--fs-h2-xs); font-weight: 900; letter-spacing: -0.025em; }
.panel-dark > div > p {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--on-navy-78);
  margin-top: 16px;
}

.facts { align-self: center; display: flex; flex-direction: column; }
.facts__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-on-navy);
}
.facts__row:last-child { border-bottom: 0; }
.facts__row dt { color: var(--on-navy-70); }
.facts__row dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  text-align: right;
}
.facts__row dd a { color: var(--blue-pale); }
.facts__row dd a:hover { color: #fff; }

@media (max-width: 860px) { .panel-dark { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   13. About: two-column prose + story card
   -------------------------------------------------------------------------- */
.prose-cols {
  max-width: var(--mid);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4.5vw, 56px);
}
.prose-cols h2 { font-size: var(--fs-h2-sm); font-weight: 900; }
.prose-cols p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-top: 18px;
  max-width: 62ch;
}
.prose-cols p + p { margin-top: 16px; }

.story-card {
  border: 1px dashed var(--border-dashed);
  border-radius: var(--r-slot);
  padding: 26px;
  margin-top: 18px;
  background: var(--canvas);
}
.story-card__label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--placeholder-ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.story-card p { font-size: 17.5px; line-height: 1.7; color: var(--slate); margin: 0; }

@media (max-width: 860px) { .prose-cols { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   14. Team cards
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 34px;
}
.team-grid--3 { grid-template-columns: repeat(3, 1fr); }
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
}
.team-card__photo {
  aspect-ratio: 1 / 1;
  background-image: repeating-linear-gradient(45deg, #F2F0EA 0 10px, #EAE7DF 10px 20px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__photo span { font-family: var(--font-mono); font-size: 12px; color: var(--placeholder-ink); }

/* Monogram stand-in, used until real headshots arrive. Reads as a
   deliberate design choice rather than a missing image. */
.team-card__photo--mono {
  background-image: none;
  position: relative;
}
.team-card__photo--mono::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
}
.team-card__photo--mono span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  letter-spacing: -0.04em;
  color: #fff;
}
.team-card__photo--navy  { background-color: var(--navy); }
.team-card__photo--blue  { background-color: var(--blue); }
.team-card__photo--red   { background-color: var(--red); }
.team-card__body { padding: 20px 22px 24px; }
.team-card__body h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.team-card__body p { font-size: 14.5px; line-height: 1.55; color: var(--slate); margin-top: 6px; }

@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .team-grid { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   15. FAQ accordion
   -------------------------------------------------------------------------- */
.accordion {
  max-width: var(--narrow);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.acc-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-acc);
  overflow: hidden;
}
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  background: none;
  border: 0;
  padding: 24px 26px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.acc-btn:hover { color: var(--blue); }
.acc-btn__q { flex: 1; }
.acc-btn__sign {
  font-size: 26px;
  line-height: 1;
  color: var(--blue);
  flex-shrink: 0;
  width: 1em;
  text-align: center;
}

.acc-panel { display: none; }
.acc-panel[data-open="true"] { display: block; }
.acc-panel p {
  padding: 0 26px 26px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 66ch;
}

@media (max-width: 520px) {
  .acc-btn { padding: 20px 20px; gap: 12px; }
  .acc-panel p { padding: 0 20px 22px; }
}

/* --------------------------------------------------------------------------
   16. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  max-width: var(--mid);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.contact-aside { display: flex; flex-direction: column; gap: 20px; }

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px;
}
.info-card--dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.info-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.info-card > p { font-size: 16.5px; line-height: 1.65; color: var(--slate); }
.info-card--dark > p { color: var(--on-navy-78); }

.info-rows { display: flex; flex-direction: column; font-size: 16.5px; margin-top: 6px; }
.info-rows > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-soft);
}
.info-rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.info-rows dt { color: var(--slate); }
.info-rows dd { margin: 0; font-weight: 700; text-align: right; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: clamp(26px, 3.5vw, 36px);
}
.form-card h2 {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.form-fields { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-weight: 700; font-size: 14px; }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  border: 1px solid var(--border-input);
  border-radius: var(--r-input);
  padding: 14px 15px;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  background: var(--canvas);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  background: #fff;
}
.field[data-invalid="true"] input,
.field[data-invalid="true"] textarea { border-color: var(--red); background: #FFF7F7; }
.field__error {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--red);
  display: none;
}
.field[data-invalid="true"] .field__error { display: block; }

.form-note { font-family: var(--font-mono); font-size: 12px; color: var(--placeholder-ink); margin-top: 2px; }
.form-status {
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--r-input);
  padding: 14px 16px;
  display: none;
}
.form-status[data-state="error"] { display: block; background: #FFF1F2; color: #A31621; }

.form-success { display: none; text-align: center; padding: 20px 0 8px; }
.form-success h3 { font-size: 24px; font-weight: 900; letter-spacing: -0.02em; }
.form-success p { font-size: 16.5px; line-height: 1.65; color: var(--slate); margin-top: 10px; }
.form-card[data-sent="true"] .form-fields,
.form-card[data-sent="true"] h2 { display: none; }
.form-card[data-sent="true"] .form-success { display: block; }

button[data-pending="true"] { opacity: 0.65; pointer-events: none; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: var(--on-navy-66);
  padding: 56px var(--gutter) 40px;
  font-size: 15px;
}
.site-footer a { color: var(--on-navy-66); }
.site-footer a:hover { color: #fff; }
.site-footer__top {
  max-width: var(--wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.site-footer__lockup { display: flex; align-items: center; gap: 12px; }
.site-footer__lockup img {
  width: 44px; height: 44px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
  flex-shrink: 0;
}
.site-footer__lockup span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}
.site-footer__blurb { max-width: 340px; line-height: 1.6; margin-top: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col__head { color: #fff; font-family: var(--font-display); font-weight: 800; }
.footer-col a.accent { color: var(--blue-pale); }
.footer-col a.accent:hover { color: #fff; }
.site-footer__bottom {
  max-width: var(--wide);
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13.5px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

@media (max-width: 860px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .site-footer__top { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   18. 404
   -------------------------------------------------------------------------- */
.notfound {
  min-height: 58vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(60px, 10vw, 110px) var(--gutter);
}
.notfound h1 { font-size: var(--fs-h1-sub); font-weight: 900; letter-spacing: -0.035em; }
.notfound p { font-size: 18px; color: var(--slate); margin: 16px auto 30px; max-width: 46ch; }
.notfound .btn-row { justify-content: center; }

.btn--outline-dark { border-color: var(--border-input); color: var(--ink); }
.btn--outline-dark:hover { border-color: var(--ink); color: var(--ink); }
