/* HG Gongs — complete layout (v2) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
}

body.menu-open,
body.popup-open { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: inherit; }

[data-section] { scroll-margin-top: 92px; }

/* Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 1100;
  background: var(--grad-accent);
}

/* ── Header ── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(0, 42, 54, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-mark {
  width: auto;
  height: 48px;
  max-width: min(240px, 55vw);
  border-radius: 10px;
  object-fit: contain;
  object-position: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(208, 228, 234, 0.7);
  padding: 6px 10px;
  box-sizing: content-box;
  flex-shrink: 0;
  display: block;
}

.site-header .brand-text {
  display: none;
}

.brand-text {
  min-width: 0;
}

.footer-brand .brand-mark {
  height: 44px;
  max-width: 200px;
}

.footer-brand .brand-text {
  display: none;
}

.footer-brand .brand {
  display: inline-flex;
}

.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header:not(.is-scrolled) .brand-text strong,
.site-header:not(.is-scrolled) .brand-text span { color: var(--white); }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-desktop a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s, color 0.2s;
}

.site-header.is-scrolled .nav-desktop a { color: var(--muted); }
.nav-desktop a:hover,
.nav-desktop a.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}
.site-header.is-scrolled .nav-desktop a:hover,
.site-header.is-scrolled .nav-desktop a.is-active {
  background: rgba(0, 75, 94, 0.08);
  color: var(--brand);
}

.nav-cta-btn {
  margin-left: 8px;
  padding: 10px 20px !important;
  background: var(--white) !important;
  color: var(--brand) !important;
  font-weight: 600 !important;
}
.site-header.is-scrolled .nav-cta-btn {
  background: var(--brand) !important;
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 1001;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.menu-toggle:hover {
  transform: scale(1.04);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), background 0.25s;
  transform-origin: center;
}
.site-header.is-scrolled .menu-toggle { background: var(--surface); }
.site-header.is-scrolled .menu-toggle span { background: var(--ink); }

body.menu-open .menu-toggle {
  background: rgba(0, 75, 94, 0.1);
}
body.menu-open .menu-toggle span {
  background: var(--brand);
}
body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(46, 184, 212, 0.12), transparent 55%),
    linear-gradient(180deg, #f8fcfd 0%, var(--white) 40%, var(--surface) 100%);
  padding: calc(var(--nav-h) + 12px) 20px max(16px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateX(18px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.4s var(--ease),
    visibility 0.4s;
  pointer-events: none;
}
.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-right: 4px;
}
.mobile-drawer nav a {
  position: relative;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(16px, 4.6vw, 20px);
  font-weight: 600;
  line-height: 1.2;
  padding: 11px 12px 11px 14px;
  margin: 2px 0;
  color: var(--ink);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(24px);
  transition:
    color 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.45s var(--ease),
    opacity 0.45s var(--ease),
    padding-left 0.25s var(--ease);
}
.mobile-drawer nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 999px;
  background: var(--grad-accent);
  transform: translateY(-50%);
  transition: height 0.3s var(--ease);
}
.mobile-drawer.is-open nav a {
  opacity: 1;
  transform: translateX(0);
}
.mobile-drawer.is-open nav a:nth-child(1) { transition-delay: 0.05s; }
.mobile-drawer.is-open nav a:nth-child(2) { transition-delay: 0.09s; }
.mobile-drawer.is-open nav a:nth-child(3) { transition-delay: 0.13s; }
.mobile-drawer.is-open nav a:nth-child(4) { transition-delay: 0.17s; }
.mobile-drawer.is-open nav a:nth-child(5) { transition-delay: 0.21s; }
.mobile-drawer.is-open nav a:nth-child(6) { transition-delay: 0.25s; }
.mobile-drawer.is-open nav a:nth-child(7) { transition-delay: 0.29s; }
.mobile-drawer.is-open nav a:nth-child(8) { transition-delay: 0.33s; }
.mobile-drawer.is-open nav a:nth-child(9) { transition-delay: 0.37s; }

.mobile-drawer nav a:hover,
.mobile-drawer nav a:focus-visible {
  color: var(--brand);
  background: rgba(0, 75, 94, 0.06);
  padding-left: 18px;
  outline: none;
}
.mobile-drawer nav a:hover::before,
.mobile-drawer nav a:focus-visible::before,
.mobile-drawer nav a.is-active::before {
  height: 55%;
}
.mobile-drawer nav a.is-active {
  color: var(--brand);
  background: rgba(0, 75, 94, 0.08);
}
.mobile-drawer nav a:active {
  transform: scale(0.98);
}

.mobile-drawer .dev-credit {
  margin-top: 0;
  flex-shrink: 0;
  padding: 14px 12px 10px;
  border-top: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease) 0.35s, transform 0.4s var(--ease) 0.35s, background 0.25s;
}
.mobile-drawer.is-open .dev-credit {
  opacity: 1;
  transform: translateY(0);
}
.mobile-drawer .dev-credit:hover {
  background: rgba(0, 75, 94, 0.04);
}
.mobile-drawer .dev-credit-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 8px;
}
.mobile-drawer .dev-credit a {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.mobile-drawer .dev-credit a:hover {
  transform: scale(1.06);
}
.mobile-drawer .dev-credit img {
  height: 58px;
  width: auto;
  max-width: min(220px, 70vw);
  margin: 0 auto;
  opacity: 0.95;
  transition: opacity 0.25s;
}
.mobile-drawer .dev-credit a:hover img {
  opacity: 1;
}

/* Mentorship welcome popup */
.mentor-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.mentor-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mentor-popup[hidden] {
  display: none !important;
}
.mentor-popup.is-open[hidden] {
  display: flex !important;
}

