/* =========================================================
   BIG: navy & periwinkle (from the logo + Instagram),
   Palatino (as on dukeiclub.org), collegiate photo-led layout
   ========================================================= */
:root {
  --navy: #1f2b5e;
  --navy-deep: #131a3d;
  --peri: #8fa3dc;
  --peri-ink: #4e66b0;
  --peri-soft: #e3e8f6;
  --paper: #f4f3ef;
  --white: #ffffff;
  --ink: #1a1f36;
  --muted: #5d6380;
  --line: #dcdce4;

  --serif: "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", P052, Georgia, serif;
  --sans: var(--serif);

  /* Type scale: every heading and text style on the site uses one of these */
  --fs-display: clamp(2.75rem, 6vw, 5rem);    /* home hero */
  --fs-h1: clamp(2.25rem, 4.4vw, 3.5rem);     /* page banners */
  --fs-h2: clamp(1.75rem, 3vw, 2.375rem);     /* section titles */
  --fs-h3: 1.375rem;                          /* card, person, FAQ titles */
  --fs-h4: 1.125rem;                          /* list rows */
  --fs-lead: 1.125rem;                        /* intro paragraphs */
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-label: .72rem;                         /* uppercase labels, buttons, nav */

  --wrap: 1180px;
  --gutter: 28px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(19, 26, 61, .06), 0 14px 34px -18px rgba(19, 26, 61, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 var(--fs-body)/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0; font-weight: 700; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--peri-ink); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.caps { font: 600 var(--fs-label)/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--peri-ink); margin: 0; }
.lead { font-size: var(--fs-lead); color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 26px; border-radius: 2px;
  font: 600 var(--fs-label)/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; border: 1.5px solid var(--navy); background: var(--navy); color: var(--white);
  transition: background .2s, color .2s, border-color .2s; cursor: pointer;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn--line { background: transparent; color: var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--peri-soft); border-color: var(--peri-soft); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
a[hidden], .btn[hidden] { display: none !important; }

.more { font: 600 var(--fs-label)/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--navy); border-bottom: 1.5px solid var(--peri); padding-bottom: 5px; transition: color .15s; }
.more:hover { color: var(--peri-ink); }
.more-links { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.more--light { color: var(--white); }
.more--light:hover { color: var(--peri); }

/* ---------- Header (sits over photos, turns solid on scroll) ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.site-header__inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand span { font: 600 var(--fs-label)/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font: 500 1rem/1 var(--sans); text-decoration: none; color: var(--ink); padding: 8px 0; border-bottom: 1.5px solid transparent; transition: border-color .2s, color .2s; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--peri); }
.menu-btn { display: none; background: none; border: 1.5px solid var(--navy); color: var(--navy); font: 600 var(--fs-label)/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 11px 13px; cursor: pointer; }


/* ---------- Photo hero & banners ---------- */
.banner { position: relative; color: var(--white); background: var(--navy-deep) center / cover no-repeat; isolation: isolate; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(19, 26, 61, .78) 0%, rgba(19, 26, 61, .62) 60%, rgba(19, 26, 61, .7) 100%); }

.banner .caps { color: var(--peri); margin-bottom: 18px; }
.banner h1 em { color: #b9c7f2; }
/* Inner-page banners: one fixed size, sitting below the header, text at the same spot on every page */
.banner { height: 360px; margin-top: 64px; display: flex; align-items: flex-start; }
.banner .wrap { width: 100%; padding-top: 88px; padding-bottom: 40px; }
.banner h1 { color: var(--white); font-size: var(--fs-h1); font-weight: 700; }
.banner p.lede { color: rgba(255, 255, 255, .85); font-size: var(--fs-lead); max-width: 60ch; margin: 16px 0 0; }
.banner p.lede--wide { max-width: 90ch; }
.banner--home { height: auto; min-height: calc(100svh - 64px); align-items: flex-end; }
.banner--home::before { background: linear-gradient(to top, rgba(10, 14, 32, .75) 0%, rgba(10, 14, 32, .3) 50%, rgba(10, 14, 32, .05) 100%), linear-gradient(to right, rgba(10, 14, 32, .4) 0%, rgba(10, 14, 32, 0) 55%); }
.banner--home { background-position: center 30%; }
.banner--home .wrap { padding-top: 0; padding-bottom: clamp(48px, 9vh, 90px); }
.banner--home .lede { font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--white); margin-top: 18px; }
.hero-mission { color: rgba(255, 255, 255, .78); max-width: 58ch; margin: 14px 0 0; }
.banner--home h1 { max-width: none; }
.section--logos { padding-top: 0; }
.banner--plain { background: var(--navy); }
.banner--plain::before { background: radial-gradient(900px 400px at 85% 0%, rgba(143, 163, 220, .28), transparent 60%); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 100px) 0; }
.section--tight { padding: 64px 0; }
.section--compact { padding: clamp(40px, 5vw, 60px) 0; }
.section-title--xl { font-size: var(--fs-h1); margin: 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--white); }
.section-title { font-size: var(--fs-h2); margin: 10px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 36px; }
.section-head--center { justify-content: center; text-align: center; }

