/* ═══════════════════════════════════════════════════════════
   VISION FORGE — Premium Theme
   Palette: Ivory #ffffff · Deep Navy #0d1f35 · Ink #1a4b8c · Gold #b8922a
   ═══════════════════════════════════════════════════════════ */

/* Fonts loaded via <link> in HTML — no @import chain */

:root {
  color-scheme: light;
  --navy:        #0d1f35;
  --navy-mid:    #1a3254;
  --ink:         #1a4b8c;
  --ink-light:   #2e6bbf;
  --ink-pale:    #edf3fb;
  --ink-pale2:   #dce9f7;
  --gold:        #b8922a;
  --gold-light:  #d4ab52;
  --gold-pale:   #faf5ea;
  --gold-glow:   rgba(184,146,42,0.18);
  --ivory:       #ffffff;
  --white:       #ffffff;
  --off-white:   #f5f5f5;
  --off-white2:  #eeeeee;
  --border:      rgba(13,31,53,0.08);
  --border-mid:  rgba(13,31,53,0.14);
  --border-strong: rgba(13,31,53,0.22);
  --text:        #1a2e42;
  --text-mid:    #4a5e72;
  --text-light:  rgba(26,46,66,0.45);
  --radius:      10px;
  --radius-lg:   18px;
  --radius-xl:   26px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-body:   'Outfit', system-ui, sans-serif;
  --shadow-xs:   0 1px 3px rgba(13,31,53,0.04);
  --shadow-sm:   0 2px 10px rgba(13,31,53,0.07);
  --shadow-md:   0 6px 28px rgba(13,31,53,0.10);
  --shadow-lg:   0 16px 52px rgba(13,31,53,0.14);
  --shadow-xl:   0 28px 72px rgba(13,31,53,0.17);
  --gold-shadow: 0 8px 32px rgba(184,146,42,0.22);
  --nav-h:       72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

#cursor { display: none !important; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 2px; }

.container { width: 88%; max-width: 1140px; margin: 0 auto; }
h1,h2,h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.1; color: var(--navy); }
h4,h5,h6 { font-family: var(--font-body); font-weight: 600; color: var(--navy); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 16px;
}
.eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }

.logo-mark {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  background: var(--navy); display: flex; align-items: center;
  justify-content: center; overflow: hidden;
}
.logo-mark svg { width: 17px !important; height: 17px !important; min-width: 17px; fill: none; stroke: var(--gold-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em;
  border: none; cursor: pointer; position: relative; overflow: hidden;
  transition: all 0.35s var(--ease); white-space: nowrap;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  font-family: var(--font-body);
}
.btn:active { transform: scale(0.97) !important; }
.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3254 100%);
  color: #fff; box-shadow: 0 4px 16px rgba(13,31,53,0.28);
  border: 1px solid rgba(255,255,255,0.07);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--ink) 0%, #1a4b8c 100%); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,75,140,0.35); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); border-color: var(--navy); box-shadow: 0 8px 24px rgba(13,31,53,0.2); }
