/* ==========================================================================
   SMA CENDEKIA NUSANTARA — MODERN EDITORIAL & VISUAL-FIRST CAMPUS
   Asymmetrical Bento Grid, Reading Progress Bar, Marquee, Sliding Tabs,
   Card Flip, Interactive Hotspot Map & Full-Screen Mobile Overlay
   ========================================================================== */

:root {
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --paper: #fafaf9;
  --surface: #ffffff;
  --surface-tint: #f3f4f6;
  --brand-navy: #0f294a;
  --brand-coral: #ea580c;
  --brand-coral-hover: #c2410c;
  --brand-teal: #0d9488;
  --brand-amber: #f59e0b;
  --border: #e5e7eb;

  --shadow-xs: 0 2px 6px rgba(17, 24, 39, 0.04);
  --shadow-sm: 0 8px 24px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 18px 40px rgba(17, 24, 39, 0.1);
  --shadow-lg: 0 28px 60px rgba(15, 41, 74, 0.16);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-arch: 140px 140px 24px 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s var(--ease);
}

ul { list-style: none; }

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

.section { padding: 92px 0; }
.bg-surface { background-color: var(--surface); }
.bg-tint { background-color: var(--surface-tint); }

/* Editorial Typography */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-coral);
  background: rgba(234, 88, 12, 0.09);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-head-left { max-width: 640px; }
.section-head h2 { font-size: clamp(1.9rem, 3.3vw, 2.75rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.04rem; }

/* Reading Progress Bar at Top */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-coral), var(--brand-amber), var(--brand-teal));
  z-index: 2500;
  transition: width 0.08s linear;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: all 0.28s var(--ease);
}

.btn-coral {
  background: var(--brand-coral);
  color: #fff;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.28);
}

.btn-coral:hover {
  background: var(--brand-coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(234, 88, 12, 0.38);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--brand-navy);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* ==========================================================================
   TRANSPARENT-TO-GLASSMORPHISM HEADER & FULL-SCREEN MOBILE OVERLAY
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(250, 250, 249, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
  transition: all 0.3s var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 16px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-emblem {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-coral));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-name strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  white-space: nowrap;
}

.brand-name span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  padding: 8px 12px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 999px;
  white-space: nowrap;
}

.nav-item:hover {
  color: var(--brand-coral);
  background: rgba(234, 88, 12, 0.06);
}

.nav-item.active {
  color: #fff;
  background: var(--ink);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-cta-btn {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.menu-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Full-Screen Overlay Mobile Menu */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 32px 44px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: all 0.38s var(--ease);
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-overlay-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-close {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-links a {
  font-size: 1.65rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.82);
  transform: translateX(-16px);
  opacity: 0;
  transition: all 0.35s var(--ease);
}

.mobile-overlay.open .mobile-links a {
  transform: translateX(0);
  opacity: 1;
}

.mobile-links a:hover, .mobile-links a.active {
  color: var(--brand-amber);
}

/* ==========================================================================
   1. UTAMA: SPLIT-SCREEN EDITORIAL HERO & ARCH FRAME + FLOATING BADGES
   ========================================================================== */
.hero-editorial {
  padding: 56px 0 84px;
  position: relative;
  overflow: hidden;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 54px;
  align-items: center;
}

.hero-editorial h1 {
  font-size: clamp(2.35rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-editorial h1 span {
  color: var(--brand-coral);
  position: relative;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.trust-metric strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
}

.trust-metric span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.hero-media-stage {
  position: relative;
}

.hero-arch-frame {
  border-radius: var(--radius-arch);
  overflow: hidden;
  aspect-ratio: 4 / 4.3;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  background: var(--brand-navy);
}

.hero-arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-out;
}

.float-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatBob 4.5s ease-in-out infinite;
}

.float-top-right {
  top: 28px;
  right: -18px;
}

.float-bottom-left {
  bottom: 24px;
  left: -24px;
  animation-delay: 1.5s;
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Infinite Horizontal Marquee */
.marquee-bar {
  background: var(--ink);
  color: #fff;
  padding: 16px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-bar:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.marquee-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-amber);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   BENTO GRID KEUNGGULAN (Asymmetrical Visual Grid)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 22px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.bento-span-7 { grid-column: span 7; min-height: 320px; }
.bento-span-5 { grid-column: span 5; min-height: 320px; }
.bento-span-4 { grid-column: span 4; min-height: 280px; }

.bento-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s var(--ease);
}

.bento-card:hover .bento-bg {
  transform: scale(1.05);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.9) 10%, rgba(17, 24, 39, 0.25) 65%, transparent 100%);
}

.bento-content {
  position: relative;
  z-index: 3;
  color: #fff;
}

.bento-content h3 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.bento-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

