/* =============================================
   PAND Community — Main Stylesheet
   Extracted from homepage v10
   ============================================= */

:root {
  --navy:      #013B60;
  --blue:      #0069B3;
  --sky:       #9AE0FF;
  --sky-faint: #EAF7FF;
  --bg:        #FBFAF7;
  --white:     #FFFFFF;
  --text:      #1A2A38;
  --text-muted:#5A6B79;
  --container: 1240px;
  --gutter:    clamp(20px, 5vw, 56px);
  --transition:.35s cubic-bezier(.2,.7,.2,1);
  --font-display: 'Fraunces', Georgia, serif;
  --font-hero:    'Montserrat', var(--font-body);
  --font-body:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* Prevent flash before GSAP entrance animation */
.preanim .aletter,
.preanim .aword,
.preanim .tagline,
.preanim .glass-btn,
.preanim .hero-bg,
.preanim .hero-overlay { opacity: 0; }

/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 var(--gutter);
  transition: var(--transition);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav.scrolled .nav-inner {
  height: 66px;
  background: rgba(251,250,247,.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(1,59,96,.08);
  box-shadow: 0 6px 24px rgba(1,59,96,.06);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; border-radius: 9px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  color: #fff;
  letter-spacing: .01em;
  transition: color .3s;
}
.brand-sub {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sky);
  transition: color .3s;
}
.nav.scrolled .brand-name { color: var(--navy); }
.nav.scrolled .brand-sub  { color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  font-weight: 500;
  font-size: .97rem;
  color: rgba(255,255,255,.92);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--sky);
  transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }
.nav.scrolled .nav-links a       { color: var(--navy); }
.nav.scrolled .nav-links a::after{ background: var(--blue); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
  padding: 10px 22px;
  border-radius: 999px;
  transition: var(--transition);
  white-space: nowrap;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-cta:hover { background: rgba(255,255,255,.24); transform: translateY(-1px); }
.nav.scrolled .nav-cta       { background: var(--blue); border-color: transparent; color: #fff; }
.nav.scrolled .nav-cta:hover { background: var(--navy); }

.nav-right { display: flex; align-items: center; gap: 26px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.nav.scrolled .burger span { background: var(--navy); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 80px 0 auto 0;
  background: rgba(251,250,247,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99;
  transform: translateY(-130%);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
  padding: 18px var(--gutter) 32px;
  box-shadow: 0 20px 40px rgba(1,59,96,.12);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { list-style: none; }
.mobile-menu a {
  display: block;
  padding: 14px 4px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid rgba(1,59,96,.07);
}
.mobile-menu .nav-cta {
  margin-top: 18px;
  justify-content: center;
  width: 100%;
  padding: 14px;
  background: var(--blue);
  border-color: transparent;
}

@media (max-width: 768px) {
  .nav-links,
  .nav-right .nav-cta { display: none; }
  .burger { display: flex; }
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #013B60 center/cover no-repeat;
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(120% 80% at 50% 18%, rgba(154,224,255,.28), transparent 60%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(1,59,96,.55) 0%, rgba(0,105,179,.42) 55%, rgba(1,59,96,.66) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1000px;
  padding: 0 var(--gutter);
}

/* Acronym */
.acro { display: flex; justify-content: center; align-items: flex-start; gap: clamp(10px,3vw,46px); flex-wrap: wrap; }
.acol { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.aletter {
  font-family: var(--font-hero);
  font-weight: 800;
  color: #fff;
  line-height: .88;
  letter-spacing: -.02em;
  font-size: clamp(3.4rem, 13vw, 7.5rem);
  text-shadow: 0 8px 40px rgba(0,0,0,.25);
  will-change: transform, opacity;
}
.aword {
  margin-top: 12px;
  font-size: clamp(.68rem, 1.4vw, .95rem);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sky);
  white-space: nowrap;
}

.tagline {
  margin-top: 34px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255,255,255,.92);
  font-weight: 400;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.tagline b { color: #fff; font-weight: 600; }

/* Glass CTAs */
.glass-row { margin-top: 42px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.glass-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 16px 26px 16px 18px;
  border-radius: 18px;
  overflow: hidden;
  transition: var(--transition);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 8px 32px rgba(1,30,55,.28), inset 0 1px 0 rgba(255,255,255,.4);
}
.glass-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(255,255,255,.28), rgba(255,255,255,0) 42%);
}
.glass-btn:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.2);
  box-shadow: 0 16px 44px rgba(1,30,55,.34), inset 0 1px 0 rgba(255,255,255,.5);
}
.glass-btn .gic {
  width: 44px; height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
}
.glass-btn .gic svg { width: 22px; height: 22px; }
.glass-btn .gt1 { display: block; font-weight: 700; font-size: 1rem; color: #fff; line-height: 1.15; }
.glass-btn .gt2 { display: block; font-size: .8rem; color: rgba(255,255,255,.8); font-weight: 500; }
.glass-btn.primary { background: rgba(0,105,179,.34); border-color: rgba(154,224,255,.5); }
.glass-btn.primary:hover { background: rgba(0,105,179,.46); }

/* Scroll cue */
.scrollcue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scrollcue .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(rgba(255,255,255,.7), transparent);
  animation: drop 1.8s ease-in-out infinite;
}
@keyframes drop {
  0%,100% { opacity: .3; transform: scaleY(.6); }
  50%      { opacity: 1;  transform: scaleY(1);  }
}

@media (max-width: 768px) {
  .glass-btn { width: 100%; max-width: 360px; }
}
@media (max-width: 480px) {
  .acro { max-width: 330px; margin: 0 auto; gap: 20px 30px; }
  .acol { flex: 0 0 calc(50% - 15px); }
  .glass-btn { padding: 14px 18px 14px 14px; }
  .glass-btn .gic { width: 38px; height: 38px; }
}
@media (max-width: 380px) {
  .glass-btn { padding: 12px 14px; }
  .glass-btn .gic { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scrollcue .line { animation: none; }
}

/* ─────────────────────────────────────────────
   SHARED SECTION STYLES
───────────────────────────────────────────── */
.section { padding: clamp(64px,9vw,120px) 0; scroll-margin-top: 80px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--navy);
  max-width: 16ch;
}
.section-head p { color: var(--text-muted); max-width: 48ch; margin-top: 12px; }
.head-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); white-space: nowrap; transition: gap .25s; }
.head-link:hover { gap: 13px; }
.head-link svg { width: 18px; height: 18px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Filter pills */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  background: var(--white);
  color: var(--navy);
  border: 1px solid rgba(1,59,96,.14);
  transition: var(--transition);
}
.filter:hover { border-color: var(--blue); color: var(--blue); }
.filter.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Shared buttons */
.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: .9rem;
  padding: 10px 18px;
  border-radius: 999px;
  transition: var(--transition);
}
.btn-sm.solid { background: var(--blue); color: #fff; }
.btn-sm.solid:hover { background: var(--navy); }
.btn-sm.text  { color: var(--navy); }
.btn-sm.text:hover { color: var(--blue); }

.btn-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  transition: var(--transition);
}
.btn-lg:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(1,59,96,.22); }
.btn-lg svg, .head-link svg, .btn-sm svg { width: 18px; height: 18px; }

