/* ============================================================
   MODERNUS — Formation Professionnelle
   Shared stylesheet — used across all pages
   ============================================================ */

:root{
  --navy: #252B47;
  --navy-deep: #1B2038;
  --navy-soft: #313858;
  --gold: #D4A75A;
  --gold-deep: #B68842;
  --gold-soft: #E8C887;
  --cream: #F7F2E9;
  --paper: #FAF7F2;
  --ink: #1A1F35;
  --muted: #6F7484;
  --line: rgba(37, 43, 71, 0.12);
  --line-cream: rgba(247, 242, 233, 0.18);
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.display{
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.container{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== NAV ===== */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 32px;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}
.nav.dark{
  background: rgba(27, 32, 56, 0.85);
  border-bottom-color: var(--line-cream);
}
.nav.dark .nav-logo svg{ color: var(--paper); }
.nav.dark .nav-logo .tag{ color: rgba(247, 242, 233, 0.6); border-left-color: var(--line-cream); }
.nav.dark .nav-links a{ color: var(--paper); }
.nav.dark .nav-links a:hover{ color: var(--gold); }
.nav.dark .nav-cta{ background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.nav.dark .nav-cta:hover{ background: transparent; color: var(--gold); }
.nav.dark .burger span{ background: var(--paper); }

.nav-inner{
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo{ display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo svg{ height: 28px; width: auto; color: var(--navy); }
.nav-logo .tag{
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  border-left: 1px solid var(--line);
  padding-left: 12px;
  margin-left: 4px;
}
.nav-links{ display: flex; gap: 38px; align-items: center; }
.nav-links a{
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active{ color: var(--gold-deep); }
.nav-links a.active::after{
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}
.nav-cta{
  background: var(--navy);
  color: var(--paper) !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--navy);
}
.nav-cta:hover{ background: transparent; color: var(--navy) !important; }
.nav.dark .nav-cta:hover{ color: var(--gold) !important; }

.burger{ display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: 0; }
.burger span{ display: block; width: 22px; height: 1.5px; background: var(--navy); transition: all 0.3s; }

@media (max-width: 900px){
  .nav-links{
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 32px;
    gap: 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.4s ease;
  }
  .nav.dark .nav-links{ background: var(--navy-deep); }
  .nav-links.open{ transform: translateY(0); }
  .burger{ display: flex; }
  .nav-logo .tag{ display: none; }
}

/* ===== HERO (home) ===== */
.hero{
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(212, 167, 90, 0.12), transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(37, 43, 71, 0.06), transparent 50%),
    var(--paper);
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 32px;
}
.eyebrow::before{
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.gold{ color: var(--gold); }
.eyebrow.gold::before{ background: var(--gold); }
.eyebrow.light{ color: var(--paper); }

.hero h1{
  font-size: clamp(48px, 7vw, 96px);
  color: var(--navy);
  margin-bottom: 32px;
}
.hero h1 em{
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--gold-deep);
  font-weight: 300;
}
.hero p.lead{
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; }
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary{ background: var(--navy); color: var(--paper); }
.btn-primary:hover{ background: var(--navy-deep); transform: translateY(-2px); }
.btn-ghost{ background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--navy); }
.btn-gold{ background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover{ background: var(--gold-soft); transform: translateY(-2px); }
.btn .arrow{ transition: transform 0.3s; }
.btn:hover .arrow{ transform: translateX(4px); }

.hero-visual{
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  max-width: 460px;
  margin-left: auto;
}
.hero-card{
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(37, 43, 71, 0.4);
}
.hero-card.main{
  inset: 0;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-card.main::before{
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 60%;
  background: radial-gradient(circle at top right, rgba(212, 167, 90, 0.25), transparent 70%);
  z-index: 1;
}
.hero-card-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-card-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,32,56,0.45) 0%, rgba(27,32,56,0.85) 100%);
  z-index: 1;
}
.hero-card.main .badge-2026,
.hero-card.main .stat-block{ z-index: 2; }
.hero-card.accent{
  bottom: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: var(--gold);
  border-radius: 18px;
  z-index: -1;
}
.hero-card .badge-2026{
  position: relative;
  z-index: 1;
  color: var(--gold);
  font-family: 'Fraunces', serif;
  font-size: 14px;
  letter-spacing: 0.3em;
  font-weight: 500;
}
.hero-card .stat-block{ position: relative; z-index: 1; }
.hero-card .stat-num{
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144;
  font-size: 96px;
  color: var(--paper);
  line-height: 1;
  font-weight: 300;
}
.hero-card .stat-num em{
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero-card .stat-label{
  color: rgba(247, 242, 233, 0.7);
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.5;
  max-width: 240px;
}

.hero-marquee{
  margin-top: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
}
.hero-marquee-track{
  display: inline-block;
  animation: marquee 40s linear infinite;
  font-family: 'Fraunces', serif;
  font-size: 24px;
  color: var(--navy);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  font-weight: 300;
}
.hero-marquee-track span{ margin: 0 32px; }
.hero-marquee-track .dot{ color: var(--gold); }
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

@media (max-width: 900px){
  .hero{ padding: 110px 0 60px; }
  .hero-grid{ grid-template-columns: 1fr; gap: 40px; }
  .hero-visual{ max-width: 360px; margin: 0 auto; }
  .hero-card.main{ padding: 32px; }
  .hero-card .stat-num{ font-size: 72px; }
}

/* ===== PAGE HEADER (sub-pages) ===== */
.page-head{
  position: relative;
  padding: 180px 0 100px;
  background: var(--navy);
  color: var(--paper);
  overflow: hidden;
}
.page-head::before{
  content: '';
  position: absolute;
  top: -200px; right: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212, 167, 90, 0.18), transparent 60%);
}
.page-head::after{
  content: '';
  position: absolute;
  bottom: -300px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212, 167, 90, 0.06), transparent 60%);
}
.page-head .container{ position: relative; }
.breadcrumb{
  font-size: 12px;
  color: rgba(247, 242, 233, 0.5);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.breadcrumb a{
  color: rgba(247, 242, 233, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover{ color: var(--gold); }
.breadcrumb .sep{ margin: 0 10px; color: rgba(247, 242, 233, 0.3); }
.page-head h1{
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
  max-width: 960px;
  margin-bottom: 24px;
}
.page-head h1 em{
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 300;
}
.page-head .lead{
  font-size: 19px;
  color: rgba(247, 242, 233, 0.78);
  max-width: 620px;
  line-height: 1.6;
}

/* ===== SECTION HEADER ===== */
section{ padding: 120px 0; position: relative; }
.section-head{ margin-bottom: 64px; max-width: 720px; }
.section-head h2{
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--navy);
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.section-head h2 em{
  font-style: italic;
  color: var(--gold-deep);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 300;
}
.section-head p{ color: var(--muted); font-size: 17px; max-width: 580px; }

/* ===== MISSION (home) ===== */
.mission{
  background: var(--navy);
  color: var(--paper);
  border-radius: 32px;
  margin: 0 32px;
  padding: 100px 80px;
  position: relative;
  overflow: hidden;
}
.mission::before{
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212, 167, 90, 0.15), transparent 70%);
}
.mission-inner{ position: relative; max-width: 1280px; margin: 0 auto; }
.mission-grid{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.mission-label{
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.mission h2{
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  margin-bottom: 0;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.mission h2 em{
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 300;
}
.mission-body p{
  font-size: 18px;
  line-height: 1.7;
  color: rgba(247, 242, 233, 0.85);
  margin-bottom: 24px;
}
.mission-body p:last-child{ margin-bottom: 0; }
.mission-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line-cream);
}
.mission-stat .num{
  font-family: 'Fraunces', serif;
  font-size: 48px;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
}
.mission-stat .lbl{
  font-size: 12px;
  color: rgba(247, 242, 233, 0.7);
  margin-top: 8px;
  letter-spacing: 0.05em;
}

@media (max-width: 900px){
  .mission{ padding: 60px 32px; margin: 0 16px; border-radius: 24px; }
  .mission-grid{ grid-template-columns: 1fr; gap: 32px; }
  .mission-stats{ grid-template-columns: 1fr; gap: 20px; }
}

/* ===== HERO IMAGE CARD (home) ===== */
.hero-card.image{
  inset: 0;
  background: var(--navy);
}
.hero-card.image .img-fill{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.9);
}
.hero-card.image::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(37,43,71,0.6) 0%, rgba(27,32,56,0.75) 100%);
}
.hero-card.image > *{ position: relative; z-index: 2; }