/* Home: mission statement */
.mission { max-width: 860px; margin: 0 auto; text-align: center; }
.mission blockquote { margin: 18px 0 28px; font: italic 500 var(--fs-h2)/1.4 var(--serif); color: var(--navy); }

/* Home: Duke-style intro, logo row, LionFund-style About / Recruitment cards */
.intro { padding: clamp(64px, 9vw, 110px) 0 clamp(48px, 6vw, 80px); }
.intro__wrap { max-width: 980px; }
.intro .intro__statement { font: italic 400 clamp(1.5rem, 2.6vw, 2.25rem)/1.45 var(--serif); color: #8a8d99; text-align: center; margin: 0 0 clamp(40px, 5vw, 56px); }
.intro h2 { font-size: var(--fs-h2); margin-bottom: 16px; }
.intro p { font-size: var(--fs-lead); }
.logo-label { text-align: center; margin-top: clamp(48px, 6vw, 72px); }
.logo-row { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px 24px; }
.logo-row li { height: 76px; display: grid; place-items: center; }
.logo-row img { max-width: 80%; max-height: 36px; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter .2s, opacity .2s; }
.logo-row li:hover img { filter: none; opacity: 1; }
.logo-row img.tall { max-height: 52px; }
.logo-row img.wide { max-height: 26px; }

.gateways { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gateway { display: grid; grid-template-columns: 44% 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color .2s; }
.gateway:hover { border-color: var(--navy); }
.gateway__img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; }
.gateway__body { padding: 30px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.gateway h2 { font-size: var(--fs-h2); margin-bottom: 10px; }
.gateway p { color: var(--muted); margin-bottom: 20px; }

/* Home: firm logos (CFIG-style tiles) */
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.logos li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); height: 120px; display: grid; place-items: center; padding: 22px; }
.logos img { max-width: 78%; max-height: 40px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s; }
.logos img.tall { max-height: 56px; opacity: .6; }
.logos img.wide { max-width: 92%; max-height: 30px; }
.logos li:hover img { filter: none; opacity: 1; }