.mentor-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 26, 34, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.mentor-popup-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 32px 28px 28px;
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(46, 184, 212, 0.18), transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #f4fafc 100%);
  border: 1px solid rgba(208, 228, 234, 0.9);
  box-shadow: 0 30px 80px rgba(0, 26, 34, 0.35);
  transform: translateY(28px) scale(0.94);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.45s var(--ease);
}
.mentor-popup.is-open .mentor-popup-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.mentor-popup-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(0, 75, 94, 0.06);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s;
}
.mentor-popup-x:hover {
  background: rgba(0, 75, 94, 0.12);
  transform: rotate(90deg);
}
.mentor-popup-x svg {
  width: 18px;
  height: 18px;
}

.mentor-popup-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 75, 94, 0.08);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mentor-popup-card h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 12px;
  padding-right: 28px;
}

.mentor-popup-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 24px;
}

.mentor-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mentor-popup-actions .btn {
  flex: 1 1 auto;
  justify-content: center;
  text-align: center;
  min-width: 140px;
}

.btn-ghost-dark {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--line);
}
.btn-ghost-dark:hover {
  background: rgba(0, 75, 94, 0.06);
  border-color: rgba(0, 75, 94, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .mentor-popup,
  .mentor-popup-card {
    transition-duration: 0.01ms !important;
  }
  .mentor-popup.is-open .mentor-popup-card {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-drawer,
  .mobile-drawer nav a,
  .mobile-drawer .dev-credit,
  .menu-toggle,
  .menu-toggle span {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .mobile-drawer nav a {
    opacity: 1;
    transform: none;
  }
  .mobile-drawer .dev-credit {
    opacity: 1;
    transform: none;
  }
}

.dev-credit {
  margin-top: auto;
  padding-top: 20px;
  text-align: center;
}
.dev-credit-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}
.dev-credit img { height: 48px; margin: 0 auto; opacity: 0.85; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-solid {
  background: var(--white);
  color: var(--brand);
  box-shadow: var(--shadow);
}
.btn-solid:hover { box-shadow: var(--shadow-lg); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.btn-brand {
  background: var(--brand);
  color: var(--white);
}
.btn-brand:hover { background: var(--brand-dark); }

.btn-submit {
  width: 100%;
  background: var(--grad-hero);
  color: var(--white);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
}
.btn-submit.is-success { background: var(--brand-mid); }

/* ── Hero (split layout) ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  position: relative;
}

.hero-panel {
  background: var(--grad-hero);
  padding: calc(var(--nav-h) + 48px) clamp(24px, 5vw, 72px) 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: visible;
  min-width: 0;
  container-type: inline-size;
  container-name: hero-panel;
}

.hero-panel::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 228, 247, 0.2), transparent 68%);
  top: -80px;
  right: -100px;
  pointer-events: none;
}

.hero-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
}

.hero-eyebrow {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-glow);
  margin-bottom: 20px;
}

.hero-title,
.hero-lead,
.hero-actions,
.hero-contacts {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 7.2vw, 72px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.hero-title em {
  font-style: normal;
  display: block;
  color: var(--brand-glow);
  font-size: 0.55em;
  letter-spacing: 0.02em;
  margin-top: 10px;
  line-height: 1.3;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

/* Only when the hero column is too narrow for the current size —
   shrink just enough so words aren't clipped. Wider layouts stay unchanged. */
@container hero-panel (max-width: 340px) {
  .hero-title {
    font-size: clamp(24px, 8.5cqi, 34px);
  }
}

.hero-lead {
  font-size: clamp(15px, 1.6vw, 19px);
  color: rgba(255, 255, 255, 0.82);
  max-width: min(480px, 100%);
  margin-bottom: 32px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  color: var(--white);
  text-decoration: none;
  transition: background 0.2s;
}
.hero-chip:hover { background: rgba(255, 255, 255, 0.18); }
.hero-chip svg { width: 16px; height: 16px; flex-shrink: 0; }

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--brand-dark) 0%, transparent 45%);
}

.hero-steps {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

.hero-step {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.hero-step:last-child { border-right: none; }

.hero-step-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--brand-light);
  margin-bottom: 4px;
}

.hero-step strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
}

/* ── Section commons ── */
.section {
  padding: clamp(72px, 10vw, 120px) 0;
}

.wrap {
  width: var(--wrap);
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.heading,
.lead,
.about-prose,
.about-philosophy,
.section-head,
.bento-card,
.project-tile,
.job-card,
.contact-card,
.program-card,
.road-stop,
.community-card {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.section-head {
  margin-bottom: 48px;
}

.section-head.row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-mid);
  margin-bottom: 12px;
}

.heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.heading.light { color: var(--white); }

.lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
}

/* Anim */
.anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.anim.is-visible {
  opacity: 1;
  transform: none;
}
.anim-d1 { transition-delay: 0.1s; }
.anim-d2 { transition-delay: 0.2s; }
.anim-d3 { transition-delay: 0.3s; }

.anim-scale {
  opacity: 0;
  transform: scale(0.96) translateY(16px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.anim-scale.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-stagger > .anim,
.reveal-stagger > .anim-scale {
  transition-delay: calc(var(--i, 0) * 0.07s);
}

/* ── About strip ── */
.about-strip {
  background: var(--white);
}

.about-intro {
  max-width: 720px;
  margin-bottom: 36px;
}

.about-prose {
  max-width: 820px;
  margin-bottom: 20px;
}

.about-prose p,
.about-philosophy p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.core-services {
  margin: 48px 0;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--grad-card);
  border: 1px solid var(--line);
}

.core-services-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 24px;
}

.core-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 20px;
}

.core-grid li {
  position: relative;
  padding: 12px 12px 12px 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.core-grid li:hover {
  transform: translateY(-2px);
  border-color: var(--brand-light);
  box-shadow: 0 8px 18px rgba(0, 75, 94, 0.08);
}

.core-grid li::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-light);
}

.about-philosophy {
  max-width: 820px;
  margin-bottom: 56px;
}

.about-more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.55s var(--ease), opacity 0.4s var(--ease);
}

.about-more-inner {
  overflow: hidden;
  min-height: 0;
}

.about-more.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 8px;
}

.about-more.is-open .about-more-inner {
  animation: aboutReveal 0.65s var(--ease);
}

@keyframes aboutReveal {
  from { opacity: 0.35; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.about-toggle-wrap {
  margin-top: 12px;
}

.about-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--brand);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 75, 94, 0.08);
  transition: background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s, color 0.25s;
}

.about-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}

.about-toggle:hover {
  background: var(--surface);
  border-color: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 75, 94, 0.12);
}

.about-toggle.is-open {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.about-toggle.is-open svg {
  transform: rotate(180deg);
}

.about-more.is-open .core-grid li {
  animation: aboutChipIn 0.45s var(--ease) both;
}

.about-more.is-open .core-grid li:nth-child(1) { animation-delay: 0.04s; }
.about-more.is-open .core-grid li:nth-child(2) { animation-delay: 0.07s; }
.about-more.is-open .core-grid li:nth-child(3) { animation-delay: 0.1s; }
.about-more.is-open .core-grid li:nth-child(4) { animation-delay: 0.13s; }
.about-more.is-open .core-grid li:nth-child(5) { animation-delay: 0.16s; }
.about-more.is-open .core-grid li:nth-child(6) { animation-delay: 0.19s; }
.about-more.is-open .core-grid li:nth-child(7) { animation-delay: 0.22s; }
.about-more.is-open .core-grid li:nth-child(8) { animation-delay: 0.25s; }
.about-more.is-open .core-grid li:nth-child(9) { animation-delay: 0.28s; }
.about-more.is-open .core-grid li:nth-child(10) { animation-delay: 0.31s; }
.about-more.is-open .core-grid li:nth-child(11) { animation-delay: 0.34s; }

@keyframes aboutChipIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.about-more.is-open .vm-card {
  animation: aboutCardIn 0.5s var(--ease) both;
}

.about-more.is-open .vm-card:nth-child(2) {
  animation-delay: 0.12s;
}

@keyframes aboutCardIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .about-more,
  .about-more.is-open .about-more-inner,
  .about-more.is-open .core-grid li,
  .about-more.is-open .vm-card {
    animation: none !important;
    transition: none !important;
  }
}

