/* ============================================================
   LAAS AUB — Design System
   Light theme · Bold blue · Aviation magazine aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@400;700&family=Exo+2:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  /* Brand blues — extracted from LAAS banner + poster */
  --blue-900:  #0A2558;
  --blue-800:  #0D2F6E;
  --blue-700:  #1450A3;
  --blue-600:  #1E6FD9;
  --blue-500:  #2B7DE9;
  --blue-400:  #5B9EF4;
  --blue-100:  #D6E8FF;
  --blue-50:   #EBF4FF;
  --blue-75:   #E8F0FF;  /* hero left panel background */

  /* Surfaces */
  --bg:         #FFFFFF;
  --bg-off:     #F5F8FF;
  --bg-section: #EBF4FF;
  --surface:    #FFFFFF;

  /* Text */
  --text-900:   #0A1628;
  --text-700:   #1E3A5F;
  --text-500:   #4A6FA5;
  --text-300:   #8BA8CC;

  /* Semantic */
  --status-active:    #16A34A;
  --status-hold:      #78716C;
  --status-done:      #1E6FD9;
  --status-active-bg: #DCFCE7;
  --status-hold-bg:   #F5F5F4;
  --status-done-bg:   #DBEAFE;

  --div-aerospace:    #1E6FD9;
  --div-auto:         #D97706;
  --div-aerospace-bg: #DBEAFE;
  --div-auto-bg:      #FEF3C7;

  --error:  #DC2626;
  --success: #16A34A;

  /* Spacing (8pt grid) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px;
  --s12: 48px; --s16: 64px; --s20: 80px; --s24: 96px;

  /* Typography */
  --font-display: 'Syncopate', sans-serif;
  --font-body:    'Exo 2', sans-serif;

  /* Effects */
  --radius-sm:  6px;
  --radius:     14px;
  --radius-lg:  24px;
  --radius-xl:  36px;
  --shadow-sm:  0 1px 3px rgba(10,37,88,0.08), 0 1px 2px rgba(10,37,88,0.06);
  --shadow:     0 4px 16px rgba(10,37,88,0.1), 0 2px 6px rgba(10,37,88,0.06);
  --shadow-lg:  0 12px 40px rgba(10,37,88,0.14);
  --shadow-blue: 0 8px 32px rgba(30,111,217,0.3);
  --transition: 220ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 420ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-w: 1240px;
  --nav-h: 70px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 17px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-900);
  line-height: 1.7;
  min-height: 100dvh;
  overflow-x: hidden;
}

img    { max-width: 100%; display: block; }
a      { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Loading skeleton ───────────────────────────────────── */
.skeleton-pulse {
  animation: skeletonPulse 1.5s ease-in-out infinite;
}
@keyframes skeletonPulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 111, 217, 0.1);
  box-shadow: 0 2px 24px rgba(10, 37, 88, 0.07);
  transition: height var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  height: 58px;
  box-shadow: 0 4px 32px rgba(10, 37, 88, 0.12);
}

.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s6);
}

.nav__logo { display: flex; align-items: center; gap: var(--s2); flex-shrink: 0; }

.nav__logo-inner {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue-700);
  line-height: 1;
}

.nav__logo-sub {
  font-size: 0.55rem;
  font-weight: 500;
  color: var(--text-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.25;
  max-width: 220px;
  margin-top: 2px;
  overflow: hidden;
  max-height: 3em;
  opacity: 1;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.nav__logo-sub--hidden {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

.nav__links { display: flex; align-items: center; gap: 2px; }

.nav__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-500);
  padding: var(--s2) var(--s4);
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav__link:hover { color: var(--blue-600); background: var(--blue-50); }

.nav__link.active {
  color: var(--blue-700);
  background: var(--blue-50);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--blue-600);
  border-radius: 2px;
}

.nav__cta {
  font-size: 0.85rem;
  font-weight: 700;
  padding: var(--s2) var(--s5);
  background: var(--blue-600);
  color: #fff;
  border-radius: 100px;
  letter-spacing: 0.05em;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(30,111,217,0.35);
}

.nav__cta:hover {
  background: var(--blue-700);
  box-shadow: var(--shadow-blue);
  transform: translateY(-1px);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--s2);
  cursor: pointer;
}

