/* ════════════════════════════════════════════════════════════════════
   Deacon Consulting Club — "The Firm" design system
   Editorial prestige: warm paper, high-contrast serif, hairline rules,
   Wake Forest old gold used as a precision accent.
   ════════════════════════════════════════════════════════════════════ */

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

:root {
  --paper:       #FBF9F4;
  --paper-deep:  #F3EFE2;
  --plate:       #FFFFFF;
  --ink:         #141414;
  --ink-soft:    #55524A;
  --gold:        #A69407;
  --gold-text:   #877706;
  --gold-bright: #D4BC0D;
  --gold-pale:   #EFE9CF;
  --line:        rgba(22, 19, 8, 0.16);
  --line-dark:   rgba(255, 255, 255, 0.14);
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h:       72px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--plate); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 300;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ─── Primitives ─────────────────────────────────────────────────── */

.container { max-width: 1180px; margin: 0 auto; padding: 0 2.25rem; }

.section { padding: 7.5rem 0; }
.section--cream { background: var(--paper-deep); }
.section--ink { background: var(--ink); color: var(--paper); }

.kicker {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.6rem;
}
.kicker__no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-text);
}
.section--ink .kicker__no { color: var(--gold-bright); }
.kicker__rule { width: 56px; height: 1px; background: var(--gold); flex-shrink: 0; }
.kicker__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.section--ink .kicker__label { color: var(--gold-bright); }

.headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  max-width: 18em;
}
.headline em {
  font-style: italic;
  color: var(--gold-text);
}
.section--ink .headline { color: var(--paper); }
.section--ink .headline em { color: var(--gold-bright); }

.lede {
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 38em;
  margin-top: 1.4rem;
}
.section--ink .lede { color: rgba(251, 249, 244, 0.66); }

/* ─── Buttons & links ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.9rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn svg { width: 15px; height: 15px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn--paper { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--gold-bright); border-color: var(--gold-bright); transform: translateY(-2px); }
.btn--gold-line { background: transparent; border-color: rgba(251,249,244,0.4); color: var(--paper); }
.btn--gold-line:hover { border-color: var(--gold-bright); color: var(--gold-bright); transform: translateY(-2px); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.textlink svg { width: 14px; height: 14px; }
.textlink:hover { color: var(--ink); border-color: var(--ink); }

/* ─── Navigation ─────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(251, 249, 244, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--nav-h);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2.25rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.nav__brand img { height: 34px; width: auto; }
.nav__brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav__brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  white-space: nowrap;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav__links a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  transition: color 0.2s;
}
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__links a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--gold);
}
.nav__links .btn { min-height: 42px; padding: 0.55rem 1.4rem; margin-left: 0.8rem; white-space: nowrap; }
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ───────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 5.5rem) 0 6rem;
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
}
.hero__announce {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--gold);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  margin-bottom: 2.2rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-text);
  background: rgba(166, 148, 7, 0.06);
  transition: background 0.25s, color 0.25s;
}
a.hero__announce:hover { background: rgba(166, 148, 7, 0.14); color: var(--ink); }
.hero__announce-dot {
  flex-shrink: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}
.hero__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 5.4vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.hero h1 em { font-style: italic; color: var(--gold-text); }
.hero__lede {
  font-size: 1.07rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 33em;
  margin: 1.6rem 0 2.6rem;
}
.hero__actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.hero__plate {
  background: var(--plate);
  border: 1px solid var(--line);
  padding: 3rem 2.5rem 2rem;
  text-align: center;
}
.hero__plate img { width: 100%; max-width: 380px; margin: 0 auto; }
.hero__plate-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__plate-caption span,
.hero__plate-caption strong { white-space: nowrap; }
.nowrap { white-space: nowrap; }
.hero__plate-caption strong { color: var(--gold-text); font-weight: 700; }
.hero__scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.38);
}
.hero__scroll-line {
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: drift 1.9s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ─── Stats band ─────────────────────────────────────────────────── */

.stats { background: var(--ink); color: var(--paper); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stats__cell {
  padding: 2.6rem 1.5rem;
  text-align: center;
  border-left: 1px solid var(--line-dark);
}
.stats__cell:first-child { border-left: none; }
.stats__number {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--gold-bright);
}
.stats__label {
  margin-top: 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 249, 244, 0.62);
}

