:root {
  --bg: #d6d7da;
  --ink: #101014;
  --ink-dim: #5d606a;
  --line-soft: rgba(16, 16, 20, 0.07);
  --accent: #2bbf98;
  --radius-card: 22px;
  --maxw: 1180px;
  --nav-clear: 5.5rem;
  /* Nav vars from navbar(4) */
  --header-height: 2.9rem;
  --first-color: hsl(236, 100%, 56%);
  --white-color: #fff;
  --nav-bg: rgba(10, 10, 14, .78);
  --nav-bg-solid: #0b0b10;
  --line: rgba(255, 255, 255, .09);
  --text-dim: rgba(255, 255, 255, .62);
  --hover-bg: rgba(255, 255, 255, .1);
  --body-font: 'Lato', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
}

body {
  font-family: var(--body-font);
  font-size: .9rem;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

::selection {
  background: var(--accent);
  color: #04130e;
}

h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.015em;
}

/*=============== DEPTH BACKGROUND ===============*/
.depth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(165deg, #ffffff 0%, #eceef4 35%, #dde1ff 72%, #ffffff 100%);
}

.depth-layer {
  position: absolute;
  inset: -12%;
  will-change: transform;
}

.depth-layer--far {
  background:
    radial-gradient(ellipse 55% 40% at 18% 12%, rgba(196, 199, 209, .42), transparent 65%),
    radial-gradient(ellipse 50% 42% at 6% 80%, rgba(221, 225, 255, .30), transparent 62%);
  filter: blur(70px);
  opacity: .8;
}

.depth-layer--mid {
  background:
    radial-gradient(ellipse 42% 36% at 88% 6%, rgba(221, 225, 255, .48), transparent 62%),
    radial-gradient(ellipse 40% 32% at 92% 68%, rgba(206, 209, 219, .30), transparent 60%);
  filter: blur(42px);
  opacity: .85;
}

.depth-layer--near {
  background:
    radial-gradient(ellipse 32% 26% at 76% 46%, rgba(255, 255, 255, .55), transparent 62%),
    radial-gradient(ellipse 26% 22% at 30% 88%, rgba(221, 225, 255, .40), transparent 60%);
  filter: blur(20px);
  opacity: .9;
}

@media (prefers-reduced-motion: reduce) {
  .depth-layer {
    transition: none;
  }
}

button {
  font: inherit;
  outline: none;
  border: none;
  cursor: pointer;
  background: none;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--first-color);
  outline-offset: 2px;
}

/*=============== HEADER ROW ===============*/
.header {
  position: fixed;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: top .5s var(--ease);
}

.header.is-scrolled {
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 20, 0.6);
  -webkit-backdrop-filter: blur(32px) saturate(220%) contrast(110%);
  backdrop-filter: blur(32px) saturate(220%) contrast(110%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-radius: 0;
  padding: 0 1rem;
}

/*=============== LOGO ===============*/
.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

.nav__logo i {
  font-size: 2rem;
  color: var(--first-color);
  transition: transform .7s var(--ease);
}

.nav__logo:hover i {
  transform: rotate(-360deg) scale(1.08);
}

/*=============== NAV PILL ===============*/
.nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: var(--header-height);
  padding: .3rem;
  display: flex;
  align-items: center;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 8px 30px hsla(0, 0%, 0%, .18);
  transition: background .4s, box-shadow .4s;
}

.is-scrolled .nav {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
}

/*=============== LINKS ===============*/
.nav__list {
  position: relative;
  display: flex;
  align-items: center;
  gap: .1rem;
}

.nav__link {
  position: relative;
  z-index: 1;
  display: block;
  padding: .55rem .95rem;
  border-radius: .55rem;
  color: var(--text-dim);
  font-weight: 500;
  font-size: .82rem;
  white-space: nowrap;
  letter-spacing: .005em;
  transition: color .3s;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--white-color);
}

.nav__indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: .55rem;
  background: var(--hover-bg);
  opacity: 0;
  pointer-events: none;
  transition: transform .45s var(--ease), width .45s var(--ease),
    height .45s var(--ease), opacity .3s;
}

/*=============== RIGHT GROUP ===============*/
.nav__right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .4rem;
  z-index: 2;
}

.nav__email {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: .65rem 1.1rem;
  background: var(--white-color);
  color: #0a0a0e;
  border-radius: .7rem;
  font-weight: 600;
  font-size: .78rem;
  box-shadow: 0 8px 24px hsla(0, 0%, 0%, .14);
  transition: transform .3s var(--ease);
}

.nav__email:active {
  transform: scale(.96);
}

.nav__email span {
  transition: transform .35s var(--ease);
}

.nav__email span:nth-child(2) {
  position: absolute;
  transform: translateY(160%);
}

.nav__email:hover span:nth-child(1) {
  transform: translateY(-160%);
}

.nav__email:hover span:nth-child(2) {
  transform: translateY(0);
}

/*=============== MOBILE TOGGLE ===============*/
.nav__toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  flex-shrink: 0;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid var(--line);
  color: var(--white-color);
  font-size: 1.2rem;
  border-radius: .8rem;
  box-shadow: 0 8px 30px hsla(0, 0%, 0%, .18);
  transition: background .3s;
}

.nav__burger,
.nav__close {
  position: absolute;
  transition: opacity .3s, transform .5s var(--ease);
}

.nav__close {
  opacity: 0;
  transform: rotate(90deg) scale(.6);
}

.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(-90deg) scale(.6);
}

.show-icon .nav__close {
  opacity: 1;
  transform: none;
}

@media screen and (max-width: 720px) {
  .nav__logo {
    width: auto;
    height: auto;
  }

  .nav__logo i {
    font-size: 1.7rem;
  }

  .nav__email {
    padding: .55rem .85rem;
    font-size: .74rem;
  }

  .nav__toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: calc(100% + .6rem);
    left: auto;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    width: max(13rem, 55vw);
    max-width: calc(100vw - 2rem);
    padding: .5rem;
    background: var(--nav-bg-solid);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-radius: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.97);
    transform-origin: top right;
    transition: transform .5s var(--ease), opacity .3s, visibility 0s .5s;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: .1rem;
    width: 100%;
  }

  .nav__indicator {
    display: none;
  }

  .nav__list li {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .3s, transform .5s var(--ease);
  }

  .nav__link {
    padding: .85rem 1rem;
    border-radius: .8rem;
    font-size: 1rem;
  }

  .nav__link:hover,
  .nav__link[aria-current="page"] {
    background: var(--hover-bg);
  }

  .show-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: transform .5s var(--ease), opacity .3s, visibility 0s;
  }

  .show-menu .nav__list li {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--i) * 45ms + 90ms);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}