/* ─────────────────────────────────────────────
   EVENTS
───────────────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.ecard {
  background: var(--white);
  border: 1px solid rgba(1,59,96,.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: 0 1px 2px rgba(1,59,96,.04);
}
.ecard:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(1,59,96,.13); border-color: rgba(0,105,179,.22); }
.ecard-top {
  position: relative;
  height: 120px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px;
}
.ecard-top.t-net      { background: linear-gradient(135deg, #013B60, #0069B3); }
.ecard-top.t-course   { background: linear-gradient(135deg, #0069B3, #49a7df); }
.ecard-top.t-workshop { background: linear-gradient(135deg, #024a78, #1fb6cf); }
.ecard-top .cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.34);
  color: #fff;
  font-size: .74rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ecard-top .cat svg { width: 14px; height: 14px; }
.date-badge {
  background: rgba(255,255,255,.96);
  border-radius: 12px;
  text-align: center;
  padding: 8px 12px;
  min-width: 56px;
  box-shadow: 0 6px 16px rgba(1,30,55,.2);
}
.date-badge .d { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--navy); line-height: 1; }
.date-badge .m { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-top: 2px; }
.ecard-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.ecard-body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.25; color: var(--navy); margin-bottom: 8px; }
.ecard-body .desc { font-size: .92rem; color: var(--text-muted); margin-bottom: 16px; flex: 1; }
.ecard-meta { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.ecard-meta span { display: flex; align-items: center; gap: 9px; font-size: .86rem; color: var(--text); }
.ecard-meta svg { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; }
.ecard-foot { display: flex; align-items: center; gap: 8px; }
.events-cta { text-align: center; margin-top: 46px; }
.events-grid .ecard:nth-child(2) { transition-delay: .08s; }
.events-grid .ecard:nth-child(3) { transition-delay: .16s; }

@media (max-width: 980px) { .events-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .events-grid { grid-template-columns: 1fr; } .section-head { align-items: flex-start; } }

/* ─────────────────────────────────────────────
   NEWSLETTER
───────────────────────────────────────────── */
.newsletter {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #01314f 0%, #013B60 42%, #0069B3 100%);
}
.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 90% at 85% 8%, rgba(154,224,255,.22), transparent 60%);
}
.nl-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.nl-copy .kicker { color: var(--sky); }
.nl-copy .kicker::before { background: var(--sky); }
.nl-copy h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  color: #fff;
  margin-bottom: 16px;
  max-width: 16ch;
}
.nl-copy p.sub { color: rgba(255,255,255,.85); max-width: 46ch; margin-bottom: 26px; font-size: 1.05rem; }

.nl-form {
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 480px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 7px 7px 7px 22px;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}
.nl-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 0;
}
.nl-form input::placeholder { color: rgba(255,255,255,.68); }
.nl-form button {
  flex-shrink: 0;
  background: #fff;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  transition: var(--transition);
}
.nl-form button:hover { background: var(--sky); transform: translateY(-1px); }
.nl-note { margin-top: 14px; font-size: .84rem; color: rgba(255,255,255,.72); display: flex; align-items: center; gap: 8px; }
.nl-note svg { width: 15px; height: 15px; color: var(--sky); }
.nl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.nl-chip { font-size: .8rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); padding: 6px 13px; border-radius: 999px; }
.nl-success { display: none; align-items: center; gap: 12px; max-width: 480px; background: rgba(255,255,255,.14); border: 1px solid rgba(154,224,255,.5); border-radius: 16px; padding: 16px 20px; font-weight: 500; }
.nl-success.show { display: flex; }
.nl-success svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--sky); }

.nl-preview {
  background: #fff;
  color: var(--text);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(1,20,40,.42);
  transform: rotate(1.4deg);
  transition: var(--transition);
}
.nl-preview:hover { transform: rotate(0); }
.nlp-bar { background: linear-gradient(90deg, var(--navy), var(--blue)); color: #fff; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; }
.nlp-bar .b1 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.nlp-bar .b2 { font-size: .74rem; opacity: .85; }
.nlp-body { padding: 20px; }
.nlp-body h4 { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }
.nlp-body .muted { font-size: .82rem; color: var(--text-muted); margin-bottom: 8px; }
.nlp-item { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(1,59,96,.08); }
.nlp-item .nlp-date { flex-shrink: 0; width: 46px; height: 46px; border-radius: 10px; background: var(--sky-faint); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.nlp-item .nlp-date b { font-family: var(--font-display); font-size: 1.1rem; line-height: 1; color: var(--navy); }
.nlp-item .nlp-date span { font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.nlp-item .nlp-t1 { font-weight: 600; color: var(--navy); font-size: .92rem; }
.nlp-item .nlp-t2 { font-size: .78rem; color: var(--text-muted); }
.nlp-foot { margin-top: 10px; text-align: center; background: var(--blue); color: #fff; font-weight: 600; font-size: .86rem; padding: 11px; border-radius: 10px; }

@media (max-width: 900px) {
  .nl-grid { grid-template-columns: 1fr; }
  .nl-preview { order: -1; max-width: 420px; margin: 0 auto; transform: none; }
}

/* ─────────────────────────────────────────────
   DIRECTORY
───────────────────────────────────────────── */
.dir-search {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(1,59,96,.12);
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  box-shadow: 0 10px 34px rgba(1,59,96,.09);
  max-width: 620px;
  margin: 0 auto 20px;
}
.dir-search svg.s { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }
.dir-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-family: var(--font-body); font-size: 1rem; color: var(--text); padding: 11px 0; }
.dir-search input::placeholder { color: var(--text-muted); }
.dir-search button { flex-shrink: 0; background: var(--blue); color: #fff; border: 0; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: .95rem; padding: 12px 24px; cursor: pointer; transition: var(--transition); }
.dir-search button:hover { background: var(--navy); }

.dir-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 48px; }
.dcat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(1,59,96,.12);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy);
  transition: var(--transition);
  cursor: pointer;
}
.dcat:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(1,59,96,.1); }
.dcat svg { width: 16px; height: 16px; color: var(--blue); }
.dcat .count { font-size: .78rem; color: var(--text-muted); font-weight: 600; }

.dir-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 46px; }
.bcard {
  background: #fff;
  border: 1px solid rgba(1,59,96,.08);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: 0 1px 2px rgba(1,59,96,.04);
}
.bcard:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(1,59,96,.13); border-color: rgba(0,105,179,.22); }
.bcard-head { display: flex; align-items: center; gap: 14px; padding: 20px 20px 0; }
.bavatar { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: #fff; flex-shrink: 0; }
.bavatar.c1 { background: linear-gradient(135deg, #013B60, #0069B3); }
.bavatar.c2 { background: linear-gradient(135deg, #0069B3, #1fb6cf); }
.bavatar.c3 { background: linear-gradient(135deg, #024a78, #49a7df); }
.bcat { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); margin-bottom: 3px; }
.bcard-head h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--navy); line-height: 1.2; }
.brating { display: flex; align-items: center; gap: 6px; padding: 14px 20px 0; font-size: .86rem; color: var(--text); }
.brating svg { width: 15px; height: 15px; color: var(--blue); }
.brating .rev { color: var(--text-muted); }
.bdesc { padding: 12px 20px 0; font-size: .9rem; color: var(--text-muted); flex: 1; }
.bmeta { display: flex; align-items: center; gap: 8px; padding: 14px 20px 0; font-size: .84rem; color: var(--text); }
.bmeta svg { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; }
.bcard-foot { padding: 18px 20px 20px; }
.bcard-foot a { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .9rem; color: var(--navy); transition: gap .25s; }
.bcard-foot a:hover { color: var(--blue); gap: 11px; }
.bcard-foot svg { width: 16px; height: 16px; }
.dir-grid .bcard:nth-child(2) { transition-delay: .08s; }
.dir-grid .bcard:nth-child(3) { transition-delay: .16s; }

.dir-cta {
  background: linear-gradient(135deg, var(--sky-faint), #fff);
  border: 1px solid rgba(0,105,179,.16);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.dir-cta h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--navy); line-height: 1.15; }
.dir-cta p  { color: var(--text-muted); margin-top: 6px; max-width: 42ch; }
.dir-cta > div { min-width: 0; }

@media (max-width: 980px) { .dir-grid { grid-template-columns: repeat(2,1fr); } .dir-grid .bcard:nth-child(3) { display: none; } }
@media (max-width: 640px) { .dir-grid { grid-template-columns: 1fr; } .dir-grid .bcard:nth-child(3) { display: flex; } }

/* ─────────────────────────────────────────────
   RESOURCES
───────────────────────────────────────────── */
.tint { background: var(--sky-faint); }
.tint + .section { border-top: 1px solid rgba(1,59,96,.06); }
.res-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.rcard {
  background: #fff;
  border: 1px solid rgba(1,59,96,.07);
  border-radius: 16px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.rcard:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(1,59,96,.12); }
.ric { width: 48px; height: 48px; border-radius: 12px; background: rgba(0,105,179,.1); display: grid; place-items: center; margin-bottom: 18px; }
.ric svg { width: 24px; height: 24px; color: var(--blue); }
.rcat { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.rcard h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.25; color: var(--navy); margin-bottom: 8px; }
.rdesc { font-size: .88rem; color: var(--text-muted); flex: 1; margin-bottom: 16px; }
.rlink { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .88rem; color: var(--navy); transition: gap .25s; }
.rlink:hover { color: var(--blue); gap: 11px; }
.rlink svg { width: 15px; height: 15px; }
.res-grid .rcard:nth-child(2) { transition-delay: .07s; }
.res-grid .rcard:nth-child(3) { transition-delay: .14s; }
.res-grid .rcard:nth-child(4) { transition-delay: .21s; }

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

/* ─────────────────────────────────────────────
   ABOUT
───────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,64px); align-items: center; }
.about-copy h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem,4vw,2.9rem); line-height: 1.1; letter-spacing: -.015em; color: var(--navy); margin-bottom: 18px; max-width: 16ch; }
.about-copy p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 16px; max-width: 52ch; line-height: 1.75; }
.about-copy p b { color: var(--navy); font-weight: 600; }
.about-copy .btn-lg { margin-top: 12px; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
  background: #fff;
  border: 1px solid rgba(1,59,96,.08);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 1px 2px rgba(1,59,96,.04);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.stat:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(1,59,96,.1); border-color: rgba(0,105,179,.22); }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem,4vw,2.5rem); color: var(--blue); line-height: 1; }
.stat .lbl { margin-top: 7px; font-size: .9rem; color: var(--text-muted); font-weight: 500; line-height: 1.35; }
.stat-grid .stat:nth-child(2) { transition-delay: .06s; }
.stat-grid .stat:nth-child(3) { transition-delay: .12s; }
.stat-grid .stat:nth-child(4) { transition-delay: .18s; }

@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.footer { background: #01243c; color: rgba(255,255,255,.8); padding-top: clamp(56px,7vw,88px); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.5fr; gap: clamp(28px,4vw,48px); padding-bottom: 46px; }
.f-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.f-logo img { width: 42px; height: 42px; border-radius: 9px; }
.f-logo .n { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; line-height: 1; white-space: nowrap; }
.f-logo .s { font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sky); }
.f-tag { font-size: .92rem; color: rgba(255,255,255,.65); max-width: 32ch; margin-bottom: 20px; line-height: 1.6; }
.f-social { display: flex; gap: 10px; }
.f-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: var(--transition); }
.f-social a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.f-social svg { width: 18px; height: 18px; color: #fff; }
.f-col h4 { font-family: var(--font-body); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.f-col a { color: rgba(255,255,255,.7); font-size: .94rem; transition: color .25s; }
.f-col a:hover { color: var(--sky); }
.f-contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: rgba(255,255,255,.74); margin-bottom: 13px; line-height: 1.45; }
.f-contact-item svg { width: 16px; height: 16px; color: var(--sky); flex-shrink: 0; margin-top: 2px; }
.f-contact-item a { color: inherit; transition: color .25s; }
.f-contact-item a:hover { color: var(--sky); }
.f-signup { display: flex; gap: 7px; margin-top: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 5px 5px 5px 16px; max-width: 330px; }
.f-signup input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font-size: .9rem; font-family: var(--font-body); }
.f-signup input::placeholder { color: rgba(255,255,255,.5); }
.f-signup button { flex-shrink: 0; background: var(--blue); color: #fff; border: 0; border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: .85rem; cursor: pointer; transition: var(--transition); }
.f-signup button:hover { background: var(--sky); color: var(--navy); }
.f-success { display: none; margin-top: 10px; font-size: .88rem; color: var(--sky); align-items: center; gap: 8px; }
.f-success.show { display: flex; }
.f-success svg { width: 16px; height: 16px; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 34px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.f-bottom p { font-size: .84rem; color: rgba(255,255,255,.55); }
.f-legal { display: flex; gap: 20px; }
.f-legal a { font-size: .84rem; color: rgba(255,255,255,.55); transition: color .25s; }
.f-legal a:hover { color: var(--sky); }

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1/-1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .f-bottom { flex-direction: column; align-items: flex-start; } }

/* ─────────────────────────────────────────────
   INNER PAGE (generic .page-hero)
───────────────────────────────────────────── */
.page-hero {
  padding: 140px var(--gutter) 72px;
  background: var(--navy);
  color: #fff;
  text-align: center;
}
.page-hero .kicker { color: var(--sky); }
.page-hero .kicker::before { background: var(--sky); }
.page-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem,5vw,3.5rem); line-height: 1.08; letter-spacing: -.02em; margin-top: 10px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 56ch; margin: 16px auto 0; font-size: 1.1rem; }

.page-content { max-width: 760px; margin: 0 auto; padding: clamp(48px,7vw,96px) var(--gutter); }
.page-content h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; color: var(--navy); margin: 36px 0 14px; }
.page-content p  { color: var(--text-muted); margin-bottom: 18px; line-height: 1.8; }
.page-content ul { margin: 0 0 18px 24px; color: var(--text-muted); }
.page-content li { margin-bottom: 8px; line-height: 1.7; }

/* ─────────────────────────────────────────────
   404 PAGE
───────────────────────────────────────────── */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: clamp(80px,12vw,160px) var(--gutter); }
.error-page .big { font-family: var(--font-display); font-size: clamp(6rem,20vw,14rem); font-weight: 700; color: var(--sky-faint); line-height: 1; }
.error-page h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem,4vw,2.4rem); color: var(--navy); margin: -10px 0 16px; }
.error-page p { color: var(--text-muted); max-width: 44ch; margin: 0 auto 32px; }

/* ─────────────────────────────────────────────
   INNER MAIN WRAPPER
───────────────────────────────────────────── */
.inner-main { min-height: 70vh; }

/* ─────────────────────────────────────────────
   WP EDITOR CONTENT (the_content output)
───────────────────────────────────────────── */
.wp-content { color: var(--ink); line-height: 1.8; }
.wp-content h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem,3vw,2rem); color: var(--navy); margin: 2.5rem 0 1rem; }
.wp-content h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--navy); margin: 2rem 0 .75rem; }
.wp-content p  { margin-bottom: 1.25rem; }
.wp-content ul,.wp-content ol { margin: 0 0 1.25rem 1.5rem; }
.wp-content li { margin-bottom: .5rem; }
.wp-content a  { color: var(--blue); text-decoration: underline; }
.wp-content a:hover { color: var(--navy); }
.wp-content img { max-width: 100%; height: auto; border-radius: .75rem; margin: 1.5rem 0; }
.wp-content blockquote { border-left: 4px solid var(--sky); margin: 1.5rem 0; padding: .75rem 1.5rem; background: var(--slate); border-radius: 0 .5rem .5rem 0; color: var(--muted); font-style: italic; }
.wp-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .95rem; }
.wp-content th,.wp-content td { padding: .65rem 1rem; border: 1px solid rgba(1,59,96,.12); text-align: left; }
.wp-content th { background: var(--slate); font-weight: 600; }

