/* =========================================================
   WAM Lab — Well-Being, AI, and Measurement Lab
   Recreated from the original Squarespace (Brine) design.
   Brand tokens: blue #4aa1e3, navy #001b5e, light band #eceff4
   Fonts: Cairo (display/nav, matches original) + Mulish (body, ~proxima-nova)
   ========================================================= */

:root {
  --blue: #4aa1e3;
  --blue-dark: #2b86cc;
  --navy: #001b5e;
  --ink: #222222;
  --ink-soft: #3e3e3e;
  --muted: #767676;
  --band: #eceff4;
  --line: #e2e6ec;
  --white: #ffffff;
  --maxw: 1200px;
  --nav-h: 92px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Mulish", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Never let long DOIs / URLs / citations push past the screen edge */
p, h1, h2, h3, h4, li, a { overflow-wrap: break-word; }
.cite, .resource .cite, .entry .cite { overflow-wrap: anywhere; }

h1, h2, h3, h4, .display {
  font-family: "Cairo", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

a { color: var(--blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--navy); }

/* Keyboard accessibility */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff !important; padding: 12px 18px;
  font-family: "Cairo", sans-serif; font-weight: 700; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 20px;
}
.brand img { height: 48px; width: auto; }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: "Cairo", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active { color: var(--blue); border-bottom-color: var(--blue); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; display: block; pointer-events: none; }

/* ---------------- Hero (home) ---------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  background: #0b1f3a url("../images/home.jpg") center/cover no-repeat;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 12, 38, .72), rgba(0, 27, 94, .45));
}
.hero-inner { position: relative; max-width: 880px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  margin: 0 0 .3em;
  letter-spacing: .01em;
}
.hero .eyebrow {
  font-family: "Cairo", sans-serif;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 15px;
  color: var(--blue);
  margin-bottom: 1.1em;
}
.hero .sub { font-size: 1.25rem; opacity: .92; font-weight: 600; }
.hero .sub span { color: var(--blue); }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  font-family: "Cairo", sans-serif;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 12px;
  color: rgba(255,255,255,.85);
}
.scroll-cue::after {
  content: "";
  display: block;
  width: 1px; height: 34px;
  margin: 8px auto 0;
  background: rgba(255,255,255,.6);
}

/* ---------------- Sections ---------------- */
section { padding: 64px 0; }
.section-band { background: var(--band); }
.section-tight { padding: 44px 0; }

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin: 0 0 .15em;
}
.section-kicker {
  font-family: "Cairo", sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: .6em;
}
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 80ch; }

.page-head { padding: 52px 0 0; }
.page-head .section-kicker { margin-top: 0; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: .12em 0 .15em; }
.page-head .lead { margin-top: .5em; margin-bottom: 0; }
/* Pull the first content section up close under the page header */
.page-head + section { padding-top: 18px; }

/* Bulleted intro lists on home */
.feature-list { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 1em; }
.feature-list li {
  padding-left: 1.4em;
  position: relative;
  color: var(--ink-soft);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .65em;
  width: 9px; height: 9px;
  background: var(--blue);
  border-radius: 50%;
}

