:root {
  --navy-950: #0a1638;
  --navy-900: #0e1f4d;
  --navy-800: #152a63;
  --navy-700: #1c3a7a;
  --gold: #c9a227;
  --gold-bright: #e0b93a;
  --gold-soft: rgba(201, 162, 39, 0.18);
  --paper: #eef1f6;
  --paper-deep: #e4e8f0;
  --ink: #12182a;
  --muted: #4d5568;
  --white: #ffffff;
  --line: rgba(10, 22, 56, 0.12);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ol,
dl,
dt,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0;
  color: var(--white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: 8% center;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
}

.brand-copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}

.main-nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.main-nav a:hover {
  color: var(--white);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.header-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* —— Hero —— */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100svh;
  min-height: 100vh;
  color: var(--white);
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s var(--ease);
  filter: brightness(0.72) saturate(0.92) contrast(1.05);
}

.hero-slide.is-active {
  opacity: 1;
  animation: kenBurns 14s ease-out forwards;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 36, 0.42) 0%, rgba(8, 14, 36, 0.18) 35%, rgba(8, 14, 36, 0.55) 62%, rgba(8, 14, 36, 0.88) 100%),
    linear-gradient(90deg, rgba(8, 14, 36, 0.55) 0%, rgba(8, 14, 36, 0.15) 55%, transparent 100%),
    radial-gradient(ellipse 70% 45% at 75% 25%, rgba(201, 162, 39, 0.1), transparent 55%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 140px 0 96px;
  max-width: 720px;
  margin-left: max(24px, calc((100% - 1180px) / 2 + 24px));
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.eyebrow.accent {
  color: var(--navy-700);
}

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

.brand-mark {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-mark-name {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 600;
  line-height: 0.95;
  text-wrap: balance;
}

.brand-mark-council {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.hero-lede {
  margin-top: 28px;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
}

.hero-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 28px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.button.gold {
  color: var(--navy-950);
  background: var(--gold);
}

.button.gold:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
}

.button.ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 44px;
  margin-left: -14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
}

.scroll-cue span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  animation: scrollPulse 1.8s var(--ease) infinite;
}

.reveal {
  animation: riseIn 0.9s var(--ease) both;
}

.reveal:nth-child(1) { animation-delay: 0.1s; }
.reveal:nth-child(2) { animation-delay: 0.25s; }
.reveal:nth-child(3) { animation-delay: 0.4s; }
.reveal:nth-child(4) { animation-delay: 0.55s; }

/* —— Benefits —— */
.benefits {
  position: relative;
  padding: 100px 0 88px;
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
}

.benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(10, 22, 56, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 90%);
  pointer-events: none;
}

.section-intro {
  position: relative;
  width: min(720px, calc(100% - 48px));
  margin: 0 auto 56px;
  text-align: center;
}

.section-intro.narrow {
  margin-bottom: 64px;
}

.section-intro h2,
.impact-copy h2,
.local-story h2,
.join h2 {
  margin-top: 14px;
  color: var(--navy-950);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}

.section-lede {
  margin: 18px auto 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.benefit-list {
  position: relative;
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.benefit-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.benefit-row.in-view {
  opacity: 1;
  transform: none;
}

.benefit-row:nth-child(2) { transition-delay: 0.05s; }
.benefit-row:nth-child(3) { transition-delay: 0.1s; }
.benefit-row:nth-child(4) { transition-delay: 0.15s; }
.benefit-row:nth-child(5) { transition-delay: 0.2s; }
.benefit-row:nth-child(6) { transition-delay: 0.25s; }

.benefit-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.2;
}

.benefit-row h3 {
  color: var(--navy-950);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
}

.benefit-row p {
  margin-top: 8px;
  color: var(--muted);
  max-width: 40rem;
}

/* —— Impact —— */
.impact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
  width: 100%;
  padding: 96px max(24px, calc((100% - 1180px) / 2 + 24px));
  color: var(--white);
  background:
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 100%);
}

.impact-copy .eyebrow {
  color: var(--gold);
}

.impact-copy h2 {
  color: var(--white);
}

.impact-copy p {
  margin-top: 18px;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.75);
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
}