.dl-btn {
  font-family: inherit;
  font-size: .813rem;
  font-weight: 600;
  color: #04130e;
  background: var(--accent);
  border-radius: 4rem;
  padding: .6rem .95rem;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.dl-btn:hover {
  transform: translateY(-1px);
  background: #4fd3b0;
}

.dl-btn[data-state="working"] {
  opacity: 0.7;
  cursor: progress;
}

/* ---------- HERO (fits one screen) ---------- */
.hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-clear);
}

.hero-head {
  position: relative;
  z-index: 5;
  top: 3.5rem;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.hero h1 {
  font-size: clamp(1.7rem, min(4.2vw, 6.2svh), 3.2rem);
  line-height: 1.12;
}

.hero-sub {
  margin: 12px auto 0;
  color: var(--ink-dim);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 440px;
}

@media (max-height: 640px) {
  .hero-sub {
    display: none;
  }
}


/* ---------- COVER FLOW RINGS ---------- */
.flow {
  --cw: clamp(140px, min(32svh, 40vw), 320px);
  /* main card width  */
  --ch: calc(var(--cw) * 1.36);
  /* main card height */
  --r: calc(var(--cw) * 2.9);
  /* main ring radius */
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-height: calc(var(--ch) * 1.2);
  margin-top: 6px;
  perspective: calc(var(--cw) * 5.6);
  perspective-origin: 50% 50%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.flow.dragging {
  cursor: grabbing;
}

.scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.ring {
  --cwr: var(--cw);
  --chr: calc(var(--cwr) * 1.36);
  --stepr: 24deg;
  --rr: var(--r);
  --zoff: 0px;
  --y: 0px;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  --T: 36s;
  /* one full lap of the ring */
  --n: 15;
  /* cards on the ring */
  transform: translateZ(calc(var(--rr) * -1));
  animation: ring-spin var(--T) linear infinite;
  /* the marquee: seamless because 360deg = start */
  will-change: transform;
}

@keyframes ring-spin {
  from {
    transform: translateZ(calc(var(--rr) * -1)) rotateY(0deg);
  }

  to {
    transform: translateZ(calc(var(--rr) * -1)) rotateY(-360deg);
  }
}

.card {
  position: absolute;
  width: var(--cwr);
  height: var(--chr);
  left: calc(var(--cwr) * -0.5);
  top: calc(var(--chr) * -0.5);
  border-radius: var(--radius-card);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateY(calc(var(--i) * var(--stepr))) translateZ(var(--rr));
  box-shadow: 0 34px 50px -28px rgba(20, 22, 40, 0.5), 0 2px 6px rgba(20, 22, 40, 0.12);
}

/* distance fog, driven by the same clock as the ring; each card is offset by its slot */
.shade {
  position: absolute;
  inset: 0;
  background: #d6d7da;
  opacity: 0.9;
  z-index: 4;
  pointer-events: none;
  animation: fog var(--T) linear infinite;
  animation-delay: calc(var(--T) * (var(--i) / var(--n) - 1));
}

@keyframes fog {
  0% {
    opacity: 0;
  }

  5% {
    opacity: .15;
  }

  10% {
    opacity: .33;
  }

  23.6% {
    opacity: .9;
  }

  76.4% {
    opacity: .9;
  }

  90% {
    opacity: .33;
  }

  95% {
    opacity: .15;
  }

  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ring {
    --T: 108s;
  }
}

.card-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
}

.blob {
  position: absolute;
  width: 150%;
  height: 150%;
  filter: blur(38px);
  mix-blend-mode: screen;
  opacity: 0.9;
}

.blob.b1 {
  top: -25%;
  left: -25%;
  transform: rotate(12deg);
}

.blob.b2 {
  top: 10%;
  left: -10%;
  transform: translate(-6%, 4%) rotate(-10deg);
}

.blob.b3 {
  top: -10%;
  left: 5%;
  transform: translate(4%, -6%) scale(1.1);
}

.card-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.card-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.78) 100%);
  z-index: 2;
}

.art-ember {
  background: #170a06;
}

