:root {
  --ink: #06070d;
  --ink-soft: #222632;
  --muted: #5d6573;
  --paper: #f8f9fa;
  --surface: #f2f3f5;
  --white: #ffffff;
  --black: #00020a;
  --navy: #0a1c3a;
  --gold: #c9922a;
  --gold-soft: #f5e4be;
  --gold-pale: #fdf8ee;
  --line: #e2dbd0;
  --line-strong: #c8cbd2;
  --shadow: 0 22px 60px rgba(10, 28, 58, 0.10);
  --radius: 6px;
  --radius-lg: 12px;
  --container: min(1120px, calc(100% - 40px));
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 249, 250, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  width: var(--container);
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-width: 172px;
  display: inline-flex;
  align-items: center;
  color: var(--black);
}

.brand span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links .btn-secondary {
  order: 1;
}

.nav-links .btn-primary {
  order: 2;
}

.nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-bottom: none;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--black);
}

/* ── LIQUID GLASS BUTTONS ───────────────────────────────────── */
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 30px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Top-sheen glass highlight shared by all buttons */
.btn::after {
  content: "";
  position: absolute;
  inset: 0 0 55% 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 100%);
  border-radius: 999px 999px 0 0;
  pointer-events: none;
  z-index: 1;
}

/* ── Primary: dark liquid glass ─────────────────────────────── */
.btn-primary {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.00) 50%),
    rgba(6, 7, 13, 0.94);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 6px 28px rgba(0, 2, 10, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.10) inset,
    0 -1px 0 rgba(0, 0, 0, 0.18) inset;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.00) 50%),
    rgba(201, 146, 42, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 10px 36px rgba(201, 146, 42, 0.42),
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 -1px 0 rgba(0, 0, 0, 0.08) inset;
}

/* ── Secondary: frosted light glass ────────────────────────── */
.btn-secondary,
.btn-outline-navy {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.70) 0%, rgba(255,255,255,0.40) 100%);
  color: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.80);
  box-shadow:
    0 4px 18px rgba(10, 28, 58, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 -1px 0 rgba(10, 28, 58, 0.05) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible,
.btn-outline-navy:hover,
.btn-outline-navy:focus-visible {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.60) 100%);
  border-color: rgba(201, 146, 42, 0.55);
  color: var(--gold);
  box-shadow:
    0 8px 28px rgba(10, 28, 58, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 -1px 0 rgba(201, 146, 42, 0.08) inset;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--black);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(10, 28, 58, 0.07), inset 0 1px 0 rgba(255,255,255,0.90);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 16px rgba(10, 28, 58, 0.10), inset 0 1px 0 rgba(255,255,255,0.98);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 86vh;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 148px 0 104px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 70% at 50% 0%, rgba(201, 146, 42, 0.09) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(10, 28, 58, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 10% 80%, rgba(201, 146, 42, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-inner,
.page-hero-inner,
.split,
.section-head,
.program-grid,
.cta-band,
.contact-grid,
.contact-layout,
.legal-content,
.footer-inner {
  width: var(--container);
  margin: 0 auto;
}

.hero-inner {
  max-width: 820px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--gold-pale);
  color: var(--black);
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.section-kicker::before {
  display: none;
}

h1,
h2,
.footer-title {
  color: var(--black);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.08;
}

h1 {
  max-width: 790px;
  margin: 0 auto 24px;
  font-size: clamp(2.65rem, 6.2vw, 4.95rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  font-weight: 800;
}

h3 {
  color: var(--black);
  font-size: 1.05rem;
  line-height: 1.35;
}

.hero p,
.page-hero p {
  max-width: 690px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.section {
  padding: 96px 0;
}

.section-white {
  background: var(--white);
}

.section-navy {
  color: var(--white);
  background: var(--black);
}

.section-navy h2,
.section-navy .section-kicker {
  color: var(--white);
}

.section-navy p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.74);
}

.section-navy .btn-primary {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 55%),
    rgba(201, 146, 42, 0.88);
  color: var(--black);
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow:
    0 6px 28px rgba(201, 146, 42, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
}

.section-navy .btn-primary:hover,
.section-navy .btn-primary:focus-visible {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 55%),
    rgba(201, 146, 42, 1);
  box-shadow:
    0 10px 36px rgba(201, 146, 42, 0.50),
    0 1px 0 rgba(255, 255, 255, 0.28) inset;
}

.section-navy .btn-secondary,
.section-navy .btn-outline-navy {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.06) 100%);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.20),
    0 1px 0 rgba(255, 255, 255, 0.16) inset;
}