/* ─────────────────────────────────────────────
   BLOG / POST GRID (index.php)
───────────────────────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 2rem; }
.post-card  { background: #fff; border: 1px solid rgba(1,59,96,.09); border-radius: 1.25rem; overflow: hidden; display: flex; flex-direction: column; transition: var(--transition); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(1,59,96,.1); }
.post-thumb { display: block; overflow: hidden; aspect-ratio: 16/9; background: var(--slate); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body  { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-meta  { font-size: .8rem; color: var(--muted); margin-bottom: .5rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.post-body h2 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--navy); margin-bottom: .75rem; line-height: 1.3; }
.post-body h2 a { color: inherit; text-decoration: none; }
.post-body h2 a:hover { color: var(--blue); }
.post-body p { font-size: .92rem; color: var(--muted); line-height: 1.65; flex: 1; margin-bottom: 1rem; }

/* ─────────────────────────────────────────────
   PAGINATION
───────────────────────────────────────────── */
.pagination .nav-links { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; padding: 0 .75rem; border: 1px solid rgba(1,59,96,.15); border-radius: .5rem; color: var(--ink); font-size: .9rem; text-decoration: none; transition: var(--transition); }
.pagination .page-numbers.current,.pagination .page-numbers:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ─────────────────────────────────────────────
   404 PAGE (custom .not-found)
───────────────────────────────────────────── */
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: clamp(80px,12vw,140px) var(--gutter); }
.nf-code { font-family: var(--font-display); font-size: clamp(7rem,22vw,15rem); font-weight: 700; color: rgba(0,153,204,.12); line-height: 1; margin: 0; }
.not-found h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem,4vw,2.6rem); color: var(--navy); margin: -1.5rem 0 1rem; }
.nf-sub { color: var(--muted); max-width: 46ch; margin: 0 auto 2.5rem; }
.nf-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