.art-ember .b1 {
  background: radial-gradient(circle, #ff8a3d, transparent 68%);
}

.art-ember .b2 {
  background: radial-gradient(circle, #e4572e, transparent 68%);
}

.art-ember .b3 {
  background: radial-gradient(circle, #7a1e1e, transparent 70%);
}

.art-inferno {
  background: #140505;
}

.art-inferno .b1 {
  background: radial-gradient(circle, #ff4d4d, transparent 68%);
}

.art-inferno .b2 {
  background: radial-gradient(circle, #d62839, transparent 68%);
}

.art-inferno .b3 {
  background: radial-gradient(circle, #4c0e0e, transparent 70%);
}

.art-terra {
  background: #0e0c07;
}

.art-terra .b1 {
  background: radial-gradient(circle, #f2efe6, transparent 66%);
  opacity: 0.55;
}

.art-terra .b2 {
  background: radial-gradient(circle, #e9b44c, transparent 68%);
}

.art-terra .b3 {
  background: radial-gradient(circle, #8c6e3b, transparent 72%);
}

.art-abyss {
  background: #050e11;
}

.art-abyss .b1 {
  background: radial-gradient(circle, #2fbcd1, transparent 68%);
}

.art-abyss .b2 {
  background: radial-gradient(circle, #e8871e, transparent 68%);
}

.art-abyss .b3 {
  background: radial-gradient(circle, #0b2e4f, transparent 72%);
}

.art-bloom {
  background: #120610;
}

.art-bloom .b1 {
  background: radial-gradient(circle, #ff6392, transparent 68%);
}

.art-bloom .b2 {
  background: radial-gradient(circle, #c9184a, transparent 68%);
}

.art-bloom .b3 {
  background: radial-gradient(circle, #7209b7, transparent 72%);
}

.card-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 3;
  font-family: 'Fraunces', serif;
  font-weight: 440;
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  line-height: 1.22;
  color: #fbf9f4;
  text-align: center;
}

/* ---------- ALUMNI BANNER ---------- */
.alumni-banner {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  margin-top: .75rem;
}

.alumni-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.alumni-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.alumni-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 15, 45, 0.95) 0%, rgba(0, 15, 45, 0.7) 50%, rgba(0, 15, 45, 0) 100%);
}

.alumni-banner__content {
  position: relative;
  z-index: 2;
  padding: 2rem 2rem 1.5rem 2rem;
  width: 100%;
}

.alumni-banner__content h2 {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 340;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: #ffffff;
  max-width: 650px;
  line-height: 1.35;
  margin: 0;
}

/* ---------- MARQUEE ---------- */
.marquee {
  position: relative;
  z-index: 2;
  background: #061226;
  /* Dark navy */
  color: #ffffff;
  padding: 1.2rem 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
  display: flex;
  flex-wrap: nowrap;
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 4rem;
  padding-right: 4rem;
  animation: marquee-scroll 25s linear infinite;
}

.marquee-content span {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #101014;
  line-height: 1.1;
}

/* Grid layout */
.bento__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}

/* Base tile */
.btile {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #f4f5f7;
  border: 1px solid rgba(0, 0, 0, .07);
}

.btile__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.btile__glow {
  display: none;
}

/* Grid placements */
.btile--feature {
  grid-column: span 7;
  min-height: 380px;
}

.btile--mission {
  grid-column: span 5;
  min-height: 380px;
}

.btile--vision {
  grid-column: span 4;
  min-height: 280px;
}

.btile--values {
  grid-column: span 4;
  min-height: 280px;
}

.btile--est {
  grid-column: span 4;
  min-height: 280px;
}

/* Feature tile */
.btile--feature {
  background: #f0faf6;
  border-color: rgba(43, 191, 152, .2);
}

.btile--feature .btile__accent {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 191, 152, .12), transparent 70%);
  pointer-events: none;
}

.btile__label {
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .35);
  margin-bottom: auto;
}

.btile__heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 340;
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  color: #101014;
  line-height: 1.18;
  margin: 1.5rem 0 1.2rem;
  letter-spacing: -.015em;
}

.btile__body {
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  font-weight: 400;
  color: rgba(0, 0, 0, .55);
  line-height: 1.7;
}

.btile__tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  padding: .55rem 1rem;
  background: rgba(43, 191, 152, .12);
  border: 1px solid rgba(43, 191, 152, .3);
  border-radius: 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 500;
  color: #1a8a6e;
  letter-spacing: .04em;
  width: fit-content;
}

.btile__tag svg {
  width: 12px;
  height: 12px;
}

/* Mission tile */
.btile--mission {
  background: #f2f2fb;
  border-color: rgba(100, 80, 220, .15);
}

.btile--mission .btile__accent {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 80, 220, .08), transparent 70%);
  pointer-events: none;
}

.btile--mission .btile__heading {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

/* Vision tile */
.btile--vision {
  background: #f6f4fb;
  border-color: rgba(120, 80, 200, .12);
}

/* Values tile */
.btile--values {
  background: #f2faf6;
  border-color: rgba(43, 191, 152, .15);
}

.btile__values-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.2rem;
}

.btile__val {
  padding: .4rem .85rem;
  border-radius: 2rem;
  background: rgba(43, 191, 152, .1);
  border: 1px solid rgba(43, 191, 152, .2);
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  color: #1a6e50;
  letter-spacing: .04em;
}

/* Est tile */
.btile--est {
  background: #fdf5f5;
  border-color: rgba(180, 80, 80, .12);
  text-align: center;
}

.btile--est .btile__inner {
  align-items: center;
  justify-content: center;
}

.btile__year {
  font-family: 'Montserrat', sans-serif;
  font-weight: 560;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  color: rgba(0, 0, 0, .05);
  line-height: 1;
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  letter-spacing: -.04em;
  pointer-events: none;
  user-select: none;
}

.btile__est-badge {
  font-family: 'Montserrat', sans-serif;
  font-weight: 340;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: #101014;
  line-height: 1.3;
}

.btile__est-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  color: rgba(0, 0, 0, .38);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: .6rem;
}

.btile__est-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  color: rgba(180, 60, 60, .8);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
}

.btile__est-link svg {
  width: 12px;
  height: 12px;
}

/* Mobile: stack */
@media (max-width: 860px) {

  .btile--feature,
  .btile--mission,
  .btile--vision,
  .btile--values,
  .btile--est {
    grid-column: span 12;
  }

  .btile--feature {
    min-height: 320px;
  }

  .btile--mission,
  .btile--vision,
  .btile--values,
  .btile--est {
    min-height: 220px;
  }
}

/* ============================================= */

:root {
  --navy: #0A1A33;
  --gold: #C9A33A;
  --surgical: #1F4E79;
  --mint: #A8E6CF;
  --white: #FFFFFF;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--navy);
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  background: var(--white);
  color: var(--navy);
  font-family: 'Lato', sans-serif;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.font-heading {
  font-family: 'Montserrat', sans-serif;
}

.font-accent {
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

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

@media (prefers-reduced-motion: reduce) {

  /* removed animation none */
  .loader-screen {
    display: none !important;
  }
}

.will-move {
  will-change: transform, opacity;
}

/* ---- film grain depth layer ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.028;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ======== LOADING SCREEN ======== */
.loader-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity .6s ease, visibility .6s ease;
}

.loader-screen.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  animation: loaderPulse 1.2s ease-in-out infinite alternate;
}

.loader-bar {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, .1);
  border-radius: 4px;
  margin-top: 24px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 4px;
  width: 0%;
  transition: width .4s ease;
}

@keyframes loaderPulse {
  0% {
    transform: scale(1);
    opacity: .7
  }

  100% {
    transform: scale(1.08);
    opacity: 1
  }
}


/* ======== SCROLL PROGRESS BAR ======== */
.nav-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--mint));
  width: 0%;
  transition: width .05s linear;
  z-index: 10;
}

/* ---- nav ---- */
.nav-blur {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
}

/* ---- section dividers ---- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.divider::before,
.divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: .25;
}

.divider .mark {
  width: 7px;
  height: 7px;
  border: 1.4px solid currentColor;
  transform: rotate(45deg);
  opacity: .55;
  flex-shrink: 0;
}

/* ---- hero scatter cards ---- */
.scatter-wrap {
  perspective: 1400px;
}