/* ─── Two-column editorial split ─────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.frame {
  background: var(--plate);
  border: 1px solid var(--line);
  padding: 10px;
  position: relative;
}
.frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  background: var(--paper-deep);
}
.frame__badge {
  position: absolute;
  bottom: -1.1rem;
  right: 1.6rem;
  background: var(--gold);
  color: var(--plate);
  padding: 0.85rem 1.3rem;
  text-align: center;
  line-height: 1.2;
}
.frame__badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
}
.frame__badge span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.92;
}
.frame__caption {
  margin-top: 0.9rem;
  padding: 0 2px 2px;
  display: flex;
  justify-content: space-between;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
  border-left: 2px solid var(--gold);
  padding-left: 1.4rem;
  margin: 2rem 0;
  max-width: 30em;
}

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; margin-top: 2.4rem; }
.pillar { display: flex; gap: 0.95rem; align-items: flex-start; }
.pillar__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--gold-pale);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-text);
}
.pillar__icon svg { width: 21px; height: 21px; stroke-width: 2; }
.pillar__text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.pillar__text span { font-size: 0.84rem; line-height: 1.55; color: var(--ink-soft); display: block; }

/* ─── Our work ───────────────────────────────────────────────────── */

.work__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3.6rem;
}
.work-card {
  background: var(--plate);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 2.6rem 2.4rem;
}
.work-card__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.9rem;
}
.work-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.work-card > p { font-size: 0.94rem; color: var(--ink-soft); line-height: 1.75; }
.work-card ul { margin-top: 1.5rem; display: grid; gap: 0.8rem; }
.work-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
}
.work-card li::before {
  content: '';
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 0.45em;
  background: var(--gold);
}

/* ─── Programs ───────────────────────────────────────────────────── */

.programs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3.6rem;
}
.program {
  position: relative;
  background: var(--plate);
  border: 1px solid var(--line);
  padding: 2.2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s var(--ease);
}
.program:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 18px 40px -18px rgba(22, 19, 8, 0.22);
}
.program__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}
.program__icon {
  width: 48px; height: 48px;
  background: var(--gold-pale);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-text);
}
.program__icon svg { width: 22px; height: 22px; stroke-width: 2; }
.program__no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(20, 20, 20, 0.28);
}
.program h3 {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}
.program p { font-size: 0.875rem; line-height: 1.7; color: var(--ink-soft); flex: 1; }
.program .textlink { margin-top: 1.3rem; min-height: 34px; font-size: 0.72rem; }

/* ─── Analyst Program ────────────────────────────────────────────── */

.analyst__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: start;
}
.analyst-card {
  background: var(--ink);
  color: var(--paper);
  border-top: 3px solid var(--gold-bright);
  padding: 2.6rem 2.4rem;
}
.analyst-card__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.analyst-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 1.3rem 0 2.2rem;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.analyst-card__stats div {
  padding: 1.3rem 0.5rem;
  text-align: center;
  border-left: 1px solid var(--line-dark);
}
.analyst-card__stats div:first-child { border-left: none; }
.analyst-card__stats strong {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--gold-bright);
}
.analyst-card__stats span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 249, 244, 0.62);
}
.analyst-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}
.analyst-steps { list-style: none; display: grid; gap: 1.1rem; }
.analyst-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(251, 249, 244, 0.62);
}
.analyst-steps__no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--gold-bright);
}
.analyst-steps strong { display: block; color: var(--paper); font-weight: 600; font-size: 0.92rem; }
.analyst-card__note {
  margin: 1.8rem 0 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(251, 249, 244, 0.62);
}

/* ─── Schedule (dark) ────────────────────────────────────────────── */

.schedule__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: start;
}
.schedule__intro { position: sticky; top: calc(var(--nav-h) + 2rem); }
.meeting-card {
  margin-top: 2.4rem;
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--gold-bright);
  background: rgba(251, 249, 244, 0.04);
  padding: 1.7rem 1.8rem;
}
.meeting-card__tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.7rem;
}
.meeting-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--paper);
  margin-bottom: 0.5rem;
}
.meeting-card p { font-size: 0.88rem; color: rgba(251, 249, 244, 0.62); }
.meeting-card .btn { margin-top: 1.5rem; }