.metrics > div {
  padding: 28px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.metrics > div:nth-child(odd) {
  border-left: none;
  padding-left: 0;
}

.metrics > div:nth-child(1),
.metrics > div:nth-child(2) {
  border-top: none;
  padding-top: 0;
}

.metrics > div.in-view {
  opacity: 1;
  transform: none;
}

.metrics > div:nth-child(2).in-view { transition-delay: 0.08s; }
.metrics > div:nth-child(3).in-view { transition-delay: 0.14s; }
.metrics > div:nth-child(4).in-view { transition-delay: 0.2s; }

.metrics dt {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1.1;
}

.metrics dd {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

/* —— Programs —— */
.programs {
  padding: 40px 0 72px;
  background: var(--white);
}

.program-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 40px;
  min-height: 340px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.program-band.in-view {
  opacity: 1;
  transform: none;
}

.program-band.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.program-band.reverse .program-media {
  order: 2;
}

.program-band.reverse .program-copy {
  order: 1;
}

.program-media {
  overflow: hidden;
  background: var(--navy-900);
}

.program-media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
  filter: saturate(0.92) contrast(1.04);
}

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

.program-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 56px);
  background: var(--navy-950);
  color: var(--white);
}

.program-copy h3 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--white);
}

.program-copy p {
  margin-top: 14px;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

/* —— Leadership —— */
.leadership {
  padding: 96px 0 100px;
  background: var(--paper);
}

.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}

.leadership-col {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.leadership-col.in-view {
  opacity: 1;
  transform: none;
}

.leadership-col:nth-child(2).in-view {
  transition-delay: 0.1s;
}

.leadership-col h3 {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--navy-950);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
}

.roster {
  margin: 0;
}

.roster > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.95fr) 1.2fr;
  gap: 12px 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.roster dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.roster dd {
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
}

.roster .assist {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
}

/* —— Local story —— */
.local-story {
  position: relative;
  padding: 100px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 48%, #1a346e 100%);
  overflow: hidden;
}

.local-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(201, 162, 39, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(255, 255, 255, 0.05), transparent 50%);
  pointer-events: none;
}

.local-story-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.local-story-copy h2 {
  color: var(--white);
}

.local-story-copy p:not(.eyebrow) {
  margin-top: 20px;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--gold-bright);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: gap 0.25s var(--ease);
}

.text-link:hover {
  gap: 14px;
}

.details {
  padding: 8px 0;
}

.detail {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.detail:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.detail.in-view {
  opacity: 1;
  transform: none;
}

.detail:nth-child(2).in-view { transition-delay: 0.08s; }
.detail:nth-child(3).in-view { transition-delay: 0.14s; }
.detail:nth-child(4).in-view { transition-delay: 0.2s; }

.detail span {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.detail strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
}

.detail a {
  border-bottom: 1px solid rgba(201, 162, 39, 0.4);
  transition: border-color 0.2s;
}

.detail a:hover {
  border-color: var(--gold);
}

/* —— Join —— */
.join {
  padding: 108px 24px;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.join h2 {
  color: var(--white);
}

.join > p:not(.eyebrow) {
  margin: 16px auto 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.78);
}

.join-actions {
  justify-content: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px max(24px, calc((100% - 1180px) / 2 + 24px)) 28px;
  color: rgba(255, 255, 255, 0.65);
  background: #070f28;
  font-size: 0.88rem;
}

@keyframes kenBurns {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.14);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

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

  .hero-slide,
  .hero-slide.is-active,
  .reveal,
  .scroll-cue span {
    animation: none;
  }

  .hero-slide.is-active {
    opacity: 1;
    transform: none;
  }

  .benefit-row,
  .program-band,
  .metrics > div,
  .detail {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .program-band:hover .program-media img {
    transform: none;
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .impact,
  .local-story-inner,
  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .program-band,
  .program-band.reverse {
    grid-template-columns: 1fr;
  }

  .program-band.reverse .program-media,
  .program-band.reverse .program-copy {
    order: unset;
  }

  .program-media img {
    min-height: 260px;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: calc(100% - 32px);
    padding: 16px 0;
  }

  .brand-copy strong {
    font-size: 1.1rem;
  }

  .brand-copy small {
    font-size: 0.62rem;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding: 120px 0 88px;
  }

  .section-intro,
  .benefit-list,
  .impact,
  .program-band,
  .local-story-inner,
  .leadership-grid {
    width: calc(100% - 32px);
  }

  .benefit-row {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 22px 0;
  }

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

  .metrics > div,
  .metrics > div:nth-child(odd) {
    border-left: none;
    padding-left: 0;
    padding-right: 0;
  }

  .metrics > div:nth-child(1) {
    border-top: none;
  }

  .metrics > div:nth-child(2) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 28px;
  }

  .roster > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero-actions,
  .join-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px 28px;
  }

  .scroll-cue {
    display: none;
  }
}