.scatter-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 76%;
  height: 76%;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(10, 26, 51, 0.35), 0 8px 16px -8px rgba(10, 26, 51, 0.25);
  border: 3px solid var(--white);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: box-shadow .4s ease;
}

.scatter-card:hover {
  box-shadow: 0 30px 60px -15px rgba(201, 163, 58, 0.4), 0 12px 24px -8px rgba(10, 26, 51, 0.3);
}

.scatter-card::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: rgba(10, 26, 51, .3);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .3s ease;
}

.scatter-card:hover::after {
  opacity: 1;
}

/* ---- mobile hero full-width image strip ---- */
.scatter-wrap-mobile {
  position: relative;
}

.scatter-card-mobile {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.scatter-card-mobile.mc-active {
  opacity: 1;
}

/* Add top padding equal to nav height on mobile hero */
#scatterWrapMobile {
  margin-top: 72px;
}

/* ---- buttons ---- */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 10px 20px -8px rgba(201, 163, 58, .45);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
  transition: left .6s ease;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 16px 32px -10px rgba(201, 163, 58, .6);
}

.btn-gold:active {
  transform: translateY(-1px) scale(.98);
}

.btn-outline-navy {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  transition: all .3s ease;
  cursor: pointer;
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--gold);
}

.btn-outline-navy:active {
  transform: scale(.98);
}

.link-underline {
  position: relative;
}

.link-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width .3s ease;
}

.link-underline:hover::after {
  width: 100%;
}

/* ---- soft layered card shadow ---- */
.card-soft {
  box-shadow: 0 1px 2px rgba(10, 26, 51, .06), 0 12px 30px -14px rgba(10, 26, 51, .18);
}

/* ---- bento ---- */
.bento-card {
  border-radius: 1.5rem;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease, border-color .4s ease;
  border: 1px solid rgba(10, 26, 51, 0.08);
  cursor: pointer;
}

.bento-card:hover,
.bento-card:active {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px -18px rgba(10, 26, 51, 0.3);
  border-color: rgba(168, 230, 207, 0.6);
}

/* ---- 3D tilt cards ---- */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform .15s ease-out;
}

/* ---- icon chip ---- */
.icon-chip {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- programs bento grid ---- */
.programs-bg {
  background: radial-gradient(circle at 20% 15%, rgba(168, 230, 207, .14), transparent 55%), radial-gradient(circle at 85% 85%, rgba(201, 163, 58, .12), transparent 55%), linear-gradient(155deg, var(--surgical) 0%, var(--navy) 100%);
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media(min-width:640px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width:1024px) {
  .programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.program-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 1.25rem;
  overflow: hidden;
  backdrop-filter: blur(6px);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease, border-color .4s ease;
  cursor: pointer;
}

.program-card:hover,
.program-card:active {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45);
  border-color: rgba(168, 230, 207, .4);
}

/* ---- ticker ---- */
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker-wrap:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---- project cards active state ---- */
.project-card {
  transition: border-color .45s ease, background-color .45s ease, transform .45s ease;
  cursor: pointer;
}

.project-card.is-active {
  border-color: var(--gold);
  background-color: rgba(201, 163, 58, 0.06);
  transform: translateX(6px);
}

/* ---- membership tier ---- */
.tier-card {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  cursor: pointer;
}

.tier-card:hover,
.tier-card:active {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -18px rgba(10, 26, 51, .35);
}

/* ---- featured tier shimmer ---- */
.tier-featured {
  background: linear-gradient(155deg, var(--navy), #142a4d);
  position: relative;
  overflow: hidden;
}

.tier-featured::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(201, 163, 58, .15), transparent, rgba(201, 163, 58, .15), transparent);
  animation: shimmerRotate 6s linear infinite;
}

@keyframes shimmerRotate {
  to {
    transform: rotate(360deg);
  }
}

/* ---- roadmap timeline ---- */
.roadmap-rail {
  position: relative;
}

.roadmap-rail::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--surgical), rgba(31, 78, 121, .15));
}

@media (min-width: 768px) {
  .roadmap-rail::before {
    left: 0;
    right: 0;
    top: 22px;
    bottom: auto;
    height: 2px;
    width: auto;
    background: linear-gradient(90deg, var(--surgical), rgba(31, 78, 121, .15));
  }
}

.roadmap-node {
  position: relative;
}

.roadmap-dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: var(--surgical);
  box-shadow: 0 0 0 4px rgba(31, 78, 121, .16);
  transition: box-shadow .3s ease, transform .3s ease;
}

.roadmap-node:hover .roadmap-dot {
  box-shadow: 0 0 0 8px rgba(31, 78, 121, .25);
  transform: scale(1.2);
}

/* ---- governance doc row ---- */
.doc-row {
  transition: background-color .25s ease, padding-left .25s ease;
  cursor: pointer;
}

.doc-row:hover,
.doc-row:active {
  background-color: rgba(10, 26, 51, .03);
  padding-left: .5rem;
}

/* ---- news list ---- */
.news-row {
  transition: border-color .3s ease, transform .3s ease;
  cursor: pointer;
}

.news-row:hover,
.news-row:active {
  border-color: var(--surgical);
  transform: translateX(4px);
}

/* ---- map ---- */
.map-tooltips {
  position: absolute;
  inset: 0;
}

.map-node {
  cursor: pointer;
}

.map-node .hit-zone {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
}

.map-tooltip {
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  transform: translate(-50%, -8px) scale(.95);
  z-index: 30;
}

.map-node:hover .map-tooltip,
.map-node.is-open .map-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -16px) scale(1);
}

.map-node.align-left .map-tooltip {
  left: auto;
  right: -8px;
  transform: translate(0, -8px) scale(.95);
}

.map-node.align-left:hover .map-tooltip,
.map-node.align-left.is-open .map-tooltip {
  transform: translate(0, -16px) scale(1);
}

.map-node.align-right .map-tooltip {
  left: -8px;
  right: auto;
  transform: translate(0, -8px) scale(.95);
}

.map-node.align-right:hover .map-tooltip,
.map-node.align-right.is-open .map-tooltip {
  transform: translate(0, -16px) scale(1);
}

/* ---- magnetic cta ---- */
.magnetic-zone {
  position: relative;
}

