/* =========================================
   BATTA TUTORIAL — VISION OS SPATIAL DEPTH
   Multi-layer glass · Light refraction
   Blur hierarchy · Ambient depth
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;1,500&display=swap');

/* ─── DESIGN TOKENS ──────────────────────── */
:root {
  --font-sans:  -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
                "Helvetica Neue", Arial, sans-serif;
  --font-serif: "New York", "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-mono:  "SF Mono", "Fira Code", "Courier New", monospace;

  /* Palette */
  --red:        #E8001C;
  --red-glow:   rgba(232,0,28,.18);
  --red-light:  rgba(232,0,28,.07);
  --red-mid:    rgba(232,0,28,.14);
  --black:      #1d1d1f;
  --g1: #3a3a3c;
  --g2: #6e6e73;
  --g3: #aeaeb2;
  --g4: #d1d1d6;
  --g5: #f2f2f7;
  --g6: #f7f7fa;
  --white: #ffffff;

  /* ── GLASS SYSTEM (visionOS-inspired) ────
     Three depth planes:
     L0 — deepest (most blur, most transparent)
     L1 — mid     (moderate blur)
     L2 — surface (least blur, most opaque)     */

  /* L0 — Background glass panels */
  --glass-l0-bg:     rgba(255,255,255,.45);
  --glass-l0-blur:   blur(48px) saturate(180%);
  --glass-l0-border: rgba(255,255,255,.65);
  --glass-l0-shadow: 0 2px 1px rgba(255,255,255,.9) inset,
                     0 32px 64px rgba(0,0,0,.08),
                     0 8px 24px rgba(0,0,0,.05);

  /* L1 — Mid-layer cards */
  --glass-l1-bg:     rgba(255,255,255,.72);
  --glass-l1-blur:   blur(28px) saturate(160%);
  --glass-l1-border: rgba(255,255,255,.8);
  --glass-l1-shadow: 0 1.5px 1px rgba(255,255,255,.95) inset,
                     0 16px 40px rgba(0,0,0,.08),
                     0 4px 12px rgba(0,0,0,.05);

  /* L2 — Foreground surface (sharpest) */
  --glass-l2-bg:     rgba(255,255,255,.92);
  --glass-l2-blur:   blur(12px) saturate(140%);
  --glass-l2-border: rgba(255,255,255,.98);
  --glass-l2-shadow: 0 1px 1px rgba(255,255,255,1) inset,
                     0 8px 24px rgba(0,0,0,.07),
                     0 2px 6px rgba(0,0,0,.04);

  /* Specular: thin top+left bright edge = light hitting glass */
  --specular:  linear-gradient(135deg,
               rgba(255,255,255,.85) 0%,
               rgba(255,255,255,.15) 50%,
               rgba(255,255,255,0) 100%);

  /* Dark glass (for dark sections) */
  --glass-dark-bg:     rgba(20,20,24,.72);
  --glass-dark-blur:   blur(32px) saturate(160%);
  --glass-dark-border: rgba(255,255,255,.08);
  --glass-dark-shadow: 0 1px 1px rgba(255,255,255,.06) inset,
                       0 20px 48px rgba(0,0,0,.4),
                       0 4px 16px rgba(0,0,0,.25);

  /* Spacing */
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem;
  --s5: 3rem;  --s6: 5rem; --s7: 8rem;

  /* Radii */
  --r-sm: 10px; --r-md: 18px; --r-lg: 28px; --r-xl: 44px; --r-pill: 999px;

  /* Layered depth shadows */
  --depth-1: 0 1px 3px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.06);
  --depth-2: 0 2px 8px rgba(0,0,0,.05), 0 12px 32px rgba(0,0,0,.09);
  --depth-3: 0 4px 16px rgba(0,0,0,.07), 0 24px 56px rgba(0,0,0,.12),
             0 1px 2px rgba(0,0,0,.04);
  --depth-4: 0 8px 32px rgba(0,0,0,.10), 0 40px 80px rgba(0,0,0,.15),
             0 2px 4px rgba(0,0,0,.05);
  --depth-red: 0 4px 16px rgba(232,0,28,.22), 0 12px 40px rgba(232,0,28,.14);

  /* Motion */
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-out:    cubic-bezier(.16,1,.3,1);
  --t-fast:  .15s ease;
  --t-med:   .3s  var(--ease-out);
  --t-slow:  .65s var(--ease-out);
}