.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}

.vision-mission-compact {
  gap: 16px;
  align-items: stretch;
}

.vm-card {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.vm-card--compact {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  max-height: 320px;
}

.vm-card--compact .vm-card-head {
  flex-shrink: 0;
  margin-bottom: 10px;
}

.vm-card--compact .vm-card-head .label {
  margin-bottom: 6px;
}

.vm-card--compact .vm-card-head h3 {
  font-size: 18px;
  margin-bottom: 0;
  line-height: 1.25;
}

.vm-card--compact .vm-card-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-light) transparent;
}

.vm-card--compact .vm-card-body::-webkit-scrollbar {
  width: 5px;
}

.vm-card--compact .vm-card-body::-webkit-scrollbar-thumb {
  background: var(--brand-light);
  border-radius: 999px;
}

.vm-card--compact.mission .vm-card-body::-webkit-scrollbar-thumb {
  background: rgba(142, 228, 247, 0.55);
}

.vm-card--compact p {
  font-size: 13px;
  line-height: 1.55;
}

.vm-card--compact .mission-list {
  margin-top: 10px;
}

.vm-card--compact .mission-list li {
  font-size: 12px;
  padding: 5px 0 5px 16px;
  line-height: 1.45;
}

.vm-card--compact .mission-list li::before {
  top: 11px;
  width: 5px;
  height: 5px;
}

.vm-card.mission {
  background: var(--grad-hero);
  border: none;
  color: var(--white);
}

.vm-card.mission .label { color: var(--brand-glow); }
.vm-card.mission h3 { color: var(--white); }
.vm-card.mission p { color: rgba(255, 255, 255, 0.82); }

.vm-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 14px;
  color: var(--ink);
}

.vm-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}

.mission-list {
  list-style: none;
  margin-top: 18px;
}

.mission-list li {
  position: relative;
  padding: 10px 0 10px 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1.55;
}

.mission-list li:last-child { border-bottom: none; }

.mission-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-glow);
}

/* ── Our Team / Leadership ── */
.team-section {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.team-section .heading { color: var(--white); }
.team-section .lead { color: rgba(255, 255, 255, 0.7); }
.team-section .label { color: var(--brand-glow); }

.team-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.team-pill {
  padding: 22px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: background 0.3s, transform 0.3s var(--ease);
}

.team-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.team-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--brand-glow);
  margin-bottom: 6px;
}

.team-pill span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  gap: 28px;
  margin-bottom: 48px;
  justify-content: start;
}

.team-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  max-width: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.team-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  background-color: var(--brand-dark);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.team-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 42, 54, 0.35) 0%, transparent 42%);
  z-index: 1;
  pointer-events: none;
}

.team-photo--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--brand-dark), var(--brand-mid));
}

.team-photo--initials::before {
  display: none;
}

.team-photo--initials span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
}

.team-card--lead .team-info p {
  font-size: 12px;
  line-height: 1.55;
}

.team-info {
  padding: 24px;
  background: var(--white);
}

.team-info h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.team-info .role {
  font-size: 12px;
  color: var(--brand-mid);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.team-info p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.leader-band-inner {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.leader-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 48px;
}

.leader-photo {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.leader-photo img {
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
}

.leader-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.leader-content p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
}

.leader-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  margin: 8px 0 20px;
}

.leader-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.cred-pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

/* ── Services bento ── */
.services-section { background: var(--surface); }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento-card {
  grid-column: span 4;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--brand-light);
}

.bento-card.wide { grid-column: span 6; }
.bento-card.tall { grid-column: span 4; grid-row: span 1; min-height: 240px; }
.bento-card.featured {
  grid-column: span 6;
  background: var(--grad-hero);
  color: var(--white);
  border: none;
  min-height: 260px;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 75, 94, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.bento-card.featured .bento-icon {
  background: rgba(255, 255, 255, 0.15);
}
.bento-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand);
  fill: none;
  stroke-width: 1.8;
}
.bento-card.featured .bento-icon svg { stroke: var(--white); }

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 10px;
}

.bento-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.bento-card.featured p { color: rgba(255, 255, 255, 0.8); }