.nav__hamburger span {
  width: 22px; height: 2px;
  background: var(--blue-700);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30,111,217,0.12);
  padding: var(--s4) var(--s6) var(--s6);
  z-index: 99;
  flex-direction: column;
  gap: var(--s2);
  box-shadow: 0 8px 32px rgba(10,37,88,0.12);
}

.nav__mobile.open { display: flex; }

.nav__mobile-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-500);
  padding: var(--s3) var(--s4);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav__mobile-link:hover,
.nav__mobile-link.active {
  color: var(--blue-700);
  background: var(--blue-50);
}

.nav__mobile-cta {
  margin-top: var(--s2);
  text-align: center;
  background: var(--blue-600);
  color: #fff;
  padding: var(--s3) var(--s6);
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ── Page wrapper ────────────────────────────────────────── */
.page-wrapper { padding-top: var(--nav-h); }

/* ── Section utilities ───────────────────────────────────── */
.section     { padding: var(--s20) var(--s6); }
.section--sm { padding: var(--s12) var(--s6); }
.section--blue { background: var(--blue-700); color: white; }
.section--off  { background: var(--bg-off); }
.section--tint { background: var(--bg-section); }

.container { max-width: var(--max-w); margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: var(--s4);
}

.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--blue-600);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-900);
  margin-bottom: var(--s4);
  letter-spacing: -0.01em;
}

.section-title--white { color: #fff; }

.section-desc {
  font-size: 1.1rem;
  color: var(--text-500);
  max-width: 58ch;
  line-height: 1.75;
}

.section-desc--white { color: rgba(255,255,255,0.8); }

.section-header { margin-bottom: var(--s12); }
.section-header--center { text-align: center; }
.section-header--center .section-desc { margin: 0 auto; }
.section-header--center .section-label { display: flex; justify-content: center; }
.section-header--center .section-label::before { display: none; }

.divider {
  width: 100%; height: 1px;
  background: rgba(30, 111, 217, 0.1);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 45%;
  min-height: calc(100vh - var(--nav-h));
  position: relative;
  overflow: hidden;
}

/* ── Hero left panel ─────────────────────────────────────── */
.hero__left {
  background: var(--blue-75);
  position: relative;
  padding: 80px 64px 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Animated background canvas */
.hero__bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Engineering grid overlay */
.hero__left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,111,217,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,111,217,0.18) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Vertical blue rule on far left */
.hero__left::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--blue-600) 30%, var(--blue-600) 70%, transparent);
  pointer-events: none;
}

/* Blueprint corner tick marks */
.hero__tick {
  position: absolute;
  width: 12px; height: 12px;
  border-style: solid;
  border-width: 0;
}
.hero__tick--tl { top: 14px; left: 14px; border-top-width: 1.5px; border-left-width: 1.5px; border-color: rgba(30,111,217,0.4); }
.hero__tick--bl { bottom: 14px; left: 14px; border-bottom-width: 1.5px; border-left-width: 1.5px; border-color: rgba(30,111,217,0.4); }
.hero__tick--tr { top: 14px; right: 14px; border-top-width: 1.5px; border-right-width: 1.5px; border-color: rgba(255,255,255,0.25); }
.hero__tick--br { bottom: 14px; right: 14px; border-bottom-width: 1.5px; border-right-width: 1.5px; border-color: rgba(255,255,255,0.25); }

/* Spec label */
.hero__spec {
  position: absolute;
  top: 20px; left: 72px;
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-700);
  opacity: 0.7;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: rgba(30,111,217,0.12);
  border: 1px solid rgba(30,111,217,0.3);
  border-radius: 4px;
  padding: 5px var(--s4) 5px var(--s3);
  font-family: monospace;
  font-size: 9px;
  font-weight: 700;
  color: var(--blue-700);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--s6);
  width: fit-content;
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: slideIn 0.6s cubic-bezier(0.16,1,0.3,1) 100ms both;
}

.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-600);
  flex-shrink: 0;
  animation: pulse 2s 1.2s ease-in-out infinite;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--text-900);
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: slideIn 0.65s cubic-bezier(0.16,1,0.3,1) 200ms both;
}

.hero__title-accent {
  color: var(--blue-600);
  display: block;
}

.hero__title-rule {
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400), transparent);
  margin: 10px 0 16px;
}