/* ─── RESET ──────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0 }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}
a   { text-decoration:none; color:inherit }
ul  { list-style:none }
img { display:block; max-width:100% }
button { font:inherit; cursor:pointer; border:none; background:none }

/* ─── AMBIENT SCENE ──────────────────────── */
/* Layered background color orbs — the "light" source that glass refracts */
.scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  animation: drift 20s ease-in-out infinite alternate;
}

.orb-1 {
  width: 700px; height: 700px;
  top: -200px; right: -150px;
  background: radial-gradient(circle, rgba(232,0,28,.09) 0%, transparent 70%);
  animation-duration: 22s;
}

.orb-2 {
  width: 500px; height: 500px;
  bottom: 30%; left: -100px;
  background: radial-gradient(circle, rgba(100,160,255,.07) 0%, transparent 70%);
  animation-duration: 28s;
  animation-delay: -8s;
}

.orb-3 {
  width: 400px; height: 400px;
  top: 55%; right: 10%;
  background: radial-gradient(circle, rgba(232,0,28,.06) 0%, transparent 70%);
  animation-duration: 18s;
  animation-delay: -4s;
}

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -40px) scale(1.05); }
  66%  { transform: translate(-20px, 20px) scale(.97); }
  100% { transform: translate(15px, -15px) scale(1.02); }
}

/* ─── GLASS MIXINS (via custom props) ─────── */
.glass-l0 {
  background:        var(--glass-l0-bg);
  backdrop-filter:   var(--glass-l0-blur);
  -webkit-backdrop-filter: var(--glass-l0-blur);
  border: 1px solid var(--glass-l0-border);
  box-shadow:        var(--glass-l0-shadow);
  position: relative;
  isolation: isolate;
}

.glass-l0::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--specular);
  opacity: .5;
  pointer-events: none;
}

.glass-l1 {
  background:        var(--glass-l1-bg);
  backdrop-filter:   var(--glass-l1-blur);
  -webkit-backdrop-filter: var(--glass-l1-blur);
  border: 1px solid var(--glass-l1-border);
  box-shadow:        var(--glass-l1-shadow);
  position: relative;
  isolation: isolate;
}

.glass-l1::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--specular);
  opacity: .35;
  pointer-events: none;
}

.glass-l2 {
  background:        var(--glass-l2-bg);
  backdrop-filter:   var(--glass-l2-blur);
  -webkit-backdrop-filter: var(--glass-l2-blur);
  border: 1px solid var(--glass-l2-border);
  box-shadow:        var(--glass-l2-shadow);
  position: relative;
  isolation: isolate;
}

.glass-l2::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--specular);
  opacity: .25;
  pointer-events: none;
}

.glass-dark {
  background:        var(--glass-dark-bg);
  backdrop-filter:   var(--glass-dark-blur);
  -webkit-backdrop-filter: var(--glass-dark-blur);
  border: 1px solid var(--glass-dark-border);
  box-shadow:        var(--glass-dark-shadow);
  position: relative;
  isolation: isolate;
}

.glass-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg,
    rgba(255,255,255,.07) 0%,
    rgba(255,255,255,.02) 40%,
    transparent 100%);
  pointer-events: none;
}

/* ─── LAYOUT ─────────────────────────────── */
.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--s4);
}
.section { padding-block: var(--s7) }