.bento-arrow {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}
.bento-card.featured .bento-arrow { color: var(--brand-glow); }

/* Compact visual services grid */
.bento-compact {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.bento-compact .bento-card {
  grid-column: auto;
  min-height: 0;
}

.bento-card--visual {
  position: relative;
  padding: 0;
  min-height: 148px;
  border: none;
  overflow: hidden;
  background: var(--brand-dark);
  color: var(--white);
}

.bento-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
  transition: transform 0.6s var(--ease);
}

.bento-card--visual:hover {
  border-color: transparent;
}

.bento-card--visual:hover .bento-card-img {
  transform: scale(1.06);
}

.bento-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, rgba(0, 42, 54, 0.82) 0%, rgba(0, 75, 94, 0.55) 100%);
  transition: background 0.3s;
}

.bento-card--visual:hover .bento-card-overlay {
  background: linear-gradient(160deg, rgba(0, 42, 54, 0.72) 0%, rgba(10, 122, 148, 0.65) 100%);
}

.bento-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 148px;
  padding: 16px 18px;
}

.bento-card--visual h3 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--white);
  line-height: 1.25;
}

.bento-card--visual p {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Process timeline ── */
.process-section { background: var(--white); }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}

.timeline-item {
  position: relative;
  z-index: 1;
  padding: 0 16px;
  text-align: center;
  transition: transform 0.35s var(--ease);
}

.timeline-item:hover {
  transform: translateY(-6px);
}

.timeline-dot {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.06);
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0, 75, 94, 0.25);
}

.timeline-item:first-child .timeline-dot {
  background: var(--slate);
  border-color: var(--slate);
  color: var(--white);
}

.timeline-item h4 {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Mentorship ── */
.mentor-section {
  background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
}

/* Road to Registration */
.road-banner {
  position: relative;
  margin-bottom: 56px;
  padding: clamp(32px, 5vw, 48px);
  border-radius: calc(var(--radius) + 4px);
  background: var(--grad-hero);
  color: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.road-banner-glow {
  position: absolute;
  inset: -40% auto auto -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(142, 228, 247, 0.22), transparent 70%);
  pointer-events: none;
  animation: roadPulse 8s ease-in-out infinite;
}

@keyframes roadPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.road-banner-top {
  position: relative;
  margin-bottom: 28px;
  max-width: 640px;
}

.road-badge {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-glow);
}

.road-banner-top h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.road-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-glow);
  margin-bottom: 6px;
}

.road-for {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.road-window {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 420px;
  margin-bottom: 36px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(142, 228, 247, 0.35);
  backdrop-filter: blur(8px);
}

.road-window-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(142, 228, 247, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.road-window-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--brand-glow);
}

.road-window-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-glow);
  margin-bottom: 4px;
}

.road-window strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.road-track {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.road-track::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(142, 228, 247, 0.55), transparent);
  z-index: 0;
}

.road-stop {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 0 4px;
  transition: transform 0.35s var(--ease);
}

.road-stop:hover { transform: translateY(-6px); }

.road-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  background: var(--white);
  color: var(--brand);
  box-shadow: 0 0 0 4px rgba(142, 228, 247, 0.25), 0 12px 28px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.35s, transform 0.35s var(--ease);
}

.road-stop:hover .road-num {
  transform: scale(1.06);
  box-shadow: 0 0 0 6px rgba(142, 228, 247, 0.35), 0 16px 36px rgba(0, 0, 0, 0.25);
}

.road-stop.intensive .road-num {
  background: var(--brand-glow);
  color: var(--brand-dark);
}

.road-stop-body {
  width: 100%;
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 88px;
}

.road-stop.intensive .road-stop-body {
  background: rgba(142, 228, 247, 0.14);
  border-color: rgba(142, 228, 247, 0.4);
}

.road-stop time {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
  color: var(--white);
}

.road-phase {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
}

.road-cta {
  position: relative;
  display: flex;
  justify-content: flex-start;
}

.road-cta .btn-solid {
  background: var(--white);
  color: var(--brand);
}

.road-cta .btn-solid:hover {
  background: var(--brand-glow);
  color: var(--brand-dark);
}

.mentor-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.mentor-split-three {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.mentor-split-compact {
  gap: 16px;
}

.program-card {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(0, 75, 94, 0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 75, 94, 0.12);
}

.program-card.highlight {
  border: 2px solid var(--brand-light);
  background: linear-gradient(160deg, rgba(0, 75, 94, 0.04), rgba(46, 184, 212, 0.08));
}

.program-card .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-mid);
  margin-bottom: 12px;
}