.section-navy .btn-secondary:hover,
.section-navy .btn-outline-navy:hover {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.10) 100%);
  border-color: rgba(201, 146, 42, 0.60);
  color: var(--gold-soft);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 72px;
  align-items: center;
}

.history {
  background: var(--surface);
}

.history-copy p,
.rich-copy p,
.lead {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 22px;
}

.history-copy blockquote {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--gold);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(10, 28, 58, 0.04);
}

.history-copy blockquote p {
  margin: 0;
  color: var(--black);
  font-style: italic;
  font-weight: 500;
}

.founders-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.founders-pill span:first-child {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--gold-pale);
  color: var(--gold);
}

.history-visual {
  position: relative;
}

.history-visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -34px;
  right: -34px;
  width: 150px;
  height: 150px;
  opacity: 0.75;
  background-image: radial-gradient(var(--gold-soft) 2px, transparent 2px);
  background-size: 16px 16px;
}

.history-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 8px;
  box-shadow: var(--shadow);
}

.history-frame img,
.history-frame video {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: contain;
  display: block;
  background: var(--surface);
}

.history-card {
  position: absolute;
  z-index: 2;
  left: -28px;
  bottom: -28px;
  max-width: 230px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(10, 28, 58, 0.12);
}

.history-card > span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: var(--radius);
  background: #e7edff;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
}

.history-card h3 {
  margin-bottom: 6px;
}

.history-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.rich-copy {
  padding-top: 8px;
}

.rich-copy strong {
  color: var(--black);
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  font-weight: 700;
  border-bottom: none;
  padding-bottom: 0;
  transition: color 0.2s ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--gold);
}

.section-head {
  max-width: 790px;
  margin-bottom: 38px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.program-grid-four {
  grid-template-columns: repeat(4, 1fr);
}

.program-card {
  min-height: 214px;
  background: var(--white);
  padding: 30px;
}

.card-number {
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 18px;
}

.program-card h3 {
  margin-bottom: 10px;
}

.program-card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.58;
}

.page-hero {
  min-height: 52vh;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 144px 0 86px;
  text-align: center;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 5.4vw, 4.55rem);
}

.page-hero .eyebrow {
  margin-bottom: 24px;
}

.page-hero-legal {
  min-height: 42vh;
}

.programs-hero,
.story-hero {
  border-bottom: 1px solid var(--line);
}

.programs-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 142px 0 92px;
  background:
    linear-gradient(180deg, rgba(248, 249, 250, 0.76), var(--paper) 88%),
    url("gg.webp") center / cover;
}

.programs-hero-inner,
.admission-layout,
.compact-cta,
.story-hero-inner,
.founder-card-grid,
.value-grid,
.pillar-grid {
  width: var(--container);
  margin: 0 auto;
}

.programs-hero-inner {
  max-width: 790px;
  text-align: center;
}

.programs-hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.35rem);
}

.programs-hero p {
  max-width: 650px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 1.05rem;
}

.programs-hero .btn,
.programs-cta .btn {
  text-transform: uppercase;
}

.section-head-centered {
  text-align: center;
}

.section-head-centered p {
  max-width: 650px;
  margin: 14px auto 0;
  color: var(--muted);
}

.pillar-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card,
.value-card {
  min-height: 260px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--white);
  padding: 34px;
  box-shadow: 0 4px 12px rgba(10, 28, 58, 0.05);
}

