:root {
  --ink: #071f36;
  --blue: #145da0;
  --sky: #367fd3;
  --gold: #f6c744;
  --paper: #f7f9fc;
  --white: #fff;
  --muted: #607085;
  --line: #dbe4ed;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
}
.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 31, 54, 0.95);
  backdrop-filter: blur(12px);
  color: #fff;
}
.navin {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.brand-logo {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 10px;
  background: #fff;
}
.brand-logo img {
  display: block;
  width: 126px;
  height: auto;
}
.mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.links a {
  text-decoration: none;
  font-size: 0.9rem;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px #0002;
}
.btn.outline {
  background: transparent;
  color: #fff;
  border-color: #ffffff66;
}
.hero {
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, #367fd388, transparent 34%),
    linear-gradient(135deg, #071f36 10%, #0d3c66 100%);
  min-height: 720px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero:after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid #ffffff1a;
  border-radius: 50%;
  right: -120px;
  bottom: -250px;
}
.eyebrow {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}
.hero h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  max-width: 940px;
  margin: 20px 0 24px;
}
.hero h1 span {
  color: var(--gold);
}
.lead {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  max-width: 730px;
  color: #dce9f6;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}
.fact {
  padding: 10px 15px;
  border: 1px solid #ffffff33;
  background: #ffffff0c;
  border-radius: 8px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.section {
  padding: 96px 0;
}
.section.dark {
  background: var(--ink);
  color: #fff;
}
.section.blue {
  background: var(--blue);
  color: #fff;
}
.kicker {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
}
.dark .kicker,
.blue .kicker {
  color: var(--gold);
}
h2 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 12px 0 32px;
}
h3 {
  font-size: 1.45rem;
  line-height: 1.2;
}
.intro {
  font-size: 1.25rem;
  max-width: 850px;
}
.grid2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: #fff;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.dark .card {
  background: #0d2b46;
  border-color: #ffffff1c;
}
.num {
  font-size: 3rem;
  color: var(--gold);
  font-weight: 900;
  line-height: 1;
}
.check {
  list-style: none;
  padding: 0;
}
.check li {
  margin: 12px 0;
  padding-left: 28px;
  position: relative;
}
.check li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 900;
}
.timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.day {
  padding: 34px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
}
.day .tag {
  display: inline-block;
  background: var(--gold);
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.8rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: #ffffff2b;
  border: 1px solid #ffffff2b;
}
.stat {
  background: var(--ink);
  padding: 28px 16px;
  text-align: center;
}
.stat b {
  display: block;
  color: var(--gold);
  font-size: 2.2rem;
}
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.package {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.package.featured {
  background: var(--ink);
  color: #fff;
  transform: translateY(-10px);
  box-shadow: 0 24px 50px #071f3622;
}
.price {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.package .btn {
  margin-top: auto;
}
.minihero {
  padding: 110px 0;
  background: linear-gradient(135deg, var(--ink), var(--blue));
  color: #fff;
}
.minihero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  margin: 14px 0;
}
.footer {
  background: #041625;
  color: #cbd9e6;
  padding: 56px 0 30px;
}
.footergrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer a {
  color: #fff;
}
.fine {
  border-top: 1px solid #ffffff1d;
  margin-top: 38px;
  padding-top: 20px;
  font-size: 0.85rem;
}
.mobile {
  display: none;
}
@media (max-width: 850px) {
  .links {
    display: none;
  }
  .mobile {
    display: block;
  }
  .hero {
    min-height: auto;
    padding: 90px 0;
  }
  .grid2,
  .timeline,
  .cards,
  .packages,
  .footergrid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: 68px 0;
  }
  .package.featured {
    transform: none;
  }
  .hero h1 {
    font-size: 3.3rem;
  }
  .wrap {
    width: min(100% - 28px, var(--max));
  }
}
.partners {
  overflow: hidden;
  background: linear-gradient(145deg, #06192b 0%, #0c3154 48%, #145da0 100%);
  color: #fff;
}
.partners h2 {
  max-width: 760px;
}
.partners-stage {
  position: relative;
  isolation: isolate;
  padding: clamp(18px, 4vw, 46px);
  border: 1px solid #ffffff24;
  border-radius: 26px;
  background: linear-gradient(120deg, #ffffff10, #ffffff04);
  box-shadow:
    inset 0 1px #ffffff30,
    0 34px 90px #0005;
}
.partners-stage:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% 8%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #f6c74438 0%,
    #367fd32a 35%,
    transparent 70%
  );
  filter: blur(22px);
  animation: partnerGlow 4s ease-in-out infinite;
}
.partners-image {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  border-radius: 18px;
  filter: drop-shadow(0 0 9px #fff5) drop-shadow(0 0 24px #f6c74445);
  animation: partnerFloat 5s ease-in-out infinite;
}
.partners-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid #f6c74466;
  border-radius: 50%;
  pointer-events: none;
}
.orbit-one {
  width: 180px;
  height: 180px;
  left: -55px;
  top: -70px;
  animation: orbitPulse 3.6s ease-in-out infinite;
}
.orbit-two {
  width: 260px;
  height: 260px;
  right: -100px;
  bottom: -135px;
  animation: orbitPulse 3.6s 1.3s ease-in-out infinite;
}
@keyframes partnerFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.008);
  }
}
@keyframes partnerGlow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}
@keyframes orbitPulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.82);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.08);
  }
}

