/* Thomani Consulting — 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(92, 17, 49, 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(240, 226, 210, 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(193, 68, 14, 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.35s 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(193, 68, 14, 0.12);
}
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);
}
body.menu-open .menu-toggle:hover,
body.menu-open .menu-toggle:active {
  transform: rotate(90deg);
  background: rgba(193, 68, 14, 0.18);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(243, 156, 18, 0.12), transparent 55%),
    linear-gradient(180deg, #FFFBF7 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(100%);
  transition:
    opacity 0.35s var(--ease),
    transform 0.45s var(--ease),
    visibility 0.45s;
  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;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mobile-drawer nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(16px, 4.6vw, 20px);
  font-weight: 600;
  line-height: 1.2;
  padding: 13px 14px 13px 16px;
  margin: 0;
  color: var(--ink);
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(36px);
  transition:
    color 0.25s var(--ease),
    background 0.3s var(--ease),
    transform 0.45s var(--ease),
    opacity 0.4s var(--ease),
    border-radius 0.25s var(--ease),
    box-shadow 0.3s var(--ease);
}
.mobile-drawer nav a:last-child {
  border-bottom: none;
}
.mobile-drawer nav a .nav-row-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--brand-mid);
  color: var(--brand-mid);
}
.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.08s; }
.mobile-drawer.is-open nav a:nth-child(2) { transition-delay: 0.13s; }
.mobile-drawer.is-open nav a:nth-child(3) { transition-delay: 0.18s; }
.mobile-drawer.is-open nav a:nth-child(4) { transition-delay: 0.23s; }
.mobile-drawer.is-open nav a:nth-child(5) { transition-delay: 0.28s; }
.mobile-drawer.is-open nav a:nth-child(6) { transition-delay: 0.33s; }
.mobile-drawer.is-open nav a:nth-child(7) { transition-delay: 0.38s; }
.mobile-drawer.is-open nav a:nth-child(8) { transition-delay: 0.43s; }
.mobile-drawer.is-open nav a:nth-child(9) { transition-delay: 0.48s; }

.mobile-drawer nav a:hover,
.mobile-drawer nav a:focus-visible {
  color: var(--brand);
  background: rgba(193, 68, 14, 0.06);
  outline: none;
}
.mobile-drawer nav a:hover::before,
.mobile-drawer nav a:focus-visible::before,
.mobile-drawer nav a.is-active::before {
  height: 60%;
}
.mobile-drawer nav a.is-active {
  color: var(--brand-dark);
  background: linear-gradient(90deg, rgba(193, 68, 14, 0.16) 0%, rgba(226, 113, 29, 0.12) 45%, rgba(243, 156, 18, 0.1) 100%);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px rgba(193, 68, 14, 0.08);
}
.mobile-drawer nav a.is-active .nav-row-icon {
  stroke: var(--brand);
  color: var(--brand);
}
.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(193, 68, 14, 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(92, 17, 49, 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(243, 156, 18, 0.18), transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #FFF8F0 100%);
  border: 1px solid rgba(240, 226, 210, 0.9);
  box-shadow: 0 30px 80px rgba(92, 17, 49, 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(193, 68, 14, 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(193, 68, 14, 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(193, 68, 14, 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(193, 68, 14, 0.06);
  border-color: rgba(193, 68, 14, 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 {
    transform: none;
  }
  .mobile-drawer nav a {
    opacity: 1;
    transform: none;
  }
  .mobile-drawer .dev-credit {
    opacity: 1;
    transform: none;
  }
  body.menu-open .menu-toggle:hover,
  body.menu-open .menu-toggle:active {
    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:active { transform: scale(0.98); }

.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;
  grid-template-rows: 1fr auto;
  position: relative;
}

.hero-panel {
  grid-column: 1;
  grid-row: 1 / -1;
  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(247, 201, 72, 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-kicker {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 16px;
  width: 100%;
  text-align: left;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 5.2vw, 56px);
  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;
  text-align: left;
}

.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 {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: var(--brand-dark);
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, var(--brand-dark) 0%, transparent 45%);
}

.hero-steps {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  z-index: 2;
  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(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s 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.97) translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s 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);
}

.reveal-stagger > :nth-child(1) { --i: 0; }
.reveal-stagger > :nth-child(2) { --i: 1; }
.reveal-stagger > :nth-child(3) { --i: 2; }
.reveal-stagger > :nth-child(4) { --i: 3; }
.reveal-stagger > :nth-child(5) { --i: 4; }
.reveal-stagger > :nth-child(6) { --i: 5; }
.reveal-stagger > :nth-child(7) { --i: 6; }
.reveal-stagger > :nth-child(8) { --i: 7; }
.reveal-stagger > :nth-child(9) { --i: 8; }
.reveal-stagger > :nth-child(10) { --i: 9; }
.reveal-stagger > :nth-child(11) { --i: 10; }
.reveal-stagger > :nth-child(12) { --i: 11; }

/* ── 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(193, 68, 14, 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(193, 68, 14, 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(193, 68, 14, 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; }
.about-more.is-open .core-grid li:nth-child(12) { animation-delay: 0.37s; }

@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(247, 201, 72, 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 {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.team-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("https://images.unsplash.com/photo-1721244654394-36a7bc2da288?auto=format&fit=crop&w=2000&q=85")
    center / cover no-repeat;
  transform: scale(1.03);
}

.team-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(26, 20, 16, 0.72);
}

.team-section > .wrap {
  position: relative;
  z-index: 2;
}

.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(4, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 48px;
  justify-content: stretch;
  max-width: none;
  align-items: stretch;
}

.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%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.team-card--empty {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.team-card--empty:hover {
  transform: none;
  box-shadow: none;
}

.team-photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.team-photo--empty::before {
  display: none;
}

.team-photo--empty span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  position: relative;
}

.team-photo--empty span::before,
.team-photo--empty span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: translate(-50%, -50%);
}

.team-photo--empty span::before {
  width: 16px;
  height: 1.5px;
}

.team-photo--empty span::after {
  width: 1.5px;
  height: 16px;
}

.team-card--empty .team-info {
  background: rgba(255, 255, 255, 0.92);
}

.team-card--empty .team-info h4,
.team-card--empty .team-info .role,
.team-card--empty .team-info p {
  opacity: 0.55;
}

.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(92, 17, 49, 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: 13px;
  line-height: 1.6;
}

.team-info {
  padding: 24px;
  background: var(--white);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.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;
  flex: 1;
}

.team-email {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-mid);
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.team-email:hover {
  color: var(--brand);
  text-decoration: underline;
}

.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(193, 68, 14, 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: 180px;
  border: none;
  overflow: hidden;
  background: var(--brand-dark);
  color: var(--white);
  cursor: pointer;
}

.bento-card--visual:focus-visible {
  outline: 2px solid var(--brand-glow);
  outline-offset: 3px;
}

.bento-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  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(
    180deg,
    rgba(92, 17, 49, 0.25) 0%,
    rgba(92, 17, 49, 0.45) 45%,
    rgba(26, 20, 16, 0.82) 100%
  );
  transition: background 0.3s;
}

.bento-card--visual:hover .bento-card-overlay {
  background: linear-gradient(
    180deg,
    rgba(92, 17, 49, 0.2) 0%,
    rgba(193, 68, 14, 0.45) 48%,
    rgba(26, 20, 16, 0.9) 100%
  );
}

.bento-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 180px;
  padding: 16px 18px;
}

.service-hint {
  align-self: flex-start;
  margin-bottom: auto;
  margin-top: 2px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}

.bento-card--visual:hover .service-hint,
.bento-card--visual:focus-visible .service-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Services full-screen lightbox */
.service-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: stretch;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.service-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.service-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 4, 0.88);
  backdrop-filter: blur(8px);
}