.pillar-card {
  border-top: 4px solid var(--gold);
}

.pillar-icon,
.value-card span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 900;
}

.pillar-card h3,
.value-card h3 {
  margin-bottom: 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.pillar-card p,
.value-card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.62;
}

.admission-section {
  background: var(--paper);
}

.admission-layout {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 72px;
  align-items: center;
}

.admission-layout h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.2vw, 2.85rem);
}

.admission-steps {
  display: grid;
  gap: 30px;
  margin-top: 34px;
  list-style: none;
}

.admission-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
}

.admission-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  left: 17px;
  width: 1px;
  height: calc(100% + 30px);
  background: var(--line-strong);
}

.admission-steps span {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
}

.admission-steps h3 {
  margin-bottom: 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
}

.admission-steps p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.58;
}

.admission-image {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(10, 28, 58, 0.05);
}

.admission-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--white);
}

.programs-cta {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: #e1e3e4;
}

.compact-cta {
  max-width: 850px;
  text-align: center;
}

.compact-cta h2 {
  font-size: clamp(1.9rem, 3vw, 2.65rem);
}

.compact-cta p {
  margin: 18px auto 32px;
  color: var(--muted);
}

.story-hero {
  padding: 156px 0 110px;
  background: var(--paper);
}

.story-hero-inner {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 84px;
  align-items: center;
}

.story-hero-copy h1 {
  margin-left: 0;
  font-size: clamp(2.55rem, 5.4vw, 4.55rem);
}

.story-hero-copy p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.07rem;
}

.story-hero-card {
  overflow: hidden;
  border: 1px solid rgba(216, 226, 255, 0.16);
  border-radius: 8px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 28px;
  box-shadow: 0 18px 48px rgba(10, 28, 58, 0.14);
}

.story-card-header,
.story-card-footer {
  border: 1px solid rgba(216, 226, 255, 0.16);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.story-card-header {
  margin-bottom: 20px;
  padding: 12px;
}

.story-card-footer {
  margin-top: 18px;
  padding: 10px;
}

.story-hero-card img {
  width: 100%;
  aspect-ratio: 4 / 2.45;
  object-fit: contain;
  background: var(--navy);
}

.founders-section {
  background: var(--surface);
}

.founder-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.founder-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(10, 28, 58, 0.04);
}

.founder-card img,
.founder-card video {
  width: 100%;
  height: 245px;
  object-fit: contain;
  display: block;
  background: var(--surface);
}

.founder-card div {
  position: relative;
  padding: 34px;
}

.founder-card div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold);
}

.founder-card h3 {
  margin-bottom: 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
}

.founder-card p {
  color: var(--muted);
}

.values-section {
  background: var(--paper);
}

.value-card {
  text-align: center;
}

.value-card span {
  margin-right: auto;
  margin-left: auto;
}

.value-card-featured {
  border-top: 4px solid var(--gold);
}

.value-card-featured span {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band p:not(.section-kicker) {
  max-width: 620px;
  margin-top: 16px;
  font-size: 1.05rem;
}

.contact-section {
  background: var(--surface);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
  gap: 64px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 22px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  padding: 34px;
  box-shadow: 0 16px 48px rgba(10, 28, 58, 0.04);
}

.form-rule {
  width: 100%;
  height: 4px;
  background: var(--gold);
}

.contact-form h2,
.contact-aside h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.contact-form > p {
  color: var(--muted);
  margin-top: -12px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
  font-weight: 500;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 146, 42, 0.18);
}

.contact-form .btn {
  width: 100%;
  margin-top: 4px;
  text-transform: uppercase;
}

.contact-aside {
  display: grid;
  gap: 54px;
  padding-top: 6px;
}