.btn-gold {
  background: linear-gradient(135deg, #c9a030 0%, var(--gold) 50%, #a07820 100%);
  color: #fff; font-weight: 700;
  box-shadow: 0 4px 16px rgba(184,146,42,0.35);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(184,146,42,0.45); }
.btn-glass {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-glass:hover { background: rgba(255,255,255,0.15); color: #fff; transform: translateY(-2px); }

.section-head { margin-bottom: 64px; }
.section-head h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700; color: var(--navy); line-height: 1.08; max-width: 580px; letter-spacing: -0.01em; }
.section-head h2 em { font-style: italic; color: var(--ink); font-weight: 300; }
.section-head p { color: var(--text-mid); max-width: 520px; margin-top: 18px; font-size: 0.95rem; }
.section-head.centered { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head.centered h2 { max-width: 560px; margin: 0 auto; }
.section-head.centered p { margin: 18px auto 0; }
.section-head::after { content: ''; display: block; width: 40px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); margin-top: 22px; border-radius: 1px; }
.section-head.centered::after { margin: 22px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.26s; }
.reveal-delay-4 { transition-delay: 0.34s; }
.reveal-delay-5 { transition-delay: 0.42s; }
.hero-stagger { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.hero-stagger.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 16px; width: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 0;
  transition: opacity 0.2s;
  flex-shrink: 0; min-width: 0; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.nav-logo:hover { opacity: 0.78; }
.nav-logo img { height: 48px; width: auto; display: block; flex-shrink: 0; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; flex-shrink: 0; }
.nav-links a {
  font-size: 0.84rem; font-weight: 500; color: var(--text-mid);
  position: relative; padding-bottom: 2px; transition: color 0.22s;
  white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0;
  height: 1.5px; background: var(--gold); transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 10px 22px; font-size: 0.83rem; flex-shrink: 0; }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: transparent;
  border: none; border-radius: 8px;
  cursor: pointer; padding: 0;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background 0.22s ease;
  position: relative; z-index: 1100;
}
.nav-hamburger:hover { background: rgba(13,31,53,0.08); }
.nav-hamburger:active { background: rgba(13,31,53,0.14); }
.dark-hero-page .nav-hamburger:hover { background: rgba(255,255,255,0.12); }
.hbars {
  display: flex; flex-direction: column; justify-content: space-between;
  width: 22px; height: 14px; pointer-events: none;
}
.hbar {
  display: block; width: 100%; height: 2px;
  background: var(--navy);
  border-radius: 9px;
  transform-origin: center;
  transition: transform 0.42s cubic-bezier(0.77,0,0.18,1),
              opacity 0.28s ease,
              width 0.38s cubic-bezier(0.77,0,0.18,1);
}
.dark-hero-page .hbar { background: #ffffff; }
.dark-hero-page .navbar.scrolled .hbar { background: var(--navy); }
.nav-hamburger[aria-expanded="true"] .hbar-top { transform: translateY(6px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] .hbar-mid { opacity: 0; transform: scaleX(0); }
.nav-hamburger[aria-expanded="true"] .hbar-bot { transform: translateY(-6px) rotate(-45deg); }

/* ── SCROLL LOCK ── */
body.panel-open { overflow: hidden; }
body:not(.panel-open) { overflow-x: hidden; overflow-y: auto !important; }

/* ── SLIDE PANEL OVERLAY ── */
.sp-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0);
  z-index: 1050; pointer-events: none;
  transition: background 0.4s ease;
}
.sp-overlay.is-open {
  background: rgba(0,0,0,0.48);
  pointer-events: auto;
}

/* ── SLIDE PANEL ── */
.slide-panel {
  position: fixed; top: 0; right: 0;
  width: 300px; max-width: 88vw; height: 100%;
  background: #ffffff;
  z-index: 1100;
  display: flex; flex-direction: column;
  transform: translateX(110%);
  transition: transform 0.52s cubic-bezier(0.22,1,0.36,1), box-shadow 0.52s ease;
  box-shadow: none;
  overflow: hidden;
}
.slide-panel.is-open {
  transform: translateX(0);
  box-shadow: -24px 0 64px rgba(0,0,0,0.16);
}
.sp-header {
  height: 64px; min-height: 64px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; flex-shrink: 0;
}
.sp-logo { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0.05em; font-family: var(--font-body); }
.sp-close {
  width: 32px; height: 32px;
  border: none; background: rgba(255,255,255,0.10);
  border-radius: 7px; cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; line-height: 1;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.sp-close:hover { background: rgba(255,255,255,0.22); }
.sp-nav { flex: 1; padding: 12px 0; overflow-y: auto; }
.sp-section-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: #9ca3af;
  padding: 18px 22px 7px;
}
.sp-link {
  display: flex; align-items: center; gap: 13px;
  padding: 11px 22px; text-decoration: none;
  color: #1a2840; position: relative; cursor: pointer;
  opacity: 0; transform: translateX(20px);
  transition: background 0.18s, color 0.18s,
              opacity 0.38s ease, transform 0.38s cubic-bezier(0.22,1,0.36,1);
}
.sp-link::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 0;
  border-radius: 0 3px 3px 0;
  background: var(--navy);
  transition: height 0.22s cubic-bezier(0.77,0,0.18,1);
}
.sp-link:hover { background: #f4f6fb; color: var(--navy); }
.sp-link:hover::before { height: 60%; }
.sp-link:active { background: #e8edf7; }
.sp-link-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: #f0f4ff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--navy);
  transition: background 0.2s;
}
.sp-link:hover .sp-link-icon { background: #dde6ff; }
.sp-link-text { flex: 1; }
.sp-link-label { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; }
.sp-link-sub { display: block; font-size: 11.5px; color: #6b7280; margin-top: 2px; }
.sp-divider { height: 1px; background: #f0f0f0; margin: 8px 14px; }
.slide-panel.is-open .sp-link { opacity: 1; transform: translateX(0); }
.slide-panel.is-open .sp-link:nth-child(1) { transition-delay: 0.06s; }
.slide-panel.is-open .sp-link:nth-child(2) { transition-delay: 0.10s; }
.slide-panel.is-open .sp-link:nth-child(3) { transition-delay: 0.14s; }
.slide-panel.is-open .sp-link:nth-child(4) { transition-delay: 0.18s; }
.slide-panel.is-open .sp-link:nth-child(5) { transition-delay: 0.24s; }
.slide-panel.is-open .sp-link:nth-child(6) { transition-delay: 0.28s; }
.slide-panel.is-open .sp-link:nth-child(7) { transition-delay: 0.32s; }
.sp-footer { padding: 20px 22px; border-top: 1px solid #f0f0f0; flex-shrink: 0; }
.sp-cta {
  display: block; width: 100%; text-align: center;
  background: var(--navy); color: #fff !important;
  font-size: 13.5px; font-weight: 600;
  padding: 13px; border-radius: 10px;
  text-decoration: none; letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  font-family: var(--font-body);
}
.sp-cta:hover { background: var(--ink); transform: translateY(-1px); }
.sp-cta:active { transform: scale(0.98); }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none !important; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 480px) {
  .slide-panel { width: 100%; max-width: 100%; }
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--ivory);
  padding-top: var(--nav-h);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px; opacity: 0.45; z-index: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, rgba(255,255,255,0.8) 100%),
    radial-gradient(ellipse 40% 50% at 92% 20%, rgba(184,146,42,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 8% 80%, rgba(26,75,140,0.04) 0%, transparent 65%);
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 80px; align-items: center;
  padding: 70px 0 90px;
  min-width: 0;
}
.hero-left { min-width: 0; }
.hero-right { position: relative; min-width: 0; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 6px; border-radius: 4px;
  background: transparent; border: 1px solid var(--border-mid);
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--text-light); margin-bottom: 30px;
}
.hero-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700; line-height: 1.02;
  letter-spacing: -0.02em; color: var(--navy);
}
.hero-title em { font-style: italic; color: var(--ink); font-weight: 300; }
.hero-title .gold-word { color: var(--gold); position: relative; }
.hero-title .gold-word::after {
  content: ''; position: absolute; bottom: 2px; left: 0; right: 0;
  height: 2px; background: var(--gold); opacity: 0.3; border-radius: 1px;
}
.hero-tagline {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--text-light); margin: 24px 0 28px;
}
.hero-tagline::before { content: ''; display: block; width: 20px; height: 1px; background: var(--border-mid); }
.hero-tagline::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border-mid), transparent); }
.hero-desc { font-size: 1rem; color: var(--text-mid); line-height: 1.9; max-width: 460px; margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 56px;
  padding-top: 32px; border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.h-stat { flex: 0 0 auto; }
.h-stat-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.h-stat-lbl { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); margin-top: 5px; }

/* ── Hero Image Stack ── */
.hero-img-stack { position: relative; }
.hero-img-main {
  width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl); position: relative; height: 500px;
  background: var(--off-white2);
}
.hero-img-main::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to bottom, transparent 50%, rgba(13,31,53,0.45));
}
.hero-slideshow-inner { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out, transform 2.4s ease-in-out;
  transform: scale(1.04);
  filter: saturate(0.88);
  will-change: opacity, transform;
}
.hero-slide.active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-slide-dots {
  position: absolute; bottom: 16px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 8px; z-index: 5;
}
.hero-dot {
  width: 36px; height: 36px; border-radius: 50%;
  border: none; cursor: pointer; background: transparent;
  display: flex; align-items: center; justify-content: center;
  padding: 0; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; position: relative; z-index: 5;
}
.hero-dot::after {
  content: ''; display: block; width: 6px; height: 6px;
  border-radius: 50%; background: rgba(255,255,255,0.35);
  transition: background 0.35s, transform 0.35s;
}
.hero-dot.active::after { background: var(--gold); transform: scale(1.4); }
.hero-card-float {
  position: absolute; bottom: -24px; left: -24px; z-index: 10;
  background: var(--white); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
  animation: card-breathe 6s ease-in-out infinite;
}
@keyframes card-breathe { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
.hero-card-icon {
  width: 42px; height: 42px; border-radius: 9px; flex-shrink: 0;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
}
.hero-card-icon svg { width: 20px !important; height: 20px !important; display: block; fill: none; stroke: var(--gold-light); stroke-width: 1.8; stroke-linecap: round; }
.hero-card-text strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.hero-card-text span { font-size: 0.72rem; color: var(--text-light); }
.hero-accent-line {
  position: absolute; top: 52px; right: -8px;
  width: 2px; height: 80px;
  background: linear-gradient(180deg, var(--gold), transparent);
  border-radius: 2px;
}

/* ── MARQUEE ── */
.marquee-strip { background: var(--navy); padding: 16px 0; overflow: hidden; max-width: 100vw; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 18px; padding: 0 40px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(255,255,255,0.32);
  white-space: nowrap; user-select: none;
}
.marquee-item .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); opacity: 0.5; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── ABOUT ── */
#about { padding: 120px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; min-width: 0; }
.about-visual { position: relative; min-width: 0; }
.about-text { min-width: 0; }
.about-img-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); position: relative; height: 500px; background: var(--off-white2); }
.about-img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); filter: saturate(0.88); }
.about-img-frame:hover img { transform: scale(1.03); }
.about-img-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(13,31,53,0.3)); }
.about-badge-wrap { position: absolute; bottom: -20px; right: -20px; background: var(--white); border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); text-align: center; }
.about-badge-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.about-badge-lbl { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; margin-top: 4px; }
.about-decorline { position: absolute; top: 32px; left: -12px; width: 2px; height: 100px; background: linear-gradient(180deg, var(--gold) 0%, transparent 100%); border-radius: 2px; }
.about-text h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.1; color: var(--navy); margin-bottom: 26px; }
.about-text h2 em { font-style: italic; color: var(--ink); }
.about-text p { color: var(--text-mid); line-height: 1.9; font-size: 0.95rem; margin-bottom: 16px; }