.menu-toggle {
  position: relative;
  z-index: 102;
  width: 52px;
  height: 52px;
  margin-left: auto;
  border: 1px solid #ffffff3d;
  border-radius: 50%;
  background: #ffffff0d;
  color: #fff;
  cursor: pointer;
  transition: 0.25s;
}
.menu-toggle:hover {
  background: var(--gold);
  color: var(--ink);
  transform: scale(1.04);
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 14px;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: 0.35s;
}
.menu-toggle::before {
  transform: translateY(-7px);
}
.menu-toggle::after {
  transform: translateY(7px);
}
.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"]::before {
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"]::after {
  transform: rotate(-45deg);
}
.menu-panel {
  position: fixed;
  z-index: 100;
  inset: 0 0 0 auto;
  width: min(760px, 100%);
  height: 100dvh;
  padding: 120px clamp(28px, 7vw, 88px) 48px;
  background: linear-gradient(145deg, #071f36, #0d3c66);
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(14px, 2vh, 25px);
  transform: translateX(102%);
  visibility: hidden;
  transition:
    transform 0.65s cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s 0.65s;
  box-shadow: -30px 0 90px #0005;
  overflow-y: auto;
}
.menu-panel::before {
  content: "MENU";
  position: absolute;
  top: 38px;
  left: clamp(28px, 7vw, 88px);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.24em;
}
.menu-panel.open {
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}
.menu-panel a {
  font-size: clamp(2.05rem, 5vw, 4.8rem) !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: -0.055em;
  opacity: 0;
  transform: translateX(38px);
  transition:
    color 0.2s,
    opacity 0.35s,
    transform 0.5s;
  white-space: normal !important;
}
.menu-panel.open a {
  opacity: 1;
  transform: none;
}
.menu-panel.open a:nth-child(2) {
  transition-delay: 0.05s;
}
.menu-panel.open a:nth-child(3) {
  transition-delay: 0.1s;
}
.menu-panel.open a:nth-child(4) {
  transition-delay: 0.15s;
}
.menu-panel .btn {
  font-size: clamp(1.2rem, 2.6vw, 2rem) !important;
  letter-spacing: -0.02em;
  margin-top: 16px;
}
.menu-open {
  overflow: hidden;
}
.menu-open::after {
  content: "";
  position: fixed;
  z-index: 40;
  inset: 0;
  background: #020b15a8;
  backdrop-filter: blur(5px);
}
.navin > .mobile {
  display: none !important;
}
@media (max-width: 620px) {
  .navin {
    gap: 10px;
  }
  .brand span:last-child {
    display: none;
  }
  .menu-toggle {
    width: 46px;
    height: 46px;
  }
  .menu-toggle span,
  .menu-toggle::before,
  .menu-toggle::after {
    left: 11px;
  }
  .menu-panel {
    justify-content: flex-start;
    overflow: auto;
  }
  .menu-panel a {
    font-size: clamp(2rem, 10vw, 3.5rem) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .menu-panel,
  .menu-panel a,
  .menu-toggle {
    transition: none !important;
  }
}

/* UBAD community home */
.community-hero {
  min-height: 780px;
  padding: 92px 0;
  background:
    radial-gradient(circle at 82% 20%, #367fd344, transparent 26%),
    linear-gradient(135deg, #041625 0%, #0b3154 62%, #145da0 100%);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.project-label {
  display: inline-block;
  margin: 16px 0 0;
  padding: 7px 12px;
  border: 1px solid #ffffff40;
  border-radius: 99px;
  color: #dce9f6;
  font-size: 0.88rem;
}
.community-hero h1 {
  font-size: clamp(3.3rem, 6.7vw, 6.8rem);
  line-height: 0.91;
  letter-spacing: -0.06em;
  margin: 22px 0 26px;
}
.community-hero h1 span {
  color: var(--gold);
}
.community-hero .lead {
  font-size: 1.22rem;
}
.text-link {
  align-self: center;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  margin-left: 10px;
}
.hero-visual {
  position: relative;
}
.hero-visual img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 160px 16px 160px 16px;
  box-shadow: 0 40px 90px #0006;
}
.floating-note {
  position: absolute;
  left: -30px;
  bottom: 34px;
  padding: 22px 28px;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  gap: 11px;
  border-radius: 12px;
  box-shadow: 0 18px 50px #0004;
}
.brand-mantra span {
  font:
    900 0.83rem/1 Inter,
    Arial,
    sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand-mantra i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.5;
}
.brand-mantra {
  align-items: center;
}
.status-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: #fff;
  border-radius: 0 10px 10px 0;
  font-size: 0.95rem;
}
.mission-section h2 {
  max-width: 950px;
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #ffffff25;
  border: 1px solid #ffffff25;
}
.mission-grid article {
  padding: 30px;
  background: #071f36;
}
.mission-grid span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
}
.mission-grid h3 {
  font-size: 1.55rem;
}
.how-section {
  overflow: hidden;
  background: #fff;
}
.how-section h2 {
  max-width: 900px;
}
.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
}
.journey::before {
  content: "";
  position: absolute;
  top: 51px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--blue));
  transform-origin: left;
  animation: drawLine 2.5s ease both;
}
.journey article {
  position: relative;
  z-index: 1;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.journey article > b {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  box-shadow: 0 0 0 10px var(--paper);
  font-size: 0.9rem;
}
.journey article:nth-child(2) > b {
  background: var(--gold);
  color: var(--ink);
}
.journey article > div {
  padding-top: 25px;
}
.journey span {
  font-size: 1.65rem;
  font-weight: 900;
}
.journey p {
  color: var(--muted);
}
@keyframes drawLine {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 38px;
}
.section-head h2 {
  margin-bottom: 0;
}
.section-head > p {
  max-width: 450px;
  font-size: 1.05rem;
  color: var(--muted);
}
.benefits-showcase {
  color: #f7f7f5;
  background:
    radial-gradient(circle at 50% 0, #18334d 0, transparent 40%), #111014;
  text-align: center;
}
.benefits-inner {
  max-width: 920px;
}
.benefits-showcase h2 {
  margin: 20px auto 70px;
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 6.4rem);
}
.benefit-stack {
  display: grid;
  gap: 0;
  max-width: 760px;
  margin: auto;
}
.benefit-stack article {
  padding: 38px 20px 44px;
  border-top: 1px solid #ffffff24;
}
.benefit-stack article:last-child {
  border-bottom: 1px solid #ffffff24;
}
.benefit-stack b {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  place-items: center;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 500;
}
.benefit-stack h3 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}
.benefit-stack p {
  max-width: 630px;
  margin: auto;
  color: #b8b7bd;
  font-size: 1.05rem;
}
.audience-list {
  border-top: 1px solid #ffffff50;
}
.audience-list div {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  padding: 21px 0;
  border-bottom: 1px solid #ffffff50;
}
.audience-list b {
  color: var(--gold);
}
.audience-list span {
  font-size: clamp(1.35rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.member-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.directory-search-window {
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
  border: 1px solid #d7e0e9;
  border-radius: 26px;
  background: linear-gradient(145deg, #ffffff 0%, #f4f8fc 100%);
  box-shadow: 0 28px 80px #071f3618, 0 2px 0 #ffffff inset;
}
.directory-search-window::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  top: -90px;
  border-radius: 50%;
  background: #f5c84c26;
  pointer-events: none;
}
.search-window-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px 0;
}
.search-window-top div { display: flex; flex-direction: column; gap: 2px; }
.search-window-top strong { font-size: 1.15rem; color: var(--ink); }
.search-window-top small { color: var(--muted); }
.search-window-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #164f91);
  box-shadow: 0 10px 25px #367fd335;
}
.search-window-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.directory-search {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr auto;
  gap: 12px;
  padding: 20px 24px 24px;
}
.directory-search label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.directory-search label > span {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--blue);
}
.directory-search input,
.directory-search select {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid #ccd7e2;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.directory-search input:focus,
.directory-search select:focus {
  outline: 3px solid #367fd32b;
  border-color: var(--blue);
}
.directory-search .btn {
  align-self: end;
  min-height: 52px;
  padding-inline: 28px;
  border-radius: 14px;
  box-shadow: 0 12px 26px #071f3624;
}
.search-result {
  grid-column: 1/-1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.search-empty {
  padding: 28px;
  text-align: center;
  border: 1px dashed var(--blue);
  border-radius: 14px;
  margin-top: 16px;
}
.member-card[hidden] {
  display: none;
}
.logo-marquee {
  width: 100vw;
  margin: 0;
  overflow: hidden;
  background: transparent;
}
.logo-track {
  display: flex;
  gap: 22px;
  padding: 12px 0;
  width: max-content;
  animation: logoFlow 30s linear infinite;
}
.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}
.logo-item {
  width: 290px;
  height: 172px;
  padding: 20px 28px;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.logo-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 234px;
  max-height: 132px;
  object-fit: contain;
  object-position: center;
  filter: none;
  opacity: 1;
  transition: 0.3s;
}
.logo-item:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.03);
}
.partners-marquee-section {
  overflow: hidden;
  padding: 30px 0 26px;
  color: #fff;
  background: #111014;
  border-top: 1px solid #ffffff18;
  border-bottom: 1px solid #ffffff18;
}
.partners-label {
  margin-bottom: 3px;
}
.partners-label span {
  color: #8c8b91;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.catalog-note {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 2px 0;
  color: var(--muted);
}
.catalog-note strong {
  color: var(--ink);
}
@keyframes logoFlow {
  to {
    transform: translateX(calc(-50% - 11px));
  }
}
.member-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}
.member-card > img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  background: #f7f7f7;
  border-radius: 10px;
}
.member-card > span,
.member-wide span {
  color: var(--blue);
  font-weight: 800;
  font-size: 0.85rem;
}
.member-wide {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 30px;
}
.member-wide > img {
  height: 180px;
}
.center-action {
  text-align: center;
  margin-top: 30px;
}
.image-story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 620px;
  background: var(--ink);
  color: #fff;
}
.image-story > img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}
.image-story-copy {
  padding: clamp(50px, 8vw, 110px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.image-story-copy h2 {
  font-size: clamp(2.7rem, 5vw, 5rem);
}
.event-card {
  display: grid;
  grid-template-columns: 0.65fr 1.7fr 0.65fr;
  gap: 32px;
  align-items: center;
  padding: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 65px #071f3612;
}
.event-date {
  display: flex;
  gap: 16px;
  align-items: center;
}
.event-date strong {
  font-size: 3.6rem;
  line-height: 0.85;
  color: var(--blue);
}
.event-date span {
  font-weight: 800;
}
.event-main h3 {
  font-size: 2rem;
  margin: 10px 0;
}
.event-tag,
.plan,
.news-grid article > span {
  display: inline-block;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.event-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
}
.event-actions > a:last-child {
  font-weight: 900;
  text-decoration: none;
}
.team-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
  align-items: center;
}
.founder-photo img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 180px 18px 180px 18px;
}
.role {
  color: var(--gold);
  font-weight: 900;
}
.founder-quote {
  margin: 38px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid #ffffff2d;
}
.founder-quote blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  line-height: 1.45;
  font-style: italic;
  color: #f6f3eb;
}
.founder-quote figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 24px;
}
.founder-quote figcaption span {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 2.2rem;
  color: var(--gold);
  transform: rotate(-3deg);
}
.founder-quote figcaption small {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cbd9e6;
}
.reveal.visible .benefit-card,
.reveal.visible .mission-grid article,
.reveal.visible .news-grid article {
  animation: cardRise 0.65s ease both;
}
.reveal.visible article:nth-child(2) {
  animation-delay: 0.08s;
}
.reveal.visible article:nth-child(3) {
  animation-delay: 0.16s;
}
.reveal.visible article:nth-child(4) {
  animation-delay: 0.24s;
}
.reveal.visible article:nth-child(5) {
  animation-delay: 0.32s;
}
.reveal.visible article:nth-child(6) {
  animation-delay: 0.4s;
}
.hero-visual {
  animation: heroFloat 7s ease-in-out infinite;
}
.member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px #071f3615;
}
.member-card {
  transition: 0.3s;
}
@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes heroFloat {
  50% {
    transform: translateY(-10px);
  }
}
.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.membership-card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
}
.membership-card.featured {
  background: var(--ink);
  color: #fff;
  transform: translateY(-12px);
  box-shadow: 0 30px 70px #071f3630;
}
.membership-price {
  font-size: 2.9rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  margin: 15px 0;
}
.membership-price small {
  font-size: 0.9rem;
  letter-spacing: 0;
}
.membership-card .btn {
  margin-top: auto;
}
.membership-note {
  text-align: center;
  max-width: 850px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.partner-section {
  background: var(--gold);
}
.partner-section .kicker {
  color: var(--ink);
}
.partner-section .btn {
  background: var(--ink);
  color: #fff;
}
.team-section {
  overflow: hidden;
}
.team-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}
.team-head h2 {
  margin-bottom: 0;
}
.carousel-controls {
  display: flex;
  gap: 10px;
}
.carousel-controls button {
  width: 54px;
  height: 54px;
  border: 1px solid #ffffff45;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  transition: 0.2s;
}
.carousel-controls button:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.team-carousel {
  display: flex;
  gap: 20px;
  width: calc(100vw - max(40px, calc((100vw - var(--max)) / 2)));
  overflow-x: auto;
  padding: 0 28px 22px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #ffffff1c;
}
.team-slide {
  flex: 0 0 clamp(300px, 34vw, 420px);
  min-height: 650px;
  overflow: hidden;
  border: 1px solid #ffffff20;
  border-radius: 20px;
  background: #0d2b46;
  scroll-snap-align: start;
}
.team-slide img {
  width: 100%;
  height: 345px;
  object-fit: cover;
  object-position: center top;
}
.team-copy {
  display: flex;
  min-height: 300px;
  padding: 25px;
  flex-direction: column;
}
.team-copy .role {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.team-copy small {
  margin-top: 5px;
  color: #8ea2b4;
}
.team-copy blockquote {
  margin: 24px 0;
  color: #edf3f8;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.55;
}
.team-copy .signature {
  margin-top: auto;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  color: #fff;
  font-size: 1.65rem;
  font-weight: 500;
}
.news-section {
  background: #eaf0f6;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.news-grid article {
  padding: 28px;
  background: #fff;
  border-radius: 15px;
}
.news-grid a {
  font-weight: 900;
  color: var(--blue);
}
.final-cta {
  padding: 120px 0;
  background:
    radial-gradient(circle at 85% 15%, #367fd355, transparent 30%), var(--ink);
  color: #fff;
  text-align: center;
}
.final-cta h2 {
  max-width: 950px;
  margin: 20px auto 36px;
  font-size: clamp(3rem, 7vw, 6.7rem);
}
.final-cta .actions {
  justify-content: center;
}
@media (max-width: 950px) {
  .hero-layout,
  .team-layout,
  .image-story,
  .member-wide {
    grid-template-columns: 1fr;
  }
  .hero-visual img,
  .founder-photo img {
    height: 500px;
  }
  .mission-grid {
    grid-template-columns: 1fr 1fr;
  }
  .benefit-grid,
  .membership-grid,
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .event-card {
    grid-template-columns: 1fr;
  }
  .directory-search {
    grid-template-columns: 1fr 1fr;
  }
  .search-query {
    grid-column: 1/-1;
  }
  .event-actions {
    align-items: flex-start;
    text-align: left;
  }
  .image-story-copy {
    padding: 64px 28px;
  }
  .member-wide {
    display: block;
  }
  .member-wide > img {
    margin-bottom: 20px;
  }
}
@media (max-width: 650px) {
  .community-hero {
    padding: 70px 0;
  }
  .community-hero h1 {
    font-size: 3.25rem;
  }
  .hero-layout {
    gap: 38px;
  }
  .hero-visual img {
    height: 390px;
    border-radius: 100px 12px 100px 12px;
  }
  .floating-note {
    left: 10px;
    bottom: 15px;
  }
  .mission-grid,
  .benefit-grid,
  .membership-grid,
  .news-grid,
  .member-grid {
    grid-template-columns: 1fr;
  }
  .journey,
  .directory-search {
    grid-template-columns: 1fr;
  }
  .journey::before {
    top: 25px;
    bottom: 25px;
    left: 52px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(var(--blue), var(--gold), var(--blue));
    animation: none;
  }
  .journey article {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 20px;
  }
  .journey article > div {
    padding-top: 0;
  }
  .search-query {
    grid-column: auto;
  }
  .directory-search .btn {
    width: 100%;
  }
  .logo-item {
    width: 240px;
    height: 142px;
    padding: 6px 10px;
  }
  .brand-logo img {
    width: 96px;
  }
  .team-head {
    align-items: flex-start;
  }
  .team-head h2 {
    font-size: 2.7rem;
  }
  .carousel-controls button {
    width: 46px;
    height: 46px;
  }
  .team-carousel {
    width: calc(100vw - 20px);
  }
  .team-slide {
    flex-basis: calc(100vw - 52px);
  }
  .catalog-note {
    flex-direction: column;
    gap: 2px;
  }
  .section-head {
    display: block;
  }
  .member-wide {
    grid-column: auto;
  }
  .membership-card.featured {
    transform: none;
  }
  .event-date strong {
    font-size: 3rem;
  }
  .image-story > img {
    min-height: 420px;
  }
  .text-link {
    width: 100%;
    margin: 8px 0 0;
  }
  .audience-list div {
    grid-template-columns: 50px 1fr;
  }
  .final-cta {
    padding: 80px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track,
  .hero-visual,
  .reveal.visible .benefit-card,
  .reveal.visible .mission-grid article,
  .reveal.visible .news-grid article {
    animation: none !important;
  }
}