/* ─── TYPOGRAPHY ─────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--s3);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.headline {
  font-family: var(--font-sans);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.subhead {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--g2);
  line-height: 1.65;
  max-width: 52ch;
}

.section-intro { max-width: 600px; margin-bottom: var(--s6) }
.section-intro .headline { margin-bottom: var(--s2) }

/* ─── BUTTONS ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.01em;
  padding: .8125rem 1.75rem;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform var(--t-med), box-shadow var(--t-med), background var(--t-fast);
  position: relative;
  isolation: isolate;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.18) 0%, transparent 60%);
  pointer-events: none;
}
.btn-primary:hover {
  background: #c5001a;
  transform: translateY(-1px) scale(1.01);
  box-shadow: var(--depth-red);
}

.btn-secondary {
  background: var(--glass-l2-bg);
  backdrop-filter: var(--glass-l2-blur);
  -webkit-backdrop-filter: var(--glass-l2-blur);
  border: 1px solid var(--glass-l2-border);
  box-shadow: var(--glass-l2-shadow);
  color: var(--black);
}
.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--specular);
  opacity: .3;
  pointer-events: none;
}
.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: var(--depth-2);
}

.btn-ghost {
  background: var(--red-light);
  border: 1.5px solid var(--red-mid);
  color: var(--red);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(232,0,28,.12);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--glass-dark-bg);
  backdrop-filter: var(--glass-dark-blur);
  -webkit-backdrop-filter: var(--glass-dark-blur);
  border: 1px solid var(--glass-dark-border);
  color: var(--white);
}
.btn-dark:hover {
  background: rgba(40,40,46,.8);
  transform: translateY(-1px);
  box-shadow: var(--depth-3);
}

/* ─── NAVBAR ─────────────────────────────── */
.navbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 900;
  height: 52px;

  /* L0 glass — deepest blur, most transparent */
  background:        rgba(255,255,255,.60);
  backdrop-filter:   blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border-bottom: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset,
              0 1px 16px rgba(0,0,0,.05);
  transition: background var(--t-fast), box-shadow var(--t-fast);
}

.navbar.scrolled {
  background: rgba(255,255,255,.82);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset,
              0 4px 24px rgba(0,0,0,.06);
}

.nav-container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--s4);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}

.logo { display:flex; flex-direction:column; line-height:1.15 }
.logo-text {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--black);
}
.logo-red  { color: var(--red) }
.logo-sub  {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--g3);
}

.nav-links { display:flex; align-items:center; gap: var(--s3) }

.nav-link {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--g1);
  letter-spacing: -.01em;
  transition: color var(--t-fast);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--black) }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--red);
  border-radius: 1px;
  transition: width var(--t-med);
}
.nav-link:hover::after, .nav-link.active::after { width: 100% }

.nav-cta { font-size: .8125rem; padding: .5rem 1.25rem }

.mobile-menu-btn {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--glass-l2-bg);
  backdrop-filter: var(--glass-l2-blur);
  -webkit-backdrop-filter: var(--glass-l2-blur);
  border: 1px solid var(--glass-l2-border);
  box-shadow: var(--glass-l2-shadow);
  font-size: 1.25rem;
  color: var(--black);
  transition: var(--t-fast);
}
.mobile-menu-btn:hover { box-shadow: var(--depth-2) }

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(60px) saturate(180%);
  -webkit-backdrop-filter: blur(60px) saturate(180%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--s6) var(--s4);
  gap: var(--s3);
  transform: translateX(100%);
  transition: transform var(--t-med);
}
.mobile-menu.active { transform: translateX(0) }
.mobile-link {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.03em;
}
.mobile-link:hover { color: var(--red) }

/* ─── HERO ───────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: 52px;
  position: relative;
  overflow: hidden;
  /* Subtle linen texture for the deepest plane */
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(232,0,28,.045) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at -5% 80%, rgba(100,160,255,.035) 0%, transparent 60%),
    var(--white);
}

/* Grid crosshatch — deepest depth layer */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%,
    rgba(0,0,0,.6) 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%,
    rgba(0,0,0,.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--white);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-body {
  position: relative; z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: var(--s7);
}

/* visionOS pill — L2 glass */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem 1rem;
  border-radius: var(--r-pill);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--red);
  margin-bottom: var(--s3);

  background:       rgba(255,255,255,.72);
  backdrop-filter:  blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 1px 1px rgba(255,255,255,1) inset,
              0 4px 16px rgba(232,0,28,.1),
              var(--depth-1);
}

.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 7.5vw, 6.25rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.0;
  color: var(--black);
  max-width: 14ch;
  margin-bottom: var(--s3);
}
.hero h1 em {
  font-style: normal;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: .9em;
  color: var(--red);
}

.hero-sub {
  font-size: 1.1875rem;
  color: var(--g2);
  max-width: 46ch;
  line-height: 1.65;
  margin-bottom: var(--s5);
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: var(--s2);
  margin-bottom: var(--s6);
}

/* Trust row — L1 glass chips */
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--s3) }