.program-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--ink);
}

.program-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.program-list {
  list-style: none;
  margin-bottom: 24px;
}
.program-list li {
  font-size: 14px;
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.program-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-light);
}

.program-card--compact {
  display: flex;
  flex-direction: column;
  padding: 22px;
  max-height: 420px;
}

.program-card--compact .program-card-head {
  flex-shrink: 0;
  margin-bottom: 10px;
}

.program-card--compact .program-card-head h3 {
  font-size: 17px;
  margin-bottom: 0;
  line-height: 1.3;
}

.program-card--compact .program-card-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-light) transparent;
}

.program-card--compact .program-card-body::-webkit-scrollbar {
  width: 5px;
}

.program-card--compact .program-card-body::-webkit-scrollbar-thumb {
  background: var(--brand-light);
  border-radius: 999px;
}

.program-card--compact p {
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.program-card--compact .program-list {
  margin-bottom: 0;
}

.program-card--compact .program-list li {
  font-size: 13px;
  padding: 6px 0 6px 18px;
}

.program-card--compact .program-list li::before {
  top: 11px;
}

.program-card--compact .btn-sm {
  flex-shrink: 0;
  margin-top: 14px;
  padding: 10px 16px;
  font-size: 13px;
  align-self: flex-start;
}

.criteria-card.program-card--compact {
  max-height: 420px;
}

.criteria-scroll .criteria-intro {
  font-size: 12px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.criteria-scroll .criteria-block {
  margin-bottom: 12px;
}

.criteria-scroll .criteria-block h4 {
  font-size: 12px;
  margin-bottom: 6px;
}

.criteria-scroll .criteria-list {
  font-size: 11px;
  line-height: 1.45;
  margin-bottom: 8px;
}

.criteria-scroll .criteria-list li {
  margin-bottom: 4px;
}

.criteria-scroll .criteria-status {
  font-size: 11px;
  margin-bottom: 6px;
  line-height: 1.45;
}

.criteria-scroll .criteria-equiv {
  font-size: 11px;
  margin-bottom: 6px;
  line-height: 1.45;
}

.criteria-scroll .criteria-block > p:last-child {
  font-size: 12px;
  line-height: 1.45;
}

/* Mentorship tabs */
.mentor-tabs {
  margin-bottom: 48px;
}

.mentor-tab-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 24px;
  padding: 6px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  width: 100%;
  max-width: 520px;
}

.mentor-tab {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s;
  white-space: normal;
  line-height: 1.25;
  text-align: center;
  min-width: 0;
}

.mentor-tab:hover {
  color: var(--brand);
}

.mentor-tab:active {
  transform: scale(0.98);
}

.mentor-tab.is-active {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 75, 94, 0.22);
}

.mentor-tab-panel {
  display: none;
}

.mentor-tab-panel.is-active {
  display: block;
  animation: tabPanelIn 0.4s var(--ease);
}

.mentor-tab-panel[hidden] {
  display: none !important;
}

@keyframes tabPanelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Registration route criteria cards */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
}

.route-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  border-radius: var(--radius);
  color: var(--white);
  min-height: 100%;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.route-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 42, 54, 0.28);
}

.route-card--light {
  background: linear-gradient(165deg, #2eb8d4 0%, #0a7a94 55%, #004b5e 100%);
  box-shadow: 0 12px 36px rgba(0, 75, 94, 0.2);
}

.route-criteria-label {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1.1;
}

.route-pill {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.route-requirements {
  margin-bottom: 20px;
  flex: 1;
}

.route-requirements p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

.route-requirements strong {
  font-weight: 700;
}

.route-fees h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.route-fee-list {
  list-style: none;
  margin-bottom: 22px;
}

.route-fee-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 0;
  color: var(--white);
  line-height: 1.4;
}

.route-fee-list em {
  font-style: normal;
  font-weight: 500;
  opacity: 0.88;
}

.fee-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.9);
  position: relative;
}

.fee-check::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.route-apply {
  display: inline-flex;
  align-self: flex-start;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.route-apply--dark {
  background: var(--brand-dark);
  color: var(--white);
}

.route-apply--dark:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

.criteria-card .criteria-intro {
  font-size: 14px;
  margin-bottom: 18px;
}

.criteria-block {
  margin-bottom: 18px;
  padding-top: 4px;
}

.criteria-block h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 10px;
}

