:root {
  --navy: #071b33;
  --navy-2: #0c2745;
  --blue: #2f6fb0;
  --blue-light: #4f8fd6;
  --black: #0a0c10;
  --sand: #e8c580;
  --sand-light: #f4dfa8;
  --white: #f5f7fa;
  --grey: #9aa7b8;
  --grey-dark: #1a2333;

  --font-head: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --transition: 0.25s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { color: var(--grey); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sand);
  font-weight: 700;
  margin-bottom: 0.8em;
}

.section {
  padding: 5.5rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.section--tight { padding-top: 3rem; padding-bottom: 3rem; }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, var(--sand), var(--sand-light));
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(232, 197, 128, 0.25);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(245, 247, 250, 0.3);
  color: var(--white);
}

.btn--ghost:hover { border-color: var(--sand); color: var(--sand); }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.8rem;
  background: rgba(7, 27, 51, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(245, 247, 250, 0.08);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.nav__logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  filter:
    drop-shadow(1px 0 0 rgba(245, 247, 250, 0.85))
    drop-shadow(-1px 0 0 rgba(245, 247, 250, 0.85))
    drop-shadow(0 1px 0 rgba(245, 247, 250, 0.85))
    drop-shadow(0 -1px 0 rgba(245, 247, 250, 0.85));
}

.nav__links {
  display: flex;
  gap: 1.9rem;
  align-items: center;
}

select option {
  color: var(--navy);
  background: var(--white);
}

.nav__links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--grey);
  padding: 0.3em 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--white);
  border-color: var(--sand);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
}

@media (max-width: 820px) {
  .nav__links {
    position: fixed;
    top: 66px; right: 0;
    background: var(--navy-2);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 240px;
    border-radius: 0 0 0 14px;
    border: 1px solid rgba(245, 247, 250, 0.08);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow: hidden;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { width: 100%; padding: 1rem 1.3rem; border-bottom: 1px solid rgba(245, 247, 250, 0.06); }
  .nav__toggle { display: flex; }
}

.hero-reveal {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.8rem 4rem;
  overflow: hidden;
  background: var(--black);
}

.hero-reveal__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 30% 20%, rgba(47, 111, 176, 0.4), transparent 60%),
    radial-gradient(ellipse 60% 50% at 75% 75%, rgba(232, 197, 128, 0.2), transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(7, 27, 51, 0.9), transparent 70%),
    linear-gradient(180deg, #0a0f18 0%, var(--black) 55%, #050608 100%);
  background-size: 200% 200%, 200% 200%, 100% 100%, 100% 100%;
  animation: heroBgDrift 26s ease-in-out infinite alternate;
}

.hero-reveal__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(245,247,250,0.025) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(25deg, rgba(245,247,250,0.02) 0 1px, transparent 1px 120px);
  mix-blend-mode: overlay;
}

.hero-reveal__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 90% 75% at 50% 45%, transparent 45%, rgba(5, 6, 8, 0.75) 100%);
  pointer-events: none;
}

@keyframes heroBgDrift {
  0%   { background-position: 20% 10%, 80% 90%, 50% 100%, 0 0; }
  100% { background-position: 40% 30%, 60% 70%, 50% 100%, 0 0; }
}

.hero-reveal__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-reveal__word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(3.6rem, 13vw, 9.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0.1em 0 0.3em;
  background: linear-gradient(180deg, var(--white) 0%, #d7dde6 55%, #9aa7b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-reveal__rule {
  width: 84px;
  height: 3px;
  margin: 0 auto 1.4rem;
  background: linear-gradient(90deg, var(--blue), var(--sand));
  border-radius: 999px;
}

.hero-reveal__tagline {
  font-size: 1.08rem;
  max-width: 46ch;
  margin: 0 auto;
}

.hero-reveal__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

.hero-reveal__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-reveal__scroll::after {
  content: "";
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, var(--grey), transparent);
  animation: heroScrollPulse 2.2s ease-in-out infinite;
}

@keyframes heroScrollPulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 1; }
}

@media (max-width: 600px) {
  .hero-reveal__scroll { display: none; }
}

.placeholder-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.3em 0.7em;
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.55);
  border: 1px dashed rgba(232, 197, 128, 0.5);
  color: var(--sand);
}

.placeholder-icon {
  width: 46%;
  max-width: 220px;
  height: auto;
  opacity: 0.4;
}

.grid {
  display: grid;
  gap: 1.6rem;
}

.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
}

.card {
  background: linear-gradient(180deg, rgba(245,247,250,0.045), rgba(245,247,250,0.015));
  border: 1px solid rgba(245, 247, 250, 0.08);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform var(--transition), border-color var(--transition);
}

.card:hover { transform: translateY(-4px); border-color: rgba(232, 197, 128, 0.35); }

.card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  color: var(--sand);
}

.ph-media {
  border-radius: var(--radius);
  border: 1px dashed rgba(245, 247, 250, 0.22);
  background: repeating-linear-gradient(135deg, rgba(245,247,250,0.035) 0 2px, transparent 2px 16px), var(--grey-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  min-height: 160px;
}

.ph-media--avatar {
  aspect-ratio: 1;
  border-radius: 50%;
  min-height: 0;
  width: 100%;
}

.member-card { text-align: center; }
.member-card__name { margin: 1rem 0 0.15rem; }
.member-card__role { color: var(--sand); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 0.6rem; }

.footer {
  border-top: 1px solid rgba(245, 247, 250, 0.08);
  padding: 3rem 1.8rem 2rem;
  margin-top: 4rem;
  background: var(--navy);
}

.footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer__col h4 { color: var(--sand); font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; }
.footer__col a, .footer__col p { display: block; font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--grey); }
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  max-width: 1180px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 247, 250, 0.08);
  font-size: 0.8rem;
  color: var(--grey);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 1.5rem;
  background: rgba(5, 6, 8, 0.9);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox__caption {
  color: var(--grey);
  font-size: 0.85rem;
  margin: 0;
}

.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(245, 247, 250, 0.2);
  background: rgba(245, 247, 250, 0.08);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox__close:hover { background: rgba(245, 247, 250, 0.18); }

.text-center { text-align: center; }
.mt-lg { margin-top: 3rem; }
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--sand));
  border-radius: 999px;
  margin: 0 auto 1.4rem;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  padding: 0.3em 0.8em;
  border-radius: 999px;
  border: 1px solid rgba(245,247,250,0.15);
  color: var(--grey);
  margin: 0.2em 0.3em 0.2em 0;
}

.two-tide {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2.5rem;
}
.two-tide__side { text-align: center; }
.two-tide__side h3 { color: var(--sand); }
.two-tide__mid {
  width: 2px;
  align-self: stretch;
  background: linear-gradient(180deg, var(--blue), var(--sand), var(--blue));
  opacity: 0.5;
}
@media (max-width: 780px) {
  .two-tide { grid-template-columns: 1fr; }
  .two-tide__mid { width: 100%; height: 2px; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--sand); color: var(--navy); padding: 0.6em 1em; z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }
