@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
  --navy: #071d34;
  --navy2: #0b2947;
  --navy3: #0e3560;
  --blue: #0f5b92;
  --gold: #f2b134;
  --gold2: #ffc554;
  --gold3: #e8a520;
  --cream: #f6f1e6;
  --ink: #16202a;
  --muted: #66717e;
  --white: #fff;
  --line: #dce3e8;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}

/* Sticky footer: on pages shorter than the viewport (most pages besides the
   homepage), this keeps the footer pinned to the bottom instead of leaving
   a gap of the body's white background between short content and it.
   overscroll-behavior-y above also stops the elastic scroll-bounce past the
   bottom edge from briefly flashing the browser's default white background. */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

body>main {
  flex: 1 0 auto;
}

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

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

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}

/* ── UTILITY BAR ── */
.utility-bar {
  background: #041426;
  color: #8ca4b8;
  font-size: 12px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.utility-inner {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.utility-org {
  display: inline;
}

.utility-badge {
  background: rgba(242, 177, 52, .12);
  border: 1px solid rgba(242, 177, 52, .25);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 4px;
  letter-spacing: .4px;
  display: inline-flex;
  align-items: center;
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.utility-links a {
  color: #8ca4b8;
  transition: color .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.utility-links a:hover {
  color: #fff;
}

.utility-login-link i {
  font-size: 11px;
  color: var(--gold);
}

/* ── SITE HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 20px rgba(7, 29, 52, .07);
}

body.nav-open .site-header {
  z-index: 1000;
}

.nav-wrap {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-text strong {
  font-family: "Libre Baskerville", serif;
  font-size: 19px;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -.3px;
  white-space: nowrap;
}

.brand-text span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  white-space: nowrap;
}

/* Mobile drawer components hidden on desktop */
.drawer-header,
.drawer-footer,
.drawer-close {
  display: none !important;
}

.drawer-body,
.drawer-links {
  display: contents;
}

/* ── MAIN NAVIGATION & DROPDOWNS ── */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  flex-shrink: 1;
}

.main-nav>a,
.drawer-links>a,
.dropdown-toggle {
  color: #344a5c;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
}

.main-nav>a:hover,
.drawer-links>a:hover,
.dropdown-toggle:hover,
.nav-dropdown:hover .dropdown-toggle,
.nav-dropdown:focus-within .dropdown-toggle,
.nav-dropdown.open .dropdown-toggle,
.main-nav>a.active,
.drawer-links>a.active,
.dropdown-toggle.active {
  color: #ffffff;
  background: var(--navy);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(7, 29, 52, 0.12);
}

.nav-dropdown.active .dropdown-toggle,
.main-nav>a.active,
.drawer-links>a.active {
  color: #ffffff;
  background: var(--navy);
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(7, 29, 52, 0.12);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-chevron {
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), color .2s ease;
  color: #718292;
  flex-shrink: 0;
  font-size: 10px;
  display: inline-block;
}

.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown:focus-within .dropdown-chevron,
.nav-dropdown.open .dropdown-chevron,
.nav-dropdown.active-mobile .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--gold);
}

/* ── TWO-COLUMN MEGA SUBMENU (MATCHING DESIGN REFERENCE) ── */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 540px;
  max-width: calc(100vw - 28px);
  background: #071d34;
  background: linear-gradient(175deg, #071d34 0%, #05182b 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2.5px solid var(--gold);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 24px 60px -8px rgba(0, 0, 0, 0.52), 0 10px 25px -5px rgba(7, 29, 52, 0.45);
  opacity: 0;
  visibility: hidden;
  --dd-offset-x: 0px;
  transform: translateX(var(--dd-offset-x)) translateY(8px);
  transition: opacity .2s cubic-bezier(0.16, 1, 0.3, 1), transform .2s cubic-bezier(0.16, 1, 0.3, 1), visibility .2s;
  z-index: 1000;
  display: grid;
  grid-template-columns: 195px 1fr;
  gap: 12px;
}

/* Align right on dropdowns positioned on the right side of the navbar */
.nav-dropdown:last-of-type .dropdown-menu,
.nav-dropdown.dropdown-align-right .dropdown-menu {
  left: auto;
  right: 0;
}

/* Hover bridge: ensures hover is maintained across gap */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(var(--dd-offset-x)) translateY(0);
}

/* Left Highlight / Navigate Feature Card */
.dropdown-feature-card {
  background: #0b2947;
  background: linear-gradient(160deg, #0e3258 0%, #08213b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.dropdown-feature-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(242, 177, 52, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.dropdown-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: 0 4px 14px rgba(242, 177, 52, 0.35);
  flex-shrink: 0;
  transition: transform .2s ease;
}

.dropdown-feature-card:hover .dropdown-feature-icon {
  transform: scale(1.05);
}

.dropdown-feature-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 18px;
  margin-bottom: 4px;
  display: block;
}

.dropdown-feature-title {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 8px 0;
  letter-spacing: -0.2px;
}

.dropdown-feature-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
  margin: 0;
}

.dropdown-feature-link,
.dropdown-feature-link.active {
  margin-top: auto;
  padding-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: transparent !important;
  box-shadow: none !important;
  transition: gap .2s ease, color .2s ease;
  position: relative;
}

.dropdown-feature-link::after,
.dropdown-feature-link.active::after {
  display: none !important;
  content: none !important;
}

.dropdown-feature-link i {
  font-size: 10.5px;
  transition: transform .2s ease;
}

.dropdown-feature-link:hover,
.dropdown-feature-link.active:hover {
  color: var(--gold2) !important;
  gap: 9px;
}

.dropdown-feature-link:hover i {
  transform: translateX(2px);
}

/* Right Submenu Links List */
.dropdown-links-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.dropdown-item-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition: all .18s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.dropdown-item-link:hover,
.dropdown-item-link:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.dropdown-item-link.active {
  background: rgba(242, 177, 52, 0.12);
  border-color: rgba(242, 177, 52, 0.35);
}

.dropdown-item-link.active .dropdown-item-title {
  color: var(--gold);
}

.dropdown-item-link.active .dropdown-item-arrow {
  color: var(--gold);
  transform: translateX(2px);
}

.dropdown-item-link::after,
.dropdown-item-link.active::after {
  display: none !important;
  content: none !important;
}

/* Submenu Icon Box */
.dropdown-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-item-link:hover .dropdown-item-icon,
.dropdown-item-link:focus-visible .dropdown-item-icon {
  background: rgba(242, 177, 52, 0.18);
  border-color: rgba(242, 177, 52, 0.45);
  color: var(--gold);
  transform: scale(1.06);
}

.dropdown-item-link.active .dropdown-item-icon {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.dropdown-item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.dropdown-item-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  transition: color .18s ease;
  white-space: nowrap;
}

.dropdown-item-link:hover .dropdown-item-title,
.dropdown-item-link:focus-visible .dropdown-item-title {
  color: var(--gold);
}

.dropdown-item-desc {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-item-arrow {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  margin-left: auto;
  flex-shrink: 0;
  transition: transform .2s ease, color .2s ease;
}

.dropdown-item-link:hover .dropdown-item-arrow,
.dropdown-item-link:focus-visible .dropdown-item-arrow {
  transform: translateX(3px);
  color: var(--gold);
}

.nav-actions {
  display: flex;
  gap: 8px;
  margin-left: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 7px;
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 700;
  font-family: "DM Sans", sans-serif;
  transition: transform .15s, opacity .15s, box-shadow .15s;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

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

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 15px;
  border-radius: 8px;
}

.btn-xl {
  padding: 17px 36px;
  font-size: 16px;
  border-radius: 9px;
}

.btn-gold {
  background: var(--gold);
  color: #0e1e2c;
  box-shadow: 0 2px 12px rgba(242, 177, 52, .3);
}

.btn-gold:hover {
  background: var(--gold2);
  box-shadow: 0 4px 20px rgba(242, 177, 52, .4);
}

.btn-ghost {
  border-color: #c8d3db;
  color: var(--navy);
}

.btn-ghost:hover {
  border-color: var(--navy);
  background: rgba(7, 29, 52, .04);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 10px rgba(7, 29, 52, .25);
}

.btn-dark:hover {
  background: var(--navy2);
}

.btn-outline-dark {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-dark:hover {
  background: rgba(7, 29, 52, .05);
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-white-outline {
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}

.btn-white-outline:hover {
  background: rgba(255, 255, 255, .1);
}

.menu-toggle {
  display: none;
  background: #ffffff;
  border: 1.5px solid #dce3e8;
  border-radius: 9px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  color: var(--navy);
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  box-shadow: 0 1px 3px rgba(7, 29, 52, 0.06);
}

.menu-toggle:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--blue);
  box-shadow: 0 3px 8px rgba(7, 29, 52, 0.09);
  transform: translateY(-1px);
}

.menu-toggle:active {
  background: #e2e8f0;
  transform: scale(0.96);
}

.menu-toggle svg.hamburger-icon,
.menu-toggle i.hamburger-icon {
  font-size: 20px;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Backdrop behind the open mobile nav drawer */
.menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(4, 20, 38, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1001;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media(max-width: 1140px) {
  .menu-backdrop {
    display: block;
  }

  body.nav-open .menu-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
}

html.nav-open,
body.nav-open {
  overflow: hidden !important;
  touch-action: none;
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  background: #0b3152;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, #051929 0%, #0b3152 55%, #0c3d6a 100%);
  opacity: 0.75;
  z-index: 1;
  pointer-events: none;
}

.hero-noise,
.hero-glow,
.hero-grid-lines,
.hero-ring,
.hero-ring2 {
  z-index: 1;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .6;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 78% 50%, rgba(15, 91, 146, .35), transparent 60%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
  right: -160px;
  top: -200px;
  pointer-events: none;
}

.hero-ring2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(242, 177, 52, .06);
  border-radius: 50%;
  right: -60px;
  top: -100px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr .85fr;
  gap: 72px;
  align-items: center;
  min-height: 680px;
  padding: 80px 0 90px;
}

.eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.eyebrow.dark {
  color: #9a6c10;
}

.eyebrow.dark::before {
  background: var(--gold3);
}

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

.hero h1 {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(40px, 4.8vw, 62px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 0 0 24px;
  max-width: 680px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-copy>p {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .72);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.trust-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
  font-weight: 500;
}

.trust-item::before {
  content: '';
  width: 16px;
  height: 16px;
  background: rgba(242, 177, 52, .2);
  border: 1px solid rgba(242, 177, 52, .4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23f2b134' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Hero card */
.hero-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  padding: 30px 28px;
  backdrop-filter: blur(14px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(242, 177, 52, .14);
  border: 1px solid rgba(242, 177, 52, .3);
  color: var(--gold2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.card-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

.date-badge {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 4px;
}

.date-big {
  font-family: "Libre Baskerville", serif;
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.date-meta {
  padding-bottom: 8px;
}

.date-meta strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: .6px;
}

.date-meta span {
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
}

.hero-card h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 24px;
  line-height: 1.22;
  margin: 10px 0 12px;
  color: #fff;
}

.hero-card>p {
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.65;
  margin-bottom: 0;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .1);
  border-radius: 10px;
  overflow: hidden;
  margin: 22px 0 20px;
}

.cd-unit {
  background: rgba(7, 29, 52, .5);
  padding: 14px 6px 12px;
  text-align: center;
}

.cd-num {
  display: block;
  font-family: "Libre Baskerville", serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.cd-label {
  display: block;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: rgba(255, 255, 255, .35);
  margin-top: 4px;
  font-weight: 600;
}

/* Hero card — sub-components reused across carousel slides */
.hero-stat-row {
  display: flex;
  gap: 28px;
  margin: 22px 0 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.hero-stat strong {
  display: block;
  font-family: "Libre Baskerville", serif;
  font-size: 21px;
  color: #fff;
}

.hero-stat span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .5);
  margin-top: 2px;
  display: block;
}

.hero-progress-wrap {
  margin: 4px 0 22px;
}

.hero-progress {
  height: 7px;
  background: rgba(255, 255, 255, .12);
  border-radius: 20px;
  overflow: hidden;
}

.hero-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold3), var(--gold2));
  border-radius: 20px;
  transition: width 1.4s ease;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, .1);
  border-radius: 10px;
  overflow: hidden;
  margin: 22px 0 20px;
}

.hero-mini-item {
  background: rgba(7, 29, 52, .5);
  padding: 14px 14px 12px;
}

.hero-mini-item strong {
  display: block;
  font-family: "Libre Baskerville", serif;
  font-size: 22px;
  color: var(--gold);
  line-height: 1;
}

.hero-mini-item span {
  display: block;
  font-size: 10.5px;
  color: rgba(255, 255, 255, .45);
  margin-top: 5px;
  font-weight: 600;
}

.hero-card-president .hero-president-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-president-top img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(242, 177, 52, .5);
  flex-shrink: 0;
}

.hero-president-top strong {
  display: block;
  font-family: "Libre Baskerville", serif;
  font-size: 15px;
  color: #fff;
}

.hero-president-top span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .5);
}

.hero-president-quote {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .85);
  border-left: 3px solid rgba(242, 177, 52, .6);
  padding-left: 18px;
  margin: 0 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero carousel */
.hero-slides {
  position: relative;
}

.hero-slide {
  display: none;
  background-size: cover;
  background-position: center;
}

#hero-slide-0 { background-image: url('../images/hero-bg-1.jpg'); }
#hero-slide-1 { background-image: url('../images/hero-bg-2.jpg'); }
#hero-slide-2 { background-image: url('../images/hero-bg-3.jpg'); }
#hero-slide-3 { background-image: url('../images/hero-bg-4.jpg'); }

.hero-slide.is-active {
  display: block;
  animation: heroSlideIn .6s ease;
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-carousel-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-bottom: 40px;
}

.hero-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
  flex-shrink: 0;
}

.hero-arrow:hover {
  background: rgba(242, 177, 52, .16);
  border-color: rgba(242, 177, 52, .4);
  color: var(--gold2);
}

.hero-arrow:active {
  transform: scale(.94);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  border: none;
  cursor: pointer;
  transition: background .2s ease, width .2s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, .5);
}

.hero-dot.is-active {
  width: 26px;
  border-radius: 6px;
  background: var(--gold);
}

@media(max-width: 640px) {
  .hero-carousel-nav {
    gap: 14px;
    padding-bottom: 28px;
  }

  .hero-arrow {
    width: 34px;
    height: 34px;
  }
}

.text-link {
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .18s;
}

.text-link::after {
  content: '→';
}

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

.text-link-gold {
  color: var(--gold2);
}

.text-link-dark {
  color: var(--navy);
}

.text-link-blue {
  color: var(--blue);
}

/* ── SVG ICONS ── */
.fosa-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.fosa-icon-inline {
  display: inline-flex;
  vertical-align: -2px;
}

/* ── QUICK ACTIONS (STANDALONE RESPONSIVE CARDS) ── */
.section-quick-actions {
  background: #f8fafc;
  padding: 48px 0;
  border-bottom: 1px solid rgba(7, 29, 52, 0.08);
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.quick-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(7, 29, 52, 0.08);
  border-radius: 14px;
  padding: 22px 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(7, 29, 52, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s ease;
}

.quick-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--gold2), var(--gold));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.quick-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(7, 29, 52, 0.1);
  border-color: rgba(242, 177, 52, 0.45);
}

.quick-card:hover::before {
  opacity: 1;
}

.quick-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.quick-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #edf3f8;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.quick-card:hover .quick-card-icon {
  background: var(--navy);
  color: var(--gold);
  transform: scale(1.06);
}

.quick-card-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.quick-card:hover .quick-card-arrow {
  background: var(--gold);
  color: var(--navy);
  transform: translateX(3px);
}

.quick-card-title {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 6px;
}

.quick-card-desc {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ── SECTIONS ── */
.section {
  padding: 104px 0;
}

.section-sm {
  padding: 72px 0;
}

.section-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #9a6c10;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold3);
  flex-shrink: 0;
}

.section-h2 {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 20px;
}

.section-lead {
  font-size: 18px;
  line-height: 1.7;
  color: #2e3f4f;
}

.section-body {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
}

.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 96px;
  align-items: start;
}

.values-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 72px;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.value-item {
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  transition: background .2s ease;
}

.value-item:first-child {
  border-left: 1px solid var(--line);
}

.value-item:hover {
  background: #fbfdfe;
}

.value-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #edf3f8;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all .2s ease;
}

.value-item:hover .value-icon {
  background: var(--navy);
  color: var(--gold);
  transform: translateY(-2px);
}

.value-item strong {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.value-item span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── IMPACT COUNTERS ── */
.impact-band {
  background: var(--navy);
  padding: 64px 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.impact-item {
  padding: 0 32px;
  border-right: 1px solid rgba(255, 255, 255, .1);
  text-align: left;
}

.impact-item:first-child {
  padding-left: 0;
}

.impact-item:last-child {
  border-right: none;
}

.impact-num {
  font-family: "Libre Baskerville", serif;
  font-size: 46px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.impact-label {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  font-weight: 500;
  line-height: 1.4;
}

/* ── PRESIDENT ── */
.president-section {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.president-grid {
  display: grid;
  grid-template-columns: .68fr 1.32fr;
  gap: 88px;
  align-items: start;
}

.president-photo-wrap {
  position: relative;
}

.president-photo-frame {
  position: relative;
}

.president-photo-frame::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid rgba(242, 177, 52, .35);
  border-radius: 10px;
  z-index: 0;
}

.president-photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  filter: grayscale(8%) contrast(1.04);
}

.president-nameplate {
  background: linear-gradient(135deg, rgba(242, 177, 52, .12), rgba(242, 177, 52, .06));
  border: 1px solid rgba(242, 177, 52, .25);
  border-radius: 7px;
  padding: 16px 20px;
  margin-top: 20px;
}

.president-nameplate strong {
  display: block;
  font-family: "Libre Baskerville", serif;
  font-size: 16px;
  color: var(--gold2);
  margin-bottom: 3px;
}

.president-nameplate span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
}

.president-section .president-nameplate strong {
  color: var(--navy);
}

.president-section .president-nameplate span {
  color: var(--muted);
}

.president-message {
  padding-top: 8px;
}

.quote-mark-bg {
  font-family: Georgia, serif;
  font-size: 160px;
  position: absolute;
  right: -8px;
  top: -50px;
  color: rgba(242, 177, 52, .08);
  line-height: 1;
  pointer-events: none;
}

.president-message .section-h2 {
  color: var(--navy);
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.22;
  margin-bottom: 28px;
}

.president-message p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 20px;
}

.president-pull {
  border-left: 3px solid rgba(242, 177, 52, .6);
  padding-left: 22px;
  margin: 28px 0;
}

.president-pull q {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-size: 19px;
  color: var(--navy);
  line-height: 1.5;
  quotes: none;
}

.president-sig {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}

.president-sig span {
  font-size: 13px;
  color: var(--muted);
}

/* ── PROJECTS ── */
.project-section {
  background: #f7f5ef;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: center;
}

.project-stats-row {
  display: flex;
  gap: 36px;
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid #ddd8cc;
  border-bottom: 1px solid #ddd8cc;
}

.pstat {
  text-align: left;
}

.pstat strong {
  display: block;
  font-family: "Libre Baskerville", serif;
  font-size: 26px;
  color: var(--navy);
}

.pstat span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  display: block;
}

.progress-wrap {
  margin: 20px 0 6px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 9px;
}

.progress-label strong {
  color: var(--navy);
}

.progress {
  height: 8px;
  background: #dde2df;
  border-radius: 20px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy2), var(--gold3));
  border-radius: 20px;
  width: 0;
  transition: width 1.4s ease;
}

.progress-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.project-visual-wrap {
  position: relative;
}

.project-frame {
  background: #fff;
  padding: 12px;
  border-radius: 4px;
  box-shadow: 0 24px 52px rgba(7, 29, 52, .13);
  transform: rotate(.8deg);
}

.project-frame-inner {
  background: linear-gradient(135deg, var(--navy2) 0%, #1a4f7a 40%, var(--blue) 100%);
  border-radius: 3px;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  gap: 16px;
}

.project-frame-icon {
  font-size: 56px;
  opacity: .75;
}

.project-frame-chart-wrap {
  position: relative;
  width: 150px;
  height: 150px;
}

.project-frame-chart-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.project-frame-chart-label strong {
  font-family: "Libre Baskerville", serif;
  font-size: 22px;
  color: #fff;
}

.project-frame-chart-label span {
  font-size: 10px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}

.project-frame-title {
  font-family: "Libre Baskerville", serif;
  font-size: 18px;
  color: #fff;
  line-height: 1.3;
}

.project-frame-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
}

.project-tag {
  position: absolute;
  bottom: -8px;
  left: 12px;
  background: var(--navy);
  color: #fff;
  padding: 9px 14px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: .4px;
}

.other-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
}

.mini-project {
  background: #fff;
  border: 1px solid #ddd8cc;
  border-radius: 8px;
  padding: 18px 20px;
}

.mini-project strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}

.mini-project span {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.mini-project-status {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--blue);
  background: rgba(15, 91, 146, .08);
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
}

/* ── CONGRESS / EVENTS ── */
.events-section {
  background: #fff;
}

.event-feature {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 0;
}

.event-date-col {
  background: rgba(0, 0, 0, .25);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, .1);
}

.event-day {
  font-family: "Libre Baskerville", serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.event-month {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: .8px;
  margin-top: 4px;
}

.event-year {
  font-size: 11px;
  color: rgba(255, 255, 255, .4);
  margin-top: 3px;
}

.event-body {
  padding: 32px 36px;
}

.event-tag {
  display: inline-block;
  background: rgba(242, 177, 52, .14);
  border: 1px solid rgba(242, 177, 52, .3);
  color: var(--gold2);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .9px;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.event-body h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 26px;
  line-height: 1.22;
  margin-bottom: 12px;
}

.event-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .6);
}

.event-meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.event-cta-col {
  padding: 32px 32px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: flex-end;
  min-width: 210px;
}

.cruise-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.cruise-card {
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 18px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.cruise-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 91, 146, 0.3);
  box-shadow: 0 8px 20px rgba(7, 29, 52, 0.06);
}

.cruise-card-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.cruise-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eaf1f7;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cruise-card strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
}

.cruise-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.cruise-card .price-note {
  font-size: 11.5px;
  color: var(--blue);
  font-weight: 600;
  margin-top: 8px;
  display: block;
}

/* ── YEAR GROUPS ── */
.year-groups-section {
  background: #f1f5f7;
}

.year-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 96px;
  align-items: center;
}

.year-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.yg-pill {
  background: #fff;
  border: 1.5px solid #cdd8e2;
  border-radius: 999px;
  padding: 14px 24px;
  font-family: "Libre Baskerville", serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(7, 29, 52, .06);
  transition: all .18s;
  cursor: pointer;
}

.yg-pill:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(7, 29, 52, .15);
}

.yg-pill.more {
  background: var(--gold);
  border-color: var(--gold);
  color: #0e1e2c;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}

.yg-pill.more:hover {
  background: var(--gold2);
  border-color: var(--gold2);
}

/* ── NEWS ── */
.news-section {
  background: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.news-card {
  border: 1px solid #e0e5e8;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}

.news-card:hover {
  box-shadow: 0 12px 36px rgba(7, 29, 52, .1);
  transform: translateY(-3px);
}

.news-art {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.news-art-tag {
  background: rgba(255, 255, 255, .92);
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  border-radius: 3px;
}

.art-congress {
  height: 220px;
  background: linear-gradient(130deg, #0b3152, #1a6fa0);
}

.art-project {
  height: 180px;
  background: linear-gradient(130deg, #1b4332, #40916c);
}

.art-member {
  height: 180px;
  background: linear-gradient(130deg, #8b6914, #c9a84c);
}

.news-body {
  padding: 22px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .9px;
  color: #9a6c10;
  margin-bottom: 10px;
}

.news-body h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 18px;
  line-height: 1.38;
  color: var(--navy);
  margin-bottom: 10px;
}

.news-card.featured .news-body h3 {
  font-size: 21px;
}

.news-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

.news-footer {
  padding-top: 14px;
  border-top: 1px solid #edf0f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-date {
  font-size: 12px;
  color: #a0adb7;
}

/* ── DONATE ── */
.donate-section {
  background: linear-gradient(125deg, #06192e 0%, #0b3a62 50%, #0b5490 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.donate-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(242, 177, 52, .08), transparent 50%);
  pointer-events: none;
}

.donate-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 72px;
  align-items: center;
}

.donate-inner .section-h2 {
  color: #fff;
  margin-bottom: 16px;
}

.donate-inner p {
  color: rgba(255, 255, 255, .68);
  font-size: 16px;
  line-height: 1.75;
  max-width: 560px;
}

.donate-ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.donate-way {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.donate-way:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(242, 177, 52, .3);
  transform: translateY(-2px);
}

.donate-way-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(242, 177, 52, 0.12);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.donate-way strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}

.donate-way span {
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
}

.donate-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── TRANSPARENCY ── */
.transparency-section {
  background: #fff;
}

.trans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 104px;
  align-items: start;
}

.doc-list {
  border-top: 1px solid var(--line);
  margin-top: 32px;
}

.doc-row {
  display: grid;
  grid-template-columns: 44px 1fr 32px;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background .15s;
  border-radius: 4px;
}

.doc-row:hover {
  padding-left: 8px;
  padding-right: 8px;
  margin: 0 -8px;
  background: #f7fafb;
}

.doc-num {
  width: 36px;
  height: 36px;
  background: #eef4f8;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
  flex-shrink: 0;
}

.doc-info strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
}

.doc-info span {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
  display: block;
}

.doc-arrow {
  color: #b0bec9;
  font-size: 18px;
  text-align: right;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f6f1;
  border: 1px solid #c6dbc9;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #1e5c32;
  transition: transform .18s ease, box-shadow .18s ease;
}

.trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(22, 163, 74, .12);
}

.trust-badge-icon {
  color: #16a34a;
  flex-shrink: 0;
}

/* ── JOIN BAND ── */
.join-band {
  background: var(--cream);
  padding: 56px 0;
  border-top: 1px solid #e0d9cc;
}

.join-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.join-inner .section-label {
  margin-bottom: 8px;
}

.join-inner h2 {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--navy);
}

.join-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
.site-footer {
  background: #041426;
  color: rgba(255, 255, 255, .6);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-brand img {
  width: 75px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}

.ein-chip {
  display: inline-block;
  background: rgba(242, 177, 52, .1);
  border: 1px solid rgba(242, 177, 52, .2);
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  letter-spacing: .3px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 11px;
  transition: color .18s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .07);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  transition: all .18s;
  text-decoration: none;
}

.social-btn:hover {
  background: var(--gold);
  color: #0e1e2c;
  transform: translateY(-2px);
}

.social-btn[hidden] {
  display: none !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, .4);
  margin-left: 20px;
  transition: color .18s;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, .7);
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

.reveal-delay-4 {
  transition-delay: .4s;
}

.reveal-delay-5 {
  transition-delay: .5s;
}

.reveal-stagger {
  transition-delay: calc(var(--i, 0) * 70ms);
}

.reveal-stagger-sm {
  transition-delay: calc(var(--i, 0) * 40ms);
}

/* ── IMPACT ICONS ── */
.impact-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(242, 177, 52, .12);
  border: 1px solid rgba(242, 177, 52, .22);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform .2s ease, background .2s ease;
}

.impact-item:hover .impact-icon {
  transform: translateY(-2px);
  background: rgba(242, 177, 52, .2);
}

/* ── PROJECT VISUAL HOVER ── */
.project-frame {
  transition: transform .3s ease, box-shadow .3s ease;
}

.project-frame:hover {
  transform: rotate(0deg);
  box-shadow: 0 30px 60px rgba(7, 29, 52, .18);
}

/* ── MINI PROJECT HOVER ── */
.mini-project {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.mini-project:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 91, 146, .3);
  box-shadow: 0 10px 24px rgba(7, 29, 52, .08);
}

/* ── RESPONSIVE & MOBILE DRAWER (SLIDES FROM RIGHT) ── */
@media(max-width: 1140px) {
  .main-nav {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    padding: 0;
    box-shadow: -12px 0 40px rgba(4, 20, 38, 0.22);
    border-top: none;
    border-left: 1px solid rgba(7, 29, 52, 0.08);
    z-index: 1002;
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
    visibility: hidden;
    overflow: hidden;
    align-items: stretch;
    gap: 0;
    pointer-events: none;
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  /* Drawer Top Header */
  .drawer-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #edf2f7;
    background: #ffffff;
    flex-shrink: 0;
    box-sizing: border-box;
    gap: 12px;
  }

  .drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
  }

  .drawer-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .drawer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }

  .drawer-brand-text strong {
    font-family: "Libre Baskerville", serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.2px;
  }

  .drawer-brand-text span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--muted);
  }

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

  .drawer-badge {
    background: rgba(242, 177, 52, 0.14);
    border: 1px solid rgba(242, 177, 52, 0.35);
    color: #9a6c10;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 4px;
    letter-spacing: 0.4px;
  }

  .drawer-close {
    width: 36px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: var(--navy);
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.18s ease;
    flex-shrink: 0;
  }

  .drawer-close:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
  }

  /* Drawer Scrollable Body */
  .drawer-body {
    display: flex !important;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 16px 14px 28px;
    box-sizing: border-box;
  }

  .drawer-links {
    display: flex !important;
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }

  /* Mobile Links & Dropdown Toggles */
  .drawer-links>a,
  .dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--navy);
    border-radius: 8px;
    border-left: 3.5px solid transparent;
    background: transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    line-height: 1.3;
    text-decoration: none;
    box-sizing: border-box;
    border-top: none;
    border-right: none;
    border-bottom: none;
    cursor: pointer;
  }

  .drawer-links>a:hover,
  .dropdown-toggle:hover {
    background: #f1f5f9;
    color: var(--blue);
  }

  .drawer-links>a:active,
  .dropdown-toggle:active {
    background: #e2e8f0;
  }

  .drawer-links>a.active,
  .nav-dropdown.active>.dropdown-toggle {
    background: #f8fafc;
    border-left: 3.5px solid var(--gold);
    color: var(--navy);
    font-weight: 800;
  }

  .drawer-links a.active::after {
    display: none !important;
  }

  /* Dropdown Styles in Mobile */
  .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-bottom: 2px;
  }

  .dropdown-chevron {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: #64748b;
    flex-shrink: 0;
    font-size: 11px;
    display: inline-block;
  }

  .nav-dropdown.active-mobile .dropdown-chevron {
    transform: rotate(180deg);
    color: var(--navy);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid rgba(242, 177, 52, 0.45);
    border-radius: 8px;
    background: #f8fafc;
    margin: 2px 0 6px 12px;
    padding: 6px 6px;
    min-width: 0;
    width: auto;
    max-width: none;
    display: none;
    grid-template-columns: 1fr;
    gap: 3px;
    animation: drawerAccordionOpen 0.2s ease forwards;
  }

  @keyframes drawerAccordionOpen {
    from {
      opacity: 0;
      transform: translateY(-4px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .dropdown-menu::before {
    display: none;
  }

  .nav-dropdown.active-mobile .dropdown-menu {
    display: flex;
    flex-direction: column;
  }

  .dropdown-feature-card {
    display: none !important;
  }

  .dropdown-links-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
  }

  .dropdown-item-link,
  .dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: none;
    color: #334155;
    border-radius: 6px;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    line-height: 1.35;
    text-decoration: none;
    transform: none !important;
  }

  .dropdown-item-link:hover,
  .dropdown-menu a:hover {
    background: #ffffff;
    color: var(--navy);
    border-color: rgba(7, 29, 52, 0.06);
    box-shadow: 0 1px 4px rgba(7, 29, 52, 0.05);
  }

  .dropdown-item-link:active,
  .dropdown-menu a:active {
    background: #eef4f9;
  }

  .dropdown-item-link.active,
  .dropdown-menu a.active {
    background: #ffffff;
    color: var(--blue);
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(7, 29, 52, 0.07);
    border-left: 2.5px solid var(--gold);
  }

  .dropdown-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(7, 29, 52, 0.06);
    border: 1px solid rgba(7, 29, 52, 0.08);
    color: var(--navy);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transform: none !important;
  }

  .dropdown-item-link:hover .dropdown-item-icon,
  .dropdown-item-link.active .dropdown-item-icon {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
  }

  .dropdown-item-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
  }

  .dropdown-item-title,
  .dropdown-menu a .dropdown-item-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
    white-space: normal;
  }

  .dropdown-item-desc,
  .dropdown-menu a .dropdown-item-desc {
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
    font-weight: 400;
    white-space: normal;
  }

  .dropdown-item-arrow {
    font-size: 10px;
    color: #94a3b8;
    margin-left: auto;
    flex-shrink: 0;
  }

  .dropdown-item-link:hover .dropdown-item-arrow {
    color: var(--navy);
    transform: translateX(2px);
  }

  /* Drawer Footer */
  .drawer-footer {
    display: flex !important;
    flex-direction: column;
    margin-top: 14px;
    width: 100%;
    padding-top: 6px;
  }

  .drawer-cta-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-bottom: 14px;
  }

  .drawer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.18s ease;
    box-sizing: border-box;
    width: 100%;
  }

  .drawer-cta-btn.btn-primary-cta {
    background: var(--navy);
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(7, 29, 52, 0.18);
    border: 1px solid var(--navy);
  }

  .drawer-cta-btn.btn-primary-cta:hover {
    background: var(--navy2);
    box-shadow: 0 4px 16px rgba(7, 29, 52, 0.25);
    transform: translateY(-1px);
  }

  .drawer-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .drawer-cta-btn.btn-secondary-cta {
    background: #f1f5f9;
    color: var(--navy);
    border: 1px solid #cbd5e1;
    font-size: 12px;
    padding: 10px 8px;
  }

  .drawer-cta-btn.btn-secondary-cta:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
  }

  .drawer-cta-btn.btn-gold-cta {
    background: var(--gold);
    color: #0e1e2c;
    border: 1px solid rgba(242, 177, 52, 0.4);
    font-size: 12px;
    padding: 10px 8px;
    box-shadow: 0 2px 8px rgba(242, 177, 52, 0.25);
  }

  .drawer-cta-btn.btn-gold-cta:hover {
    background: var(--gold2);
    box-shadow: 0 4px 14px rgba(242, 177, 52, 0.35);
  }

  /* Divider */
  .drawer-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 14px 0;
    border: none;
    width: 100%;
  }

  /* Contact Information Section */
  .drawer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .drawer-contact-item {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    transition: all 0.15s ease;
  }

  .drawer-contact-item:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
  }

  .drawer-contact-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(242, 177, 52, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .drawer-contact-icon {
    color: #b4821a;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .drawer-contact-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .drawer-contact-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
  }

  .drawer-contact-text strong {
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Social Media Section */
  .drawer-social {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .drawer-social-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
  }

  .drawer-social-row {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .drawer-social-btn {
    width: 38px;
    height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    background: #ffffff;
    transition: all 0.18s ease;
    text-decoration: none;
  }

  .drawer-social-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    padding: 64px 0 100px;
  }

  .hero h1 {
    font-size: clamp(36px, 6vw, 52px);
  }

  .hero-card {
    max-width: 520px;
  }

  .quick-actions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .about-grid,
  .president-grid,
  .project-grid,
  .year-grid,
  .trans-grid,
  .donate-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .values-strip {
    grid-template-columns: 1fr 1fr;
  }

  .impact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .impact-item {
    padding: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding-bottom: 24px;
  }

  .impact-item:last-child {
    border-bottom: none;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .event-feature {
    grid-template-columns: 90px 1fr;
  }

  .event-cta-col {
    grid-column: 2;
    align-items: flex-start;
    padding: 0 24px 28px;
  }

  .cruise-details {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 640px) {

  html,
  body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  .container {
    width: min(100% - 32px, var(--max));
  }

  .utility-bar {
    display: block !important;
  }

  .utility-inner {
    height: 32px;
    font-size: 11px;
    gap: 8px;
  }

  .utility-org {
    display: none !important;
  }

  .utility-ein {
    display: none !important;
  }

  .utility-badge {
    font-size: 10px;
    padding: 1.5px 7px;
  }

  .utility-desktop-link {
    display: none !important;
  }

  .utility-login-link {
    display: inline-flex !important;
    font-size: 11px;
    gap: 5px;
    font-weight: 600;
  }

  .utility-login-link i {
    font-size: 10.5px;
  }

  .nav-wrap {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .brand {
    margin-right: 0;
  }

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

  .brand-text span {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
  }

  .section,
  .section-sm {
    padding: 60px 0;
  }

  .hero-inner {
    padding: 44px 0 85px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .form-card {
    padding: 26px 18px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .hero h1 {
    font-size: clamp(24px, 6.5vw, 34px);
    letter-spacing: -0.5px;
  }

  .quick-actions-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .values-strip {
    grid-template-columns: 1fr;
  }

  .value-item,
  .value-item:first-child {
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

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

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

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

  .event-feature {
    grid-template-columns: 1fr;
  }

  .event-date-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 20px 24px;
  }

  .event-cta-col {
    grid-column: auto;
    padding: 0 24px 24px;
  }

  .other-projects {
    grid-template-columns: 1fr;
  }

  .donate-ways {
    grid-template-columns: 1fr;
  }

  .year-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .trans-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .join-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-top {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

@media(max-width: 768px) and (min-width: 641px) {
  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── MULTI-PAGE & COMMON DESIGN SYSTEM ADDITIONS ── */

/* Explicitly protect dropdown menu links from top-level navbar styling overrides */
.main-nav .dropdown-menu a,
.drawer-links .dropdown-menu a {
  position: relative;
}

.main-nav .dropdown-menu a::after,
.main-nav .dropdown-menu a.active::after,
.drawer-links .dropdown-menu a::after,
.drawer-links .dropdown-menu a.active::after {
  display: none !important;
  content: none !important;
}

/* ── PAGE HERO BANNER ── */
.page-hero {
  background: linear-gradient(135deg, #071d34 0%, #0b345b 60%, #0f5b92 100%);
  color: #fff;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(242, 177, 52, .12), transparent 55%);
  pointer-events: none;
}

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

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 16px;
  font-weight: 500;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  transition: color .2s;
}

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

.breadcrumbs span {
  color: rgba(255, 255, 255, .4);
}

.page-hero h1 {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-hero-lead {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
  margin: 0;
}

/* ── FORM ELEMENTS ── */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: 0 6px 24px rgba(7, 29, 52, .04);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .2px;
}

.form-label .req {
  color: #dc2626;
  margin-left: 3px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  color: #1e293b;
  background: #fdfefe;
  border: 1.5px solid #d0dbe2;
  border-radius: 8px;
  padding: 12px 16px;
  transition: border-color .18s, box-shadow .18s;
  outline: none;
  box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(15, 91, 146, .15);
  background: #fff;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-help {
  font-size: 12px;
  color: var(--muted);
}

/* ── LEADERSHIP CARDS ── */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.leader-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(7, 29, 52, .04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex;
  flex-direction: column;
}

.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(7, 29, 52, .08);
  border-color: rgba(242, 177, 52, .4);
}

.leader-avatar-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #071d34, #0f5b92);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.leader-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.leader-initials {
  font-family: "Libre Baskerville", serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}

.leader-body {
  padding: 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.leader-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9a6c10;
  margin-bottom: 6px;
}

.leader-name {
  font-family: "Libre Baskerville", serif;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 10px;
}

.leader-bio {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ── YEAR GROUPS CARDS ── */
.year-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.year-filter-btn {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all .18s;
}

.year-filter-btn:hover,
.year-filter-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.year-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.year-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(7, 29, 52, .04);
  transition: all .2s;
  display: flex;
  flex-direction: column;
}

.year-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 177, 52, .4);
  box-shadow: 0 12px 28px rgba(7, 29, 52, .09);
}

.year-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.year-badge-pill {
  background: #edf3f8;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 6px;
  font-family: "Libre Baskerville", serif;
}

/* ── DONATION SELECTORS ── */
.amount-btn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.amount-btn {
  background: #f8fafc;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 14px 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  cursor: pointer;
  transition: all .18s;
}

.amount-btn:hover,
.amount-btn.active {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(7, 29, 52, .15);
}

.freq-toggle {
  display: inline-flex;
  background: #edf3f8;
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 24px;
}

.freq-btn {
  padding: 8px 20px;
  border-radius: 26px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  transition: all .18s;
}

.freq-btn.active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 8px rgba(7, 29, 52, .2);
}

/* ── TABS & PANELS ── */
.tab-bar {
  display: flex;
  gap: 12px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 32px;
}

.tab-btn {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all .18s;
}

.tab-btn:hover {
  color: var(--navy);
}

.tab-btn.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

/* ── RESPONSIVE COMPONENT FIXES ── */
@media(max-width: 768px) {

  .form-grid-2,
  .form-grid-3,
  .amount-btn-grid {
    grid-template-columns: 1fr;
  }
}

/* ── CAREER & MENTORSHIP ── */
.mentor-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 56px;
}

.mentor-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(7, 29, 52, .04);
  position: relative;
  overflow: hidden;
}

.mentor-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--navy);
}

.mentor-box.gold-top::before {
  background: var(--gold);
}

.job-board-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.job-board-filters #job-search-input {
  flex: 1 1 280px;
}

.job-board-filters #job-type-filter {
  flex: 0 0 180px;
}

.job-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.job-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: all .2s;
}

.job-card:hover {
  border-color: rgba(7, 29, 52, .3);
  box-shadow: 0 8px 24px rgba(7, 29, 52, .07);
  transform: translateY(-2px);
}

.job-card h3 {
  margin: 4px 0 2px;
  color: var(--navy);
  font-family: 'Libre Baskerville', serif;
  font-size: 18px;
}

.job-card-tags {
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.job-company {
  color: var(--ink);
  font-weight: 700;
}

.job-description {
  display: -webkit-box;
  max-width: 850px;
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.job-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

.job-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.job-tag-fulltime {
  background: #e6f4ea;
  color: #137333;
}

.job-tag-internship {
  background: #e8f0fe;
  color: #1a73e8;
}

.job-tag-remote {
  background: #fef7e0;
  color: #b06000;
}

.job-tag-contract {
  background: #f3e8ff;
  color: #7e22ce;
}

.job-board-state {
  display: flex;
  min-height: 150px;
  padding: 30px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.job-board-state strong {
  color: var(--navy);
  font-family: 'Libre Baskerville', serif;
  font-size: 17px;
}

.job-loading-dot {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(7, 29, 52, .14);
  border-top-color: var(--gold3);
  border-radius: 50%;
  animation: job-loading-spin .8s linear infinite;
}

@keyframes job-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.biz-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  transition: all .2s;
}

.biz-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(7, 29, 52, .08);
  border-color: rgba(242, 177, 52, .5);
}

.biz-avatar {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

/* ── UNIVERSAL GRID UTILITIES ── */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── 75TH ANNIVERSARY & DIAMOND JUBILEE ── */
.pillar-card {
  background: #ffffff;
  border: 1px solid rgba(7, 29, 52, 0.08);
  border-radius: 16px;
  padding: 30px 24px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(7, 29, 52, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(7, 29, 52, 0.1), rgba(15, 91, 146, 0.25));
  transition: all 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 177, 52, 0.6);
  box-shadow: 0 16px 36px rgba(7, 29, 52, 0.09), 0 0 0 1px rgba(242, 177, 52, 0.25);
}

.pillar-card:hover::before {
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  height: 4px;
}

.pillar-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(15, 91, 146, 0.07);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.pillar-card:hover .pillar-icon-box {
  background: var(--navy);
  color: var(--gold);
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(7, 29, 52, 0.2);
}

.pillar-num {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: rgba(7, 29, 52, 0.18);
  letter-spacing: -1px;
  line-height: 1;
  transition: color 0.25s ease;
}

.pillar-card:hover .pillar-num {
  color: var(--gold3);
}

.pillar-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  color: var(--blue);
  background: rgba(15, 91, 146, 0.07);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  width: fit-content;
  transition: all 0.2s ease;
}

.pillar-card:hover .pillar-tag {
  background: rgba(242, 177, 52, 0.16);
  color: #8c5b00;
}

.pillar-card h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 18px;
}

.pillar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 9px 12px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid rgba(7, 29, 52, 0.05);
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

.pillar-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.pillar-meta span+span::before {
  content: '•';
  color: var(--gold3);
  font-weight: 900;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: auto;
}

.pillar-link svg {
  transition: transform 0.2s ease, color 0.2s ease;
}

.pillar-card:hover .pillar-link {
  color: var(--navy);
}

.pillar-card:hover .pillar-link svg {
  transform: translateX(4px);
  color: var(--gold3);
}

/* ── DOCUMENT CARDS (PORTAL) ── */
.doc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: all .22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(7, 29, 52, .04);
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(7, 29, 52, .09);
  border-color: rgba(15, 91, 146, .35);
}

.doc-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(15, 91, 146, .08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.doc-card h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
}

.doc-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 20px;
}

.jubilee-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242, 177, 52, .15);
  border: 1px solid rgba(242, 177, 52, .35);
  color: var(--gold2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}

.sponsor-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all .2s;
}

.sponsor-card.featured {
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(242, 177, 52, .18);
}

.sponsor-price {
  font-family: "Libre Baskerville", serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin: 14px 0 10px;
}

.sponsor-card ul {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sponsor-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.gallery-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: all .22s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(7, 29, 52, .12);
  border-color: rgba(7, 29, 52, .2);
}

.gallery-thumb {
  height: 220px;
  background: #092036;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.gallery-card:hover .gallery-thumb img {
  transform: scale(1.05);
}

.gallery-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 29, 52, .8);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  letter-spacing: .4px;
}

.gallery-body {
  padding: 18px 20px;
}

.gallery-body h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 6px;
}

.gallery-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.video-card {
  background: #092036;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .1);
}

.video-aspect {
  position: relative;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #071d34 0%, #0f355c 100%);
}

.play-btn-circle {
  width: 58px;
  height: 58px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
  transition: transform .2s;
}

.video-card:hover .play-btn-circle {
  transform: scale(1.1);
}

.video-info {
  padding: 18px 22px;
}

/* ── MEMBER PORTAL ── */
.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 64px;
}

.portal-layout.is-authenticated {
  grid-template-columns: minmax(0, 820px);
}

.portal-member-dashboard {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.portal-member-dashboard[hidden] {
  display: none;
}

.portal-session-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 4px;
}

.portal-session-bar span {
  color: var(--gold3);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.portal-session-bar h2 {
  margin: 4px 0 0;
  color: var(--navy);
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(21px, 3vw, 28px);
}

.portal-auth-card {
  border-top: 4px solid var(--gold);
}

.portal-auth-heading {
  margin-bottom: 24px;
}

.portal-auth-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--gold3);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.portal-auth-heading h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(23px, 3vw, 30px);
}

.portal-auth-heading p,
.portal-form-note {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.portal-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 24px;
}

.portal-auth-tabs .tab-btn {
  justify-content: center;
  padding: 12px 16px;
}

.portal-form-note {
  margin: 0 0 20px;
}

.portal-auth-switch {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.portal-auth-switch button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.portal-auth-switch button:hover {
  color: var(--navy);
}

.member-id-card {
  background: linear-gradient(135deg, #071d34 0%, #0c3359 100%);
  border: 1px solid rgba(242, 177, 52, .3);
  border-radius: 16px;
  padding: 30px 28px;
  color: #fff;
  box-shadow: 0 16px 36px rgba(7, 29, 52, .2);
  position: relative;
  overflow: hidden;
}

.member-id-card::after {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 177, 52, .12) 0%, transparent 70%);
}

/* Authenticated portal workspace */
.portal-layout.is-authenticated {
  grid-template-columns: minmax(0, 1180px);
  margin-bottom: 0;
}

.portal-layout.is-authenticated+* {
  display: none;
}

.portal-member-dashboard {
  width: 100%;
}

.portal-shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 720px;
  border: 1px solid #dce5ec;
  border-radius: 18px;
  overflow: hidden;
  background: #f4f7fa;
  box-shadow: 0 18px 55px rgba(7, 29, 52, .11);
}

.portal-sidebar {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px 16px 18px;
  color: #d7e3ed;
  background: linear-gradient(180deg, #071d34 0%, #092945 100%);
}

.portal-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 8px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.portal-sidebar-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.portal-sidebar-brand div {
  display: flex;
  flex-direction: column;
}

.portal-sidebar-brand strong {
  color: #fff;
  font-family: 'Libre Baskerville', serif;
  font-size: 16px;
  line-height: 1.2;
}

.portal-sidebar-brand span {
  color: #91a8ba;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.portal-member-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 3px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
}

.portal-avatar,
.portal-top-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
}