.bento-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* ==========================================================================
   PAGE BANNER (Halaman Internal)
   ========================================================================== */
.editorial-banner {
  background: var(--ink);
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.editorial-banner::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.35), transparent 70%);
}

.crumb {
  display: flex;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
}

.editorial-banner h1 {
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 3rem);
  max-width: 720px;
  margin-bottom: 14px;
}

.editorial-banner p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  font-size: 1.05rem;
}

/* ==========================================================================
   2. TENTANG KAMI: INTERACTIVE TIMELINE & TEACHER FLIP CARDS
   ========================================================================== */
.timeline-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 36px;
}

.timeline-line {
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--border);
  border-radius: 4px;
}

.timeline-fill {
  width: 100%;
  height: 0%;
  background: var(--brand-coral);
  transition: height 0.25s ease-out;
}

.timeline-node {
  position: relative;
  margin-bottom: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-xs);
}

.timeline-node::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 28px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-coral);
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 2px var(--brand-coral);
}

.flip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.flip-card {
  perspective: 1000px;
  height: 360px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.65s var(--ease);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner, .flip-card:focus-within .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-front-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.92), transparent);
  color: #fff;
}

.flip-back {
  background: var(--brand-navy);
  color: #fff;
  transform: rotateY(180deg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* ==========================================================================
   3. KURIKULUM: SLIDING PILL TABS & ACCORDION
   ========================================================================== */
.pill-tabs {
  position: relative;
  display: inline-flex;
  background: var(--surface-tint);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 4px;
}

.pill-tab-btn {
  position: relative;
  z-index: 2;
  padding: 10px 22px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s;
}

.pill-tab-btn.active {
  background: var(--ink);
  color: #fff;
}

.tab-view { display: none; animation: slideFade 0.38s var(--ease); }
.tab-view.active { display: block; }

@keyframes slideFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.accordion-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 840px;
  margin: 0 auto;
}

.acc-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.acc-btn {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.acc-body-inner {
  padding: 0 24px 20px;
  color: var(--muted);
  border-top: 1px solid var(--surface-tint);
  padding-top: 14px;
}

/* ==========================================================================
   5. FASILITAS: INTERACTIVE CAMPUS HOTSPOT SWITCHER
   ========================================================================== */
.campus-explorer {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: stretch;
}

.hotspot-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hotspot-btn {
  text-align: left;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.hotspot-btn:hover {
  border-color: var(--brand-coral);
}

.hotspot-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.hotspot-btn.active p { color: rgba(255, 255, 255, 0.78); }

.hotspot-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  box-shadow: var(--shadow-md);
  background: var(--ink);
}

.hotspot-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.hotspot-caption {
  position: absolute;
  inset: auto 20px 20px 20px;
  background: rgba(17, 24, 39, 0.88);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   6. PRESTASI & KARYA: GLIMMER SHINE CARDS
   ========================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.glimmer-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.glimmer-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.glimmer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.glimmer-card:hover::after {
  left: 140%;
}

.media-ratio {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: var(--brand-navy);
}

.media-ratio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-pad { padding: 24px; }

/* ==========================================================================
   FORMS, LIGHTBOX, FLOATING ACTION BAR & FOOTER
   ========================================================================== */
.form-panel {
  background: var(--surface);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.input-box {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--paper);
}
.input-box:focus {
  outline: none;
  border-color: var(--brand-coral);
  background: #fff;
}

.success-msg {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
  font-weight: 600;
}

/* Floating Quick Action Dock (WhatsApp + Maps) */
.quick-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(12px);
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
}

.dock-wa { background: #16a34a; }
.dock-wa:hover { background: #15803d; }
.dock-map { background: rgba(255, 255, 255, 0.12); }
.dock-map:hover { background: rgba(255, 255, 255, 0.22); }

.footer-editorial {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 0 32px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 48px;
}

.footer-editorial h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.footer-editorial li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-editorial a:hover { color: var(--brand-amber); }

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.92);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox-modal.open { opacity: 1; pointer-events: auto; }
.lightbox-box {
  max-width: 860px;
  width: 100%;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.lightbox-box img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Responsive */
@media (max-width: 1140px) {
  .desktop-nav, .header-cta-btn { display: none; }
  .menu-burger { display: flex; }
}

@media (max-width: 960px) {
  .hero-split, .grid-2, .campus-explorer { grid-template-columns: 1fr; }
  .bento-span-7, .bento-span-5, .bento-span-4 { grid-column: span 12; }
  .grid-3, .flip-grid, .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .float-top-right, .float-bottom-left { position: static; margin-top: 14px; }
}

@media (max-width: 640px) {
  .grid-3, .flip-grid, .footer-cols { grid-template-columns: 1fr; }
  .dock-btn span { display: none; }
}