.trust-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: .875rem 1.25rem;
  border-radius: var(--r-md);

  background:       rgba(255,255,255,.68);
  backdrop-filter:  blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 1.5px 1px rgba(255,255,255,.95) inset,
              var(--depth-1);
}
.trust-num {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--black);
  line-height: 1;
}
.trust-label {
  font-size: .6875rem;
  font-weight: 500;
  color: var(--g3);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ─── STATS BAR ──────────────────────────── */
.stats-bar {
  position: relative; z-index: 1;
  background:       rgba(250,250,252,.8);
  backdrop-filter:  blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-top: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset;
}

.stats-bar-inner {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--s4);
  display: grid;
  grid-template-columns: repeat(4,1fr);
}

.stat-item {
  padding: var(--s4) var(--s3);
  display: flex; flex-direction: column; gap: 4px;
  border-right: 1px solid rgba(0,0,0,.06);
}
.stat-item:last-child { border-right: none }
.stat-num {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--black);
  line-height: 1;
}
.stat-label { font-size: .75rem; color: var(--g2); font-weight: 500 }

/* ─── ABOUT ──────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: start;
}

/* Timeline */
.timeline { display:flex; flex-direction:column }

.tl-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--s3);
  position: relative;
  padding-bottom: var(--s4);
}
.tl-item:last-child { padding-bottom: 0 }

.tl-left {
  display: flex; flex-direction: column; align-items: center;
}
.tl-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--g4);
  border: 2.5px solid var(--white);
  outline: 2px solid var(--g4);
  flex-shrink: 0;
  transition: background var(--t-med), outline-color var(--t-med),
              box-shadow var(--t-med);
}
.tl-item.active .tl-dot, .tl-item:hover .tl-dot {
  background: var(--red);
  outline-color: var(--red-mid);
  box-shadow: 0 0 0 6px rgba(232,0,28,.08);
}
.tl-line {
  flex:1; width:1px;
  background: linear-gradient(to bottom, var(--g4) 0%, transparent 100%);
  margin-top: 4px;
}
.tl-item:last-child .tl-line { display:none }

.tl-year {
  font-size: .6875rem; font-weight: 600;
  letter-spacing: .06em; color: var(--g3);
  text-align: right; line-height: 1;
  margin-top: -2px; padding-right: var(--s2);
}

/* Timeline content — L1 glass panel */
.tl-content {
  padding: var(--s2) var(--s3);
  border-radius: var(--r-md);
  background:       rgba(255,255,255,.65);
  backdrop-filter:  blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 1px 1px rgba(255,255,255,.9) inset, var(--depth-1);
  transition: box-shadow var(--t-med), transform var(--t-med);
}
.tl-content:hover {
  box-shadow: 0 1px 1px rgba(255,255,255,.9) inset, var(--depth-2);
  transform: translateX(4px);
}
.tl-content h3 {
  font-size: 1rem; font-weight: 600;
  letter-spacing: -.02em; margin-bottom: 3px;
}
.tl-content p { font-size: .875rem; color: var(--g2); line-height: 1.5 }

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2);
}

.value-card {
  padding: var(--s3);
  border-radius: var(--r-md);
  /* L1 glass */
  background:       rgba(255,255,255,.7);
  backdrop-filter:  blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 1.5px 1px rgba(255,255,255,.95) inset, var(--depth-1);
  transition: box-shadow var(--t-med), transform var(--t-med);
  position: relative; isolation: isolate;
}
.value-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--specular);
  opacity: .3;
  pointer-events: none;
}
.value-card:hover {
  box-shadow: 0 1.5px 1px rgba(255,255,255,.95) inset, var(--depth-2);
  transform: translateY(-3px);
}
.value-icon {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: var(--red-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  margin-bottom: var(--s2);
}
.value-card h4 {
  font-size: .9375rem; font-weight: 600;
  letter-spacing: -.01em; margin-bottom: 3px;
}
.value-card p { font-size: .8125rem; color: var(--g2); line-height: 1.5 }

/* ─── BENTO / FEATURES ───────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: var(--s2);
}

.bento-card {
  display: flex; align-items: center; gap: var(--s2);
  padding: var(--s2) var(--s3);
  border-radius: var(--r-md);
  /* L1 glass */
  background:       rgba(255,255,255,.68);
  backdrop-filter:  blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 1px 1px rgba(255,255,255,.9) inset, var(--depth-1);
  transition: transform var(--t-med), box-shadow var(--t-med);
  position: relative; isolation: isolate;
}
.bento-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--specular);
  opacity: .25;
  pointer-events: none;
}
.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 1px rgba(255,255,255,.9) inset, var(--depth-2);
}
.bento-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--red-light);
  border: 1px solid var(--red-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.bento-card span {
  font-size: .875rem; font-weight: 500; letter-spacing: -.01em;
}

/* ─── COURSES ────────────────────────────── */
.courses-layout {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--s3);
  align-items: stretch;
}