.portal-member-mini div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.portal-member-mini strong {
  overflow: hidden;
  color: #fff;
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-member-mini span:not(.portal-avatar) {
  overflow: hidden;
  color: #8fa7ba;
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-side-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.portal-side-nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #aebfcd;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  text-align: left;
  transition: background .18s, color .18s;
}

.portal-side-nav button>span {
  width: 22px;
  color: #8ca4b8;
  font-size: 19px;
  line-height: 1;
  text-align: center;
}

.portal-side-nav button:hover {
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.portal-side-nav button.active {
  color: #fff;
  background: rgba(242, 177, 52, .14);
  box-shadow: inset 3px 0 var(--gold);
}

.portal-side-nav button.active>span {
  color: var(--gold);
}

.portal-sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.portal-sidebar-footer a,
.portal-sidebar-footer button {
  padding: 8px 11px;
  border: 0;
  background: transparent;
  color: #8fa7ba;
  cursor: pointer;
  font: 600 11.5px 'DM Sans', sans-serif;
  text-align: left;
}

.portal-sidebar-footer a:hover,
.portal-sidebar-footer button:hover {
  color: #fff;
}

.portal-main {
  min-width: 0;
  background: #f5f7f9;
}

.portal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 16px 28px;
  border-bottom: 1px solid #e1e7ec;
  background: #fff;
}

.portal-topbar>div:first-child {
  display: flex;
  flex-direction: column;
}

.portal-topbar>div:first-child>span {
  color: #8695a3;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.portal-topbar h2 {
  color: var(--navy);
  font: 700 20px 'Libre Baskerville', serif;
}

.portal-topbar-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}

.portal-top-avatar {
  width: 34px;
  height: 34px;
}

.portal-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 6px 11px;
  border: 1px solid #cce7da;
  border-radius: 99px;
  background: #eef9f3;
  color: #19734a;
  font-size: 10.5px;
  font-weight: 750;
  white-space: nowrap;
}

.portal-status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #26a269;
  box-shadow: 0 0 0 3px rgba(38, 162, 105, .12);
}

.portal-status-pill.lapsed {
  border-color: #f1caca;
  background: #fff3f3;
  color: #a83a3a;
}

.portal-status-pill.lapsed i {
  background: #d94b4b;
}

.portal-status-pill.neutral {
  border-color: #dbe3e9;
  background: #fff;
  color: #66717e;
}

.portal-status-pill.neutral i {
  background: #98a6b2;
  box-shadow: none;
}

.portal-view {
  padding: 28px;
  animation: portalFade .2s ease;
}

.portal-view[hidden] {
  display: none;
}

@keyframes portalFade {
  from {
    opacity: 0;
    transform: translateY(3px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.portal-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 25px 28px;
  border-radius: 13px;
  background: linear-gradient(120deg, #0a2b4b, #104c75);
  color: #fff;
  box-shadow: 0 10px 24px rgba(7, 29, 52, .13);
}

.portal-welcome h3,
.portal-page-intro h3 {
  margin: 3px 0 4px;
  font: 700 clamp(21px, 2.5vw, 27px) 'Libre Baskerville', serif;
}

.portal-welcome p {
  color: #b8c9d7;
  font-size: 13px;
}

.portal-eyebrow {
  color: var(--gold3);
  font-size: 9.5px;
  font-weight: 850;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.portal-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.portal-stat-grid-two {
  grid-template-columns: repeat(2, minmax(0, 280px));
}

.portal-stat-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 17px;
  border: 1px solid #e0e7ec;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(7, 29, 52, .035);
}

.portal-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 800;
}

.portal-stat-icon.gold {
  background: #fff4db;
  color: #a86f00;
}

.portal-stat-icon.blue {
  background: #e9f3fb;
  color: #0f5b92;
}

.portal-stat-icon.teal {
  background: #e7f7f2;
  color: #16785c;
}

.portal-stat-card div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.portal-stat-card div>span {
  color: #788692;
  font-size: 10px;
  font-weight: 650;
  text-transform: uppercase;
}

.portal-stat-card strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-stat-card small {
  color: #95a0a9;
  font-size: 9.5px;
}

.portal-dashboard-grid,
.portal-dues-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(230px, .65fr);
  gap: 20px;
  align-items: start;
}

.portal-dues-grid {
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
}

.portal-panel {
  min-width: 0;
  padding: 21px;
  border: 1px solid #dfe6eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 13px rgba(7, 29, 52, .035);
}

.portal-panel-head,
.portal-page-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 17px;
}

.portal-panel-head h3 {
  color: var(--navy);
  font: 700 16px 'Libre Baskerville', serif;
}

.portal-text-button {
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font: 700 10.5px 'DM Sans', sans-serif;
}

.portal-panel .member-id-card {
  padding: 23px;
  border-radius: 13px;
  box-shadow: 0 10px 26px rgba(7, 29, 52, .16);
}

.portal-quick-panel>button {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 13px 28px 13px 0;
  border: 0;
  border-bottom: 1px solid #edf0f2;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.portal-quick-panel>button:last-child {
  border-bottom: 0;
}

.portal-quick-panel>button span {
  font-size: 12px;
  font-weight: 750;
}

.portal-quick-panel>button small {
  color: #8a96a0;
  font-size: 10px;
}

.portal-quick-panel>button b {
  position: absolute;
  top: 18px;
  right: 2px;
  color: var(--gold3);
}

.portal-page-intro {
  margin-bottom: 22px;
}

.portal-page-intro h3 {
  color: var(--navy);
}

.portal-page-intro p,
.portal-payment-panel>p {
  color: var(--muted);
  font-size: 12.5px;
}

.portal-payment-panel .freq-toggle {
  margin: 18px 0 14px;
}

.portal-payment-summary {
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 8px;
  background: #f6f8fa;
}

.portal-payment-summary div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11.5px;
}

.portal-payment-summary div+div {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #e5eaee;
}

.portal-payment-summary strong {
  color: var(--navy);
}

.portal-payment-summary #dues-summary-amount {
  color: var(--gold3);
  font-size: 16px;
}

.portal-payment-panel .btn {
  width: 100%;
}

.portal-zelle-button {
  width: 100%;
  padding: 10px 2px 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font: 650 11px 'DM Sans', sans-serif;
}

.portal-history {
  min-height: 160px;
}

.portal-history-loading {
  padding: 48px 10px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.portal-history-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid #edf0f2;
}

.portal-history-row:last-child {
  border-bottom: 0;
}

.portal-history-row div {
  display: flex;
  flex-direction: column;
}

.portal-history-row strong {
  color: var(--navy);
  font-size: 12px;
}

.portal-history-row small {
  color: #8b98a3;
  font-size: 10px;
}

.portal-history-row>strong {
  color: var(--navy);
  font-size: 12.5px;
}

.portal-empty-state {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 30px 10px;
  color: var(--muted);
  text-align: center;
}

.portal-empty-state>span {
  color: var(--gold3);
  font-size: 27px;
}

.portal-empty-state strong {
  color: var(--navy);
  font-size: 13px;
}

.portal-empty-state p {
  margin: 4px 0 8px;
  font-size: 11px;
}

.portal-empty-state a {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.portal-empty-state button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font: 700 11px 'DM Sans', sans-serif;
}

.portal-donor-identity {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
  padding: 13px 16px;
  border: 1px solid #dfe6eb;
  border-radius: 11px;
  background: #f8fafc;
}

.portal-donor-identity-avatar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold3);
  font: 700 15px 'Libre Baskerville', serif;
}

.portal-donor-identity-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.portal-donor-identity-info strong {
  color: var(--navy);
  font-size: 13px;
}

.portal-donor-identity-info span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-donor-identity-tag {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff2d3;
  color: #a66d00;
  font: 700 9.5px 'DM Sans', sans-serif;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.portal-mentorship-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 20px;
  padding: 27px;
  border-radius: 13px;
  background: linear-gradient(120deg, #f8e9c7, #fff7e6);
  color: var(--navy);
}

.portal-mentorship-banner span {
  color: #996700;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.portal-mentorship-banner h3 {
  margin: 4px 0;
  max-width: 560px;
  font: 700 22px 'Libre Baskerville', serif;
}

.portal-mentorship-banner p {
  color: #6c6251;
  font-size: 12px;
}

.portal-mentor-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 75px;
  height: 75px;
  border: 2px solid rgba(7, 29, 52, .14);
  border-radius: 50%;
  color: #9c6c0a;
  font: 800 21px 'Libre Baskerville', serif;
}