.timeline { border-top: 1px solid var(--line-dark); }
.timeline__row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.6rem;
  padding: 1.55rem 0.4rem 1.55rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.timeline__no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--gold-bright);
}
.timeline__row h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 0.25rem;
}
.timeline__row p { font-size: 0.85rem; line-height: 1.65; color: rgba(251, 249, 244, 0.55); }
.timeline__row .timeline__date {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.3rem;
}
.timeline__row.is-past { opacity: 0.45; }
.timeline__row.is-past .timeline__date::after { content: ' · Done'; }
.timeline__row.is-next .timeline__date::after { content: ' · Next up'; }
.timeline__row.is-next h3 { color: var(--gold-bright); }

/* ─── Board ──────────────────────────────────────────────────────── */

.board__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3.6rem;
}
.board-card {
  width: 252px;
  background: var(--plate);
  border: 1px solid var(--line);
  padding: 2.3rem 1.6rem 1.9rem;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s var(--ease);
}
.board-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 18px 40px -18px rgba(22, 19, 8, 0.22);
}
.board-card__avatar {
  width: 84px; height: 84px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  background: var(--paper-deep);
  outline: 1px solid var(--gold);
  outline-offset: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ink);
}
.board-card h3 { font-size: 1.02rem; font-weight: 600; line-height: 1.25; }
.board-card__role {
  margin-top: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.board-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  margin-top: 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.board-card__link svg { width: 14px; height: 14px; }
.board-card__link:hover { color: var(--gold-text); }

/* ─── Join ───────────────────────────────────────────────────────── */

.join__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3.6rem;
}
.join-card {
  background: var(--plate);
  border: 1px solid var(--line);
  padding: 2.8rem 2.6rem;
  display: flex;
  flex-direction: column;
}
.join-card--accent { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.join-card__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1rem;
}
.join-card--accent .join-card__tag { color: var(--gold-bright); }
.join-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.22;
  margin-bottom: 1rem;
}
.join-card > p { font-size: 0.93rem; line-height: 1.75; color: var(--ink-soft); }
.join-card--accent > p { color: rgba(251, 249, 244, 0.66); }
.join-card__links { margin: 1.7rem 0 2.1rem; display: grid; gap: 0.45rem; flex: 1; }
.join-card__links a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 44px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s;
}
.join-card--accent .join-card__links a { color: rgba(251, 249, 244, 0.85); }
.join-card__links a:hover { color: var(--gold-text); }
.join-card--accent .join-card__links a:hover { color: var(--gold-bright); }
.join-card__links svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--gold-text); }
.join-card--accent .join-card__links svg { color: var(--gold-bright); }
.join-card .btn { align-self: flex-start; }

/* ─── Resource lists (resources.html) ────────────────────────────── */

.page-hero {
  padding: calc(var(--nav-h) + 4.5rem) 0 4.5rem;
  border-bottom: 1px solid var(--line);
}
.res-section { padding: 5rem 0; }
.res-section + .res-section { border-top: 1px solid var(--line); }
.res-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: start;
}
.res-intro { position: sticky; top: calc(var(--nav-h) + 2rem); }
.res-intro p { font-size: 0.95rem; line-height: 1.75; color: var(--ink-soft); margin-top: 1.1rem; max-width: 30em; }
.res-list { border-top: 1px solid var(--line); }
.res-link {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding: 1.35rem 0.5rem 1.35rem 0.2rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s, padding 0.25s var(--ease);
}
.res-link:hover { background: rgba(166, 148, 7, 0.05); padding-left: 0.7rem; }
.res-link__type {
  flex-shrink: 0;
  width: 86px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.res-link__body { flex: 1; min-width: 0; }
.res-link__body strong { display: block; font-size: 0.97rem; font-weight: 600; line-height: 1.4; }
.res-link__body span { display: block; font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.15rem; }
.res-link > svg {
  flex-shrink: 0;
  width: 16px; height: 16px;
  color: var(--ink-soft);
  transition: color 0.2s, transform 0.25s var(--ease);
}
.res-link:hover > svg { color: var(--gold-text); transform: translate(2px, -2px); }

.res-note {
  border: 1px dashed var(--gold);
  background: rgba(166, 148, 7, 0.05);
  padding: 1.5rem 1.7rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.res-note strong { color: var(--ink); font-weight: 600; }

/* ─── CTA band ───────────────────────────────────────────────────── */

.cta-band {
  background: var(--gold);
  padding: 4.5rem 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.2;
  color: var(--plate);
  max-width: 22em;
}
.cta-band .btn { flex-shrink: 0; }

/* ─── Footer ─────────────────────────────────────────────────────── */

.footer {
  background: #0E0D0A;
  color: rgba(251, 249, 244, 0.55);
  padding: 5rem 0 2.6rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr;
  gap: 3.5rem;
  padding-bottom: 3.2rem;
  margin-bottom: 2.6rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer__brandrow {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.footer__plate {
  background: var(--paper);
  padding: 7px 12px;
  display: inline-flex;
}
.footer__plate img { height: 34px; width: auto; }
.footer__wfu { height: 56px; width: auto; }
.footer__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--paper);
  margin-bottom: 0.5rem;
}
.footer__desc { font-size: 0.86rem; line-height: 1.75; max-width: 330px; }
.footer__socials { display: flex; gap: 0.7rem; margin-top: 1.6rem; }
.footer__social {
  width: 44px; height: 44px;
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(251, 249, 244, 0.7);
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.footer__social svg { width: 18px; height: 18px; }
.footer__social:hover { border-color: var(--gold-bright); color: var(--gold-bright); transform: translateY(-3px); }
.footer__heading {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251, 249, 244, 0.85);
  margin-bottom: 1.2rem;
}
.footer__links { display: grid; gap: 0.15rem; }
.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  font-size: 0.88rem;
  color: rgba(251, 249, 244, 0.55);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--gold-bright); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(251, 249, 244, 0.4);
}
.footer__bottom em { font-style: italic; font-family: var(--serif); color: var(--gold-bright); }