.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 38px; }
.pillar {
  padding: 22px 16px 20px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--ivory); cursor: default; position: relative; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; text-align: center;
}
.pillar::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--ink), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.pillar:hover { border-color: var(--border-mid); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.pillar:hover::after { transform: scaleX(1); }
.pillar-ico { font-size: 1.5rem; margin-bottom: 10px; }
.pillar h4 { font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.pillar p { font-size: 0.76rem; color: var(--text-light); line-height: 1.55; }

/* ── STATS ── */
#stats { padding: 80px 0; background: var(--navy); position: relative; overflow: hidden; }
#stats::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 60px 60px; }
.stats-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; text-align: center; position: relative; z-index: 1; }
.stat-item { position: relative; padding: 20px 16px; min-width: 0; }
.stat-item::after { content: ''; position: absolute; right: 0; top: 20%; bottom: 20%; width: 1px; background: rgba(255,255,255,0.07); }
.stat-item:last-child::after { display: none; }
.stat-num { font-family: var(--font-serif); font-size: clamp(2.4rem,4.5vw,3.6rem); font-weight: 700; color: #fff; line-height: 1; margin-bottom: 10px; }
.stat-num .counter { color: var(--gold-light); }
.stat-lbl { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.4); }

/* ── SERVICES ── */
#services { padding: 120px 0; background: var(--ivory); }
.services-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.service-card { padding: 36px 28px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--white); position: relative; overflow: hidden; cursor: default; transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--navy), var(--ink), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-mid); }
.service-card:hover::before { transform: scaleX(1); }
.s-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--ink-pale); border: 1px solid rgba(26,75,140,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: background 0.3s, transform 0.35s; }
.service-card:hover .s-icon { background: var(--navy); transform: rotate(-5deg) scale(1.06); }
.s-icon svg { width: 22px !important; height: 22px !important; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.service-card:hover .s-icon svg { stroke: var(--gold-light); }
.service-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.service-card p { font-size: 0.84rem; color: var(--text-mid); line-height: 1.8; }

/* ── CONTACT ── */
#contact { padding: 120px 0; background: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-info h2 { font-size: clamp(2rem,4vw,3rem); font-weight: 700; color: var(--navy); margin-bottom: 18px; line-height: 1.1; }
.contact-info h2 em { font-style: italic; color: var(--ink); }
.contact-info p { color: var(--text-mid); line-height: 1.88; font-size: 0.95rem; margin-bottom: 42px; }
.contact-details { display: flex; flex-direction: column; gap: 18px; }
.c-detail { display: flex; align-items: center; gap: 14px; }
.c-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--ink-pale); border: 1px solid rgba(26,75,140,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.28s; }
.c-detail:hover .c-icon { background: var(--navy); }
.c-icon svg { width: 17px; height: 17px; fill: var(--ink); transition: fill 0.28s; }
.c-detail:hover .c-icon svg { fill: var(--gold-light); }
.c-detail-text span { font-size: 0.67rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-light); display: block; }
.c-detail-text strong { font-size: 0.9rem; color: var(--navy); font-weight: 600; }
.contact-form-wrap { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--border); padding: 44px; box-shadow: var(--shadow-md); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 0.69rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.form-control {
  background: var(--off-white); border: 1.5px solid var(--border);
  border-radius: 9px; padding: 12px 15px; color: var(--navy);
  font-size: 16px; outline: none; width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  font-family: var(--font-body);
  -webkit-appearance: none; appearance: none;
}
.form-control::placeholder { color: rgba(26,46,66,0.28); }
.form-control:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(26,75,140,0.08); background: var(--white); }
.form-control.invalid { border-color: #c94b4b !important; }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ── PAGE SYSTEM ── */
.page-view { display: none !important; }
.page-view.page-active { display: block !important; }

/* ── EXPLORE PAGE ── */
.explore-hero { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--navy) 0%, #0f2a47 40%, #162d4f 70%, #1a3254 100%); padding: 120px 0 80px; }
.explore-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: 56px 56px; }
.explore-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 80% 30%, rgba(184,146,42,0.08) 0%, transparent 60%), radial-gradient(ellipse 50% 60% at 15% 75%, rgba(26,75,140,0.15) 0%, transparent 55%); }
.explore-hero-inner { position: relative; z-index: 2; text-align: center; }

.explore-back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 100px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.65); font-size: 0.78rem; font-weight: 500;
  cursor: pointer; margin-bottom: 40px;
  transition: all 0.28s var(--ease);
  font-family: var(--font-body); min-height: 44px;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.explore-back-btn:hover { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); transform: translateX(-3px); }
.explore-back-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }

.explore-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.explore-eyebrow::before, .explore-eyebrow::after { content: ''; display: block; height: 1px; width: 32px; background: linear-gradient(90deg, transparent, var(--gold-light)); }
.explore-eyebrow::after { background: linear-gradient(90deg, var(--gold-light), transparent); }

.explore-hero h1 { font-family: var(--font-serif); font-size: clamp(2.8rem, 5.5vw, 4.8rem); font-weight: 700; color: #fff; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 20px; }
.explore-hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 300; }
.explore-hero-sub { font-size: 1.02rem; color: rgba(255,255,255,0.52); line-height: 1.85; max-width: 560px; margin: 0 auto 52px; }

.explore-nav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 900px; margin: 0 auto; }
.explore-nav-card {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 22px 18px 20px; cursor: pointer; text-align: center;
  transition: all 0.32s var(--ease);
  text-decoration: none; display: flex; flex-direction: column;
  align-items: center; gap: 10px; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.explore-nav-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(184,146,42,0.35); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.enc-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.32s var(--ease); }