.service-lightbox-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 24px));
  margin: max(16px, env(safe-area-inset-top)) auto max(16px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  max-height: calc(100vh - 32px);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.4s var(--ease);
}

.service-lightbox.is-open .service-lightbox-shell {
  transform: none;
}

.service-lightbox-media {
  position: relative;
  min-height: 240px;
  background: #0c0806;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-lightbox-media img {
  width: 100%;
  height: 100%;
  max-height: min(62vh, 640px);
  object-fit: contain;
  object-position: center;
  display: block;
}

.service-lightbox-panel {
  padding: 22px 24px 24px;
  background: linear-gradient(180deg, #1f1612 0%, #140e0b 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-lightbox-count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-glow);
}

.service-lightbox-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

.service-lightbox-panel p:not(.service-lightbox-count) {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 62ch;
}

.service-lightbox-panel .btn {
  align-self: flex-start;
  margin-top: 8px;
}

.service-lightbox-close,
.service-lightbox-nav {
  position: absolute;
  z-index: 3;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(8px);
  transition: background 0.25s, transform 0.25s var(--ease);
}

.service-lightbox-close {
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.service-lightbox-close svg,
.service-lightbox-nav svg {
  width: 22px;
  height: 22px;
}

.service-lightbox-close:hover,
.service-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.04);
}