.criteria-list {
  list-style: disc;
  margin: 0 0 12px 18px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.criteria-list li {
  margin-bottom: 6px;
}

.criteria-status {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 10px;
}

.criteria-status em {
  font-style: italic;
}

.criteria-equiv {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 8px;
}

.criteria-block > p:last-child {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.mentor-emails {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.mentor-email-card {
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  min-width: 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.mentor-email-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 75, 94, 0.2);
}

.mentor-email-card h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-mid);
  margin-bottom: 8px;
}

.mentor-email-card a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(13px, 3.6vw, 17px);
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.4;
}

.mentor-email-card a:hover {
  color: var(--brand-mid);
}

.downloads-panel {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: 48px;
}

.downloads-head {
  margin-bottom: 24px;
  max-width: 640px;
}

.downloads-head h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 8px;
}

.downloads-head p {
  font-size: 15px;
  color: var(--muted);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-light);
  box-shadow: var(--shadow);
}

.download-type {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 75, 94, 0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.download-card strong {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.4;
  flex: 1;
}

.download-btn {
  display: inline-flex;
  align-self: flex-start;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}

.download-card:hover .download-btn {
  background: var(--brand-mid);
}

.support-panel {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--grad-hero);
  color: var(--white);
  margin-bottom: 48px;
}

.support-panel h3 {
  font-family: var(--font-display);
  font-size: 26px;
  margin-bottom: 12px;
}

.support-panel p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.7;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  list-style: none;
}
.check-grid li {
  font-size: 14px;
  padding-left: 22px;
  position: relative;
}
.check-grid li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-glow);
  font-weight: 700;
}

.faq-grid { max-width: 800px; }

.faq-block { border-bottom: 1px solid var(--line); }

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
  font-family: var(--font-body);
}

.faq-trigger svg {
  width: 20px;
  flex-shrink: 0;
  stroke: var(--brand);
  transition: transform 0.3s;
}

.faq-block.is-open .faq-trigger svg { transform: rotate(180deg); }

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-block.is-open .faq-body { max-height: 200px; padding-bottom: 20px; }
.faq-body p { font-size: 15px; color: var(--muted); line-height: 1.75; }

/* ── Projects marquee ── */
.projects-section { background: var(--ink); color: var(--white); padding-bottom: 80px; }

.project-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-tile {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s, transform 0.3s;
}
.project-tile:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.project-tile .cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-glow);
  margin-bottom: 12px;
}

.project-tile h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 10px;
}

.project-tile p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

/* ── Community / Social responsibility ── */
.community-section {
  background: var(--white);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.community-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.community-card--visual {
  position: relative;
  padding: 0;
  min-height: 280px;
  border: none;
  overflow: hidden;
  background: var(--brand-dark);
}

.community-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}

.community-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 42, 54, 0.35) 0%, rgba(0, 42, 54, 0.88) 100%);
  transition: background 0.35s;
}

.community-card--visual:hover .community-card-overlay {
  background: linear-gradient(180deg, rgba(0, 42, 54, 0.25) 0%, rgba(0, 75, 94, 0.92) 100%);
}

.community-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: 24px;
}

.community-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.community-card--visual:hover {
  box-shadow: var(--shadow-lg);
}

.community-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  backdrop-filter: blur(6px);
}

.community-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand-glow);
}

.community-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--white);
}

.community-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

/* ── Careers ── */
.careers-section {
  background: var(--surface);
}

.jobs-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.job-card:hover {
  border-color: var(--brand-light);
  box-shadow: 0 12px 32px rgba(0, 75, 94, 0.1);
  transform: translateY(-4px);
}

.job-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 13px;
  color: var(--muted);
}

.job-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.icon-meta {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--brand-mid);
}

.job-apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: var(--white);
  padding: 10px 19px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.job-apply:hover {
  background: var(--brand-dark);
}

.job-apply svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── Contact ── */
.contact-section { background: var(--white); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-light);
  box-shadow: 0 10px 24px rgba(0, 75, 94, 0.08);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }

.contact-card h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-card a,
.contact-card p {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.contact-card a:hover { color: var(--brand); }

.contact-form {
  position: relative;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 6px;
}

.contact-form .sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
}

.form-status.is-success {
  color: var(--brand);
}

.form-status.is-error {
  color: #b42318;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field { margin-bottom: 16px; }

.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(46, 184, 212, 0.2);
}

.form-field textarea { min-height: 120px; resize: vertical; }