.enc-icon svg { width: 20px !important; height: 20px !important; fill: none; stroke: rgba(255,255,255,0.7); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.explore-nav-card:hover .enc-icon { background: var(--gold); box-shadow: 0 4px 16px rgba(184,146,42,0.4); }
.explore-nav-card:hover .enc-icon svg { stroke: var(--navy); }
.enc-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; color: rgba(255,255,255,0.6); transition: color 0.28s; line-height: 1.3; }
.explore-nav-card:hover .enc-label { color: #fff; }
.enc-sub { font-size: 0.66rem; color: rgba(255,255,255,0.3); letter-spacing: 0.04em; line-height: 1.4; }

.explore-scroll-hint { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 52px; color: rgba(255,255,255,0.25); font-size: 0.67rem; letter-spacing: 0.2em; text-transform: uppercase; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(180deg, rgba(255,255,255,0.3), transparent); animation: scroll-bounce 2s ease-in-out infinite; }
@keyframes scroll-bounce { 0%,100%{opacity:0.3;transform:scaleY(1)} 50%{opacity:0.8;transform:scaleY(1.15)} }

/* ── PROCESS ── */
#process { padding: 120px 0; background: var(--white); }
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; margin-top: 64px; overflow: hidden; }
.process-line { position: absolute; top: 25px; left: 13%; right: 13%; height: 1px; background: linear-gradient(90deg, var(--border-mid) 0%, var(--gold) 50%, var(--border-mid) 100%); z-index: 0; }
.process-step { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.step-circle { width: 50px; height: 50px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--border-mid); display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; font-size: 0.82rem; font-weight: 700; color: var(--text-light); box-shadow: 0 0 0 6px var(--white); transition: all 0.38s; }
.process-step:hover .step-circle { background: var(--navy); color: var(--gold-light); border-color: var(--navy); box-shadow: 0 0 0 6px var(--white), 0 0 0 7px rgba(13,31,53,0.1); }
.process-step h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.process-step p { font-size: 0.8rem; color: var(--text-mid); line-height: 1.7; }

/* ── PORTFOLIO ── */
#portfolio { padding: 120px 0; background: var(--ivory); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: auto auto; gap: 14px; margin-top: 64px; }
.portfolio-item { position: relative; overflow: hidden; border-radius: var(--radius-lg); cursor: pointer; height: 270px; background: var(--off-white2); }
.portfolio-item:first-child { grid-column: span 2; height: 350px; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.85s var(--ease); filter: saturate(0.85); }
.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,31,53,0.92) 0%, rgba(13,31,53,0) 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px 22px; opacity: 0; transition: opacity 0.4s; }
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay .tag { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.portfolio-overlay h3 { font-size: 0.92rem; font-weight: 600; color: #fff; line-height: 1.35; }

/* ── EVENTS ── */
#events { padding: 120px 0; background: var(--ivory); }
.events-grid { display: grid; grid-template-columns: 1fr; max-width: 820px; gap: 20px; }
.event-card { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: flex-start; background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--border); padding: 36px; box-shadow: var(--shadow-sm); transition: box-shadow 0.35s, border-color 0.35s, transform 0.35s; }
.event-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-mid); transform: translateY(-4px); }
.event-date-block { display: flex; flex-direction: column; align-items: center; background: var(--navy); border-radius: var(--radius); padding: 16px 20px; min-width: 72px; text-align: center; flex-shrink: 0; }
.event-month { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); display: block; margin-bottom: 4px; }
.event-day { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; color: #fff; display: block; line-height: 1; }
.event-year { font-size: 0.6rem; font-weight: 600; color: rgba(255,255,255,0.35); display: block; margin-top: 5px; letter-spacing: 0.1em; }
.event-body { min-width: 0; }
.event-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.event-tag-pill { display: inline-flex; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; color: var(--ink); background: var(--ink-pale); border: 1px solid rgba(26,75,140,0.15); }
.event-tag-open { color: #16813b; background: rgba(22,129,59,0.08); border-color: rgba(22,129,59,0.2); }
.event-body h3 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.2; }
.event-body > p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.85; margin-bottom: 20px; }
.event-details { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.event-detail-row { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-mid); font-weight: 500; }
.event-detail-row svg { width: 14px; height: 14px; fill: var(--ink); flex-shrink: 0; }

/* ── TESTIMONIALS ── */
#testimonials { padding: 120px 0; background: var(--white); }
.testimonials-wrapper { position: relative; overflow: hidden; margin-top: 64px; touch-action: pan-y; }
.testimonials-track { display: flex; transition: transform 0.65s var(--ease); width: 100%; will-change: transform; flex-wrap: nowrap; }
.testimonial-slide { min-width: 100%; max-width: 100%; flex-shrink: 0; padding: 0 48px; }
.testimonial-card { padding: 52px 56px; max-width: 780px; margin: 0 auto; background: var(--ivory); border-radius: var(--radius-xl); border: 1px solid var(--border); text-align: center; position: relative; }
.testimonial-card::before { content: ''; position: absolute; inset: -1px; border-radius: var(--radius-xl); background: linear-gradient(135deg, rgba(184,146,42,0.15), transparent 50%); z-index: -1; }
.t-quote-mark { font-family: var(--font-serif); font-size: 6rem; color: var(--gold); opacity: 0.12; line-height: 0.7; margin-bottom: 20px; display: block; }
.testimonial-quote { font-family: var(--font-serif); font-size: clamp(1rem,1.8vw,1.15rem); color: var(--text); line-height: 1.95; font-style: italic; margin-bottom: 36px; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.t-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; border: 2px solid var(--border-mid); flex-shrink: 0; }
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-info h4 { font-weight: 700; color: var(--navy); font-size: 0.9rem; text-align: left; }
.t-info p { font-size: 0.73rem; color: var(--ink); text-align: left; }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; }
.t-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border-mid); background: transparent; color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.9rem; transition: all 0.28s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.t-btn:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.testimonial-dots { display: flex; gap: 10px; }
.t-dot { width: 36px; height: 36px; border-radius: 50%; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.t-dot::after { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--border-mid); transition: all 0.26s; }
.t-dot.active::after { background: var(--gold); transform: scale(1.4); }

/* ── FAQ ── */
#faq { padding: 120px 0; background: var(--ivory); }
.faq-list { max-width: 720px; margin: 60px auto 0; display: flex; flex-direction: column; gap: 8px; }
.faq-item { border-radius: var(--radius); border: 1px solid var(--border); background: var(--white); overflow: hidden; transition: border-color 0.28s, box-shadow 0.28s; }
.faq-item.open { border-color: var(--border-mid); box-shadow: var(--shadow-sm); }
.faq-question { width: 100%; text-align: left; padding: 20px 24px; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-serif); font-weight: 600; font-size: 1rem; color: var(--navy); transition: background 0.22s; min-height: 60px; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.faq-question:hover { background: var(--off-white); }
.faq-chevron { flex-shrink: 0; font-size: 0.9rem; color: var(--text-light); transition: transform 0.4s var(--ease), color 0.22s; display: block; line-height: 1; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--ink); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner { padding: 0 24px 22px; font-size: 0.9rem; color: var(--text-mid); line-height: 1.85; }