.direct-contact {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.direct-contact a {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: baseline;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 600;
}

.direct-contact span {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
}

.faq {
  display: grid;
  gap: 4px;
}

.faq h2 {
  margin-bottom: 12px;
}

.faq-item {
  border-bottom: 1px solid var(--line-strong);
}

.faq-button {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.faq-button span {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.faq-button span::before,
.faq-button span::after {
  content: "";
  position: absolute;
  inset: 7px 0 auto;
  height: 2px;
  border-radius: 999px;
  background: var(--muted);
  transition: transform 180ms ease;
}

.faq-button span::after {
  transform: rotate(90deg);
}

.faq-button[aria-expanded="true"] span::after {
  transform: rotate(0deg);
}

.faq-item p {
  overflow: hidden;
  max-height: 0;
  color: var(--muted);
  padding: 0 34px 0 0;
  font-size: 0.98rem;
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1), padding 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open p {
  max-height: 300px;
  padding-bottom: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 32px;
}

.contact-item {
  display: grid;
  gap: 6px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.contact-item span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-item a {
  color: var(--black);
  font-weight: 800;
}

.legal-content {
  max-width: 850px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 42px;
}

.legal-content h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  margin: 28px 0 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 14px;
}

.legal-content .section-head {
  width: auto;
  max-width: none;
  margin: 0 0 24px;
}

.legal-content ul {
  display: grid;
  gap: 10px;
  margin: 0 0 20px 22px;
  color: var(--muted);
}

.legal-content li {
  padding-left: 4px;
}

.legal-content a {
  color: var(--navy);
  font-weight: 700;
}

.legal-content a:hover {
  color: var(--gold);
}

.footer {
  color: rgba(216, 226, 255, 0.78);
  background: var(--black);
  padding: 58px 0 24px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  display: none;
}

.footer-brand {
  margin-bottom: 16px;
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.footer-title {
  color: var(--gold-soft);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer p,
.footer a {
  font-size: 0.96rem;
}

.footer a {
  transition: color 180ms ease;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--gold-soft);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.social-link svg {
  width: 22px;
  height: 22px;
  color: var(--gold-soft);
  flex: 0 0 auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  color: rgba(216, 226, 255, 0.64);
  font-size: 0.9rem;
}

.footer-light {
  color: var(--muted);
  background: #e1e3e4;
  border-top: 1px solid var(--line-strong);
  padding: 64px 0;
}

.footer-light .footer-main {
  padding-bottom: 0;
  border-bottom: 0;
}

.footer-light .footer-brand,
.footer-light .footer-title {
  color: var(--black);
}

.footer-light a:hover,
.footer-light a:focus-visible {
  color: var(--gold);
}

.footer-light .social-link svg {
  color: var(--gold);
}

.footer-light .footer-bottom {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 10px;
}

@media (max-width: 1080px) {
  .program-grid-four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 940px) {
  .nav {
    min-height: 84px;
  }

  .brand span {
    font-size: 1.38rem;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 84px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: scaleY(0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link,
  .nav-links .btn {
    width: 100%;
  }

  .nav-link {
    padding: 12px 6px;
  }

  .hero {
    min-height: auto;
    padding: 136px 0 92px;
  }

  .split,
  .contact-grid,
  .contact-layout,
  .pillar-grid,
  .admission-layout,
  .story-hero-inner,
  .founder-card-grid,
  .value-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .programs-hero {
    min-height: auto;
    padding: 132px 0 84px;
  }

  .story-hero {
    padding: 132px 0 84px;
  }

  .story-hero-copy h1 {
    margin-right: auto;
  }

  .admission-image {
    aspect-ratio: 16 / 11;
  }

  .rich-copy {
    padding-top: 0;
  }

  .program-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .program-card {
    min-height: auto;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .history-card {
    left: 18px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 3.1rem);
  }

  .hero p,
  .page-hero p {
    font-size: 1rem;
  }

  .btn,
  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .page-hero {
    min-height: auto;
    padding: 124px 0 62px;
  }

  .page-hero h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .programs-hero h1,
  .story-hero-copy h1 {
    font-size: clamp(2.15rem, 10vw, 3.05rem);
  }

  .programs-hero p,
  .story-hero-copy p {
    font-size: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .contact-panel,
  .legal-content,
  .pillar-card,
  .value-card,
  .founder-card div {
    padding: 26px;
  }

  .story-hero-card {
    padding: 18px;
  }

  .founder-card img,
  .founder-card video {
    height: 205px;
  }

  .admission-image {
    aspect-ratio: 4 / 3;
  }

  .history-visual::after {
    display: none;
  }

  .history-card {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .direct-contact a {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .brand {
    min-width: auto;
  }

  .brand span {
    font-size: 1.22rem;
  }

  h1 {
    font-size: 2rem;
  }
}

/* --- Added Brand and Footer Logo Styles --- */
.brand-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 940px) {
  .brand-logo {
    height: 60px;
  }
}

.footer-logo-img {
  height: 95px;
  width: auto;
  margin-bottom: 16px;
  object-fit: contain;
  display: block;
}

@media (max-width: 940px) {
  .footer-logo-img {
    height: 72px;
    margin: 0 auto 16px; /* center on mobile */
  }
}

/* --- Section Galerie Médias --- */
.media-showcase {
  background: var(--surface);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.media-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 28, 58, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(10, 28, 58, 0.08);
}

.media-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  display: block;
  background: var(--navy);
  border-bottom: 1px solid var(--line);
}

.media-card-info {
  padding: 24px;
}

.media-card-info h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

.media-card-info p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════
   PREMIUM ANIMATIONS AND FLUIDITY
   ══════════════════════════════════════════════════════════════ */

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Page fade-in */
body {
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Apply fade-in-up to key content sections */
.hero-inner,
.programs-hero-inner,
.page-hero-inner,
.story-hero-copy,
.contact-form,
.contact-aside {
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.history-visual,
.story-hero-card {
  animation: scaleIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.15s;
}

/* Smooth transition defaults */
.nav-link {
  transition: border-color 0.3s ease, color 0.3s ease;
}

.btn {
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.32s ease,
              color 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.32s ease,
              backdrop-filter 0.32s ease;
}

.program-card,
.pillar-card,
.value-card,
.founder-card,
.media-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.faq-button {
  transition: color 0.25s ease;
}

.history-frame img,
.history-frame video,
.admission-image img,
.story-hero-card img,
.founder-card img,
.founder-card video,
.media-card video {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Micro-interactions & premium hover effects */
.nav-link:hover {
  color: var(--gold);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.program-card:hover,
.pillar-card:hover,
.value-card:hover,
.founder-card:hover,
.media-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 28, 58, 0.08);
  border-color: var(--gold);
}

.history-frame:hover img,
.history-frame:hover video,
.founder-card:hover img,
.founder-card:hover video {
  transform: scale(1.03);
}

/* (scroll-behavior: smooth already set above) */


/* ══════════════════════════════════════════════════════════════
   HEADER COMPACT ON SCROLL
   ══════════════════════════════════════════════════════════════ */
.site-header {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 28px rgba(10, 28, 58, 0.08);
}

.site-header.is-scrolled .nav {
  min-height: 72px;
}

@media (max-width: 940px) {
  .site-header.is-scrolled .nav {
    min-height: 66px;
  }
}


/* ══════════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
   ══════════════════════════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, #e8b040 100%);
  transform-origin: left center;
  transform: scaleX(0);
}


/* ══════════════════════════════════════════════════════════════
   BACK TO TOP BUTTON
   ══════════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  z-index: 40;
  bottom: 28px;
  right: 24px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(10, 28, 58, 0.10);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  outline: none;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}


/* ══════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="scale"] {
  transform: scale(0.95) translateY(16px);
}

[data-reveal="left"] {
  transform: translateX(-32px);
}

[data-reveal="right"] {
  transform: translateX(32px);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

[data-reveal][data-delay="1"] { transition-delay: 0.10s; }
[data-reveal][data-delay="2"] { transition-delay: 0.20s; }
[data-reveal][data-delay="3"] { transition-delay: 0.30s; }
[data-reveal][data-delay="4"] { transition-delay: 0.42s; }
[data-reveal][data-delay="5"] { transition-delay: 0.54s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ══════════════════════════════════════════════════════════════
   STATS BAND
   ══════════════════════════════════════════════════════════════ */
.stats-band {
  padding: 56px 0;
}

.stats-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.stat-number {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold-soft);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

@media (max-width: 480px) {
  .stat-item {
    padding: 24px 14px;
  }
  .stat-number {
    font-size: 2rem;
  }
}


/* ══════════════════════════════════════════════════════════════
   EYEBROW ENHANCED
   ══════════════════════════════════════════════════════════════ */
.eyebrow {
  letter-spacing: 0.06em;
}


/* ══════════════════════════════════════════════════════════════
   HERO DECORATION DOTS
   ══════════════════════════════════════════════════════════════ */
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 60px;
  right: -20px;
  width: 180px;
  height: 180px;
  opacity: 0.5;
  background-image: radial-gradient(var(--gold-soft) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  pointer-events: none;
}

@media (max-width: 640px) {
  .hero::after {
    display: none;
  }
}


/* ══════════════════════════════════════════════════════════════
   PROGRAM CARD ENHANCEMENTS
   ══════════════════════════════════════════════════════════════ */
.program-card {
  position: relative;
  border-bottom: 3px solid transparent;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease,
              background 0.35s ease;
}

.program-card:hover {
  background: var(--gold-pale);
}


/* ══════════════════════════════════════════════════════════════
   SECTION KICKER SPACING
   ══════════════════════════════════════════════════════════════ */
.section-head {
  margin-bottom: 48px;
}


/* ══════════════════════════════════════════════════════════════
   MEDIA CARD VIDEO BORDER RADIUS
   ══════════════════════════════════════════════════════════════ */
.media-card {
  border-radius: var(--radius-lg);
}

.media-card video {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}


/* ══════════════════════════════════════════════════════════════
   HISTORY FRAME OBJECT-FIT COVER
   ══════════════════════════════════════════════════════════════ */
.history-frame img {
  object-fit: cover;
}


/* ══════════════════════════════════════════════════════════════
   FOOTER ENHANCEMENT
   ══════════════════════════════════════════════════════════════ */
.footer-logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-light .footer-logo-img {
  filter: none;
  opacity: 1;
}


/* ══════════════════════════════════════════════════════════════
   PILLAR CARD ICON IMPROVEMENT
   ══════════════════════════════════════════════════════════════ */
.pillar-card {
  border-radius: var(--radius-lg);
}

.value-card {
  border-radius: var(--radius-lg);
}

.founder-card {
  border-radius: var(--radius-lg);
}


/* ══════════════════════════════════════════════════════════════
   CONTACT FORM IMPROVEMENTS
   ══════════════════════════════════════════════════════════════ */
.contact-form {
  border-radius: var(--radius-lg);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: var(--radius);
  background: var(--paper);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 146, 42, 0.18);
}


/* ══════════════════════════════════════════════════════════════
   ADMISSION STEPS NUMBER BADGE
   ══════════════════════════════════════════════════════════════ */
.admission-steps span {
  border-radius: 50%;
}


/* ══════════════════════════════════════════════════════════════
   SCROLLBAR CUSTOM
   ══════════════════════════════════════════════════════════════ */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--surface);
}
::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}


/* ══════════════════════════════════════════════════════════════
   SELECTION COLOR
   ══════════════════════════════════════════════════════════════ */
::selection {
  background: rgba(201, 146, 42, 0.22);
  color: var(--black);
}

/* ══════════════════════════════════════════════════════════════
   PWA & GAMIFICATION UTILITIES
   ══════════════════════════════════════════════════════════════ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ══════════════════════════════════════════════════════════════
   NOS RÉSULTATS — section formations
   ══════════════════════════════════════════════════════════════ */
.resultats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 2rem auto 0;
}

.resultat-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(10, 28, 58, 0.08);
}

.resultat-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #faf8f4;
}

.resultat-item figcaption {
  padding: 0.65rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
}

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