.service-lightbox-nav {
  top: 42%;
  width: 46px;
  height: 46px;
  border-radius: 999px;
}

.service-lightbox-prev { left: 14px; }
.service-lightbox-next { right: 14px; }

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .service-lightbox-shell {
    width: 100%;
    margin: 0;
    max-height: 100vh;
    border-radius: 0;
  }

  .service-lightbox-media img {
    max-height: min(48vh, 420px);
  }

  .service-lightbox-panel {
    padding: 18px 16px max(20px, env(safe-area-inset-bottom));
  }

  .service-lightbox-panel .btn {
    width: 100%;
    justify-content: center;
  }

  .service-lightbox-nav {
    top: 28%;
    width: 40px;
    height: 40px;
  }

  .service-lightbox-prev { left: 8px; }
  .service-lightbox-next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-lightbox,
  .service-lightbox-shell,
  .service-hint,
  .bento-card-img {
    transition: none !important;
  }
  .service-lightbox-shell {
    transform: none;
  }
  .bento-card--visual:hover .bento-card-img {
    transform: none;
  }
}

/* Project photo fullscreen lightbox */
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.photo-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.photo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 5, 3, 0.94);
  backdrop-filter: blur(10px);
}

.photo-lightbox-stage {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 48px));
  height: min(86vh, calc(100% - 96px));
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transform: scale(0.96);
  opacity: 0.85;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.photo-lightbox.is-open .photo-lightbox-stage img {
  transform: scale(1);
  opacity: 1;
}

.photo-lightbox-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

.photo-lightbox-meta p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

.photo-lightbox-meta span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-glow);
}

.photo-lightbox-close,
.photo-lightbox-nav {
  position: absolute;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}

.photo-lightbox-close svg,
.photo-lightbox-nav svg {
  width: 20px;
  height: 20px;
}

.photo-lightbox-close:hover,
.photo-lightbox-nav:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: scale(1.05);
}

.photo-lightbox-close {
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
}

.photo-lightbox-prev { left: max(12px, env(safe-area-inset-left)); top: 50%; transform: translateY(-50%); }
.photo-lightbox-next { right: max(12px, env(safe-area-inset-right)); top: 50%; transform: translateY(-50%); }
.photo-lightbox-prev:hover,
.photo-lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

.steel-collage-item,
.materials-slide {
  cursor: zoom-in;
}