.hero__desc {
  font-size: 0.95rem;
  color: var(--text-700);
  line-height: 1.75;
  max-width: 52ch;
  margin-bottom: var(--s8);
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: slideIn 0.6s cubic-bezier(0.16,1,0.3,1) 380ms both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: slideIn 0.6s cubic-bezier(0.16,1,0.3,1) 460ms both;
}

/* Sharp-cornered hero CTAs */
.hero__actions .btn {
  border-radius: 0;
}

.hero__scroll {
  position: absolute;
  bottom: var(--s6);
  left: 72px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-700);
  opacity: 0;
  z-index: 2;
  animation: fadeIn 0.6s cubic-bezier(0.16,1,0.3,1) 900ms both;
}

.hero__scroll-line {
  width: 32px; height: 1px;
  background: linear-gradient(90deg, var(--blue-600), transparent);
}

/* ── Hero right panel ─────────────────────────────────────── */
.hero__right {
  background: linear-gradient(135deg, #1a5fc4 0%, #0e3a8a 45%, #071e50 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero__right-label {
  position: absolute;
  top: 20px;
  left: 0; right: 0;
  text-align: center;
  font-family: monospace;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  pointer-events: none;
}

.hero__right-spec {
  position: absolute;
  bottom: 20px;
  left: 0; right: 0;
  text-align: center;
  font-family: monospace;
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  pointer-events: none;
}

/* ── Blueprint diagram cycling ───────────────────────────── */
.hero__diagram-wrapper {
  position: relative;
  width: min(540px, 92%);
  height: min(540px, 92%);
  z-index: 2;
}

.hero__diagram-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  will-change: clip-path, opacity;
}

.hero__diagram-frame--active {
  opacity: 1;
  clip-path: inset(0 0% 0 0);
}

.hero__diagram-frame--entering {
  opacity: 1;
  z-index: 2;
  animation: scanReveal 1200ms cubic-bezier(0.25,0.1,0.25,1) forwards;
}
.hero__diagram-frame--entering .hero__diagram {
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.3));
  animation: glowSettle 1400ms ease-out forwards;
}

.hero__diagram-frame--leaving {
  opacity: 1;
  z-index: 1;
  animation: fadeOut 600ms ease-out forwards;
}

/* Always-visible ring overlay — sits on top of all frames, never animated */
.hero__ring-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

/* Su-25 object layer */
.hero__diagram-obj {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
  pointer-events: none;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
}

.hero__diagram {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes scanReveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes glowSettle {
  0%   { filter: drop-shadow(0 0 12px rgba(255,255,255,0.5)); }
  60%  { filter: drop-shadow(0 0 4px rgba(255,255,255,0.2)); }
  100% { filter: drop-shadow(0 0 0px rgba(255,255,255,0)); }
}

@keyframes scanHide {
  from { clip-path: inset(0 0% 0 0); }
  to   { clip-path: inset(0 0 0 100%); }
}

/* Decorative sweep bar */
.hero__scan-bar {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.7), transparent);
  pointer-events: none;
  opacity: 0;
  z-index: 3;
}

.hero__scan-bar--active {
  opacity: 1;
  animation: sweepBar 1200ms cubic-bezier(0.25,0.1,0.25,1) forwards;
}

@keyframes sweepBar {
  0%   { left: 0;    opacity: 1; }
  80%  { left: 100%; opacity: 0.6; }
  100% { left: 100%; opacity: 0; }
}

/* ── Stats strip ─────────────────────────────────────────── */
.stats {
  background: var(--blue-700);
  padding: var(--s10) var(--s6);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.07) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.stats__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  gap: var(--s6);
  position: relative;
  align-items: center;
}

.stat { text-align: center; }

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: var(--s2);
  letter-spacing: -0.02em;
}

.stat__number .accent { color: var(--blue-400); }

.stat__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* "Est." prefix — smaller, muted, tracks nicely before the year */
.stat__est {
  font-size: 0.5em;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  vertical-align: middle;
  margin-right: 4px;
}

.stat__sep {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  align-self: center;
  margin: 0 auto;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: var(--s3) var(--s6);
  border-radius: 100px;
  letter-spacing: 0.04em;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  min-height: 46px;
}

.btn:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; }

.btn--primary {
  background: var(--blue-600);
  color: #fff;
  border-color: var(--blue-600);
  box-shadow: 0 4px 16px rgba(30,111,217,0.3);
}

.btn--primary:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  box-shadow: var(--shadow-blue);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--blue-700);
  border-color: rgba(30,111,217,0.3);
}