/* ── COURSES / PROGRAMS ── */
#courses { padding: 120px 0; }
.prog-description { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; margin-bottom: 72px; }
.prog-desc-text p { font-size: 0.96rem; color: var(--text-mid); line-height: 1.98; margin-bottom: 20px; }
.prog-highlight { background: var(--navy); border-radius: var(--radius-lg); padding: 36px 32px; position: relative; overflow: hidden; }
.prog-highlight::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent); }
.prog-highlight-ico { font-size: 2rem; display: block; margin-bottom: 16px; }
.prog-highlight h4 { font-family: var(--font-serif); font-size: 1.28rem; font-weight: 600; color: #fff; margin-bottom: 22px; }
.prog-highlight-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.prog-highlight-list li { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.5; }
.prog-highlight-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.prog-pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-bottom: 60px; }
.prog-pillar { background: var(--ivory); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px 30px; position: relative; overflow: hidden; transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s; }
.prog-pillar::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--navy), var(--ink), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.prog-pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-mid); }
.prog-pillar:hover::before { transform: scaleX(1); }
.prog-pillar-num { font-family: var(--font-serif); font-size: 3.2rem; font-weight: 700; color: var(--border-mid); line-height: 1; margin-bottom: 10px; }
.prog-pillar-ico { font-size: 1.7rem; margin-bottom: 14px; }
.prog-pillar h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--navy); margin-bottom: 14px; line-height: 1.2; }
.prog-pillar p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.84; }
.prog-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--border); }
.prog-cta > p { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-right: 6px; }

/* ── SCHOLARSHIPS ── */
#scholarships { padding: 120px 0; background: var(--white); }
.sch-intro { max-width: 660px; margin-bottom: 64px; }
.sch-intro h2 { font-size: clamp(2rem,4vw,3.2rem); font-weight: 700; color: var(--navy); line-height: 1.1; margin-bottom: 18px; }
.sch-intro h2 em { font-style: italic; color: var(--ink); }
.sch-intro p { color: var(--text-mid); line-height: 1.88; font-size: 0.95rem; }
.sch-notice { display: flex; align-items: flex-start; gap: 14px; background: rgba(26,75,140,0.04); border: 1px solid rgba(26,75,140,0.14); border-left: 3px solid var(--ink); border-radius: var(--radius); padding: 16px 20px; margin-top: 24px; font-size: 0.84rem; color: var(--text); line-height: 1.68; }
.sch-notice svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; flex-shrink: 0; margin-top: 2px; }
.sch-guidance-strip { margin-top: 60px; background: var(--navy); border-radius: var(--radius-xl); padding: 60px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; overflow: hidden; }
.sch-guidance-strip::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 50%; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 48px 48px; }
.sch-guidance-left h3 { font-size: clamp(1.7rem,3vw,2.4rem); font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 18px; }
.sch-guidance-left h3 em { font-style: italic; color: var(--gold-light); }
.sch-guidance-left p { color: rgba(255,255,255,0.48); font-size: 0.9rem; line-height: 1.85; }
.sch-steps { display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 1; }
.sch-step { display: flex; align-items: flex-start; gap: 16px; }
.sch-step-num { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; color: var(--gold-light); transition: all 0.28s; }
.sch-step:hover .sch-step-num { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.sch-step-text h4 { font-weight: 600; font-size: 0.88rem; color: #fff; margin-bottom: 3px; }
.sch-step-text p { font-size: 0.77rem; color: rgba(255,255,255,0.42); line-height: 1.6; }
.sch-what-we-do { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start; margin: 60px 0 64px; }
.sch-wwd-text h3 { font-family: var(--font-serif); font-size: clamp(1.55rem,2.5vw,2.1rem); font-weight: 700; color: var(--navy); line-height: 1.12; margin-bottom: 22px; }
.sch-wwd-text h3 em { font-style: italic; color: var(--ink); }
.sch-wwd-text p { font-size: 0.94rem; color: var(--text-mid); line-height: 1.95; margin-bottom: 18px; }
.sch-wwd-types { display: flex; flex-direction: column; gap: 14px; }
.sch-type-item { display: flex; align-items: flex-start; gap: 16px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--ivory); transition: border-color 0.28s, box-shadow 0.28s, transform 0.28s; }
.sch-type-item:hover { border-color: var(--border-mid); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.sch-type-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.sch-type-dot-gold { background: var(--gold); }
.sch-type-dot-blue { background: var(--ink); }
.sch-type-dot-green { background: #4a8c5c; }
.sch-type-item h4 { font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.sch-type-item > div > p { font-size: 0.8rem; color: var(--text-mid); line-height: 1.7; margin: 0; }

/* ── TEAM ── */
.team-hero { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--navy) 0%, #0f2a47 50%, #1a3254 100%); padding: 120px 0 80px; }
.team-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: 56px 56px; }
.team-hero-inner { position: relative; z-index: 2; text-align: center; }
.team-hero h1 { font-family: var(--font-serif); font-size: clamp(2.8rem,5vw,4.4rem); font-weight: 700; color: #fff; line-height: 1.08; letter-spacing: -0.02em; margin: 18px 0; }
.team-hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 300; }
.team-hero-sub { font-size: 1rem; color: rgba(255,255,255,0.5); line-height: 1.85; max-width: 520px; margin: 0 auto; }

.team-section { padding: 0; }
.team-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: rgba(13,31,53,0.12); }
.tmc { display: grid; grid-template-columns: 1fr 1fr; height: 400px; overflow: hidden; position: relative; background: #fff; }
.tmc.flip { direction: rtl; }
.tmc.flip > * { direction: ltr; }
.tmc-photo { overflow: hidden; height: 100%; position: relative; }
.tmc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.tmc:hover .tmc-photo img { transform: scale(1.07); }
.tmc-photo-empty { height: 100%; background: linear-gradient(135deg, #0d1f35 0%, #1a3254 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.tmc-photo-empty::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: 32px 32px; }
.tmc-photo-empty-inner { position: relative; z-index: 1; text-align: center; padding: 24px; }
.tmc-photo-empty-icon { font-size: 3.5rem; opacity: 0.15; display: block; margin-bottom: 12px; line-height: 1; }
.tmc-photo-empty-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.2); }
.tmc-info { padding: 28px 22px 24px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.tmc-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.56rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; width: fit-content; margin-bottom: 8px; border: 1px solid currentColor; opacity: 0.7; position: relative; z-index: 1; }
.tmc-name { font-family: var(--font-serif); font-size: clamp(1.05rem,1.5vw,1.45rem); font-weight: 600; line-height: 1.2; margin-bottom: 5px; position: relative; z-index: 1; word-break: break-word; }
.tmc-role { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 12px; position: relative; z-index: 1; }
.tmc-bio { font-size: 0.77rem; line-height: 1.68; opacity: 0.72; flex: 1; position: relative; z-index: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.tmc-bottom { margin-top: 14px; position: relative; z-index: 1; }
.tmc-socials { display: flex; flex-direction: column; gap: 3px; margin-bottom: 12px; }
.tmc-sl { font-size: 0.57rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.45; text-decoration: none; transition: opacity 0.2s; display: flex; align-items: center; min-height: 28px; }
.tmc-sl:hover { opacity: 1; }
.tmc-sig { font-family: 'Dancing Script', cursive; font-size: 1.75rem; font-weight: 600; line-height: 1; opacity: 0.4; }
.tmc-join-full { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 2fr; height: 280px; }
.team-cta-strip { background: var(--white); padding: 80px 0 100px; text-align: center; }
.team-cta-strip h3 { font-family: var(--font-serif); font-size: clamp(1.8rem,3vw,2.6rem); margin-bottom: 10px; }
.team-cta-strip h3 em { font-style: italic; color: var(--ink); font-weight: 300; }
.team-cta-strip p { color: var(--text-mid); font-size: 0.95rem; max-width: 440px; margin: 0 auto 32px; }
.team-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.site-footer { background: var(--navy); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 52px; min-width: 0; }
.footer-brand, .footer-col { min-width: 0; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-logo .logo-mark { background: rgba(255,255,255,0.08); }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.34); line-height: 1.85; }
.footer-col h4 { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.84rem; color: rgba(255,255,255,0.32); transition: color 0.2s; min-height: 36px; display: flex; align-items: center; touch-action: manipulation; }
.footer-col ul a:hover { color: rgba(255,255,255,0.78); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.24); }
.footer-bottom-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 0.72rem; color: rgba(255,255,255,0.28); transition: color 0.22s; min-height: 36px; display: flex; align-items: center; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.65); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.09); display: flex; align-items: center; justify-content: center; transition: all 0.25s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.footer-socials a:hover { border-color: var(--gold); background: rgba(184,146,42,0.15); }
.footer-socials svg { width: 14px; height: 14px; fill: rgba(255,255,255,0.3); transition: fill 0.22s; }
.footer-socials a:hover svg { fill: var(--gold-light); }