/* ===== PAGE HEAD with IMAGE ===== */
.page-head.with-image{ background: var(--navy-deep); }
.page-head.with-image .bg-img{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(0.6);
  z-index: 0;
}
.page-head.with-image::before{ z-index: 1; }
.page-head.with-image::after{ z-index: 1; }
.page-head.with-image .container{ z-index: 2; }

/* ===== PROGRAMS GRID ===== */
.programs-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.programs-head .section-head{ margin-bottom: 0; flex: 1; min-width: 320px; }
.programs-counter{
  font-family: 'Fraunces', serif;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.programs-counter span{
  color: var(--navy);
  font-size: 32px;
  margin-right: 6px;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.programs-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.program{
  background: var(--paper);
  padding: 0;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.program::before{
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}
.program:hover::before{ transform: translateY(0); }

.p-image{
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}
.p-image img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  filter: saturate(0.9) brightness(0.95);
}
.program:hover .p-image img{
  transform: scale(1.06);
  filter: saturate(1) brightness(0.85);
}
.p-image::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(37,43,71,0.35) 100%);
  pointer-events: none;
}

.p-content{
  position: relative;
  z-index: 1;
  padding: 32px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
  transition: color 0.3s;
}
.p-content > *{ transition: color 0.3s; }
.program:hover .p-num,
.program:hover .p-title,
.program:hover .p-desc,
.program:hover .p-list li,
.program:hover .p-tag{ color: var(--paper); }
.program:hover .p-list li::before{ background: var(--gold); }
.program:hover .p-tag{ border-color: var(--gold); color: var(--gold); }
.program:hover .p-arrow{ color: var(--gold); transform: translate(4px, -4px); }