/* ─── Reveal on scroll ───────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__announce-dot, .hero__scroll-line { animation: none; }
  .program:hover, .board-card:hover, .btn:hover, .footer__social:hover { transform: none; }
}

/* ─── Responsive ─────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .hero__grid { gap: 3rem; }
  .split { gap: 3.5rem; }
  .programs__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .section { padding: 5.5rem 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero__plate { max-width: 480px; }
  .split { grid-template-columns: 1fr; }
  .frame img { height: 340px; }
  .work__grid, .join__grid { grid-template-columns: 1fr; }
  .schedule__grid, .analyst__grid { grid-template-columns: 1fr; gap: 3rem; }
  .schedule__intro, .res-intro { position: static; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__cell:nth-child(3) { border-left: none; grid-column: 1 / -1; }
  .stats__cell { border-top: 1px solid var(--line-dark); }
  .stats__cell:nth-child(-n+2) { border-top: none; }
  .res-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* Seven nav links stop fitting beside the brand below ~1100px: use the menu. */
@media (max-width: 1100px) {
  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 2.25rem 1.4rem;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a:not(.btn) {
    min-height: 48px;
    padding: 0 0.4rem;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__links a[aria-current="page"] { border-bottom-color: var(--gold); }
  .nav__links .btn { margin: 1.1rem 0 0; width: 100%; }
}

@media (max-width: 720px) {
  .container, .nav__inner { padding-left: 1.4rem; padding-right: 1.4rem; }
  .nav__brand-name { font-size: 0.95rem; }
  .nav__links { padding-left: 1.4rem; padding-right: 1.4rem; }
  .hero { padding-top: calc(var(--nav-h) + 3.5rem); padding-bottom: 5rem; }
  .hero__actions { gap: 1rem; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
  .hero__plate { padding: 2rem 1.5rem 1.4rem; }
  .hero__plate-caption { font-size: 0.6rem; letter-spacing: 0.14em; justify-content: center; }
  .pillars { grid-template-columns: 1fr; }
  .programs__grid { grid-template-columns: 1fr; }
  .board__grid { gap: 0.9rem; }
  .board-card { width: calc(50% - 0.45rem); padding: 1.7rem 0.5rem 1.3rem; }
  .board-card__avatar { width: 64px; height: 64px; font-size: 1.2rem; margin-bottom: 1rem; }
  .board-card__role { font-size: 0.64rem; letter-spacing: 0.08em; }
  .timeline__row { grid-template-columns: 48px 1fr; gap: 1.1rem; }
  .join-card, .analyst-card { padding: 2.2rem 1.7rem; }
  .work-card { padding: 2.1rem 1.7rem; }
  .res-link__type { width: 64px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; gap: 2.4rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stats__cell { border-left: none; border-top: 1px solid var(--line-dark); }
  .stats__cell:first-child { border-top: none; }
  .hero h1 { font-size: 2.45rem; }
}