/* ── AUTH PAGE (login.html) ── */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1.1fr; }
.auth-left { position: relative; overflow: hidden; background: var(--navy); }
.auth-left-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.1; filter: saturate(0.5); }
.auth-left-pattern { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 56px 56px; }
.auth-left-gradient { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(13,31,53,0.5) 0%, rgba(26,75,140,0.08) 100%); }
.auth-left-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 48px 52px; }
.auth-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: #fff; }
.auth-logo .logo-mark { background: rgba(255,255,255,0.1); }
.auth-middle { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 52px 0; }
.auth-middle h2 { font-family: var(--font-serif); font-size: clamp(1.9rem,3.2vw,2.8rem); font-weight: 700; color: #fff; line-height: 1.12; margin-bottom: 20px; }
.auth-middle h2 em { font-style: italic; color: var(--gold-light); font-weight: 400; }
.auth-middle p { color: rgba(255,255,255,0.48); font-size: 0.9rem; line-height: 1.88; max-width: 320px; margin-bottom: 40px; }
.auth-quote { border-left: 2px solid var(--gold); padding: 14px 18px; margin-bottom: 36px; background: rgba(255,255,255,0.03); border-radius: 0 var(--radius) var(--radius) 0; }
.auth-quote p { font-family: var(--font-serif); font-style: italic; color: rgba(255,255,255,0.65); font-size: 0.92rem; line-height: 1.75; margin-bottom: 8px; }
.auth-quote span { font-size: 0.7rem; color: rgba(255,255,255,0.3); letter-spacing: 0.08em; }
.auth-values { display: flex; flex-direction: column; gap: 12px; }
.auth-value { display: flex; align-items: center; gap: 12px; }
.auth-value-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-light); flex-shrink: 0; opacity: 0.6; }
.auth-value span { font-size: 0.84rem; font-weight: 400; color: rgba(255,255,255,0.5); }
.auth-stats { display: flex; gap: 28px; margin-top: 36px; }
.auth-stat-num { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: #fff; line-height: 1; }
.auth-stat-lbl { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-top: 4px; }
.auth-foot { font-size: 0.7rem; color: rgba(255,255,255,0.22); letter-spacing: 0.05em; }
.auth-right { background: var(--ivory); display: flex; flex-direction: column; justify-content: center; padding: 48px 64px; overflow-y: auto; min-height: 100vh; scrollbar-width: thin; }
.auth-right-inner { max-width: 480px; width: 100%; margin: 0 auto; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 500; color: var(--text-light); margin-bottom: 40px; transition: color 0.2s; }
.back-link:hover { color: var(--ink); }
.back-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.auth-tabs { display: flex; gap: 3px; margin-bottom: 36px; background: var(--off-white2); padding: 4px; border-radius: var(--radius); border: 1px solid var(--border); }
.auth-tab { flex: 1; padding: 10px 0; text-align: center; font-weight: 600; font-size: 0.85rem; border: none; border-radius: 8px; cursor: pointer; background: transparent; color: var(--text-light); transition: all 0.32s var(--ease); }
.auth-tab.active { background: var(--navy); color: #fff; box-shadow: 0 2px 10px rgba(13,31,53,0.2); }
.auth-panel { display: none; animation: fadeUp 0.45s var(--ease); }
.auth-panel.active { display: block; }
@keyframes fadeUp { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }
.auth-panel h3 { font-family: var(--font-serif); font-size: 1.85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.2; }
.auth-panel .auth-sub { font-size: 0.85rem; color: var(--text-light); margin-bottom: 28px; }
.auth-success { display: none; padding: 12px 16px; border-radius: var(--radius); background: rgba(26,75,140,0.05); border: 1px solid rgba(26,75,140,0.18); font-size: 0.84rem; color: var(--ink); margin-bottom: 20px; align-items: center; gap: 10px; }
.auth-success.show { display: flex; }
.auth-success svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.form-row { display: grid; gap: 12px; margin-bottom: 14px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-row .auth-form-group { margin-bottom: 0; }
.auth-form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.auth-form-group label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); }
.auth-form-group label .optional { color: var(--text-light); font-weight: 400; text-transform: none; letter-spacing: 0; margin-left: 4px; }
.auth-control { background: var(--white); border: 1.5px solid var(--border); border-radius: 9px; padding: 11px 14px; color: var(--navy); font-size: 16px; outline: none; width: 100%; transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; font-family: var(--font-body); -webkit-appearance: none; }
.auth-control::placeholder { color: rgba(26,46,66,0.28); }
.auth-control:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(26,75,140,0.08); }
.auth-control.invalid { border-color: #c94b4b !important; }
select.auth-control option { background: #fff; color: var(--navy); }
.phone-group { display: flex; gap: 8px; }
.phone-group select { flex: 0 0 126px; }
.phone-group input { flex: 1; }
.pw-wrap { position: relative; }
.pw-wrap .auth-control { padding-right: 44px; }
.pw-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--text-light); font-size: 0.86rem; padding: 4px; transition: color 0.2s; }
.pw-toggle:hover { color: var(--ink); }
.auth-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 11px; }
.btn-full { width: 100%; padding: 13px; justify-content: center; border-radius: var(--radius); font-weight: 600; font-size: 0.9rem; border: none; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.3s var(--ease); font-family: var(--font-body); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 2px 12px rgba(13,31,53,0.18); }
.btn-navy:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,75,140,0.28); }
.btn-ghost-full { background: transparent; color: var(--text-mid); border: 1.5px solid var(--border-mid); }
.btn-ghost-full:hover { border-color: var(--navy); color: var(--navy); background: var(--off-white); }
.auth-divider { display: flex; align-items: center; gap: 12px; }
.auth-divider span { font-size: 0.72rem; color: var(--text-light); white-space: nowrap; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; margin-bottom: 14px; }
.checkbox-group input[type="checkbox"] { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; accent-color: var(--navy); }
.checkbox-group span { font-size: 0.81rem; color: var(--text-mid); line-height: 1.5; }
.checkbox-group a { color: var(--ink); }
.forgot-link { font-size: 0.77rem; color: var(--text-light); display: block; text-align: right; margin-top: -5px; transition: color 0.2s; }
.forgot-link:hover { color: var(--ink); }
.auth-switch { text-align: center; margin-top: 20px; font-size: 0.82rem; color: var(--text-light); }
.auth-switch a { color: var(--ink); font-weight: 600; }
.form-section-divider { height: 1px; background: var(--border); margin: 8px 0 16px; }