/* L1 glass course card */
.course-card {
  border-radius: var(--r-lg);
  padding: var(--s4);
  display: flex; flex-direction: column; gap: var(--s3);
  position: relative; isolation: isolate;
  overflow: hidden;

  background:       rgba(255,255,255,.72);
  backdrop-filter:  blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 2px 1px rgba(255,255,255,.95) inset, var(--depth-2);

  transition: transform var(--t-med), box-shadow var(--t-med);
}

/* Specular shimmer overlay */
.course-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--specular);
  opacity: .35;
  pointer-events: none;
}

/* Red top edge on hover */
.course-card::after {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 2px;
  background: var(--red);
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity var(--t-med);
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 2px 1px rgba(255,255,255,.95) inset, var(--depth-3);
}
.course-card:hover::after { opacity: 1 }

/* Featured (dark glass) */
.course-card.featured {
  background:       rgba(22,22,28,.78);
  backdrop-filter:  blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 1px 1px rgba(255,255,255,.07) inset, var(--depth-3);
  color: var(--white);
}
.course-card.featured::before {
  background: linear-gradient(135deg,
    rgba(255,255,255,.07) 0%,
    rgba(255,255,255,.02) 40%,
    transparent 100%);
  opacity: 1;
}
.course-card.featured::after {
  opacity: 1;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.course-card.featured h3 { color: var(--white) }
.course-card.featured p  { color: rgba(255,255,255,.55) }
.course-card.featured .course-feature-item { color: rgba(255,255,255,.72) }
.course-card.featured .course-divider { border-color: rgba(255,255,255,.09) }

.course-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .6875rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); margin-bottom: var(--s1);
}
.course-card.featured .course-tag {
  background: rgba(232,0,28,.18);
  color: #ff6b7a;
  padding: .25rem .75rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(232,0,28,.35);
}

.course-card h3 {
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: -.03em; line-height: 1.2;
}
.course-card > p { font-size: .875rem; color: var(--g2); line-height: 1.55 }
.course-divider { border:none; border-top:1px solid rgba(0,0,0,.06) }

.course-features { display:flex; flex-direction:column; gap:.625rem; flex:1 }
.course-feature-item {
  display: flex; align-items: center; gap: .625rem;
  font-size: .875rem; color: var(--g1);
}
.course-feature-item::before {
  content: '✓';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--red-light);
  border: 1.5px solid var(--red-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: .5625rem; font-weight: 700; color: var(--red);
  flex-shrink: 0;
}
.course-card.featured .course-feature-item::before {
  background: rgba(232,0,28,.2);
  border-color: rgba(232,0,28,.4);
  color: #ff6b7a;
}
.course-actions { display:flex; gap:var(--s2) }

/* ─── METHODOLOGY ────────────────────────── */
.method-bg {
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(232,0,28,.07) 0%, transparent 60%),
    rgba(14,14,18,1);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--s3);
}

/* Dark glass method card */
.method-card {
  padding: var(--s4) var(--s3);
  border-radius: var(--r-md);
  position: relative; isolation: isolate;

  background:       rgba(255,255,255,.04);
  backdrop-filter:  blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 1px 1px rgba(255,255,255,.05) inset,
              var(--depth-2);

  transition: background var(--t-med), border-color var(--t-med), transform var(--t-med);
}

.method-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg,
    rgba(255,255,255,.06) 0%,
    rgba(255,255,255,.01) 40%,
    transparent 100%);
  pointer-events: none;
}

.method-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(232,0,28,.2);
  transform: translateY(-4px);
}

.method-num {
  font-family: var(--font-mono);
  font-size: .75rem; font-weight: 600;
  color: var(--red); letter-spacing: .05em;
  margin-bottom: var(--s2);
}
.method-card h3 {
  font-size: 1.125rem; font-weight: 600;
  letter-spacing: -.02em; color: var(--white);
  margin-bottom: .5rem;
}
.method-card p { font-size: .875rem; color: rgba(255,255,255,.45); line-height: 1.55 }
.method-bg .section-intro .headline { color: var(--white) }
.method-bg .section-intro .subhead  { color: rgba(255,255,255,.45) }