.btn--ghost:hover {
  background: var(--blue-50);
  border-color: var(--blue-500);
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: var(--blue-700);
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn--white:hover {
  background: var(--blue-50);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

.btn--sm { font-size: 0.82rem; padding: var(--s2) var(--s4); min-height: 38px; }
.btn--lg { font-size: 1rem; padding: var(--s4) var(--s8); min-height: 54px; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid rgba(30,111,217,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30,111,217,0.25);
}

.card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--blue-50);
}

.card__body { padding: var(--s6); }

.card__title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: var(--s2);
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.card__desc {
  font-size: 0.95rem;
  color: var(--text-500);
  line-height: 1.75;
}

/* ── Badges ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 4px var(--s3);
  border-radius: 100px;
}

.badge--active   { background: var(--status-active-bg); color: var(--status-active); }
.badge--hold     { background: var(--status-hold-bg);   color: var(--status-hold);   }
.badge--done     { background: var(--status-done-bg);   color: var(--status-done);   }
.badge--aerospace { background: var(--div-aerospace-bg); color: var(--div-aerospace); }
.badge--auto     { background: var(--div-auto-bg);      color: var(--div-auto);      }
.badge--event    { background: var(--blue-50);          color: var(--blue-600);      }

.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ── Filter bar ──────────────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s8);
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: var(--s2) var(--s4);
  border-radius: 100px;
  border: 2px solid rgba(30,111,217,0.2);
  color: var(--text-500);
  background: var(--bg);
  cursor: pointer;
  transition: all var(--transition);
  min-height: 38px;
}

.filter-btn:hover {
  color: var(--blue-700);
  border-color: var(--blue-400);
  background: var(--blue-50);
}

.filter-btn.active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
  box-shadow: 0 2px 10px rgba(30,111,217,0.3);
}

/* ── Grid layouts ────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }

/* Two-column feature layout — stacks on mobile */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s20);
  align-items: center;
}

/* ── Team chip ───────────────────────────────────────────── */
.team-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 100px;
  padding: 4px var(--s3) 4px 4px;
}

.team-chip__avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--blue-100);
  flex-shrink: 0;
}

/* ── Project cards ───────────────────────────────────────── */
.project-card {
  background: var(--surface);
  border: 1px solid rgba(30,111,217,0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(30,111,217,0.25);
  transform: translateY(-3px);
}

.project-card__cover {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  background: var(--blue-50);
}

.project-card__body { padding: var(--s8); }

.project-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s4);
  margin-bottom: var(--s6);
  flex-wrap: wrap;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-900);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.project-card__badges { display: flex; gap: var(--s2); flex-wrap: wrap; }

.project-card__section { margin-bottom: var(--s6); }

.project-card__section-label {
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: var(--s2);
}

.project-card__text {
  font-size: 0.9rem;
  color: var(--text-500);
  line-height: 1.75;
}

.project-card__team { display: flex; flex-wrap: wrap; gap: var(--s2); }

.project-card__milestones { display: flex; flex-direction: column; gap: var(--s2); }

.milestone-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-size: 0.92rem;
  color: var(--text-500);
}

.milestone-item::before {
  content: '';
  flex-shrink: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-600);
  margin-top: 6px;
}

.project-card__sponsors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s4);
  padding-top: var(--s5);
  border-top: 1px solid rgba(30,111,217,0.1);
}

.sponsor-logo {
  height: 32px; width: auto;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(1);
  transition: opacity var(--transition), filter var(--transition);
}

.sponsor-logo:hover { opacity: 1; filter: grayscale(0); }

.project-card__divider {
  height: 1px;
  background: rgba(30,111,217,0.08);
  margin: var(--s5) 0;
}

/* ── Progress bar ────────────────────────────────────────── */
.progress-track {
  width: 100%; height: 5px;
  background: var(--blue-50);
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  border-radius: 5px;
  transition: width 1.2s cubic-bezier(0.16,1,0.3,1);
}

/* ── Timeline ────────────────────────────────────────────── */
.timeline { position: relative; padding-left: var(--s10); }

.timeline::before {
  content: '';
  position: absolute;
  left: 12px; top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-600), var(--blue-100));
  border-radius: 2px;
}

.timeline__item { position: relative; margin-bottom: var(--s10); }