.magnetic-btn {
  transition: transform .15s ease-out, box-shadow .3s ease;
  box-shadow: 0 10px 24px -10px rgba(201, 163, 58, .5);
}

.magnetic-btn:hover {
  box-shadow: 0 16px 34px -10px rgba(201, 163, 58, .65);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.counter-num {
  font-variant-numeric: tabular-nums;
}

/* ---- mobile drawer ---- */
#mobileDrawer {
  z-index: 70;
  overflow: hidden;
}

.drawer-link {
  display: block;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(10, 26, 51, .08);
  font-size: 1rem;
}

.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.word-wrap .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform .6s ease, opacity .6s ease;
}

.word-wrap .word.revealed {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

/* ---- section reveal ---- */
/* Elements start hidden, GSAP animates them in.
     Safety: if GSAP/ScrollTrigger fails the .revealed class fallback shows them */
.section-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.section-reveal.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ---- leader card overlay ---- */
.leader-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.leader-card .leader-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 26, 51, .8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity .35s ease;
}

.leader-card:hover .leader-overlay {
  opacity: 1;
}

.leader-card:hover img {
  transform: scale(1.06);
}

.leader-card img {
  transition: transform .5s ease;
}

/* ---- floating particles ---- */
#heroParticles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ======================================================
     INFINITE DEPTH GALLERY OVERLAY  (carousel_v6 engine)
     ====================================================== */
.gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #f7f6f3;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
  overflow: hidden;
}

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

/* ---- Top bar ---- */
.gl-top-bar {
  height: 48px;
  background: #111;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.gl-title {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.gl-close-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}

.gl-close-btn:hover {
  transform: translateY(-50%) scale(1.1);
  background: rgba(255, 255, 255, .25);
}

/* ---- Tabs (Pill Nav) ---- */
.gl-tabs-wrap {
  display: flex;
  justify-content: center;
  padding: 16px 0;
  flex-shrink: 0;
  z-index: 10;
  position: relative;
  background: transparent;
}

.gl-tabs {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px;
  border-radius: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  max-width: 90vw;
  scrollbar-width: none;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.gl-tabs::-webkit-scrollbar {
  display: none;
}

.gl-tab {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 24px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all .3s ease;
  white-space: nowrap;
  scroll-snap-align: start;
}

.gl-tab:hover {
  color: #fff;
}

.gl-tab.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ---- Stage with two rows ---- */
.gl-stage {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 65% 55% at 50% 50%, rgba(0, 0, 0, 0.06), transparent 65%),
    linear-gradient(180deg, #fbfaf8, #eeede8 100%);
  padding: 16px 0;
}

.gl-fans {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.gl-row {
  position: relative;
  width: 100vw;
  height: clamp(200px, 28vh, 300px);
  perspective: 1500px;
  perspective-origin: 50% 32%;
  touch-action: none;
  cursor: grab;
}

.gl-row.bottom {
  margin-top: clamp(80px, 12vh, 120px);
}

.gl-row.dragging {
  cursor: grabbing;
}

.gl-floor-shadow {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 40%;
  height: 34px;
  margin-left: -20%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .16), transparent 72%);
  filter: blur(4px);
  z-index: 1;
  pointer-events: none;
}

.gl-row-flip .gl-floor-shadow {
  top: 6%;
  bottom: auto;
}

.gl-carousel {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  z-index: 2;
}

/* top row sits inverted */
.gl-row-flip {
  transform: rotate(180deg);
}

.gl-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 262px;
  margin: -131px 0 0 -100px;
  border-radius: 9px;
  overflow: hidden;
  cursor: pointer;
  background: #e9e8e4;
  box-shadow:
    0 0 0 1px rgba(20, 20, 18, .06),
    0 26px 48px -16px rgba(20, 20, 18, .4),
    0 2px 8px rgba(20, 20, 18, .1);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.gl-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.gl-card .gl-glaze {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .22) 100%);
  pointer-events: none;
}


/* ---- Lightbox ---- */
.gl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
}

.gl-lightbox.open {
  display: block;
}

.gl-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, .82);
  backdrop-filter: blur(6px);
  opacity: 0;
}

.gl-lb-img {
  position: fixed;
  object-fit: cover;
  background: #151515;
  box-shadow: 0 50px 90px -20px rgba(0, 0, 0, .6);
  border-radius: 9px;
}

.gl-lb-actions {
  position: fixed;
  top: 20px;
  right: 22px;
  display: flex;
  gap: 10px;
  z-index: 10010;
  opacity: 0;
}

.gl-lb-actions button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(20, 20, 20, .55);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}

.gl-lb-actions button:hover {
  background: rgba(20, 20, 20, .9);
}

.gl-lb-actions svg {
  width: 18px;
  height: 18px;
}

@media(max-width:640px) {
  .gl-row {
    height: clamp(160px, 22vh, 220px);
  }

  .gl-row.bottom {
    margin-top: 60px;
  }

  .gl-card {
    width: 130px;
    height: 170px;
    margin: -85px 0 0 -65px;
  }
}


/* ---- Expand preview overlay (on gallery img click) ---- */
.gallery-expand-overlay {
  position: fixed;
  inset: 0;
  z-index: 10002;
  background: rgba(10, 26, 51, .92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  cursor: zoom-out;
}

.gallery-expand-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-expand-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  object-fit: contain;
}

/* ======== GLOW BORDER EFFECT ======== */

.glow-hover {
  position: relative;
}

.glow-hover::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--gold), var(--mint), var(--gold));
  z-index: -1;
  opacity: 0;
  transition: opacity .4s ease;
  filter: blur(8px);
}

.glow-hover:hover::after {
  opacity: .4;
}

/* ======== NAV ACTIVE LINK ======== */
.nav-link-active {
  color: var(--gold) !important;
}

.nav-link-active::after {
  width: 100% !important;
}

/* ============================================= */

.vflow {
  --cw: 190px;
  --ch: calc(var(--cw) * 1.32);
  --r: calc(var(--cw) * 2.2);
  position: relative;
  width: var(--cw);
  height: 100%;
  min-height: 750px;
  perspective: calc(var(--cw) * 5);
  perspective-origin: 50% 50%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}

.vscene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.vring {
  --T: 26s;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--r) * -1));
  animation: vring-spin var(--T) linear infinite;
  will-change: transform;
}