/* ─── RESULTS ────────────────────────────── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: var(--s2);
}

.result-card {
  padding: var(--s3);
  border-radius: var(--r-md);
  text-align: center;
  position: relative; isolation: isolate;
  overflow: hidden;

  background:       rgba(255,255,255,.72);
  backdrop-filter:  blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 2px 1px rgba(255,255,255,.95) inset, var(--depth-1);

  transition: transform var(--t-med), box-shadow var(--t-med);
}
.result-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--specular);
  opacity: .3;
  pointer-events: none;
}
.result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 1px rgba(255,255,255,.95) inset, var(--depth-2);
}

.result-pct {
  font-size: 2.25rem; font-weight: 700;
  letter-spacing: -.05em; color: var(--red); line-height: 1;
  margin-bottom: 6px;
}
.result-name   { font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 2px }
.result-school { font-size: .75rem; color: var(--g2); margin-bottom: .625rem }
.result-marks  {
  display: inline-block;
  font-size: .6875rem; font-weight: 600;
  font-family: var(--font-mono);
  color: var(--g2);
  background: rgba(0,0,0,.04);
  padding: .25rem .625rem; border-radius: var(--r-pill);
}

/* ─── FACULTY ────────────────────────────── */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: var(--s3);
}

.faculty-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--s3);
  align-items: start;
  padding: var(--s3);
  border-radius: var(--r-md);
  position: relative; isolation: isolate;

  background:       rgba(255,255,255,.7);
  backdrop-filter:  blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 1.5px 1px rgba(255,255,255,.95) inset, var(--depth-1);

  transition: transform var(--t-med), box-shadow var(--t-med);
}
.faculty-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--specular);
  opacity: .25;
  pointer-events: none;
}
.faculty-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1.5px 1px rgba(255,255,255,.95) inset, var(--depth-2);
}

.faculty-avatar {
  width: 80px; height: 80px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--depth-1);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; flex-shrink: 0;
}
.faculty-info h3 {
  font-size: 1.125rem; font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 2px;
}
.faculty-qual {
  font-size: .75rem; font-weight: 600;
  color: var(--red); letter-spacing: .02em;
  text-transform: uppercase; margin-bottom: .5rem;
}
.faculty-info p {
  font-size: .875rem; color: var(--g2);
  line-height: 1.5; margin-bottom: .75rem;
}
.faculty-award {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .75rem; font-weight: 600;
  color: var(--g1);
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(0,0,0,.06);
  padding: .25rem .625rem; border-radius: var(--r-pill);
}

/* ─── NOTICE BOARD ───────────────────────── */
.notices-bg {
  background:
    radial-gradient(ellipse 40% 30% at 90% 10%, rgba(232,0,28,.04) 0%, transparent 60%),
    var(--g6);
  border-top: 1px solid rgba(255,255,255,.8);
}

.notices-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6); align-items: start;
}

.notice-list { display:flex; flex-direction:column }

.notice-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: var(--s3); align-items: baseline;
  padding-block: var(--s3);
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: background var(--t-fast);
}
.notice-item:first-child { border-top: 1px solid rgba(0,0,0,.05) }

.notice-date {
  font-family: var(--font-mono); font-size: .6875rem;
  color: var(--g3); font-weight: 600; letter-spacing: .02em; white-space: nowrap;
}
.notice-text h4 { font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 3px }
.notice-text p  { font-size: .8125rem; color: var(--g2) }

.notice-tag {
  font-size: .625rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .25rem .625rem; border-radius: var(--r-pill); white-space: nowrap;
}
.tag-red    { background: var(--red-light);  color: var(--red);   border: 1px solid var(--red-mid) }
.tag-green  { background: #e6faeb;           color: #108137;      border: 1px solid #b3e8c0 }
.tag-amber  { background: #fff3e0;           color: #b45309;      border: 1px solid #fde68a }
.tag-purple { background: #f3e8ff;           color: #7c3aed;      border: 1px solid #ddd6fe }

/* Events */
.events-list { display:flex; flex-direction:column; gap:var(--s2) }

.event-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--s2); align-items: center;
  padding: var(--s2) var(--s3);
  border-radius: var(--r-md);
  position: relative; isolation: isolate;

  background:       rgba(255,255,255,.7);
  backdrop-filter:  blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 1px 1px rgba(255,255,255,.9) inset, var(--depth-1);

  transition: transform var(--t-med), box-shadow var(--t-med);
}
.event-item::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--specular);
  opacity: .2;
  pointer-events: none;
}
.event-item:hover {
  transform: translateX(4px);
  box-shadow: 0 1px 1px rgba(255,255,255,.9) inset, var(--depth-2);
}
.event-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--red-light);
  border: 1px solid var(--red-mid);
  border-radius: var(--r-sm);
  width: 48px; height: 52px; line-height: 1;
}
.event-day   { font-size: 1.25rem; font-weight: 700; letter-spacing: -.04em; color: var(--red) }
.event-month { font-size: .5625rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--red) }
.event-info h4 { font-size: .9375rem; font-weight: 600; letter-spacing: -.01em }
.event-info p  { font-size: .75rem; color: var(--g2) }