.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(var(--s10) * -1 + 7px);
  top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue-600);
  border: 2px solid white;
  box-shadow: 0 0 0 3px var(--blue-100);
}

.timeline__year {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--blue-600);
  text-transform: uppercase;
  margin-bottom: var(--s1);
}

.timeline__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: var(--s2);
}

.timeline__text {
  font-size: 0.9rem;
  color: var(--text-500);
  line-height: 1.7;
}

/* ── Event card ──────────────────────────────────────────── */
.event-card {
  display: flex;
  gap: var(--s5);
  background: var(--surface);
  border: 1px solid rgba(30,111,217,0.1);
  border-radius: var(--radius-lg);
  padding: var(--s5);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(30,111,217,0.25);
}

.event-card__date {
  flex-shrink: 0;
  text-align: center;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  padding: var(--s3) var(--s4);
  min-width: 62px;
}

.event-card__month {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.event-card__day {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-900);
  line-height: 1;
}

.event-card__body { flex: 1; min-width: 0; }

.event-card__title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: var(--s2);
  letter-spacing: 0.02em;
}

.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  font-size: 0.8rem;
  color: var(--text-300);
  margin-bottom: var(--s2);
  align-items: center;
}

.event-card__desc {
  font-size: 0.95rem;
  color: var(--text-500);
  line-height: 1.65;
}

/* ── Cabinet card ────────────────────────────────────────── */
.cabinet-card {
  background: var(--surface);
  border: 1px solid rgba(30,111,217,0.1);
  border-radius: var(--radius-lg);
  padding: var(--s6);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cabinet-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.cabinet-card__avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--s4);
  border: 3px solid var(--blue-100);
  background: var(--blue-50);
}

.cabinet-card__name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: var(--s1);
  letter-spacing: 0.04em;
}

.cabinet-card__role {
  font-size: 0.8rem;
  color: var(--blue-600);
  font-weight: 600;
}

/* ── Value cards ─────────────────────────────────────────── */
.value-card {
  background: var(--surface);
  border: 1px solid rgba(30,111,217,0.1);
  border-radius: var(--radius-lg);
  padding: var(--s6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(30,111,217,0.25);
}

.value-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s4);
  color: var(--blue-600);
}

.value-card__title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: var(--s2);
  letter-spacing: 0.04em;
}

.value-card__text {
  font-size: 0.95rem;
  color: var(--text-500);
  line-height: 1.75;
}

/* ── Form fields ─────────────────────────────────────────── */
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-700);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  background: var(--bg-off);
  border: 1.5px solid rgba(30,111,217,0.18);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-900);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(30,111,217,0.12);
}

.form-input::placeholder { color: var(--text-300); }

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

.form-select { appearance: none; cursor: pointer; }

/* ── Recruit closed state ────────────────────────────────── */
.recruit-closed {
  text-align: center;
  padding: var(--s20) var(--s6);
  max-width: 520px;
  margin: 0 auto;
}

.recruit-closed__icon { margin-bottom: var(--s6); color: var(--text-300); }
.recruit-closed__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: var(--s4);
}

.recruit-closed__msg { font-size: 1rem; color: var(--text-500); line-height: 1.75; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid rgba(30,111,217,0.1); }

.faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s5) 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-900);
  letter-spacing: 0.04em;
  cursor: pointer;
  gap: var(--s4);
  transition: color var(--transition);
  min-height: 44px;
}

.faq-question:hover { color: var(--blue-600); }
.faq-question svg { flex-shrink: 0; transition: transform var(--transition); color: var(--text-300); }
.faq-item.open .faq-question svg { transform: rotate(180deg); color: var(--blue-600); }

.faq-answer {
  font-size: 0.9rem;
  color: var(--text-500);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding-bottom: var(--s5);
}

/* ── Project grid cards (compact) ───────────────────────── */
/* ── Project compact card ─────────────────────────────────── */
.project-grid-card {
  background: var(--surface);
  border: 1.5px solid rgba(30,111,217,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.project-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
  border-color: rgba(30,111,217,0.25);
}

.project-grid-card:hover .project-grid-card__img {
  transform: scale(1.04);
}

.project-grid-card:hover .project-grid-card__arrow {
  transform: translateX(4px);
}

.project-grid-card__img-wrap {
  position: relative;
  overflow: hidden;
}

.project-grid-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--blue-50);
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-grid-card__img-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(10,37,88,0.7);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.02em;
}