.vflow[data-dir="reverse"] .vring {
  animation-direction: reverse;
}

@keyframes vring-spin {
  from {
    transform: translateZ(calc(var(--r) * -1)) rotateX(0deg);
  }

  to {
    transform: translateZ(calc(var(--r) * -1)) rotateX(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vring {
    --T: 90s;
  }
}

.vcard {
  position: absolute;
  width: var(--cw);
  height: var(--ch);
  left: calc(var(--cw) * -0.5);
  top: calc(var(--ch) * -0.5);
  border-radius: 22% / 15%;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateX(calc(var(--i) * 45deg)) translateZ(var(--r));
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .55);
}

/* Year calendar (desktop/tablet): toolbar+grid shape of a classic month calendar, dates swapped for years */
.yr-cal {
  background-color: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  width: 316px !important;
  margin: 0 auto;
  border: 1px solid #eee;
}

.yr-cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 15px;
  border-bottom: 1px solid #efefef;
  background: #fff;
}

.yr-cal-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f7fa;
  color: #19181a;
  border: none;
  cursor: pointer;
  transition: all .2s;
  font-size: 14px;
}

.yr-cal-nav:hover {
  background: #f8f7fa;
  color: var(--gold);
  box-shadow: inset 0px 0px 0px 2px var(--gold);
}

.yr-cal-range {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #19181a;
}

.yr-cal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px;
  background: #fff;
}

.yr-cell {
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f8f7fa;
  border: none;
  color: #19181a;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 100%;
  transition: all .2s;
}

.yr-cell:hover {
  background: #f8f7fa;
  color: var(--gold);
  box-shadow: inset 0px 0px 0px 2px var(--gold);
}

.yr-cell.is-current {
  border: 2px solid var(--gold);
  color: var(--gold);
}

.yr-cell.is-selected {
  background-color: var(--gold);
  color: #fff;
  box-shadow: none;
  font-weight: 800;
}

.yr-cal-goto {
  display: flex;
  gap: 10px;
  padding: 15px 20px 20px;
  border-top: 1px solid #efefef;
  justify-content: space-evenly;
  background: #fff;
}

.yr-cal-btn {
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  padding: 12px 18px;
  border-radius: 12px;
  background: #f8f7fa;
  border: none;
  color: #19181a;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yr-cal-btn:hover {
  background: #f8f7fa;
  color: var(--gold);
  box-shadow: inset 0px 0px 0px 2px var(--gold);
}

#yrCalInput {
  background: transparent;
  color: #19181a;
  border: none;
  outline: none;
  width: 60px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .9rem;
}

#yrCalInput::placeholder {
  color: #a5a5a5;
}

/* Year roadmap (mobile): sleek horizontal pill picker */
.yr-pick-btn {
  display: none !important;
}

.yr-roadmap-track {
  position: relative;
  max-height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  scrollbar-width: none;
}

.yr-roadmap-track::-webkit-scrollbar {
  display: none;
}

.yr-roadmap-track::before {
  display: none;
}

.yr-dot {
  position: relative;
  z-index: 1;
  width: auto;
  height: 42px;
  padding: 0 20px;
  border-radius: 100px;
  flex-shrink: 0;
  background: #f8f7fa;
  border: 1px solid #e0e0e0;
  color: #19181a;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.yr-dot.is-selected {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 6px 15px rgba(201, 163, 58, 0.4);
  transform: scale(1.05);
}

.yr-modal {
  display: none !important;
}

@media (max-width: 640px) {
  .vflow {
    --cw: 118px;
    height: 100%;
    min-height: 520px;
  }
}

/* ============================================= */

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0)
  }

  50% {
    transform: scale(1.08) translate(-1%, -1%)
  }

  100% {
    transform: scale(1.03) translate(1%, 0)
  }
}

/* ============ REDESIGN ADD-ONS ============ */

/* ---- Pillars: regular bento with texture ---- */
.pillars-bg {
  position: relative;
  background: radial-gradient(circle at 12% 18%, rgba(168, 230, 207, .14), transparent 55%), radial-gradient(circle at 88% 82%, rgba(201, 163, 58, .12), transparent 55%), linear-gradient(180deg, #ffffff 0%, #f3f6fa 100%);
  overflow: hidden;
}

.pillars-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 26, 51, .06) 1px, transparent 1.4px);
  background-size: 22px 22px;
  pointer-events: none;
}

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  position: relative;
}

.pillar-grid .bento-card {
  min-height: 270px;
}

@media(min-width:640px) {
  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width:1024px) {
  .pillar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-stat-card {
  background: linear-gradient(155deg, var(--navy), #16345e);
  border: 1px solid rgba(255, 255, 255, .08);
}

/* ---- Strategic projects section texture ---- */
.projects-bg {
  background: radial-gradient(circle at 8% 10%, rgba(31, 78, 121, .05), transparent 55%), radial-gradient(circle at 92% 90%, rgba(201, 163, 58, .06), transparent 55%), linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

/* ---- Membership categories: irregular bento ---- */
.category-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media(min-width:640px) {
  .category-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .cat-ordinary {
    grid-column: span 2;
  }
}

@media(min-width:1024px) {
  .category-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
  }

  .cat-ordinary {
    grid-column: span 2;
    grid-row: span 2;
  }

  .cat-associate {
    grid-column: span 2;
  }

  .cat-honorary {
    grid-column: span 1;
  }

  .cat-student {
    grid-column: span 1;
  }
}

.cat-ordinary {
  background: linear-gradient(160deg, #ffffff, #f2f6fb);
  justify-content: center;
}

.pillar-grid .section-reveal:nth-child(1),
.programs-grid .section-reveal:nth-child(1),
.category-bento .section-reveal:nth-child(1) {
  transition-delay: 0ms;
}

.pillar-grid .section-reveal:nth-child(2),
.programs-grid .section-reveal:nth-child(2),
.category-bento .section-reveal:nth-child(2) {
  transition-delay: 70ms;
}

.pillar-grid .section-reveal:nth-child(3),
.programs-grid .section-reveal:nth-child(3),
.category-bento .section-reveal:nth-child(3) {
  transition-delay: 140ms;
}

.pillar-grid .section-reveal:nth-child(4),
.programs-grid .section-reveal:nth-child(4),
.category-bento .section-reveal:nth-child(4) {
  transition-delay: 210ms;
}

.pillar-grid .section-reveal:nth-child(5),
.programs-grid .section-reveal:nth-child(5),
.category-bento .section-reveal:nth-child(5) {
  transition-delay: 280ms;
}

.pillar-grid .section-reveal:nth-child(6),
.programs-grid .section-reveal:nth-child(6) {
  transition-delay: 350ms;
}

/* ---- Governance & review cadence timeline ---- */
.gov-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gov-timeline::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--surgical), rgba(31, 78, 121, .12));
  z-index: 0;
}

