/* Pacific Health Alliance — design tokens & base styles
   Brand Identity System v1.0 · July 2026 */

:root {
  --pacific-blue: #0B5E75;
  --kai-teal: #18A6A6;
  --pacific-mist: #C0E5E3;
  --reef-teal: #218B94;
  --deep-ocean: #123A4A;
  --koa-sand: #E8DCC8;
  --lava-charcoal: #25343B;
  --ohia-green: #4D8061;
  --coral-accent: #D8745B;
  --coastal-fog: #F3F6F5;
  --white: #FFFFFF;

  --font-display: "Aptos Display", "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Aptos", "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-editorial: Georgia, "Times New Roman", serif;

  --text: var(--lava-charcoal);
  --text-muted: #4a5a62;
  --bg: var(--coastal-fog);
  --focus-ring: 0 0 0 3px rgba(24, 166, 166, 0.45);

  --space-section: clamp(4rem, 8vw, 7rem);
  --container: min(1120px, calc(100% - 2.5rem));
  --nav-h: 6rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.55s;
}

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

html {
  scroll-behavior: smooth;
}

@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);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pacific-blue); }
a:hover { color: var(--reef-teal); }

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--deep-ocean);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}
.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--deep-ocean);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

.lede {
  font-size: clamp(1.125rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 38rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--kai-teal);
  margin-bottom: 0.75rem;
}

.quote {
  font-family: var(--font-editorial);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  line-height: 1.45;
  color: var(--deep-ocean);
  font-style: italic;
  max-width: 36rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--coral-accent);
  color: var(--white);
  border-color: var(--coral-accent);
}
.btn-primary:hover {
  background: #c9654d;
  border-color: #c9654d;
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--pacific-blue);
  border-color: var(--pacific-blue);
}
.btn-outline:hover {
  background: var(--pacific-blue);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--pacific-blue);
  border-color: transparent;
  padding-inline: 0.5rem;
}
.btn-ghost:hover { color: var(--reef-teal); }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Sticky chrome: header + optional announcement strip */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Header / Nav — solid chrome above page content (not over video) */
.site-header {
  position: relative;
  height: var(--nav-h);
  background: var(--coastal-fog);
  border-bottom: 1px solid rgba(11, 94, 117, 0.1);
}

/* Site-wide announcement under sticky header */
.site-announce {
  background: var(--deep-ocean);
  color: var(--coastal-fog);
  border-bottom: 1px solid rgba(192, 229, 227, 0.18);
}

.site-announce__inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  width: var(--container);
  margin-inline: auto;
  padding: 1rem 0;
}

.site-announce__text {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: var(--coastal-fog);
}

.site-announce__dismiss {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: -0.35rem -0.45rem 0 0;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--pacific-mist);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.site-announce__dismiss:hover {
  color: var(--white);
  background: rgba(192, 229, 227, 0.12);
}

.site-announce__dismiss:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: var(--container);
  margin-inline: auto;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
  padding: 0.2rem 0;
  line-height: 0;
}
.logo-link .logo-lockup {
  width: auto;
  height: 5rem;
  max-width: min(148px, 40vw);
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

@media (min-width: 960px) {
  .logo-link .logo-lockup {
    height: 5.15rem;
    max-width: 168px;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-desktop a {
  display: block;
  padding: 0.5rem 0.65rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--lava-charcoal);
  text-decoration: none;
  border-radius: 4px;
}
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--pacific-blue);
  background: rgba(11, 94, 117, 0.06);
}
.nav-desktop .nav-cta {
  margin-left: 0.5rem;
  background: var(--pacific-blue);
  color: var(--white) !important;
  padding: 0.55rem 1rem;
}
.nav-desktop .nav-cta:hover {
  background: var(--deep-ocean);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--deep-ocean);
  border-radius: 4px;
}
.nav-toggle svg { width: 24px; height: 24px; }

.nav-mobile {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid rgba(11, 94, 117, 0.1);
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: 0 12px 32px rgba(18, 58, 74, 0.1);
}
.nav-mobile.open { display: block; }
.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nav-mobile a {
  display: block;
  padding: 0.85rem 0.75rem;
  font-weight: 500;
  color: var(--lava-charcoal);
  text-decoration: none;
  border-radius: 4px;
  min-height: 44px;
}
.nav-mobile a:hover,
.nav-mobile a[aria-current="page"] {
  background: var(--pacific-mist);
  color: var(--pacific-blue);
}
.nav-mobile .nav-cta {
  margin-top: 0.5rem;
  text-align: center;
  background: var(--pacific-blue);
  color: var(--white) !important;
}