.project-grid-card__body {
  padding: var(--s4);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-grid-card__badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: var(--s2);
}

.project-grid-card__title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-900);
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin-bottom: 6px;
}

.project-grid-card__phase {
  font-size: 0.72rem;
  color: var(--blue-600);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 0;
}

.project-grid-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s3);
  margin-top: auto;
  border-top: 1px solid rgba(30,111,217,0.06);
}

.project-grid-card__detail-btn {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.project-grid-card__arrow {
  transition: transform var(--transition);
}

/* ── Project detail modal ────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,37,88,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16,1,0.3,1);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--surface);
  border: 1px solid rgba(30,111,217,0.10);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(10,37,88,0.3);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  scrollbar-width: thin;
  scrollbar-color: var(--blue-100) transparent;
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

/* ── Modal gallery ─────────────────────────────────────── */
.modal__gallery {
  position: relative;
  background: #0B1A2E;
  overflow: hidden;
}

/* Main image viewport */
.modal__gallery-viewport {
  position: relative;
  overflow: hidden;
}

.modal__gallery-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal__gallery-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0B1A2E;
  height: 360px;
}

.modal__gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Nav arrows — inset into viewport */
.modal__gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background var(--transition), transform var(--transition);
}

.modal__gallery-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-50%) scale(1.06);
}

.modal__gallery-btn--prev { left: 10px; }
.modal__gallery-btn--next { right: 10px; }

.modal__gallery-btn[disabled] {
  opacity: 0;
  pointer-events: none;
}

/* Counter pill — top right */
.modal__gallery-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10,37,88,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 3;
  letter-spacing: 0.06em;
}

/* Thumbnail strip */
.modal__gallery-thumbs {
  display: flex;
  gap: 3px;
  padding: 4px 8px;
  background: #070F1C;
  overflow-x: auto;
  scrollbar-width: none;
}

.modal__gallery-thumbs::-webkit-scrollbar { display: none; }

.modal__gallery-thumb {
  flex-shrink: 0;
  width: 52px;
  height: 36px;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.45;
  transition: opacity var(--transition), border-color var(--transition);
}

.modal__gallery-thumb.active {
  opacity: 1;
  border-color: var(--blue-500);
}

.modal__gallery-thumb:hover {
  opacity: 0.8;
}

.modal__gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hide thumbs strip for single image */
.modal__gallery-thumbs:empty,
.modal__gallery--single .modal__gallery-thumbs {
  display: none;
}

/* ── Modal cover fallback (single image) ──────────────── */
.modal__cover {
  width: 100%;
  height: 360px;
  object-fit: cover;
  background: #0B1A2E;
  display: block;
}

.modal__body { padding: var(--s8); }

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s4);
  margin-bottom: var(--s6);
  flex-wrap: wrap;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-900);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.modal__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  color: var(--text-500);
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
  cursor: pointer;
}

.modal__close:hover { background: var(--blue-100); color: var(--blue-700); }

.modal__section { margin-bottom: var(--s6); }

.modal__section-label {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: var(--s2);
  padding-bottom: var(--s2);
  border-bottom: 1px solid rgba(30,111,217,0.1);
}

.modal__text {
  font-size: 0.97rem;
  color: var(--text-500);
  line-height: 1.8;
}

.modal__divider {
  height: 1px;
  background: rgba(30,111,217,0.08);
  margin: var(--s6) 0;
}

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--blue-800);
  padding: var(--s20) var(--s6) var(--s16);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.page-hero .section-label {
  color: rgba(255,255,255,0.65);
}

.page-hero .section-label::before {
  background: rgba(255,255,255,0.4);
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--blue-900);
  padding: var(--s16) var(--s6) var(--s10);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 80%, rgba(30,111,217,0.15) 0%, transparent 50%);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--s12);
  margin-bottom: var(--s10);
  position: relative;
}

.footer__logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: var(--s2);
}

.footer__logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 30ch;
  margin-top: var(--s4);
}

.footer__socials {
  display: flex;
  gap: var(--s3);
  margin-top: var(--s5);
}

.footer__social {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.footer__social:hover {
  color: #fff;
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--s4);
}

.footer__links { display: flex; flex-direction: column; gap: var(--s3); }

