/* Global Gerontechnology Center for Nursing Science
   Visual language aligned with UC Davis Health digital brand */

:root {
  --navy: #022851;
  --navy-90: #033266;
  --navy-deep: #011a36;
  --gold: #ffbf00;
  --gold-dark: #daa520;
  --teal: #007991;
  --teal-hover: #005f72;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --gray-100: #eef1f4;
  --gray-200: #d9dee5;
  --gray-600: #5a6573;
  --gray-800: #2c3540;
  --text: #1a2330;
  --focus: #007991;
  --shadow: 0 8px 28px rgba(2, 40, 81, 0.12);
  --radius: 2px;
  --font-display: "Source Serif 4", "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  --max: 1160px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 112.5%; /* 18px base — easier for older adults */
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-hover);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Utility / language bar */
.utility-bar {
  background: var(--navy-deep);
  /* Do not set color here — iOS WebKit leaks it into the locale panel. */
  font-size: 0.9rem;
}

.utility-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.55rem 0;
}

.locale-wrap {
  position: relative;
}

.locale-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  -webkit-text-fill-color: var(--white);
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius);
}

.locale-btn:hover,
.locale-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
}

.locale-flag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  color: inherit;
  -webkit-text-fill-color: initial;
}

/* Portaled to document.body; positioned in JS so it stays on-screen. */
.locale-panel {
  position: fixed;
  z-index: 200;
  left: 8px;
  width: min(calc(100vw - 16px), 28rem);
  max-height: min(70vh, 28rem);
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
  color: #1a2330;
  -webkit-text-fill-color: #1a2330;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  padding: 0.75rem;
  display: none;
  border-radius: var(--radius);
  box-sizing: border-box;
}

.locale-panel.is-open {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
}

.locale-group-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5a6573;
  -webkit-text-fill-color: #5a6573;
  font-weight: 700;
  margin: 0.55rem 0.35rem 0.2rem;
}

.locale-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 2.85rem;
  padding: 0.45rem 0.65rem;
  border: 0;
  background: #ffffff;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.35;
  cursor: pointer;
  border-radius: var(--radius);
  color: #1a2330;
  -webkit-text-fill-color: #1a2330;
}

.locale-option:hover,
.locale-option[aria-selected="true"] {
  background: #eef1f4;
}

.locale-option[aria-selected="true"] {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.locale-option .locale-option-label {
  color: #1a2330;
  -webkit-text-fill-color: #1a2330;
}

.locale-option .region {
  color: #5a6573;
  -webkit-text-fill-color: #5a6573;
  font-size: 0.88rem;
}

/* Site header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 12px rgba(2, 40, 81, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.65rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
}

.nav-toggle {
  display: none;
  min-width: 3rem;
  min-height: 3rem;
  border: 2px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.7rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 650;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--gray-100);
  color: var(--navy);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--gold);
}

/* Hero — UC Davis–style full-bleed composition with sliding image cycle */
.hero {
  position: relative;
  min-height: min(78vh, 42rem);
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--navy);
  isolation: isolate;
  overflow: hidden;
}

.hero-viewport {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-track {
  display: flex;
  height: 100%;
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 0.85s var(--ease);
  will-change: transform;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background: var(--navy) center / cover no-repeat;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 26, 54, 0.88) 0%, rgba(1, 26, 54, 0.55) 48%, rgba(1, 26, 54, 0.25) 100%),
    linear-gradient(0deg, rgba(1, 26, 54, 0.65) 0%, transparent 45%);
}

.hero.is-sliding-instant .hero-track {
  transition: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  max-width: 40rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 0.85rem;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.hero-brand span {
  color: var(--gold);
}

.hero-inner > p:not(.hero-credit) {
  font-size: 1.12rem;
  margin: 0 0 1.5rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-credit {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  opacity: 0.85;
}

.hero-credit a {
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
  text-decoration: none;
}

.hero-credit a:hover {
  text-decoration: underline;
}

/* Keep hero CTAs self-colored (parent .hero sets white text). */
.hero .btn-primary,
.hero .btn-primary:hover {
  color: var(--navy);
  -webkit-text-fill-color: var(--navy);
}

.hero .btn-secondary,
.hero .btn-secondary:hover {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

.hero-dots {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.hero-dot {
  width: 0.85rem;
  height: 0.85rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.hero-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-dot[aria-selected="true"]::before {
  background: var(--gold);
  border-color: var(--gold);
  width: 0.9rem;
  height: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-track {
    transition: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.65rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  -webkit-text-fill-color: var(--navy);
}

.btn-primary:hover {
  background: #ffd24d;
  color: var(--navy);
  -webkit-text-fill-color: var(--navy);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  -webkit-text-fill-color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

.btn-teal:hover {
  background: var(--teal-hover);
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  -webkit-text-fill-color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

/* Quick links strip */
.quick-links {
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-200);
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  padding: 1.25rem 0;
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-height: 5.5rem;
  padding: 0.9rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--gold);
  text-decoration: none;
  color: var(--navy);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.quick-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--navy);
}

.quick-link strong {
  font-size: 1rem;
}

.quick-link span {
  color: var(--gray-600);
  font-size: 0.92rem;
}

/* Sections */
.section {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}

.section-alt {
  background: var(--off-white);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

/* Inline links only — never restyle .btn (avoids gold-on-gold / navy-on-navy). */
.section-navy a:not(.btn) {
  color: var(--gold);
}

.section-navy .btn-primary,
.section-navy .btn-primary:hover {
  color: var(--navy);
  -webkit-text-fill-color: var(--navy);
}

.section-navy .btn-secondary,
.section-navy .btn-secondary:hover,
.section-navy .btn-teal,
.section-navy .btn-teal:hover {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

/* Outline buttons on navy need inverted chrome or they vanish. */
.section-navy .btn-outline {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
  border-color: var(--white);
}

.section-navy .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  -webkit-text-fill-color: var(--navy);
}

.section-navy .feature-copy p {
  color: rgba(255, 255, 255, 0.9);
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 42rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.45rem;
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.section-navy .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 700;
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  margin: 0 0 0.65rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.45rem;
}

.lead {
  font-size: 1.12rem;
  color: var(--gray-800);
  margin: 0;
}

.section-navy .lead {
  color: rgba(255, 255, 255, 0.9);
}

/* Feature bands */
.feature-band,
.split-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.25rem, 4vw, 2.75rem);
  align-items: center;
}

.feature-band.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.feature-band.reverse .feature-copy {
  order: 2;
}

.feature-media {
  overflow: hidden;
  min-height: 18rem;
  background: var(--navy);
}

.feature-media img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.feature-media:hover img {
  transform: scale(1.04);
}

.feature-copy p {
  margin: 0 0 1.1rem;
  color: var(--gray-800);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--navy);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-90);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.card-body p {
  margin: 0;
  color: var(--gray-800);
  flex: 1;
}

.card-link {
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
}

.card-link::after {
  content: " →";
}

/* People */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 1.25rem;
}

.person-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}

.person-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy);
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.person-body {
  padding: 1rem 1.05rem 1.25rem;
}