@media (min-width: 960px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

.footer-logo {
  display: inline-block;
  line-height: 0;
}
.footer-logo img {
  width: 148px;
  height: auto;
  max-width: min(160px, 70vw);
}

/* Homepage hero — full-bleed Hawaiʻi B-roll under sticky header chrome */
.hero-band {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: min(78svh, 42rem);
  color: var(--white);
  background:
    linear-gradient(125deg, #123A4A 0%, #0B5E75 42%, #218B94 78%, #123A4A 100%);
}

.hero-broll {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.hero-band__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      rgba(18, 58, 74, 0.82) 0%,
      rgba(11, 94, 117, 0.68) 48%,
      rgba(18, 58, 74, 0.55) 100%
    ),
    linear-gradient(
      180deg,
      rgba(18, 58, 74, 0.35) 0%,
      rgba(18, 58, 74, 0.15) 40%,
      rgba(18, 58, 74, 0.72) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.35rem;
  filter: drop-shadow(0 2px 12px rgba(18, 58, 74, 0.35));
}

.hero-brand__mark {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  /* Keep the mark legible on Deep Ocean overlay */
  filter: drop-shadow(0 1px 2px rgba(18, 58, 74, 0.35));
}

.hero-brand__name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.2;
}

.hero-band h1 {
  color: var(--white);
  max-width: 14ch;
  margin-bottom: 1.15rem;
  text-shadow: 0 2px 24px rgba(18, 58, 74, 0.45);
}

.hero-band .hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 32rem;
  margin: 0;
  text-shadow: 0 1px 12px rgba(18, 58, 74, 0.4);
}

.hero-band .cta-group .btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
}

/* Who we are — text left, PHA video right */
.who-split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 800px) {
  .who-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

.who-split__copy .max-prose {
  max-width: none;
}

.who-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--deep-ocean);
  border-radius: 2px;
}

.pha-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  z-index: 0;
  background: var(--deep-ocean);
}

.who-video .hero-mute-toggle {
  right: 0.75rem;
  bottom: 0.75rem;
}

.hero-mute-toggle {
  position: absolute;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  background: rgba(18, 58, 74, 0.72);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hero-mute-toggle:hover {
  background: rgba(18, 58, 74, 0.9);
  border-color: var(--white);
}

.hero-mute-toggle:focus-visible {
  outline: 2px solid var(--coral-accent);
  outline-offset: 3px;
}

.hero-mute-toggle__icon {
  flex-shrink: 0;
  display: block;
}

.hero-mute-toggle__icon[hidden] {
  display: none;
}

.hero-mute-toggle__label {
  letter-spacing: 0.01em;
}

/* Hero B-roll stays visible even with prefers-reduced-motion
   (same policy as featured PHA film — user wants header footage visible). */

@media (prefers-reduced-motion: no-preference) {
  .hero-brand,
  .hero-band h1,
  .hero-band .hero-sub,
  .hero-band .cta-group {
    opacity: 0;
    animation: rise-in 0.85s var(--ease-out) forwards;
  }
  .hero-brand { animation-delay: 0.05s; }
  .hero-band h1 { animation-delay: 0.16s; }
  .hero-band .hero-sub { animation-delay: 0.3s; }
  .hero-band .cta-group { animation-delay: 0.44s; }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background:
    linear-gradient(135deg, var(--deep-ocean) 0%, var(--pacific-blue) 55%, var(--reef-teal) 100%);
  color: var(--white);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/pha-motif.svg") right center / cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .lede { color: rgba(255, 255, 255, 0.88); }

.section {
  padding: var(--space-section) 0;
  position: relative;
}
.section-fog { background: var(--coastal-fog); }
.section-white { background: var(--white); }
.section-mist { background: var(--pacific-mist); }
.section-sand { background: var(--koa-sand); }
.section-ocean {
  background: var(--deep-ocean);
  color: var(--white);
}
.section-ocean h2,
.section-ocean h3 { color: var(--white); }
.section-ocean .lede { color: rgba(255, 255, 255, 0.82); }

.section-motif {
  position: absolute;
  width: min(640px, 70vw);
  height: auto;
  opacity: 0.1;
  pointer-events: none;
}
.section-motif.right { right: -8%; top: 10%; }
.section-motif.left { left: -10%; bottom: 5%; transform: scaleX(-1); }

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 40rem;
}

.functions-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .functions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 2.5rem;
  }
}
.function-item {
  position: relative;
  padding-top: 1.25rem;
}
.function-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 3px;
  background: var(--kai-teal);
}
.function-item .num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kai-teal);
  margin-bottom: 0.5rem;
}
.function-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.services-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(11, 94, 117, 0.15);
}
.service-row {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(11, 94, 117, 0.15);
}
@media (min-width: 720px) {
  .service-row {
    grid-template-columns: 1fr 1.4fr;
    gap: 2rem;
    align-items: baseline;
  }
}
.service-row h3 { margin: 0; color: var(--pacific-blue); }
.service-row p { margin: 0; color: var(--text-muted); }