.gov-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .85rem;
  background: #fff;
  padding: 1.6rem 1.25rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(10, 26, 51, .08);
  box-shadow: 0 1px 2px rgba(10, 26, 51, .05);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s ease;
}

.gov-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -20px rgba(10, 26, 51, .28);
}

.gov-step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--surgical), var(--navy));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 20px -8px rgba(31, 78, 121, .55);
}

.gov-step-year {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--navy);
  font-size: .95rem;
}

.gov-step-desc {
  color: rgba(10, 26, 51, .55);
  font-size: .8rem;
  margin-top: .2rem;
  line-height: 1.4;
}

@media(max-width:768px) {
  .gov-timeline {
    grid-template-columns: 1fr;
    gap: .9rem;
  }

  .gov-timeline::before {
    display: none;
  }

  .gov-step {
    flex-direction: row;
    text-align: left;
    padding: 1.1rem 1.25rem;
  }

  .gov-step-icon {
    width: 44px;
    height: 44px;
  }
}

/* ---- Year gallery: horizontal mobile roadmap strip ---- */
.yr-roadmap-track--row {
  flex-direction: row;
  max-height: none;
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-x: contain;
  justify-content: flex-start;
  padding: 12px 16px;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-overflow-scrolling: touch;
}

.yr-roadmap-track--row::before {
  display: none;
}

.yr-roadmap-track--row .yr-dot {
  flex-shrink: 0;
}

/* ---- Diaspora map: real world map layer ---- */
.map-bg-img {
  filter: invert(1) sepia(1) hue-rotate(140deg) saturate(2.6) brightness(1.25);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ---- Footer: newsletter band ---- */
/* ---- Footer: newsletter band ---- */
.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, .4);
}

/* ============================================================
   ABOUT.HTML EXCLUSIVE STYLES
   ============================================================ */
.gov-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.gov-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
  min-width: 180px;
}

.gov-step-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(31, 78, 121, 0.08);
  color: #1F4E79;
  flex-shrink: 0;
}

.gov-step-year {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #0A1A33;
}

.gov-step-desc {
  font-size: 0.82rem;
  color: rgba(10, 26, 51, 0.55);
  margin-top: 0.15rem;
  line-height: 1.5;
}

.doc-row {
  transition: background 0.2s ease;
  border-radius: 0.5rem;
}

.doc-row:hover {
  background: rgba(10, 26, 51, 0.04);
}

@media(max-width:480px) {
  .chapter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================= */
/* NEW DYNAMIC CALENDAR STYLES (FROM USER) */
/* ============================================= */

.calendar-card {
  width: 100%;
  max-width: 360px;
  height: fit-content;
  background-color: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0px 0px 10px #efefef;
  margin: 0 auto;
}

.calendar-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #efefef;
}

.calendar-toolbar > .current-month {
  font-size: 18px;
  font-weight: bold;
  color: #19181a;
  font-family: "Quicksand", sans-serif;
}

.calendar-toolbar > [class$="month-btn"] {
  width: 40px;
  aspect-ratio: 1;
  text-align: center;
  line-height: 40px;
  font-size: 14px;
  color: #19181a;
  background: #f8f7fa;
  border: none;
  border-radius: 15px;
}

.calendar-years {
  display: flex;
  flex-wrap: wrap;
  padding: 15px;
  gap: 10px;
  justify-content: center;
}

.year-item {
  width: 65px;
  height: 45px;
  color: #19181a;
  text-align: center;
  line-height: 45px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  transition: 0.2s;
}

.year-item.current-year {
  background-color: var(--gold, rgb(201, 163, 58));
  color: #f8f7fa;
  box-shadow: 0 4px 10px rgba(201, 163, 58, 0.4);
}

.calendar-toolbar > [class$="month-btn"]:hover,
.year-item:hover,
.btn:hover {
  background-color: #f8f7fa;
  color: var(--gold, rgb(201, 163, 58));
  cursor: pointer;
  box-shadow: inset 0px 0px 0px 1.5px var(--gold, rgb(201, 163, 58));
}

.calendar-toolbar > [class$="month-btn"]:focus,
.year-item.current-year:hover,
.btn:focus {
  background-color: var(--gold, rgb(201, 163, 58));
  color: #f8f7fa;
}

.goto-buttons {
  border-top: 1px solid #efefef;
  padding-block: 18px;
  display: flex;
  justify-content: space-evenly;
}

.btn {
  background: #f8f7fa;
  border: none;
  border-radius: 12px;
  padding: 10px 15px;
  color: #19181a;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0px 0px 0px #efefef;
  transition: 0.2s;
}