/* ── FEEDBACK FAB ── */
.feedback-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px 12px 16px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3254 100%);
  color: #fff; border-radius: 100px;
  box-shadow: 0 8px 28px rgba(13,31,53,0.32);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem; font-weight: 600;
  cursor: pointer; transition: all 0.32s var(--ease);
  font-family: var(--font-body); min-height: 48px;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.feedback-fab:hover { background: linear-gradient(135deg, var(--ink) 0%, #1a4b8c 100%); transform: translateY(-3px); box-shadow: 0 14px 36px rgba(26,75,140,0.38); }
.feedback-fab svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: var(--gold-light); stroke-width: 2; stroke-linecap: round; }
.feedback-fab-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; animation: pulse-dot 2.2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.5);opacity:0.6} }

.feedback-overlay { position: fixed; inset: 0; z-index: 1100; background: rgba(13,31,53,0.55); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease); display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.feedback-overlay.open { opacity: 1; pointer-events: auto; }
.feedback-modal { background: var(--white); border-radius: var(--radius-xl); padding: 48px 44px; max-width: 500px; width: 100%; box-shadow: var(--shadow-xl); position: relative; transform: translateY(24px) scale(0.97); transition: transform 0.4s var(--ease), opacity 0.35s var(--ease); opacity: 0; margin: auto; }
.feedback-overlay.open .feedback-modal { transform: translateY(0) scale(1); opacity: 1; }
.feedback-modal-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border-mid); background: var(--off-white); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.25s; font-family: var(--font-body); font-size: 1.2rem; color: var(--text-mid); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.feedback-modal-close:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.feedback-modal h3 { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.1; }
.feedback-modal h3 em { font-style: italic; color: var(--ink); font-weight: 300; }
.feedback-modal > p { font-size: 0.86rem; color: var(--text-mid); margin-bottom: 28px; line-height: 1.7; }
.fb-stars { display: flex; gap: 6px; margin-bottom: 24px; }
.fb-star { font-size: 1.7rem; cursor: pointer; color: var(--border-mid); transition: color 0.18s, transform 0.18s; user-select: none; line-height: 1; min-width: 40px; text-align: center; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.fb-star.active { color: var(--gold); transform: scale(1.15); }
.fb-type-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 20px; }
.fb-type-btn { padding: 10px 6px; border-radius: 8px; border: 1.5px solid var(--border); background: var(--off-white); font-size: 0.7rem; font-weight: 600; color: var(--text-mid); cursor: pointer; text-align: center; transition: all 0.22s; font-family: var(--font-body); min-height: 44px; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.fb-type-btn:hover, .fb-type-btn.selected { border-color: var(--ink); background: var(--ink-pale); color: var(--ink); }
.fb-form { display: flex; flex-direction: column; gap: 14px; }

/* ── LEGAL ── */
.legal-hero { background: linear-gradient(150deg, var(--navy) 0%, #0f2a47 50%, #1a3254 100%); padding: 120px 0 60px; position: relative; overflow: hidden; }
.legal-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: 56px 56px; }
.legal-hero-inner { position: relative; z-index: 2; }
.legal-hero-inner h1 { font-family: var(--font-serif); font-size: clamp(2.4rem,5vw,4rem); font-weight: 700; color: #fff; line-height: 1.08; margin: 14px 0 12px; }
.legal-hero-inner h1 em { font-style: italic; color: var(--gold-light); font-weight: 300; }
.legal-hero-inner p { font-size: 0.88rem; color: rgba(255,255,255,0.4); }
.legal-body { padding: 80px 0 120px; background: var(--white); }
.legal-content { max-width: 780px; }
.legal-content h2 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: var(--navy); margin: 48px 0 14px; padding-top: 48px; border-top: 1px solid var(--border); }
.legal-content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content p { font-size: 0.93rem; color: var(--text-mid); line-height: 1.92; margin-bottom: 16px; }
.legal-content a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(26,75,140,0.3); }
.legal-highlight-box { background: var(--ink-pale); border: 1px solid rgba(26,75,140,0.15); border-left: 3px solid var(--ink); border-radius: var(--radius); padding: 20px 22px; margin: 24px 0; font-size: 0.88rem; color: var(--text); line-height: 1.75; }

/* ══════════════════════
   CONTENT-VISIBILITY — skip rendering off-screen sections on mobile
   contain-intrinsic-size prevents layout thrash on first scroll
══════════════════════ */
@media (max-width: 768px) {
  #contact,
  #portfolio,
  #testimonials,
  #faq,
  #scholarships,
  #events,
  #courses {
    content-visibility: auto;
    contain-intrinsic-size: 0 600px;
  }
}