.p-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.p-num{
  font-family: 'Fraunces', serif;
  font-size: 13px;
  color: var(--gold-deep);
  letter-spacing: 0.15em;
  font-variation-settings: "opsz" 144;
}
.p-icon{
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
}
.program:hover .p-icon{ color: var(--gold); }
.p-title{
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 26px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.p-desc{
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.p-list{
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}
.p-list li{
  font-size: 13px;
  color: var(--ink);
  padding: 6px 0 6px 16px;
  position: relative;
  line-height: 1.5;
}
.p-list li::before{
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 6px; height: 1px;
  background: var(--gold-deep);
  transition: all 0.3s;
}
.p-foot{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.p-tag{
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.3s;
}
.p-arrow{
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--gold-deep);
  transition: all 0.3s;
}

@media (max-width: 1024px){ .programs-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .programs-grid{ grid-template-columns: 1fr; } }

/* ===== STRENGTHS ===== */
.strengths{ background: var(--cream); }
.strengths-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.strength{
  padding: 40px 24px;
  border-right: 1px solid var(--line);
  text-align: left;
  position: relative;
}
.strength:last-child{ border-right: 0; }
.strength-num{
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--gold-deep);
  font-size: 14px;
  margin-bottom: 24px;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.strength h4{
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 20px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
@media (max-width: 900px){
  .strengths-grid{ grid-template-columns: repeat(2, 1fr); }
  .strength{ border-bottom: 1px solid var(--line); padding: 28px 20px; }
  .strength:nth-child(2n){ border-right: 0; }
  .strength:last-child{ grid-column: 1 / -1; border-right: 0; }
}

/* ===== APPROACH ===== */
.approach-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.approach-list{ list-style: none; counter-reset: a; }
.approach-list li{
  counter-increment: a;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
.approach-list li:last-child{ border-bottom: 0; }
.approach-list li::before{
  content: counter(a, decimal-leading-zero);
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-style: italic;
  color: var(--gold-deep);
  font-size: 24px;
  line-height: 1;
  padding-top: 4px;
}
.approach-list h4{
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144;
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
}
.approach-list p{ color: var(--muted); font-size: 14px; }
.approach-aside{
  background: var(--gold);
  border-radius: 24px;
  padding: 48px;
  color: var(--navy-deep);
  position: sticky;
  top: 100px;
}
.approach-aside .label{
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
}
.approach-aside h3{
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 36px;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 400;
}
.approach-aside h3 em{
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 300;
}
.approach-aside p{
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 32px;
}
.approach-aside .btn-aside{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--paper);
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
}
.approach-aside .btn-aside:hover{ background: var(--navy-deep); transform: translateY(-2px); }

@media (max-width: 900px){
  .approach-grid{ grid-template-columns: 1fr; gap: 40px; }
  .approach-aside{ position: static; padding: 32px; }
}

/* ===== FORMATION DETAIL PAGE ===== */
.formation-meta{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-cream);
  margin-top: 60px;
  padding-top: 40px;
}
.formation-meta > div{
  border-right: 1px solid var(--line-cream);
  padding-right: 24px;
}
.formation-meta > div:last-child{ border-right: 0; padding-right: 0; }
.formation-meta .lbl{
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 600;
}
.formation-meta .val{
  font-family: 'Fraunces', serif;
  font-size: 18px;
  color: var(--paper);
  line-height: 1.4;
}
@media (max-width: 700px){
  .formation-meta{ grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .formation-meta > div{ border-right: 0; padding-right: 0; }
}

.f-content{
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}
.f-main h2{
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 36px;
  color: var(--navy);
  margin: 56px 0 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.f-main h2:first-child{ margin-top: 0; }
.f-main h2 em{
  font-style: italic;
  color: var(--gold-deep);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 300;
}
.f-main p{
  font-size: 16px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 16px;
}
.f-main ul.modules{
  list-style: none;
  margin: 24px 0;
  border-top: 1px solid var(--line);
}
.f-main ul.modules li{
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
}
.f-main ul.modules li .num{
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-style: italic;
  color: var(--gold-deep);
  font-size: 22px;
}
.f-main ul.modules li h4{
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144;
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
}
.f-main ul.modules li p{
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.f-main ul.objectives{
  list-style: none;
  margin: 16px 0 24px;
}
.f-main ul.objectives li{
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15px;
  line-height: 1.6;
}
.f-main ul.objectives li::before{
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 14px;
}

.f-sidebar{ position: sticky; top: 100px; }
.f-card{
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 16px;
}
.f-card h4{
  font-family: 'Fraunces', serif;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 16px;
  font-weight: 500;
}
.f-card .row{
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.f-card .row:first-of-type{ border-top: 0; }
.f-card .row .k{ color: var(--muted); }
.f-card .row .v{ color: var(--navy); font-weight: 600; }
.f-card-cta{
  background: var(--navy);
  color: var(--paper);
  border-radius: 16px;
  padding: 32px;
}
.f-card-cta h4{
  font-family: 'Fraunces', serif;
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 500;
}
.f-card-cta h4 em{
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 300;
}
.f-card-cta p{
  font-size: 14px;
  color: rgba(247, 242, 233, 0.7);
  margin-bottom: 24px;
  line-height: 1.5;
}
.f-card-cta .btn{ width: 100%; justify-content: center; }

@media (max-width: 900px){
  .f-content{ grid-template-columns: 1fr; gap: 40px; }
  .f-sidebar{ position: static; }
}

/* ===== RELATED ===== */
.related{
  background: var(--cream);
  padding: 80px 0;
}
.related-head{
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.related-head h3{
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144;
  font-size: 32px;
  color: var(--navy);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.related-head h3 em{
  font-style: italic;
  color: var(--gold-deep);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.related-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card{
  background: var(--paper);
  padding: 32px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  transition: all 0.3s;
}
.related-card:hover{
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px -20px rgba(37, 43, 71, 0.2);
}
.related-card .num{
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--gold-deep);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.related-card h4{
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--navy);
  margin: 16px 0 8px;
  font-weight: 500;
  line-height: 1.2;
}
.related-card p{
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 800px){ .related-grid{ grid-template-columns: 1fr; } }

/* ===== ABOUT PAGE ===== */
.about-intro{ padding: 120px 0; }
.about-intro-grid{
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about-intro h2{
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: -0.02em;
  font-weight: 400;
}
.about-intro h2 em{
  font-style: italic;
  color: var(--gold-deep);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 300;
}
.about-image{
  position: relative;
  margin-top: 28px;
  aspect-ratio: 4/5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(37, 43, 71, 0.25);
}
.about-image img{ width: 100%; height: 100%; object-fit: cover; }
.about-image::after{
  content: '';
  position: absolute;
  bottom: -24px; right: -24px;
  width: 120px; height: 120px;
  background: var(--gold);
  border-radius: 16px;
  z-index: -1;
}
.about-intro .body p{
  font-size: 17px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-intro .body p:first-child::first-letter{
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 72px;
  float: left;
  line-height: 0.85;
  margin: 8px 12px 0 0;
  color: var(--gold-deep);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
@media (max-width: 900px){
  .about-intro-grid{ grid-template-columns: 1fr; gap: 40px; }
}

.values{ background: var(--cream); padding: 100px 0; }
.values-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.value{
  background: var(--paper);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--line);
  transition: all 0.3s;
}
.value:hover{ border-color: var(--gold); transform: translateY(-4px); }
.value .ico{
  width: 48px; height: 48px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.value h3{
  font-family: 'Fraunces', serif;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 500;
}
.value p{ font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 800px){ .values-grid{ grid-template-columns: 1fr; } }

.numbers{ padding: 120px 0; }
.numbers-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.number-cell{
  padding: 56px 24px;
  border-right: 1px solid var(--line);
  text-align: left;
}
.number-cell:last-child{ border-right: 0; }
.number-cell .n{
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144;
  font-size: 72px;
  color: var(--navy);
  line-height: 1;
  font-weight: 400;
}
.number-cell .n em{
  font-style: italic;
  color: var(--gold-deep);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 300;
}
.number-cell .l{
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  letter-spacing: 0.05em;
}
@media (max-width: 800px){
  .numbers-grid{ grid-template-columns: repeat(2, 1fr); }
  .number-cell{ border-bottom: 1px solid var(--line); padding: 32px 20px; }
  .number-cell:nth-child(2n){ border-right: 0; }
}

/* ===== CONTACT ===== */
.contact-section{
  background: var(--navy);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.contact-section::before{
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212, 167, 90, 0.12), transparent 60%);
}
.contact-inner{ position: relative; }
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-block{
  border-top: 1px solid var(--line-cream);
  padding-top: 24px;
  margin-bottom: 32px;
}
.contact-block .lbl{
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}
.contact-block a, .contact-block .val{
  display: block;
  color: var(--paper);
  text-decoration: none;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  line-height: 1.4;
  transition: color 0.3s;
  font-weight: 400;
}
.contact-block a:hover{ color: var(--gold); }
.contact-phones{ display: flex; flex-direction: column; gap: 4px; }
.contact-phones a{ font-size: 18px; }

.contact-form{
  background: rgba(247, 242, 233, 0.04);
  border: 1px solid var(--line-cream);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
}
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field{ position: relative; }
.form-field label{
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 600;
}
.form-field input,
.form-field select,
.form-field textarea{
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-cream);
  padding: 12px 0;
  color: var(--paper);
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  transition: border-color 0.3s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  outline: 0;
  border-bottom-color: var(--gold);
}
.form-field input::placeholder,
.form-field textarea::placeholder{ color: rgba(247, 242, 233, 0.4); }
.form-field select{ appearance: none; cursor: pointer; }
.form-field select option{ background: var(--navy-deep); color: var(--paper); }
.form-field textarea{ resize: vertical; min-height: 100px; }
.form-field.full{ grid-column: 1 / -1; }
.form-submit{
  width: 100%;
  background: var(--gold);
  color: var(--navy-deep);
  border: 0;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 16px;
  font-family: 'Manrope', sans-serif;
  text-transform: uppercase;
}
.form-submit:hover{ background: var(--gold-soft); transform: translateY(-2px); }
.form-success{
  color: var(--gold);
  font-size: 14px;
  margin-top: 16px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s;
}
.form-success.show{ opacity: 1; }

@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; gap: 48px; }
  .contact-form{ padding: 28px; }
  .form-row{ grid-template-columns: 1fr; }
}

/* CONTACT PAGE specific */
.contact-page-wrap{ background: var(--paper); padding: 100px 0; }
.contact-info-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 80px;
}
.cig-cell{
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cig-cell:first-child{ border-left: 1px solid var(--line); }
.cig-cell .ico{
  width: 40px; height: 40px;
  background: var(--cream);
  color: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.cig-cell .lbl{
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 8px;
}
.cig-cell a, .cig-cell .val{
  font-family: 'Fraunces', serif;
  font-size: 18px;
  color: var(--navy);
  text-decoration: none;
  display: block;
  line-height: 1.4;
  transition: color 0.2s;
}
.cig-cell a:hover{ color: var(--gold-deep); }
@media (max-width: 800px){
  .contact-info-grid{ grid-template-columns: repeat(2, 1fr); }
  .cig-cell{ border-left: 1px solid var(--line); }
  .cig-cell:nth-child(2n){ border-right: 1px solid var(--line); }
}
@media (max-width: 480px){ .contact-info-grid{ grid-template-columns: 1fr; } }

.contact-form-light{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.cfl-side h3{
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 32px;
  color: var(--navy);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 16px;
}
.cfl-side h3 em{
  font-style: italic;
  color: var(--gold-deep);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-weight: 300;
}
.cfl-side p{ color: var(--muted); font-size: 15px; line-height: 1.6; }
.contact-form-light .form-field label{ color: var(--gold-deep); }
.contact-form-light .form-field input,
.contact-form-light .form-field select,
.contact-form-light .form-field textarea{
  color: var(--ink);
  border-bottom-color: var(--line);
}
.contact-form-light .form-field input:focus,
.contact-form-light .form-field select:focus,
.contact-form-light .form-field textarea:focus{ border-bottom-color: var(--gold-deep); }
.contact-form-light .form-field input::placeholder,
.contact-form-light .form-field textarea::placeholder{ color: rgba(26, 31, 53, 0.3); }
.contact-form-light .form-field select option{ background: var(--paper); color: var(--ink); }
.contact-form-light .form-submit{ background: var(--navy); color: var(--paper); }
.contact-form-light .form-submit:hover{ background: var(--navy-deep); }
.contact-form-light .form-success{ color: var(--navy); }
@media (max-width: 900px){
  .contact-form-light{ grid-template-columns: 1fr; gap: 32px; padding: 32px; }
}

/* Map block — clickable styled card */
.map-block{
  margin-top: 80px;
  border-radius: 20px;
  overflow: hidden;
}
.map-card{
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.map-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -30px rgba(37,43,71,0.4);
}
.map-card-visual{
  position: relative;
  height: 360px;
  background: var(--navy-deep);
}
.map-card-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.map-card-info{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  background: var(--navy);
  color: var(--paper);
  padding: 24px 32px;
  border-top: 1px solid var(--line-cream);
}
.map-card-pin{
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(212,167,90,0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.map-card-lbl{
  font-family: 'Fraunces', serif;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 500;
}
.map-card-addr{
  font-size: 13px;
  color: rgba(247,242,233,0.7);
  line-height: 1.5;
}
.map-card-cta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.map-card-cta span{ transition: transform 0.3s; }
.map-card:hover .map-card-cta{ background: var(--gold-soft); }
.map-card:hover .map-card-cta span{ transform: translateX(4px); }
@media (max-width: 700px){
  .map-card-visual{ height: 240px; }
  .map-card-info{ padding: 20px; gap: 14px; grid-template-columns: auto 1fr; }
  .map-card-cta{ grid-column: 1 / -1; justify-content: center; }
}

/* ===== FOOTER ===== */
footer{
  background: var(--navy-deep);
  color: rgba(247, 242, 233, 0.7);
  padding: 64px 0 32px;
  border-top: 1px solid var(--line-cream);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand svg{ height: 32px; margin-bottom: 16px; color: var(--paper); }
.footer-brand p{ font-size: 14px; max-width: 280px; }
.footer-col h5{
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col a, .footer-col span{
  display: block;
  color: rgba(247, 242, 233, 0.7);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover{ color: var(--gold); }
.footer-bottom{
  border-top: 1px solid var(--line-cream);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom em{
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand{ grid-column: 1 / -1; }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal{ opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in{ opacity: 1; transform: translateY(0); }
.reveal-stagger > *{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.in > *{ opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1){ transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2){ transition-delay: 0.10s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay: 0.20s; }
.reveal-stagger.in > *:nth-child(5){ transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(6){ transition-delay: 0.30s; }
.reveal-stagger.in > *:nth-child(7){ transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(8){ transition-delay: 0.40s; }
.reveal-stagger.in > *:nth-child(9){ transition-delay: 0.45s; }
.reveal-stagger.in > *:nth-child(10){ transition-delay: 0.50s; }
.reveal-stagger.in > *:nth-child(11){ transition-delay: 0.55s; }

/* ============================================================
   PAGE HEADER WITH IMAGE BACKGROUND
   ============================================================ */
.page-head-with-image{
  position: relative;
  isolation: isolate;
}
.page-head-image{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.5;
}
.page-head-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(27,32,56,0.6) 0%, rgba(27,32,56,0.95) 90%),
    linear-gradient(90deg, rgba(27,32,56,0.95) 0%, rgba(27,32,56,0.4) 100%);
  z-index: 1;
}
.page-head-with-image .container{ position: relative; z-index: 2; }
.page-head-with-image::before,
.page-head-with-image::after{ z-index: 1; }

/* ============================================================
   ABOUT PAGE — image frame with floating tag
   ============================================================ */
.about-intro-visual{
  position: relative;
}
.about-image-frame{
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 30px 80px -30px rgba(37,43,71,0.35);
}
.about-image-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-image-frame::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(27,32,56,0.25) 100%);
  pointer-events: none;
}
.about-image-tag{
  position: absolute;
  bottom: -28px;
  right: -28px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 24px 32px;
  border-radius: 16px;
  box-shadow: 0 20px 50px -20px rgba(212,167,90,0.5);
  z-index: 2;
}
.about-image-tag .lbl{
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.about-image-tag .val{
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
}
@media (max-width: 900px){
  .about-image-tag{ bottom: -20px; right: 20px; padding: 16px 22px; }
  .about-image-tag .val{ font-size: 24px; }
}

/* On mobile, skip reveal animations entirely to avoid IntersectionObserver
   missing elements during fast scrolls or when elements are taller than viewport */
@media (max-width: 900px){
  .reveal{ opacity: 1 !important; transform: none !important; }
  .reveal-stagger > *{ opacity: 1 !important; transform: none !important; }
}

/* Also respect reduced motion preferences universally */
@media (prefers-reduced-motion: reduce){
  .reveal, .reveal-stagger > *{ opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   LOGO PNG SIZING
   ============================================================ */
.logo-img{
  height: 38px;
  width: auto;
  display: block;
  user-select: none;
}
.footer-brand .logo-img{
  height: 38px;
  margin-bottom: 16px;
}
.about-image-frame img.logo-img{ /* never apply to logo, just defensive */ height: auto; }

@media (max-width: 700px){
  .logo-img{ height: 32px; }
}