/* ── Footer ── */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-glow);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.footer-dev {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.footer-dev-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

.footer-dev-link {
  display: inline-block;
  transition: transform 0.3s var(--ease), opacity 0.25s;
  opacity: 0.9;
}

.footer-dev-link:hover {
  transform: scale(1.05);
  opacity: 1;
}

.footer-dev img {
  height: 42px;
  width: auto;
  display: block;
  filter: brightness(1.1);
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; flex-shrink: 0; }
  .header-inner { gap: 12px; }
}

@media (max-width: 380px) {
  .brand-mark {
    height: 44px;
    max-width: min(200px, 58vw);
  }
  .mobile-drawer nav a {
    font-size: 15px;
    padding: 8px 10px 8px 14px;
  }
  .mobile-drawer .dev-credit img {
    height: 52px;
  }
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 320px; order: -1; }
  .hero-panel { min-height: auto; padding-bottom: 64px; }
  .hero-steps { position: relative; margin-top: -60px; z-index: 2; }
  .leader-grid { grid-template-columns: 1fr; max-width: 480px; }
  .bento-compact { grid-template-columns: repeat(2, 1fr); }
  .bento-card, .bento-card.wide, .bento-card.featured { grid-column: span 6; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 32px; }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .core-grid { grid-template-columns: 1fr 1fr; }
  .vision-mission { grid-template-columns: 1fr; }
  .vm-card--compact { max-height: none; }
  .team-highlights { grid-template-columns: 1fr 1fr; }
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 780px;
  }
  .road-track { grid-template-columns: 1fr 1fr; gap: 20px; }
  .road-track::before { display: none; }
  .mentor-split-three { grid-template-columns: 1fr; }
  .routes-grid { grid-template-columns: 1fr; max-width: 100%; }
  .mentor-emails { grid-template-columns: 1fr; }
  .downloads-grid { grid-template-columns: 1fr; }
  .team-highlights { grid-template-columns: 1fr 1fr; }
  .community-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .mobile-drawer {
    padding-top: calc(var(--nav-h) + 8px);
  }
  .mobile-drawer nav a {
    font-size: 17px;
    padding: 10px 12px 10px 14px;
  }
  .mobile-drawer .dev-credit img {
    height: 58px;
  }
  .header-inner,
  .wrap {
    width: var(--wrap);
    max-width: 100%;
  }
  .hero-panel {
    padding: calc(var(--nav-h) + 28px) 16px 48px;
    min-width: 0;
    overflow: visible;
  }
  .hero-eyebrow { letter-spacing: 0.12em; font-size: 11px; }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-steps { grid-template-columns: 1fr 1fr; }
  .hero-step {
    border-bottom: 1px solid var(--line);
    padding: 14px 10px;
    min-width: 0;
  }
  .hero-step strong { font-size: 13px; letter-spacing: 0.04em; }
  .section { padding: 56px 0; }
  .heading { font-size: clamp(26px, 7vw, 36px); }
  .about-layout,
  .mentor-split,
  .mentor-split-three,
  .contact-layout,
  .support-panel,
  .careers-layout { grid-template-columns: 1fr; }
  .job-card { grid-template-columns: 1fr; }
  .bento-compact { grid-template-columns: 1fr; }
  .bento-card, .bento-card.wide, .bento-card.featured { grid-column: span 12; }
  .program-card--compact { max-height: none; }
  .timeline { grid-template-columns: 1fr; }
  .project-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .core-grid { grid-template-columns: 1fr; }
  .team-highlights { grid-template-columns: 1fr; }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .road-track { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .road-banner { padding: 24px 18px; }
  .road-stop { flex-direction: row; text-align: left; align-items: center; }
  .road-stop-body { min-height: auto; min-width: 0; }
  .road-stop time {
    white-space: normal;
    font-size: 13px;
    line-height: 1.4;
  }
  .mentor-popup-card { padding: 28px 20px 22px; }
  .mentor-popup-actions .btn { width: 100%; }
  .mentor-tab-list {
    max-width: 100%;
    border-radius: 14px;
  }
  .mentor-tab {
    font-size: 13px;
    padding: 12px 10px;
  }
  .mentor-emails {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mentor-email-card {
    padding: 18px 16px;
  }
  .mentor-email-card a {
    font-size: 14px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-dev {
    align-items: flex-start;
    text-align: left;
  }
  .footer-col a[href^="mailto"] {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (prefers-reduced-motion: reduce) {
  .anim,
  .anim-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mentor-tab-panel.is-active {
    animation: none;
  }

  .timeline-item:hover,
  .timeline-item:hover .timeline-dot,
  .job-card:hover,
  .mentor-email-card:hover,
  .core-grid li:hover,
  .bento-card--visual:hover .bento-card-img {
    transform: none;
  }
}