/* ─── CTA ────────────────────────────────── */
.cta-section {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 30% 50%, rgba(232,0,28,.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(232,0,28,.06) 0%, transparent 60%),
    rgba(14,14,18,1);
  padding-block: var(--s7);
}

.cta-inner {
  max-width: 760px;
  display: flex; flex-direction: column;
  align-items: flex-start; gap: var(--s4);
}
.cta-inner .headline { color: var(--white) }
.cta-inner .subhead  { color: rgba(255,255,255,.45) }

.cta-actions { display:flex; flex-wrap:wrap; gap:var(--s2) }

.cta-cards {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: var(--s2); margin-top: var(--s2); width: 100%;
}

.cta-card {
  display: flex; align-items: center; gap: var(--s2);
  padding: var(--s2) var(--s3);
  border-radius: var(--r-md);
  position: relative; isolation: isolate;

  background:       rgba(255,255,255,.05);
  backdrop-filter:  blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 1px 1px rgba(255,255,255,.06) inset, var(--depth-1);

  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-med);
}
.cta-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg,
    rgba(255,255,255,.07) 0%,
    rgba(255,255,255,.01) 40%,
    transparent 100%);
  pointer-events: none;
}
.cta-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.14);
  transform: translateY(-2px);
}
.cta-card-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--red-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; flex-shrink: 0;
}
.cta-card-text h4 { font-size: .9375rem; font-weight: 600; color: var(--white); letter-spacing: -.01em }
.cta-card-text p  { font-size: .75rem; color: rgba(255,255,255,.38) }

/* ─── FOOTER ─────────────────────────────── */
.footer {
  background: rgba(12,12,16,1);
  border-top: 1px solid rgba(255,255,255,.05);
  padding-block: var(--s6) var(--s4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--s5);
  padding-bottom: var(--s6);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.footer-brand .logo-text { color: var(--white); font-size: 1.125rem }
.footer-brand .logo-sub  { color: rgba(255,255,255,.25) }
.footer-brand p {
  font-size: .875rem; color: rgba(255,255,255,.35);
  line-height: 1.65; margin-top: var(--s3); margin-bottom: var(--s3); max-width: 28ch;
}

.social-links { display:flex; gap:var(--s1) }
.social-link {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 1px 1px rgba(255,255,255,.04) inset;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4);
  font-size: 1.0625rem;
  transition: var(--t-fast);
  position: relative; isolation: isolate;
}
.social-link::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.08) 0%, transparent 60%);
  pointer-events: none;
}
.social-link:hover {
  background: var(--red);
  border-color: transparent;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--depth-red);
}

.footer-col h4 {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.25); margin-bottom: var(--s3);
}
.footer-col ul { display:flex; flex-direction:column; gap:.75rem }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.45); transition: color var(--t-fast) }
.footer-col ul li a:hover { color: var(--white) }

.footer-contact-item {
  display: flex; gap: .625rem;
  font-size: .875rem; color: rgba(255,255,255,.45); line-height: 1.5;
}
.footer-contact-item i { color: var(--red); font-size: 1rem; flex-shrink: 0; margin-top: 2px }