.portal-textarea {
  min-height: 115px;
  resize: vertical;
}

.portal-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.portal-resource-grid a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 18px;
  border: 1px solid #dfe6eb;
  border-radius: 11px;
  background: #fff;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}

.portal-resource-grid a:hover {
  transform: translateY(-2px);
  border-color: #d8ad55;
  box-shadow: 0 8px 20px rgba(7, 29, 52, .07);
}

.portal-resource-grid a>span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 45px;
  border-radius: 7px;
  background: #fff2d3;
  color: #a66d00;
  font-size: 9px;
  font-weight: 850;
}

.portal-resource-grid div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.portal-resource-grid strong {
  color: var(--navy);
  font-size: 12.5px;
}

.portal-resource-grid small {
  color: var(--muted);
  font-size: 10px;
}

.portal-resource-grid b {
  color: var(--gold3);
}

.portal-mobile-menu {
  display: none;
}

.portal-sidebar-backdrop {
  display: none;
}

body.portal-authenticated .page-hero {
  display: none;
}

body.portal-authenticated main>.section {
  padding: 34px 0 48px;
  background: #eef2f5;
}

@media(max-width: 900px) {
  .portal-shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .portal-sidebar {
    padding-inline: 12px;
  }

  .portal-view {
    padding: 20px;
  }

  .portal-stat-grid {
    grid-template-columns: 1fr;
  }

  .portal-stat-grid-two {
    grid-template-columns: repeat(2, 1fr);
  }

  .portal-dashboard-grid,
  .portal-dues-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 700px) {

  .portal-layout.is-authenticated,
  .portal-member-dashboard,
  .portal-shell,
  .portal-main {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .portal-shell {
    overflow: hidden;
  }

  .portal-mobile-menu {
    display: flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-bottom: 10px;
    padding: 8px 11px;
    border: 1px solid #ccd6de;
    border-radius: 7px;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
    font: 700 12px 'DM Sans', sans-serif;
  }

  .portal-shell {
    display: block;
    overflow: visible;
  }

  .portal-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 102;
    width: min(275px, 84vw);
    min-height: 100vh;
    transform: translateX(-105%);
    transition: transform .23s ease;
  }

  .portal-sidebar.open {
    transform: translateX(0);
  }

  .portal-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 101;
    border: 0;
    background: rgba(3, 16, 29, .56);
  }

  .portal-sidebar-backdrop.open {
    display: block;
  }

  .portal-topbar {
    padding: 14px 17px;
  }

  .portal-status-pill {
    display: none;
  }

  .portal-view {
    padding: 17px 14px 22px;
  }

  .portal-welcome {
    align-items: flex-start;
    flex-direction: column;
    min-width: 0;
    padding: 22px;
  }

  .portal-welcome>div {
    min-width: 0;
  }

  .portal-page-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-stat-grid-two,
  .portal-resource-grid {
    grid-template-columns: 1fr;
  }

  .portal-mentorship-banner {
    align-items: flex-start;
  }

  .portal-mentor-mark {
    display: none;
  }
}

.portal-spaced-panel {
  margin-top: 22px;
}

.portal-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 20px;
}

.portal-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.portal-directory-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: #fff;
}

.portal-directory-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 5px;
}

.portal-directory-card span {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.legal-copy {
  max-width: 900px;
}

.legal-copy h3 {
  color: var(--navy);
  font-family: 'Libre Baskerville', serif;
  margin: 26px 0 8px;
}

.legal-copy p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 14px;
}

.legal-section-alt {
  background: #f8fafc;
  border-top: 1px solid var(--line);
}

.project-update-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.project-update-card {
  background: #f8fafc;
  border-left: 3px solid var(--gold);
  border-radius: 7px;
  padding: 14px;
}

.project-update-card small,
.project-update-card strong {
  display: block;
}

.project-update-card strong {
  color: var(--navy);
  margin: 3px 0 5px;
}

.project-update-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.project-update-card img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 6px;
  margin-top: 12px;
}

@media(max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

@media(max-width: 900px) {

  .mentor-split,
  .biz-grid,
  .sponsor-grid,
  .gallery-grid,
  .video-grid,
  .portal-layout {
    grid-template-columns: 1fr;
  }

  .job-card {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media(max-width: 640px) {
  .portal-session-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}

/* ── WELCOME MODAL ── */
.welcome-modal {
  padding: 0;
  border: none;
  background: transparent;
  outline: none;
  max-width: calc(100vw - 32px);
}

.welcome-modal::backdrop {
  background: rgba(4, 20, 38, 0.7);
  backdrop-filter: blur(8px);
}

.welcome-modal .modal-content {
  position: relative;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.welcome-modal .modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}

.welcome-modal .modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ── ALL PROJECTS LISTING & DETAILS PAGE ── */
.projects-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 4px 16px rgba(7, 29, 52, .04);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(7, 29, 52, .1);
  border-color: rgba(7, 29, 52, .2);
}

.project-card-thumb-wrap {
  position: relative;
  height: 220px;
  background: #071d34;
  overflow: hidden;
}

.project-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}

.project-card:hover .project-card-thumb {
  transform: scale(1.06);
}

.project-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}

.project-badge-active {
  background: rgba(22, 163, 74, .92);
  color: #fff;
}

.project-badge-planning {
  background: rgba(217, 119, 6, .92);
  color: #fff;
}

.project-badge-completed {
  background: rgba(3, 105, 161, .92);
  color: #fff;
}

.project-card-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(7, 29, 52, .85);
  color: #f2b134;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(242, 177, 52, .3);
}

.project-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.35;
}

.project-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.project-card-title a:hover {
  color: var(--gold);
}

.project-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.project-card-meta-row span strong {
  color: var(--navy);
}

.project-card-progress {
  margin-bottom: 20px;
}

.project-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.project-card-actions .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
}

/* ── PROJECT DETAILS PAGE ── */
.project-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: start;
}

.project-detail-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.project-detail-banner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(7, 29, 52, .06);
}

.project-detail-banner-wrap {
  position: relative;
  max-height: 440px;
  background: #071d34;
  overflow: hidden;
}

.project-detail-banner-img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.project-detail-banner-caption {
  padding: 14px 20px;
  background: #f8fafc;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.project-panel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 18px rgba(7, 29, 52, .04);
}

.project-panel-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.project-panel-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 22px;
  color: var(--navy);
  margin: 0;
}

.project-prose {
  font-size: 15.5px;
  line-height: 1.8;
  color: #334155;
}

.project-prose p {
  margin: 0 0 16px;
}

.project-prose p:last-child {
  margin-bottom: 0;
}

.project-objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.project-objective-item {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.project-objective-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(242, 177, 52, .18);
  color: #b47808;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

.project-objective-item strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 4px;
}

.project-objective-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ── PROJECT GALLERY ── */
.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.project-gallery-item {
  position: relative;
  height: 170px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #092036;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.project-gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 26px rgba(7, 29, 52, .15);
  border-color: var(--gold);
}

.project-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.project-gallery-item:hover .project-gallery-img {
  transform: scale(1.08);
}

.project-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 52, 0) 30%, rgba(7, 29, 52, .88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  color: #fff;
  opacity: .95;
  transition: opacity .2s ease;
}

.project-gallery-overlay span {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-gallery-zoom-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(7, 29, 52, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.8);
  transition: all .2s ease;
  backdrop-filter: blur(4px);
  color: #f2b134;
}

.project-gallery-item:hover .project-gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* ── PROJECT SIDEBAR WIDGETS ── */
.project-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 96px;
}

.project-sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 4px 18px rgba(7, 29, 52, .04);
}

.project-sidebar-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-facts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-fact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-fact-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  font-weight: 600;
}

.project-fact-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.project-share-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
}

.project-share-btn:hover {
  background: #f8fafc;
  border-color: var(--navy);
  color: var(--navy);
}

@media (max-width: 992px) {
  .project-detail-layout {
    grid-template-columns: 1fr;
  }
  .project-detail-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .projects-card-grid {
    grid-template-columns: 1fr;
  }
  .project-panel-card {
    padding: 22px 18px;
  }
  .project-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}