/* ======== About page (ported from about.html inline <style>) ======== */
  /* ---- About page hero ---- */
  .about-hero {
    position: relative;
    min-height: 52vmin;
    max-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: linear-gradient(155deg, var(--navy, #0A1A33) 0%, #16345e 100%);
    padding-top: 6rem;
  }
  .about-hero__content {
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem 2.5rem;
    max-width: 72rem;
    margin: 0 auto;
    width: 100%;
  }
  @media(min-width:640px){ .about-hero__content { padding: 2rem 2.5rem 3rem; } }

  /* ---- Tab nav ---- */
  .about-tabs {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(10,26,51,0.08);
  }
  .about-tabs__inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0;
  }
  .about-tabs__inner::-webkit-scrollbar { display: none; }
  .about-tab {
    flex-shrink: 0;
    padding: 1rem 1.35rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(10,26,51,0.45);
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 2px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
  }
  .about-tab:hover { color: rgba(10,26,51,0.75); }
  .about-tab.is-active { color: var(--navy, #0A1A33); border-bottom-color: var(--gold, #C9A33A); }

  /* ---- Chapter photo grid ---- */
  .chapter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  @media(min-width:640px){ .chapter-grid { gap: 1rem; } }

  /* ---- Smooth highlight on jump ---- */
  .section-highlight {
    animation: sectionPulse 1.6s ease forwards;
  }
  @keyframes sectionPulse {
    0%   { box-shadow: 0 0 0 0 rgba(201,163,58,0); }
    25%  { box-shadow: 0 0 0 6px rgba(201,163,58,0.22); }
    100% { box-shadow: 0 0 0 0 rgba(201,163,58,0); }
  }

  /* ---- Section reveal base (same as index) ---- */
  .section-reveal { opacity:0; transform:translateY(30px); transition: opacity .7s ease, transform .7s ease; }
  .section-reveal.revealed { opacity:1 !important; transform:translateY(0) !important; }


/* ======================================================================
   WORDPRESS THEME LAYER
   Everything below exists only because the static site became a WP theme.
   ====================================================================== */

/* Accessibility helpers WordPress expects every theme to provide. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus,
.skip-link:focus {
  background: #fff;
  clip: auto !important;
  clip-path: none;
  color: var(--navy);
  display: block;
  font-weight: 700;
  height: auto;
  left: 8px;
  padding: 12px 20px;
  top: 8px;
  width: auto;
  z-index: 100000;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}

/* Anchors land below the fixed header. */
[id] {
  scroll-margin-top: 5rem;
}

/* Admin bar: keep the fixed header clear of it. */
.admin-bar .header {
  top: calc(1rem + 32px);
}

.admin-bar .header.is-scrolled {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .header {
    top: calc(1rem + 46px);
  }

  .admin-bar .header.is-scrolled {
    top: 46px;
  }
}

/* Sticky tab bar sits below the admin bar. */
.admin-bar .about-tabs {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .about-tabs {
    top: 46px;
  }
}

/* Tilt cards: the tilt lives in a custom property so it survives the reveal's !important transform. */
.section-reveal.revealed.tilt-card {
  transform: var(--mp-tilt, translateY(0)) !important;
}

.tilt-card {
  transition: transform .25s ease, opacity .7s ease, box-shadow .3s ease;
}

/* Gallery: dim cards from other class years when a year is picked. */
.vcard {
  transition: opacity .4s ease, filter .4s ease;
}

.vcard.is-dim {
  opacity: .35;
  filter: grayscale(.6);
}

.year-item {
  cursor: pointer;
}

/* Never hide content when printing or when JS is off. */
@media print {

  .section-reveal,
  .word-wrap .word {
    opacity: 1 !important;
    transform: none !important;
  }
}

.no-js .section-reveal,
.no-js .word-wrap .word {
  opacity: 1;
  transform: none;
}

/* Blank template: no header offset needed. */
.mp-blank .depth-bg {
  display: none;
}

/* Default content typography (pages, posts, anything that isn't a MediPort section). */
.mp-prose {
  position: relative;
  z-index: 1;
}

.mp-prose> :where(:not(section, nav, .divider, .about-hero, .elementor, .alignfull, .wp-block-cover)) {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.mp-prose--narrow> :where(:not(section, nav, .divider, .alignfull, .wp-block-cover)) {
  padding-left: 0;
  padding-right: 0;
}

.mp-prose> :where(p, ul, ol, blockquote, h1, h2, h3, h4, h5, h6, figure, .wp-block-image, .wp-block-group, .wp-block-columns, .wp-block-buttons, .wp-block-table, pre) {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.mp-prose p:not(.mpp *):not(.mpm *),
.mp-prose li:not(.mpp *):not(.mpm *) {
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(10, 26, 51, .82);
}

.mp-prose h1:not(.mpp *):not(.mpm *),
.mp-prose h2:not(.mpp *):not(.mpm *),
.mp-prose h3:not(.mpp *):not(.mpm *),
.mp-prose h4:not(.mpp *):not(.mpm *) {
  font-family: 'Montserrat', sans-serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

.mp-prose h2:not(.mpp *):not(.mpm *) {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.1rem);
  margin-top: 2.2rem;
}

.mp-prose h3:not(.mpp *):not(.mpm *) {
  font-size: 1.3rem;
  margin-top: 1.8rem;
}

.mp-prose a:not(.btn-gold):not(.btn-outline-navy):not(.wp-block-button__link):not(.mpp a):not(.mpm a) {
  color: var(--surgical);
  text-decoration: underline;
  text-decoration-color: rgba(201, 163, 58, .7);
  text-underline-offset: 3px;
}

.mp-prose ul:not(.mpp *):not(.mpm *) {
  list-style: disc;
  padding-left: 2.5rem;
}

.mp-prose ol:not(.mpp *):not(.mpm *) {
  list-style: decimal;
  padding-left: 2.5rem;
}

.mp-prose img:not(.mpp *):not(.mpm *) {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.mp-prose blockquote:not(.mpp *):not(.mpm *) {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.mp-prose .wp-block-button__link {
  background: var(--gold);
  color: var(--navy);
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: .9rem 2rem;
}

.mp-prose .alignwide {
  max-width: 90rem;
}

.mp-prose .alignfull {
  max-width: none;
  width: 100%;
}

.mp-article {
  position: relative;
  z-index: 1;
}

/* Pagination */
.mp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  height: 2.6rem;
  padding: 0 .9rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 26, 51, .15);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy);
  background: #fff;
}

.mp-pagination .page-numbers.current,
.mp-pagination .page-numbers:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* Comments */
.comments-area {
  color: var(--navy);
}

.comments-area .comment-body {
  background: #fff;
  border: 1px solid rgba(10, 26, 51, .08);
  border-radius: 16px;
  padding: 1.25rem;
}

.comments-area input[type="text"],
.comments-area input[type="email"],
.comments-area input[type="url"],
.comments-area textarea {
  width: 100%;
  border: 1px solid rgba(10, 26, 51, .2);
  border-radius: 12px;
  padding: .7rem 1rem;
}

.comments-area .submit {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border-radius: 999px;
  padding: .8rem 1.8rem;
}

/* Elementor: sections should run edge to edge inside boxed containers. */
.elementor-widget[class*="elementor-widget-mp-"]>.elementor-widget-container {
  margin: 0;
  padding: 0;
}

.elementor-widget[class*="elementor-widget-mp-"] .hero {
  min-height: 100svh;
}

.elementor-editor-active .section-reveal {
  opacity: 1 !important;
  transform: none !important;
}