/* Big question / research band */
.bigq {
  background: linear-gradient(rgba(0, 20, 60, .62), rgba(0, 20, 60, .62)),
              url("../images/home-research-blue.jpg") center/cover no-repeat fixed;
  color: #fff;
  text-align: center;
}
.bigq h2 { color: #fff; }
.bigq p { font-size: 1.5rem; max-width: 30ch; margin: .4em auto 1.2em; font-weight: 600; }

.btn {
  display: inline-block;
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: 2px;
  background: var(--blue);
  color: #fff !important;
  border: 2px solid var(--blue);
}
.btn:hover { background: transparent; color: #fff !important; border-color: #fff; }
.btn-ghost { background: transparent; color: var(--blue) !important; }
.btn-ghost:hover { background: var(--blue); color: #fff !important; }

.center { text-align: center; }
.mt { margin-top: 2.2em; }

/* ---------------- Social follow row ---------------- */
.social-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.social {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Cairo", sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .03em;
  color: var(--navy); background: #fff; border: 1px solid var(--line);
  border-radius: 30px; padding: 11px 22px;
}
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Connect / Follow CTA band (brand gradient, closes the landing page) */
.connect {
  background: linear-gradient(135deg, #0b1f3a 0%, #143a6b 55%, #1d6fb8 100%);
  color: #fff;
}
.connect .section-kicker { color: #9fd0f7; }
.connect .section-title { color: #fff; }
.connect .lead { color: rgba(255, 255, 255, .9); }
.connect .social {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
}
.connect .social:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------------- Card grids ---------------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: 0 12px 30px rgba(0, 27, 94, .10); transform: translateY(-3px); }
.card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--band); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 1.18rem; margin: 0 0 .4em; color: var(--blue); }
.card h3 a { color: inherit; }
.card .meta { font-size: .85rem; color: var(--muted); margin-top: auto; padding-top: .8em; }
.card p.cite { font-size: .95rem; color: var(--ink-soft); }

/* ---------------- Publication / News / Writing list ---------------- */
.entry-list { border-top: 1px solid var(--line); margin-top: 1em; }
.entry {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.entry h3 { font-size: 1.25rem; margin: 0 0 .35em; color: var(--blue); }
.entry h3 a { color: inherit; }
.entry h3 a:hover { color: var(--navy); }
.entry .cite { color: var(--ink-soft); font-size: .98rem; margin: 0 0 .5em; }
.entry .tags { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.entry .tags .yr { color: var(--blue); font-weight: 700; }
.entry .src { color: var(--muted); font-style: italic; }

/* News with thumbnail */
.news-item { display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: center; }
.news-item .thumb { aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; background: var(--band); }
.news-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 620px) { .news-item { grid-template-columns: 1fr; } .news-item .thumb { max-width: 280px; } }

/* ---------------- People ---------------- */
.person-director { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.person-director .photo { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.role-title {
  font-family: "Cairo", sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--navy);
  font-size: 1rem;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
  padding-bottom: 6px;
  margin: 1.6em 0 1em;
}
.wrap > .role-title:first-child { margin-top: .2em; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.person { }
.person .photo { aspect-ratio: 1/1; border-radius: 6px; overflow: hidden; background: var(--band); border: 1px solid var(--line); }
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person h4 { margin: .8em 0 .1em; font-size: 1.15rem; }
.person .pos { color: var(--blue); font-weight: 700; font-size: .9rem; font-family: "Cairo", sans-serif; }
.person p { font-size: .98rem; color: var(--ink-soft); }
.links-inline a { font-weight: 600; }
.links-inline { color: var(--muted); font-size: .95rem; }

.alumni-list { columns: 2; column-gap: 48px; }
.alumni-list li { break-inside: avoid; margin-bottom: 1em; list-style: none; padding-left: 1.2em; position: relative; }
.alumni-list li::before { content: "▸"; color: var(--blue); position: absolute; left: 0; }
.alumni-list { padding: 0; }
@media (max-width: 700px) { .alumni-list { columns: 1; } }

/* ---------------- Books / Resources ---------------- */
.book { display: grid; grid-template-columns: 200px 1fr; gap: 34px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); }
.book .cover img { border-radius: 4px; box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.book h3 { font-size: 1.4rem; margin: 0 0 .15em; }
.book .editors { color: var(--blue); font-weight: 700; margin: 0 0 .8em; }
@media (max-width: 620px) { .book { grid-template-columns: 1fr; } .book .cover { max-width: 200px; } }

.resource { padding: 30px 0; border-bottom: 1px solid var(--line); }
/* First content block sits flush under the page header (no doubled top spacing) */
.resource:first-child, .scale:first-child, .book:first-child { padding-top: 0; }
.resource h3 { font-size: 1.3rem; margin: 0 0 .3em; color: var(--navy); }
.resource .cite { color: var(--ink-soft); font-size: .96rem; margin: 0 0 .5em; }
.dl { margin: .6em 0; }
.dl a {
  display: inline-block;
  font-family: "Cairo", sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--band);
  color: var(--navy);
  padding: 7px 14px;
  border-radius: 3px;
  margin: 0 8px 8px 0;
}
.dl a:hover { background: var(--blue); color: #fff; }

/* Publication filters (year + topic) */
.pub-filters { display: flex; flex-direction: column; gap: 14px; margin-bottom: 1em; }
.pub-filter-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.pub-filter-label {
  font-family: "Cairo", sans-serif; text-transform: uppercase; letter-spacing: .08em;
  font-size: .72rem; font-weight: 700; color: var(--muted); min-width: 52px;
}
.pub-filter { display: flex; flex-wrap: wrap; gap: 8px; font-family: "Cairo", sans-serif; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.pub-count { color: var(--muted); font-size: .9rem; margin: 0 0 1.4em; }
.pub-filter button {
  background: var(--band);
  border: 1px solid var(--line);
  color: var(--navy);
  padding: 8px 18px;
  border-radius: 3px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.pub-filter button:hover { background: #dde6f1; }
.pub-filter button.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------------- Resources: TOC + scale cards ---------------- */
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.4em 0 0; }
.toc a {
  font-family: "Cairo", sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: .03em;
  background: var(--band); color: var(--navy);
  padding: 7px 14px; border-radius: 20px; border: 1px solid var(--line);
}
.toc a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.scale { padding: 34px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.scale h3 { font-size: 1.45rem; margin: 0 0 .1em; color: var(--navy); }
.scale h3 .acro { color: var(--blue); }
.scale .what { font-size: 1.12rem; color: var(--ink); font-weight: 600; margin: .25em 0 .7em; }
.scale .specs {
  font-size: .82rem; color: var(--muted);
  font-family: "Cairo", sans-serif; text-transform: uppercase; letter-spacing: .04em;
  margin: 0 0 1em;
}
.scale .specs strong { color: var(--ink-soft); }
.scale-label {
  font-family: "Cairo", sans-serif; text-transform: uppercase; letter-spacing: .08em;
  font-size: .74rem; color: var(--muted); font-weight: 700; margin: 0 0 .5em;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2em; padding: 0; list-style: none; }
.chips li {
  background: #eaf3fb; color: #1c4f7c; border: 1px solid #cfe3f5;
  border-radius: 6px; padding: 6px 12px; font-size: .9rem; font-weight: 600;
}
.howto-cite {
  background: var(--band); border-left: 4px solid var(--blue);
  padding: 14px 18px; border-radius: 0 4px 4px 0;
  font-size: .9rem; color: var(--ink-soft); margin: 1.2em 0 0; overflow-wrap: anywhere;
}
.howto-cite .lbl {
  display: block; font-family: "Cairo", sans-serif; text-transform: uppercase;
  letter-spacing: .08em; font-size: .68rem; color: var(--muted); margin-bottom: .35em;
}
.tag-method {
  display: inline-block; background: #fdecea; color: #b3261e; border: 1px solid #f6cdc8;
  border-radius: 6px; padding: 4px 10px; font-size: .72rem; font-weight: 700;
  font-family: "Cairo", sans-serif; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .8em;
}

/* ---------------- Prose ---------------- */
.prose { max-width: 78ch; }
.prose p { margin: 0 0 1.2em; }
.prose h2 { margin: 1.6em 0 .5em; font-size: 1.7rem; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.callout {
  background: var(--band);
  border-left: 4px solid var(--blue);
  padding: 22px 26px;
  border-radius: 0 4px 4px 0;
  margin: 1.6em 0;
}

/* EMA image feature (legacy) */
.ema-feature { text-align: center; margin: 0 auto 2em; max-width: 340px; }
.ema-feature img { border-radius: 10px; box-shadow: 0 14px 40px rgba(0,27,94,.18); margin: 0 auto; }
.ema-feature figcaption { font-size: .9rem; color: var(--muted); margin-top: 1em; }

/* ---------------- EMA / ExpiWell showcase ---------------- */
.ema-hero {
  background: linear-gradient(135deg, #0b1f3a 0%, #143a6b 55%, #1d6fb8 100%);
  color: #fff;
}
.ema-hero .wrap { display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; }
.ema-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.1rem); margin: .2em 0 .35em; }
.ema-hero .eyebrow { font-family: "Cairo", sans-serif; text-transform: uppercase; letter-spacing: .2em; font-size: 13px; color: #9fd0f7; }
.ema-hero p.tagline { font-size: 1.2rem; opacity: .94; max-width: 46ch; }
.ema-hero .phone { justify-self: center; max-width: 300px; }
.ema-hero .phone img { border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.btn-light { background: #fff; color: var(--navy) !important; border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff !important; border-color: #fff; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .num { font-family: "Cairo", sans-serif; font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.7rem); color: var(--blue); line-height: 1; }
.stat .label { font-size: .9rem; color: var(--muted); margin-top: .4em; }

.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px 24px; transition: box-shadow .2s ease, transform .2s ease; }
.feature-card:hover { box-shadow: 0 12px 30px rgba(0,27,94,.10); transform: translateY(-3px); }
.feature-card .badge {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: #eaf3fb; margin-bottom: 14px;
}
.feature-card .badge svg { width: 24px; height: 24px; fill: var(--blue); }
.feature-card h3 { font-size: 1.12rem; margin: 0 0 .35em; color: var(--navy); }
.feature-card p { font-size: .96rem; color: var(--ink-soft); margin: 0; }
.feature-card.ai { background: linear-gradient(135deg, #112a4d, #1d6fb8); color: #fff; border: none; }
.feature-card.ai h3 { color: #fff; }
.feature-card.ai p { color: #dbe8f6; }
.feature-card.ai .badge { background: rgba(255,255,255,.16); }
.feature-card.ai .badge svg { fill: #fff; }
.feature-card.ai .soon { display: inline-block; font-family: "Cairo", sans-serif; font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #fff; color: var(--navy); padding: 3px 8px; border-radius: 20px; margin-left: 8px; vertical-align: middle; }

.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative;
  font-family: "Cairo", sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; color: var(--blue); font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--ink-soft); max-width: 80ch; }

@media (max-width: 820px) {
  .ema-hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .ema-hero .phone { order: -1; max-width: 240px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}

/* Talks list (legacy) */
.talk { padding: 26px 0; border-bottom: 1px solid var(--line); }
.talk h3 { font-size: 1.3rem; margin: 0 0 .4em; color: var(--navy); }

/* Talks grid with YouTube previews */
.talk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 32px; }
.talk-card { display: flex; flex-direction: column; }
.talk-card .talk-body { padding-top: 16px; }
.talk-card h3 { font-size: 1.25rem; margin: 0 0 .4em; color: var(--navy); }
.talk-card p { color: var(--ink-soft); font-size: .98rem; }

.yt {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 27, 94, .12);
}
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease, opacity .25s ease; }
.yt:hover img { transform: scale(1.04); opacity: .85; }
.yt iframe { width: 100%; height: 100%; display: block; border: 0; }
.yt-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 50px;
  border: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, .68);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.yt:hover .yt-play { background: #cc0000; transform: translate(-50%, -50%) scale(1.06); }
.yt-play::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
}
.yt.playing { cursor: default; box-shadow: none; }
.yt.playing:hover img { transform: none; }
@media (max-width: 760px) { .talk-grid { grid-template-columns: 1fr; } }

/* Talks list */

/* ---------------- Footer ---------------- */
.site-footer {
  background: #10243f;
  color: #c9d4e3;
  padding: 58px 0 30px;
  font-size: .95rem;
}
.site-footer a { color: #cfe0f3; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer h4 {
  color: #fff;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 1em;
}
.footer-nav ul { list-style: none; padding: 0; margin: 0; columns: 2; }
.footer-nav li { margin-bottom: .5em; }
.footer-nav a { text-transform: uppercase; font-family: "Cairo", sans-serif; letter-spacing: .06em; font-size: .8rem; }
.footer-social { display: flex; gap: 12px; margin-top: 1em; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.10); color: #cfe0f3;
}
.footer-social a:hover { background: var(--blue); color: #fff; }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 40px;
  padding-top: 22px;
  font-size: .82rem;
  color: #8ea2bd;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .grid-3, .people-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 28px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; width: 100%; padding: 11px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:hover, .nav-links a.active { border-bottom-color: var(--line); }
}
@media (max-width: 700px) {
  :root { --nav-h: 74px; }
  .wrap { padding: 0 18px; }
  .brand img { height: 40px; }
  .grid-3, .grid-2, .people-grid { grid-template-columns: 1fr; }
  .person-director { grid-template-columns: 1fr; }
  .person-director .photo { max-width: 240px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav ul { columns: 1; }
  .bigq { background-attachment: scroll; }
  section { padding: 50px 0; }
  .hero { min-height: 78vh; }
  .hero .sub { font-size: 1.05rem; }
  .bigq p { font-size: 1.25rem; }
  .alumni-list { columns: 1; }
  .dl a { display: block; margin: 0 0 8px 0; text-align: center; }
}
@media (max-width: 380px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 2.05rem; }
}