/* ════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-right { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .process-steps { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .process-line { display: none; }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .portfolio-item:first-child { grid-column: span 2; }
  .sch-guidance-strip { grid-template-columns: 1fr; gap: 40px; padding: 44px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item::after { display: none; }
  .explore-nav-grid { grid-template-columns: repeat(4,1fr); }
  .team-mosaic { grid-template-columns: repeat(2,1fr); }
  .tmc-join-full { grid-column: 1 / -1; grid-template-columns: 1fr 2fr; }
  .prog-description { grid-template-columns: 1fr; gap: 44px; }
  .prog-pillars { grid-template-columns: 1fr; }
  .sch-what-we-do { grid-template-columns: 1fr; gap: 44px; }
}

/* ════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
════════════════════════════════ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .container { width: 92%; }

  /* Hero image hidden on mobile: eliminates 5 Unsplash requests,
     text is the LCP element and renders instantly with system fonts */
  .hero-right { display: none !important; }
  .hero-inner { grid-template-columns: 1fr !important; gap: 0 !important; }

  #about, #services, #process { padding: 72px 0; }

  .services-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item:first-child { grid-column: span 1; height: 260px; }
  .portfolio-item { height: 220px; }

  .testimonial-slide { padding: 0 12px; }
  .testimonial-card { padding: 32px 22px; }
  .sch-guidance-strip { padding: 32px 22px; grid-template-columns: 1fr; gap: 32px; }

  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .explore-nav-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }

  .event-card { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .event-date-block { flex-direction: row; align-items: center; gap: 12px; padding: 12px 16px; min-width: unset; width: fit-content; border-radius: var(--radius); }
  .event-month { margin-bottom: 0; }
  .event-day { font-size: 1.6rem; }

  .team-mosaic { grid-template-columns: 1fr; }
  .tmc { display: grid; grid-template-columns: 1fr; height: auto !important; min-height: unset; overflow: visible; }
  .tmc.flip { direction: ltr; }
  .tmc.flip > * { direction: ltr; }
  .tmc-photo { height: auto !important; width: 100%; overflow: visible !important; }
  .tmc-photo img { width: 100% !important; height: auto !important; object-fit: unset !important; object-position: unset !important; max-height: none !important; }
  .tmc-info { padding: 22px 20px 20px; }
  .tmc-name { font-size: clamp(0.9rem, 3.5vw, 1.2rem); word-break: break-word; }
  .tmc-bio { font-size: 0.73rem; -webkit-line-clamp: 3; }
  .tmc-sig { font-size: 1.4rem; }
  .tmc-join-full { grid-column: 1; grid-template-columns: 1fr; height: auto; min-height: unset; }

  .fab-label { display: none; }
  .feedback-fab { padding: 14px 18px; bottom: 20px; right: 20px; }
  .feedback-modal { padding: 36px 22px; }
  .fb-type-grid { grid-template-columns: 1fr 1fr; }

  .section-head { margin-bottom: 44px; }
  .prog-cta { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .contact-form-wrap { padding: 28px 18px; }

  .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px; margin-top: 40px; padding-top: 24px; }
  .h-stat { flex: unset; }

  .team-cta-btns { flex-direction: column; align-items: center; }
  .team-cta-strip { padding: 60px 0 80px; }
  .prog-highlight { padding: 28px 22px; }
  .prog-pillars { grid-template-columns: 1fr; gap: 16px; }
  .prog-description { gap: 36px; }
}

/* ════════════════════════════════
   RESPONSIVE — SMALL (≤480px)
════════════════════════════════ */
@media (max-width: 480px) {
  html { font-size: 15px; }
  .container { width: 94%; }

  .hero { padding-top: var(--nav-h); }
  .hero-inner { padding: 36px 0 52px; }
  .hero-title { font-size: clamp(2.4rem, 10vw, 3.2rem); }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; text-align: center; }
  .hero-stats { gap: 14px 20px; }
  .h-stat-num { font-size: 1.7rem; }

  .explore-nav-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .explore-hero { padding: 100px 0 56px; }
  .explore-hero-sub { font-size: 0.9rem; }
  .explore-nav-card { padding: 14px 10px 12px; gap: 7px; }
  .enc-icon { width: 38px; height: 38px; border-radius: 10px; }
  .enc-icon svg { width: 16px !important; height: 16px !important; }
  .enc-label { font-size: 0.66rem; }
  .enc-sub { display: none; }

  .testimonial-card { padding: 24px 16px; }
  .t-quote-mark { font-size: 4rem; }

  .tmc { grid-template-columns: 1fr; height: auto; }
  .tmc.flip { direction: ltr; }
  .tmc-photo { height: 220px; }
  .tmc-info { padding: 16px 14px 14px; min-height: 0; }
  .tmc-bio { -webkit-line-clamp: 3; }
  .tmc-join-full { grid-template-columns: 1fr; height: auto; }
  .tmc-photo-empty { height: 140px; }

  .slide-panel { width: 100%; max-width: 100%; }
  .sp-link-sub { display: none; }

  .feedback-fab { bottom: 14px; right: 14px; padding: 13px 16px; min-height: 44px; }
  .feedback-modal { padding: 28px 16px; border-radius: var(--radius-lg); }
  .fb-type-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .feedback-overlay { padding: 8px; align-items: flex-end; }
  .feedback-modal { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

  .sch-guidance-strip { padding: 28px 18px; }
  .section-head h2 { font-size: clamp(1.85rem, 8vw, 2.5rem); }
  .contact-form-wrap { padding: 20px 14px; }
  .faq-question { font-size: 0.9rem; padding: 16px 18px; }
  .faq-answer-inner { padding: 0 18px 18px; }
  .footer-grid { gap: 28px; }
  .footer-bottom { gap: 14px; }

  .btn { font-size: 0.82rem; padding: 12px 22px; }
  .prog-cta .btn { width: 100%; justify-content: center; }

  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: 40px 24px; min-height: auto; }
  .auth-right-inner { max-width: 100%; }
  .form-row-2 { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr 1fr; }
  .phone-group { flex-wrap: wrap; }
  .phone-group select { flex: 1 1 auto; min-width: 100px; }
}

/* ════════════════════════════════
   SAFE AREA — Notch / Dynamic Island
════════════════════════════════ */
@supports (padding: env(safe-area-inset-top)) {
  .navbar { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
  .slide-panel { padding-top: env(safe-area-inset-top); }
  .feedback-fab { bottom: calc(28px + env(safe-area-inset-bottom)); right: calc(28px + env(safe-area-inset-right)); }
}
@media (max-width: 480px) {
  @supports (padding: env(safe-area-inset-top)) {
    .slide-panel { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
    .feedback-fab { bottom: calc(14px + env(safe-area-inset-bottom)); right: calc(14px + env(safe-area-inset-right)); }
  }
}

/* ── Force light theme — prevent OS dark mode inversion ── */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: light; }
  html, body { background: #ffffff !important; color: #1a2e42 !important; }
  .btn-primary { color: #fff !important; }
  .sp-cta { color: #fff !important; }
  .slide-panel { background: #ffffff !important; color: #1a2840 !important; }
  .sp-link { color: #1a2840 !important; }
  .sp-link-sub { color: #6b7280 !important; }
}

/* ── Overflow safeguards ── */
.services-grid, .stats-grid, .footer-grid, .about-grid,
.portfolio-grid, .pillars { min-width: 0; }
.services-grid > *, .stats-grid > *, .footer-grid > *,
.about-grid > *, .portfolio-grid > * { min-width: 0; }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .hero-stagger { opacity: 1 !important; transform: none !important; }
}

/* ── DUAL LOGO: dark by default, white on dark-hero pages ── */
.nav-logo-light                     { display: none;  }
.nav-logo-dark                      { display: block; }
body.dark-hero-page .nav-logo-light { display: block; }
body.dark-hero-page .nav-logo-dark  { display: none;  }
.navbar.scrolled .nav-logo-light    { display: none  !important; }
.navbar.scrolled .nav-logo-dark     { display: block !important; }

/* ── Auth desktop ── */
@media (min-width: 861px) {
  .auth-page { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 100vh; }
  .auth-left { display: block; min-height: 100vh; }
}