.pillars {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .pillars { grid-template-columns: repeat(4, 1fr); }
}
.pillar {
  padding-top: 1rem;
  border-top: 3px solid var(--pacific-mist);
}
.pillar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--pacific-blue);
  margin-bottom: 0.4rem;
}
.pillar p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.paths {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 720px) {
  .paths { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.path-item h3 {
  color: var(--pacific-blue);
  margin-bottom: 0.4rem;
}
.path-item p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.principles {
  display: grid;
  gap: 1.25rem 2rem;
}
@media (min-width: 720px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
}
.principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}
.principle-icon {
  width: 40px;
  height: 40px;
  color: var(--pacific-blue);
}
.principle h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.principle p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }

.stack-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.stack-item {
  display: grid;
  gap: 0.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(11, 94, 117, 0.12);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.25s var(--ease-out);
}
.stack-item:first-child { border-top: 1px solid rgba(11, 94, 117, 0.12); }
.stack-item:hover { padding-left: 0.5rem; }
.stack-item .meta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--kai-teal);
}
.stack-item h3 {
  margin: 0;
  color: var(--deep-ocean);
  font-size: 1.25rem;
}
.stack-item p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40rem;
}

.proof-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 720px) {
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
}
.proof-item {
  padding-top: 1rem;
  border-top: 2px solid var(--kai-teal);
}
.proof-item .label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--kai-teal);
  margin-bottom: 0.5rem;
}
.proof-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.45;
}

.story-band {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 800px) {
  .story-band {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.story-visual {
  position: relative;
  min-height: 280px;
  aspect-ratio: 5 / 4;
  background: var(--deep-ocean);
  overflow: hidden;
}
.story-visual__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.form {
  display: grid;
  gap: 1.25rem;
  max-width: 36rem;
}
.form-row {
  display: grid;
  gap: 0.4rem;
}
.form-row label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--deep-ocean);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--lava-charcoal);
  background: var(--white);
  border: 1.5px solid rgba(11, 94, 117, 0.25);
  border-radius: 4px;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--kai-teal);
  box-shadow: var(--focus-ring);
}
.form-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.split {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.olelo-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .olelo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .olelo-grid { grid-template-columns: repeat(3, 1fr); }
}
.olelo-term dt {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pacific-blue);
}
.olelo-term dd {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  background: var(--deep-ocean);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 2rem;
}
.site-footer a {
  color: var(--pacific-mist);
  text-decoration: none;
}
.site-footer a:hover { color: var(--white); }

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
  }
}
.footer-brand .name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.35rem;
}
.footer-brand .tagline {
  font-size: 0.95rem;
  color: var(--pacific-mist);
  margin: 0 0 1rem;
}
.footer-col h3 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--kai-teal);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(192, 229, 227, 0.15);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-lg { margin-top: 2.5rem; }
.max-prose { max-width: 40rem; }
.max-prose p { margin: 0 0 1.15rem; }
.max-prose p:last-child { margin-bottom: 0; }

/* —— Team —— */
.team-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.team-toc a {
  color: var(--pacific-blue);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.team-toc a:hover,
.team-toc a:focus-visible {
  border-bottom-color: var(--kai-teal);
  color: var(--deep-ocean);
}

.team-section + .team-section {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.team-section__title {
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--pacific-mist);
  color: var(--pacific-blue);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.team-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(11, 94, 117, 0.12);
}

.team-member {
  display: grid;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(11, 94, 117, 0.12);
}
@media (min-width: 720px) {
  .team-member {
    grid-template-columns: 9rem 1fr;
    gap: 2rem;
    align-items: start;
  }
}
@media (min-width: 960px) {
  .team-member {
    grid-template-columns: 11rem 1fr;
    gap: 2.5rem;
  }
}

.team-member__photo {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--coastal-fog);
  max-width: 11rem;
}
.team-member__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-member__body h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--deep-ocean);
  max-width: none;
}
.team-member__role {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--kai-teal);
}
.team-member__bio {
  max-width: 42rem;
}
.team-member__bio p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}
.team-member__bio p:last-child {
  margin-bottom: 0;
}