.footer__link {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer__link:hover { color: #fff; }

.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: var(--s6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s3);
  position: relative;
}

.footer__copy { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer__aub  { font-size: 0.78rem; color: rgba(255,255,255,0.4); display: flex; align-items: center; gap: var(--s2); }

/* ── "Est. 2016" treatment ───────────────────────────────── */
.est-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.est-badge__year {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.04em;
}

.est-badge__label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.est-badge__sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-top: 2px;
}

/* ── Loading / skeleton ──────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--blue-50) 0%, var(--blue-100) 50%, var(--blue-50) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.loading-state {
  text-align: center;
  padding: var(--s16) var(--s6);
  color: var(--text-300);
  font-size: 0.9rem;
}

.error-state {
  text-align: center;
  padding: var(--s12) var(--s6);
  color: var(--text-500);
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes slideIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes lineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

@keyframes scrollBob {
  0%, 100% { transform: scaleY(1); }
  50%       { transform: scaleY(1.4); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* ── Scroll-reveal utility ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* ── Blueprint design language utilities ──────────────────── */
.bp-grid {
  position: relative;
}
.bp-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,111,217,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,111,217,0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
.bp-grid--dark::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
}
.bp-grid > * { position: relative; z-index: 1; }

.bp-spec {
  display: block;
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(30,111,217,0.25);
  pointer-events: none;
  padding: 12px 24px 0;
}
.bp-spec--white { color: rgba(255,255,255,0.2); }

/* Corner ticks on cards */
.card {
  position: relative;
}
.card::before,
.card::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 2;
}
.card::before {
  top: -1px; left: -1px;
  border-top: 1.5px solid rgba(30,111,217,0.18);
  border-left: 1.5px solid rgba(30,111,217,0.18);
}
.card::after {
  bottom: -1px; right: -1px;
  border-bottom: 1.5px solid rgba(30,111,217,0.18);
  border-right: 1.5px solid rgba(30,111,217,0.18);
}

/* Engineering-style section labels */
.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-radius: 0;
  margin-right: 10px;
  transform: rotate(45deg);
  opacity: 0.6;
}

/* Blueprint divider */
.divider {
  position: relative;
}
.divider::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border: 1px solid var(--blue-300);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero__badge, .hero__title,
  .hero__desc, .hero__actions, .hero__scroll { opacity: 1; animation: none; }
  .hero__diagram-frame--active   { opacity: 1; clip-path: inset(0 0% 0 0); animation: none; }
  .hero__diagram-frame--entering { opacity: 1; clip-path: inset(0 0% 0 0); animation: none; }
  .hero__diagram-frame--leaving  { opacity: 0; animation: none; }
  .hero__scan-bar--active  { animation: none; opacity: 0; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-3   { grid-template-columns: repeat(2, 1fr); }
  .grid-4   { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s8); }
  .stats__grid .stat__sep { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr 42%; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: var(--s10); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
  .stats__grid .stat__sep { display: none; }

  .hero { grid-template-columns: 1fr; }
  .hero__right { height: 360px; }
  .hero__diagram-wrapper { width: 320px; height: 320px; }
  .hero__right-label,
  .hero__right-spec { display: none; }
  .hero__left { padding: var(--s8) var(--s6); padding-top: calc(var(--nav-h) + var(--s8)); }
  .hero__scroll { display: none; }
  .hero__spec { left: var(--s6); }

  .section { padding: var(--s12) var(--s4); }
  .section--sm { padding: var(--s10) var(--s4); }

  .footer__inner { grid-template-columns: 1fr; gap: var(--s8); }
  .footer__bottom { flex-direction: column; text-align: center; }

  .event-card { flex-direction: column; gap: var(--s3); }
  .event-card__date { align-self: flex-start; }

  .project-card__body { padding: var(--s5); }
  .project-card__header { flex-direction: column; }

  /* Modal on mobile */
  .modal-overlay { padding: var(--s3); align-items: flex-end; }
  .modal {
    max-height: 92vh;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }
  .modal__gallery-slide { height: 240px; }
  .modal__gallery-btn { width: 28px; height: 28px; }
  .modal__gallery-thumb { width: 40px; height: 28px; }
  .modal__cover { height: 240px; }
  .modal__body { padding: var(--s5); }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid .stat__sep { display: none; }
  .hero__title { font-size: 2.2rem; }
  .filter-bar { gap: var(--s2); }
  .filter-btn { font-size: 0.75rem; padding: var(--s1) var(--s3); }
}