.person-role {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0 0 0.35rem;
}

.person-meta {
  color: var(--gray-600);
  font-size: 0.92rem;
  margin: 0 0 0.55rem;
}

.person-topics {
  margin: 0;
  font-size: 0.95rem;
}

.founder-spotlight {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 1.75rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--gold);
  padding: 1.35rem;
  margin-bottom: 2rem;
}

.founder-spotlight img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}

/* Stats / impact */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 191, 0, 0.35);
  padding: 1.25rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--gold);
  margin: 0 0 0.35rem;
  line-height: 1.1;
}

.stat p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Priorities list */
.priority-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: priority;
}

.priority-list li {
  counter-increment: priority;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 1rem 1rem 1rem 3.4rem;
  position: relative;
}

.priority-list li::before {
  content: counter(priority);
  position: absolute;
  left: 0.85rem;
  top: 1rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Page hero (inner pages) */
.page-hero {
  background:
    linear-gradient(105deg, rgba(2, 40, 81, 0.92), rgba(2, 40, 81, 0.55)),
    var(--page-hero-image, url("../images/campus/moore-hall.jpg")) center / cover no-repeat;
  color: var(--white);
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.page-hero h1 {
  color: var(--white);
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 40rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.45rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Videos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.video-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy-deep);
}

.video-frame iframe,
.video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(2, 40, 81, 0.85), rgba(0, 121, 145, 0.75)),
    var(--placeholder-image) center / cover;
}

.video-body {
  padding: 1rem 1.15rem 1.25rem;
}

/* Timeline / symposium */
.timeline {
  display: grid;
  gap: 1rem;
  border-left: 3px solid var(--gold);
  margin: 0;
  padding: 0 0 0 1.25rem;
  list-style: none;
}

.timeline li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 1rem 1.15rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.25rem - 7px);
  top: 1.25rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
}

.session-meta {
  color: var(--teal);
  font-weight: 700;
  margin: 0 0 0.35rem;
}

/* Quote */
.pull-quote {
  margin: 0;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  border-left: 5px solid var(--gold);
  background: var(--gray-100);
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
}

.pull-quote cite {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: normal;
  color: var(--gray-600);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.contact-panel,
.form-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 1.35rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

label {
  font-weight: 700;
  color: var(--navy);
}

input,
textarea,
select {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 121, 145, 0.2);
}

/* Photo mosaic */
.photo-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  grid-template-rows: 12rem 12rem;
  gap: 0.65rem;
}

.photo-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-mosaic img:first-child {
  grid-row: 1 / span 2;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.75rem 0 1.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  font-size: 1.1rem;
}

.site-footer a:not(.btn) {
  color: var(--gold);
  text-decoration: none;
}

.site-footer a:not(.btn):hover {
  text-decoration: underline;
}

.site-footer .btn-primary,
.site-footer .btn-primary:hover {
  color: var(--navy);
  -webkit-text-fill-color: var(--navy);
}

.site-footer .btn-secondary,
.site-footer .btn-secondary:hover,
.site-footer .btn-teal,
.site-footer .btn-teal:hover {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

.site-footer .btn-outline {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
  border-color: var(--white);
}

.site-footer .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  -webkit-text-fill-color: var(--navy);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.9rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Motion for presence */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner,
  .section-head,
  .card,
  .person-card,
  .feature-band {
    animation: rise 0.7s var(--ease) both;
  }

  .card:nth-child(2),
  .person-card:nth-child(2) {
    animation-delay: 0.08s;
  }

  .card:nth-child(3),
  .person-card:nth-child(3) {
    animation-delay: 0.16s;
  }
}

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

/* Responsive */
@media (max-width: 980px) {
  .quick-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-band,
  .feature-band.reverse,
  .split-band,
  .founder-spotlight,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-band.reverse .feature-copy {
    order: 0;
  }

  .card-grid,
  .video-grid,
  .priority-list {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .photo-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .photo-mosaic img:first-child {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 14rem;
  }
}

@media (max-width: 760px) {
  html {
    font-size: 106%;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 3px solid var(--gold);
    box-shadow: var(--shadow);
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    width: 100%;
  }

  .header-inner {
    position: relative;
  }

  .quick-links-grid,
  .card-grid,
  .video-grid,
  .priority-list,
  .stats {
    grid-template-columns: 1fr;
  }

  .brand-name {
    font-size: 0.95rem;
  }
}