.steel-collage-item:focus-visible,
.materials-slide:focus-visible {
  outline: 2px solid var(--brand-glow);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .photo-lightbox-stage {
    width: calc(100% - 20px);
    height: calc(100% - 120px);
  }

  .photo-lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .photo-lightbox-prev { left: 6px; }
  .photo-lightbox-next { right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .photo-lightbox,
  .photo-lightbox-stage img {
    transition: none;
  }
}

.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(193, 68, 14, 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(247, 201, 72, 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(247, 201, 72, 0.35);
  backdrop-filter: blur(8px);
}

.road-window-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(247, 201, 72, 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(247, 201, 72, 0.55), transparent);
  z-index: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.15s var(--ease) 0.15s;
}

.road-banner.is-visible .road-track::before {
  transform: scaleX(1);
}

.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), opacity 0.65s var(--ease);
}

.road-stop.is-visible: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(247, 201, 72, 0.25), 0 12px 28px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.35s, transform 0.45s var(--ease);
  transform: scale(0.86);
}

.road-stop.is-visible .road-num {
  transform: scale(1);
}

.road-stop.is-visible:hover .road-num {
  transform: scale(1.06);
  box-shadow: 0 0 0 6px rgba(247, 201, 72, 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(247, 201, 72, 0.14);
  border-color: rgba(247, 201, 72, 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(193, 68, 14, 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(193, 68, 14, 0.12);
}

.program-card.highlight {
  border: 2px solid var(--brand-light);
  background: linear-gradient(160deg, rgba(193, 68, 14, 0.04), rgba(243, 156, 18, 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.3s var(--ease), color 0.25s var(--ease), transform 0.2s, box-shadow 0.3s var(--ease);
  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(193, 68, 14, 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(92, 17, 49, 0.28);
}

.route-card--light {
  background: linear-gradient(165deg, #F39C12 0%, #E2711D 55%, #C1440E 100%);
  box-shadow: 0 12px 36px rgba(193, 68, 14, 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(193, 68, 14, 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(193, 68, 14, 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 {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease), padding-bottom 0.35s var(--ease);
  padding-bottom: 0;
}
.faq-body > * {
  overflow: hidden;
  min-height: 0;
}
.faq-block.is-open .faq-body {
  grid-template-rows: 1fr;
  padding-bottom: 20px;
}
.faq-body p { font-size: 15px; color: var(--muted); line-height: 1.75; }

/* ── Projects marquee ── */
.projects-section {
  position: relative;
  color: var(--white);
  padding-bottom: 80px;
  overflow: hidden;
  background: #1a1410;
  isolation: isolate;
}

.projects-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("../images/back.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.projects-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      145deg,
      rgba(28, 24, 22, 0.42) 0%,
      rgba(55, 52, 50, 0.28) 38%,
      rgba(20, 16, 14, 0.48) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.02) 28%,
      rgba(0, 0, 0, 0.18) 100%
    );
  backdrop-filter: blur(2.5px) saturate(1.05);
  -webkit-backdrop-filter: blur(2.5px) saturate(1.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.projects-section > .wrap {
  position: relative;
  z-index: 2;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-docs-section {
  background: var(--white);
  padding-top: 0;
}

.project-docs-section .downloads-panel {
  margin-bottom: 0;
}

.project-tile {
  padding: 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(
      155deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(210, 210, 215, 0.08) 42%,
      rgba(20, 16, 14, 0.38) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 10px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  transition: background 0.3s, transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.project-tile:hover {
  background:
    linear-gradient(
      155deg,
      rgba(255, 255, 255, 0.24) 0%,
      rgba(220, 220, 225, 0.12) 42%,
      rgba(20, 16, 14, 0.42) 100%
    );
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 16px 34px rgba(0, 0, 0, 0.22);
}

.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;
}

/* ── Project photo galleries ── */
.project-galleries-scroll {
  margin-top: 56px;
  height: auto;
}

.project-galleries-sticky {
  position: relative;
  top: auto;
  height: auto;
  overflow: visible;
  display: block;
}

.project-galleries-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(24px, 3vw, 40px);
  width: 100%;
  padding: 0;
  transform: none !important;
}

.project-gallery {
  margin-top: 0;
  width: auto;
  min-width: 0;
}

.project-gallery-head {
  max-width: 520px;
  margin-bottom: 22px;
}

.project-gallery-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  margin: 8px 0 8px;
  color: var(--white);
}

.project-gallery-head p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.projects-section .section-head .heading,
.projects-section .project-gallery-title {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.steel-collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 68px;
  gap: 8px;
  max-width: none;
}

.steel-collage-item {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.steel-collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease);
}

.steel-collage-item:hover img {
  transform: scale(1.06);
}

.steel-collage-item--lg {
  grid-column: span 2;
  grid-row: span 2;
}

.steel-collage-item--wide {
  grid-column: span 2;
}

.steel-collage-item--tall {
  grid-row: span 2;
}

.materials-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  max-width: none;
}

.materials-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 28px 8px 36px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.materials-track::-webkit-scrollbar {
  display: none;
}

.materials-slide {
  position: relative;
  flex: 0 0 min(72%, 300px);
  scroll-snap-align: center;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  aspect-ratio: 4 / 3;
  transform: scale(0.88) translateY(10px);
  opacity: 0.55;
  filter: saturate(0.75);
  transition:
    transform 0.55s var(--ease),
    opacity 0.45s ease,
    filter 0.45s ease,
    box-shadow 0.55s ease;
}

.materials-slide::before,
.materials-slide::after {
  content: "";
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 1;
}

.materials-slide::before {
  background: radial-gradient(circle, rgba(255, 176, 64, 0.22) 0%, transparent 62%);
  animation: materialsOrbit 7s linear infinite;
}

.materials-slide::after {
  background: radial-gradient(circle, rgba(255, 92, 40, 0.16) 0%, transparent 58%);
  animation: materialsOrbit 9s linear infinite reverse;
}

.materials-slide.is-active {
  transform: scale(1) translateY(0);
  opacity: 1;
  filter: saturate(1.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.materials-slide.is-active::before,
.materials-slide.is-active::after {
  opacity: 1;
}

.materials-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
}

.materials-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
  flex-shrink: 0;
}

.materials-nav svg {
  width: 18px;
  height: 18px;
}

.materials-nav:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: scale(1.06);
}

.materials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  max-width: none;
}

.materials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.25s, background 0.25s;
}

.materials-dot.is-active {
  background: var(--brand-glow);
  transform: scale(1.25);
}

@keyframes materialsOrbit {
  from { transform: rotate(0deg) translateX(8px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(8px) rotate(-360deg); }
}

@media (max-width: 768px) {
  .project-galleries-scroll {
    height: auto;
  }

  .project-galleries-sticky {
    position: relative;
    top: auto;
    height: auto;
    overflow: visible;
  }

  .project-galleries-track {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 4px 4px 20px;
    transform: none !important;
    width: 100%;
  }

  .project-gallery {
    flex: 0 0 min(88vw, 420px);
    width: min(88vw, 420px);
    scroll-snap-align: start;
  }

  .steel-collage {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 64px;
    gap: 6px;
  }

  .steel-collage-item--lg,
  .steel-collage-item--wide,
  .steel-collage-item--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .steel-collage-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .materials-carousel {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .materials-nav {
    display: none;
  }

  .materials-slide {
    flex-basis: min(84%, 280px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .materials-slide,
  .materials-slide::before,
  .materials-slide::after,
  .steel-collage-item img {
    animation: none !important;
    transition: none !important;
  }

  .materials-slide {
    transform: none;
    opacity: 1;
    filter: none;
  }
}

/* ── 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;
  transition: transform 0.65s var(--ease);
}

.community-card--visual:hover .community-card-img {
  transform: scale(1.04);
}

.community-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(92, 17, 49, 0.35) 0%, rgba(92, 17, 49, 0.88) 100%);
  transition: background 0.35s;
}

.community-card--visual:hover .community-card-overlay {
  background: linear-gradient(180deg, rgba(92, 17, 49, 0.25) 0%, rgba(193, 68, 14, 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(193, 68, 14, 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(193, 68, 14, 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;
  display: block;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.contact-card a + a { margin-top: 4px; }
.contact-card a:hover { color: var(--brand); }

.contact-card--team a {
  font-size: 13px;
}

.contact-map-link {
  display: inline-block !important;
  margin-top: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--brand) !important;
}

.contact-map {
  margin-top: 36px;
}

.contact-map-frame {
  position: relative;
  width: 100%;
  height: min(380px, 55vw);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map-caption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.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(243, 156, 18, 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: 11px 12px 11px 14px;
    gap: 10px;
  }
  .mobile-drawer nav a .nav-row-icon {
    width: 16px;
    height: 16px;
  }
  .mobile-drawer .dev-credit img {
    height: 52px;
  }
}

@media (max-width: 1100px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .hero-panel,
  .hero-visual,
  .hero-steps {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }
  .hero-visual {
    order: 1;
    flex: 0 0 auto;
    height: auto;
    min-height: 260px;
    aspect-ratio: 16 / 10;
    max-height: 420px;
    margin-top: var(--nav-h);
  }
  .hero-visual img {
    object-position: center center;
  }
  .hero-visual-overlay {
    background: linear-gradient(180deg, transparent 50%, rgba(92, 17, 49, 0.35) 100%);
  }
  .hero-steps {
    order: 2;
    margin: 0;
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--line);
    box-shadow: none;
    overflow: visible;
  }
  .hero-panel {
    order: 3;
    min-height: auto;
    padding: 36px clamp(20px, 4vw, 40px) 40px;
  }
  .leader-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
    text-align: center;
    gap: 32px;
  }
  .leader-photo { width: min(100%, 340px); }
  .leader-content { text-align: center; }
  .bento-compact { grid-template-columns: repeat(2, minmax(0, 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;
    justify-content: center;
  }
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    justify-content: stretch;
  }
  .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; }
  .community-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .mobile-drawer {
    padding-top: calc(var(--nav-h) + 8px);
    padding-left: 16px;
    padding-right: 16px;
  }
  .mobile-drawer nav a {
    font-size: 16px;
    padding: 12px 12px 12px 14px;
  }
  .mobile-drawer .dev-credit img {
    height: 52px;
    margin-left: auto;
    margin-right: auto;
  }

  .header-inner,
  .wrap {
    width: var(--wrap);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .site-header .brand {
    justify-content: flex-start;
  }
  .brand-mark {
    height: 42px;
    max-width: min(180px, 52vw);
  }

  .hero-panel {
    padding: 28px 16px 32px;
    min-width: 0;
    overflow: visible;
    align-items: stretch;
  }
  .hero-visual {
    min-height: 220px;
    aspect-ratio: 4 / 3;
    max-height: 340px;
  }
  .hero-eyebrow {
    letter-spacing: 0.12em;
    font-size: 11px;
    text-align: center;
  }
  .hero-title,
  .hero-lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-title {
    font-size: clamp(28px, 8vw, 40px);
  }
  .hero-lead {
    max-width: 34ch;
    margin-bottom: 24px;
    font-size: 15px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-bottom: 20px;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero-contacts {
    justify-content: center;
    width: 100%;
  }
  .hero-steps {
    grid-template-columns: 1fr 1fr;
  }
  .hero-step {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 14px 10px;
    min-width: 0;
    text-align: center;
  }
  .hero-step:nth-child(2n) {
    border-right: none;
  }
  .hero-step:nth-child(3),
  .hero-step:nth-child(4) {
    border-bottom: none;
  }
  .hero-step strong { font-size: 13px; letter-spacing: 0.04em; }

  .section { padding: 56px 0; }
  .heading { font-size: clamp(26px, 7vw, 36px); }
  .section-head {
    text-align: center;
    margin-bottom: 36px;
  }
  .section-head .lead {
    margin-left: auto;
    margin-right: auto;
  }
  .section-head.row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .label { text-align: center; }

  .about-layout,
  .mentor-split,
  .mentor-split-three,
  .contact-layout,
  .support-panel,
  .careers-layout { grid-template-columns: 1fr; }

  .about-intro,
  .about-prose,
  .about-philosophy {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .about-toggle-wrap {
    display: flex;
    justify-content: center;
  }

  .job-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 18px;
    padding: 22px 18px;
  }
  .job-meta {
    justify-content: center;
  }
  .job-apply {
    justify-content: center;
  }

  .bento-compact { grid-template-columns: 1fr; }
  .bento-card, .bento-card.wide, .bento-card.featured { grid-column: span 12; }
  .program-card--compact { max-height: none; }
  .program-card {
    text-align: center;
  }
  .program-card .btn {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  .program-list { text-align: left; }

  .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; text-align: center; }
  .footer-brand .brand {
    justify-content: center;
    width: 100%;
  }
  .footer-col ul { padding: 0; }
  .core-grid { grid-template-columns: 1fr; }
  .team-highlights {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
  .team-info { text-align: center; }
  .road-track { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .road-banner {
    padding: 24px 16px;
    text-align: center;
  }
  .road-banner-top { margin-left: auto; margin-right: auto; }
  .road-window {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  .road-cta {
    justify-content: center;
  }
  .road-cta .btn { width: 100%; max-width: 320px; justify-content: center; }
  .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;
    text-align: center;
    width: min(100%, 420px);
    margin: 0 auto;
  }
  .mentor-popup-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .mentor-popup-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .mentor-tab-list {
    max-width: 100%;
    border-radius: 14px;
    margin-left: auto;
    margin-right: auto;
  }
  .mentor-tab {
    font-size: 13px;
    padding: 12px 10px;
  }
  .mentor-emails {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mentor-email-card {
    padding: 18px 16px;
    text-align: center;
  }
  .mentor-email-card a {
    font-size: 14px;
    overflow-wrap: anywhere;
  }
  .downloads-panel,
  .support-panel,
  .faq-grid {
    width: 100%;
    max-width: 100%;
  }
  .contact-cards,
  .contact-form {
    width: 100%;
    max-width: 100%;
  }
  .contact-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .contact-form {
    padding: 24px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }
  .footer-dev {
    align-items: center;
    text-align: center;
  }
  .footer-col a[href^="mailto"] {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .btn {
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .hero-panel {
    padding: 24px 14px 28px;
  }
  .hero-visual {
    min-height: 200px;
    aspect-ratio: 5 / 4;
    max-height: 300px;
  }
  .hero-title {
    font-size: clamp(26px, 8.2vw, 34px);
  }
  .hero-step {
    padding: 12px 8px;
  }
  .section { padding: 48px 0; }
  .road-banner { padding: 20px 14px; }
  .job-card { padding: 20px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .anim,
  .anim-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal-stagger > .anim,
  .reveal-stagger > .anim-scale {
    transition-delay: 0s !important;
  }

  .road-banner-glow {
    animation: none;
  }

  .road-track::before,
  .road-banner.is-visible .road-track::before {
    transform: none;
    transition: none;
  }

  .road-num,
  .road-stop.is-visible .road-num {
    transform: none;
    transition: none;
  }

  .faq-body {
    transition: none;
  }

  .mentor-tab-panel.is-active {
    animation: none;
  }

  .btn:hover,
  .btn:active,
  .timeline-item:hover,
  .timeline-item:hover .timeline-dot,
  .job-card:hover,
  .project-tile:hover,
  .mentor-email-card:hover,
  .core-grid li:hover,
  .bento-card--visual:hover .bento-card-img,
  .community-card--visual:hover .community-card-img,
  .community-card:hover,
  .road-stop.is-visible:hover,
  .road-stop.is-visible:hover .road-num {
    transform: none;
  }
}