.footer-bottom {
  padding-top: var(--s4);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p { font-size: .8125rem; color: rgba(255,255,255,.2) }
.footer-bottom-links { display:flex; gap:var(--s3) }
.footer-bottom-links a { font-size: .8125rem; color: rgba(255,255,255,.2); transition: color var(--t-fast) }
.footer-bottom-links a:hover { color: rgba(255,255,255,.55) }

/* ─── SCROLL REVEAL ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
.reveal.in-view { opacity:1; transform:translateY(0) }
.reveal-delay-1 { transition-delay: .08s }
.reveal-delay-2 { transition-delay: .16s }
.reveal-delay-3 { transition-delay: .24s }
.reveal-delay-4 { transition-delay: .32s }

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width:1024px) {
  .about-grid      { grid-template-columns: 1fr }
  .bento-grid      { grid-template-columns: repeat(2,1fr) }
  .courses-layout  { grid-template-columns: 1fr 1fr }
  .results-grid    { grid-template-columns: repeat(2,1fr) }
  .method-grid     { grid-template-columns: repeat(2,1fr) }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap:var(--s4) }
  .notices-inner   { grid-template-columns: 1fr }
}

@media (max-width:768px) {
  :root { --s7: 5rem }
  .nav-links { display:none }
  .nav-cta   { display:none }
  .mobile-menu-btn { display:flex }
  .stats-bar-inner { grid-template-columns: repeat(2,1fr) }
  .stat-item       { border-right:none; border-bottom:1px solid rgba(0,0,0,.06) }
  .stat-item:nth-child(odd)  { border-right:1px solid rgba(0,0,0,.06) }
  .courses-layout  { grid-template-columns: 1fr }
  .results-grid    { grid-template-columns: repeat(2,1fr) }
  .faculty-grid    { grid-template-columns: 1fr }
  .cta-cards       { grid-template-columns: 1fr }
  .footer-grid     { grid-template-columns: 1fr }
  .hero-actions    { flex-direction:column }
  .method-grid     { grid-template-columns: 1fr }
  .values-grid     { grid-template-columns: 1fr }
  .bento-grid      { grid-template-columns: 1fr 1fr }
  .footer-bottom   { flex-direction:column; gap:var(--s2); text-align:center }
}

@media (max-width:480px) {
  .results-grid { grid-template-columns: 1fr }
  .bento-grid   { grid-template-columns: 1fr }
  .cta-cards    { display:none }
  .values-grid  { grid-template-columns: 1fr }
  .hero-trust   { gap:var(--s2) }
}
/* ─── REVIEWS ────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--s3);
  margin-top: var(--s4);
}

.review-card {
  padding: var(--s4);
  border-radius: var(--r-lg);
  position: relative; isolation: isolate;
  background:       rgba(255,255,255,.72);
  backdrop-filter:  blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 1px 1px rgba(255,255,255,.9) inset, var(--depth-1);
  transition: transform var(--t-med), box-shadow var(--t-med);
}

.review-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--specular);
  opacity: .3;
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 1px rgba(255,255,255,.9) inset, var(--depth-2);
}

.review-header {
  display: flex; align-items: center; gap: var(--s2);
  margin-bottom: var(--s3);
}

.review-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--red-light);
  border: 1px solid var(--red-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; font-weight: 700; color: var(--red);
  letter-spacing: -.02em; flex-shrink: 0;
}

.review-meta h4 {
  font-size: 1rem; font-weight: 700;
  letter-spacing: -.01em; margin-bottom: 2px;
}

.stars {
  font-size: .875rem; color: #ffb400; letter-spacing: 2px;
}

.review-text {
  font-size: .875rem; color: var(--g1);
  line-height: 1.6;
}

@media (max-width:768px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ─── GALLERY ────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  margin-top: var(--s4);
}
.gallery-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--depth-1);
  transition: transform var(--t-med), box-shadow var(--t-med);
  border: 1px solid rgba(255,255,255,.82);
  background: rgba(255,255,255,.1);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-long) ease;
}
.gallery-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--depth-3);
}
.gallery-card:hover img {
  transform: scale(1.05);
}
.gallery-caption {
  position: absolute;
  bottom: 0; inset-inline: 0;
  padding: var(--s3) var(--s4);
  background: linear-gradient(to top, rgba(0,0,0,.7) 20%, rgba(0,0,0,0));
  color: var(--white);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* --- PHILOSOPHY COLLAGE HOVER EFFECT --- */
#dyn-philosophy-collage div:hover,
#dyn-philosophy-collage-2 div:hover {
  transform: scale(1.06) rotate(0deg) !important;
  z-index: 10 !important;
  box-shadow: 0 20px 45px rgba(0,0,0,0.22) !important;
}