/* Home: next event + newsletter band */
.band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.band .caps { color: var(--peri); }
.band h3 { color: var(--white); font-size: var(--fs-h2); }
.band p { color: rgba(255, 255, 255, .78); }
.next-card { display: flex; gap: 24px; align-items: flex-start; margin-top: 18px; text-decoration: none; }
.date-block { flex: 0 0 auto; width: 84px; padding: 14px 0; border-radius: var(--radius); background: var(--peri); color: var(--navy-deep); display: flex; flex-direction: column; align-items: center; font: 600 var(--fs-label)/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.date-block strong { font: 700 var(--fs-h2)/1 var(--serif); letter-spacing: 0; margin: 4px 0; }
.next-card p { margin: 8px 0 14px; }
.band__links { border-left: 1px solid rgba(255, 255, 255, .18); padding-left: 56px; }
.band__links h3 { margin: 10px 0 10px; }
.band__links .row { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 24px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: start; }
.about-grid .section-title { margin-bottom: 24px; }
.pullquote { margin: 0; padding: 40px 36px 32px; background: var(--peri-soft); border-radius: var(--radius); position: relative; }
.pullquote::before { content: "\201C"; position: absolute; top: -26px; left: 26px; font: 700 6.5rem/1 var(--serif); color: var(--navy); }
.pullquote blockquote { margin: 0 0 18px; font: italic 600 var(--fs-h3)/1.45 var(--serif); color: var(--navy); }
.pullquote figcaption { font-size: var(--fs-small); font-weight: 600; color: var(--navy); }
.pullquote figcaption span { display: block; font-weight: 400; color: var(--muted); }
.pullquote figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pullquote figcaption a:hover { color: var(--navy); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; text-align: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dt { font: 700 var(--fs-h1)/1 var(--serif); color: var(--navy); }
.stats dd { margin: 12px 0 0; }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pillar { display: grid; grid-template-columns: 200px 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.pillar__img { background: var(--navy) center / cover no-repeat; min-height: 190px; }
.pillar__body { padding: 26px 26px 22px; }
.pillar h3 { margin: 8px 0 10px; }
.pillar p { color: var(--muted); font-size: var(--fs-small); margin: 0; }

/* ---------- Events ---------- */
.section--flush { padding-top: 0; }
.upcoming { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 40px; }
.event-card { display: block; padding-top: 18px; border-top: 2px solid var(--navy); text-decoration: none; }
.event-card h3 { font-size: var(--fs-h3); margin: 10px 0 6px; transition: color .15s; }
.event-card:hover h3 { color: var(--peri-ink); }
.event-card .meta { color: var(--muted); margin: 0 0 16px; }

.filters { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.filters button { font: 400 var(--fs-body) var(--serif); border: 0; border-bottom: 1.5px solid transparent; background: none; color: var(--muted); padding: 0 0 4px; cursor: pointer; transition: color .15s, border-color .15s; }
.filters button:hover { color: var(--navy); }
.filters button.is-active { color: var(--navy); border-color: var(--navy); }

.term { margin-top: 44px; }
.term > h3 { padding-bottom: 10px; border-bottom: 1px solid var(--navy); }
.elist { list-style: none; margin: 0; padding: 0; }
.elist a { display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.elist time { color: var(--muted); }
.elist strong { font: 700 var(--fs-h4)/1.3 var(--serif); color: var(--navy); transition: color .15s; }
.elist a:hover strong { color: var(--peri-ink); }
.elist small { display: block; font-size: var(--fs-small); color: var(--muted); margin-top: 3px; }
.elist .type { font: 600 var(--fs-label)/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.show-more { margin-top: 22px; }
.empty { padding: 26px; background: var(--peri-soft); border-radius: var(--radius); color: var(--navy); margin: 0; }

/* Event page */
.crumb { display: inline-block; margin-bottom: 24px; }
.event-body { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }
.event-body .prose p { font-size: var(--fs-lead); color: var(--ink); }
.prose-actions { margin-top: 24px; }
.facts { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 8px 24px; }
.facts div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font: 600 var(--fs-label)/1.9 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
/* Event photos: each row shares one height and every photo keeps its full frame (widths set in main.js) */
.photos { display: grid; gap: 12px; margin-top: 48px; }
.photos__row { display: flex; gap: 12px; }
.photos__row img { flex: 1 1 0; min-width: 0; height: auto; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--paper); }
.photos__row--single img { flex: none !important; width: auto; max-width: 100%; max-height: 640px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 56px; }
.pager a { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s; }
.pager a:hover { border-color: var(--navy); }
.pager a.next { text-align: right; grid-column: 2; }
.pager strong { display: block; font: 700 var(--fs-h4)/1.3 var(--serif); color: var(--navy); margin-top: 6px; }

/* ---------- Team (centered, Duke-style) ---------- */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: 56px 48px; text-align: center; }
@media (min-width: 1001px) {
  /* 6-col grid, 2 cols per member, so an incomplete last row can be centered */
  .board { grid-template-columns: repeat(6, minmax(0, 106px)); }
  .board .member { grid-column: span 2; }
  .board .member:nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
  .board .member:nth-child(3n+1):last-child { grid-column: 3 / span 2; }
}
.member__photo { aspect-ratio: 1; width: 100%; max-width: 220px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; background: var(--peri-soft); display: grid; place-items: center; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.member__photo span { font: italic 700 var(--fs-h1) var(--serif); color: var(--navy); opacity: .5; }
.member .role { font: 600 var(--fs-label)/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--peri-ink); margin: 8px 0; }
.member .major { font-size: var(--fs-small); color: var(--muted); margin: 0; }
.member .exp { font-size: var(--fs-small); color: var(--ink); margin: 6px 0 0; }
.member a { font-size: var(--fs-small); font-weight: 600; color: var(--navy); }

/* ---------- Newsletter ---------- */
.nl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.nl-grid .section-title { margin-bottom: 18px; }
.nl-grid .lead { max-width: 48ch; }
.substack-embed { width: 100%; max-width: 480px; height: 150px; border: 0; border-radius: var(--radius); background: #fff; margin: 8px 0 22px; display: block; box-shadow: 0 0 0 1px var(--line); }
.issues { display: grid; gap: 14px; margin-top: 16px; }
.issue { display: block; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); text-decoration: none; transition: border-color .2s; }
.issue:hover { border-color: var(--navy); }
.issue h3 { font-size: var(--fs-h4); margin: 8px 0 8px; }
.issue ul { margin: 0; padding-left: 18px; font-size: var(--fs-small); color: var(--muted); }
.issue li::marker { color: var(--peri); }

/* ---------- Join ---------- */
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.join-card { padding: 44px 40px; border-radius: var(--radius); background: var(--paper); }
.join-card h2 { font-size: var(--fs-h2); margin: 10px 0 10px; }
.join-card > p { color: var(--muted); }
.join-card--navy { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: var(--white); }
.join-card--navy h2 { color: var(--white); }
.join-card--navy .caps { color: var(--peri); }
.join-card--navy > p { color: rgba(255, 255, 255, .8); }
.join-card--navy a:not(.btn) { color: var(--white); font-weight: 600; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 26px 0 30px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 50px; color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font: 700 var(--fs-small) var(--serif); }
.steps strong { color: var(--navy); }
.timeline { list-style: none; padding: 0; margin: 26px 0 30px; border-left: 1.5px solid rgba(143, 163, 220, .5); }
.timeline li { position: relative; padding: 0 0 18px 26px; color: rgba(255, 255, 255, .92); }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--peri); }
.timeline span { display: block; font: 700 var(--fs-label)/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--peri); }
.note { font-size: var(--fs-small); margin: 18px 0 0; }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font: 700 var(--fs-h4)/1.3 var(--serif); color: var(--navy); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 var(--fs-h3)/1 var(--sans); color: var(--peri-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: -8px 0 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .7); padding: 64px 0 26px; font-size: var(--fs-small); }
.site-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.site-footer a:hover { color: var(--peri); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { width: 58px; height: 58px; border-radius: 50%; }
.footer-brand p { margin: 0; font: italic 600 var(--fs-h4)/1.35 var(--serif); color: var(--white); }
.site-footer h4 { margin: 0 0 14px; font: 600 var(--fs-label)/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--peri); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer address { font-style: normal; margin-top: 8px; line-height: 1.6; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: var(--fs-label); color: rgba(255, 255, 255, .45); }
.footer-base a { color: rgba(255, 255, 255, .6); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .board { grid-template-columns: repeat(2, minmax(0, 260px)); }
  .board .member:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 24px); }
  .pillar { grid-template-columns: 1fr; }
  .pillar__img { min-height: 160px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gateway { grid-template-columns: 1fr; }
  .gateway__img { min-height: 0; aspect-ratio: 16 / 10; }
  .gateway__body { padding: 24px; }
  .more { display: inline-block; padding-top: 14px; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .menu-btn { display: block; }
  .nav { position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: 8px var(--gutter) 22px; box-shadow: 0 20px 30px -20px rgba(19, 26, 61, .4); display: none; }
  .nav-open .site-header { background: var(--white); }
  .nav-open .brand { color: var(--navy); }
  .nav-open .menu-btn { color: var(--navy); border-color: var(--navy); }
  .nav-open .nav { display: flex; }
  .nav a { color: var(--ink) !important; padding: 16px 0; border-bottom: 1px solid var(--line); }

  .band, .about-grid, .event-body, .nl-grid, .join-grid { grid-template-columns: 1fr; gap: 40px; }
  .band__links { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 36px; }
  .stats { grid-template-columns: 1fr; gap: 28px 0; }
  .stats div + div { border-left: 0; }
  .banner { height: auto; min-height: 360px; }
  .banner .wrap { padding-top: 64px; }
  .banner--home { min-height: calc(100svh - 64px); }
}
@media (max-width: 560px) {
  .brand span { letter-spacing: .12em; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
  .board .member:last-child:nth-child(odd) { width: calc(50% - 8px); }
  .logos li { height: 96px; }
  .elist a { grid-template-columns: 1fr; gap: 2px; }
  .photos__row { flex-direction: column; }
  .photos__row img { flex: none !important; width: 100%; }
  .pager { grid-template-columns: 1fr; }
  .pager a.next { grid-column: 1; }
  .join-card { padding: 32px 22px; }
  .gateways, .pillars { grid-template-columns: 1fr; }
  .gateway__img { aspect-ratio: 16 / 9; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) { .logos, .logo-row { grid-template-columns: repeat(2, 1fr); } }

.banner--team { background-position: center 40%; }
.banner--team::before { background: linear-gradient(to right, rgba(19, 26, 61, .85) 0%, rgba(19, 26, 61, .6) 45%, rgba(19, 26, 61, .3) 100%); }
@media (min-width: 900px) {
  .banner--team { background-size: 86% auto; background-position: right 0 top 40%; }
  .banner--team::before { background: linear-gradient(to right, var(--navy-deep) 0%, var(--navy-deep) 14%, rgba(19, 26, 61, 0) 24%), linear-gradient(to right, rgba(19, 26, 61, .85) 0%, rgba(19, 26, 61, .6) 45%, rgba(19, 26, 61, .3) 100%); }
}
