:root {
  --ivory: #f4efea;
  --ivory-2: #ebe2d9;
  --paper: #fffdf9;
  --gold: #c6a15b;
  --gold-dark: #9d7838;
  --sage: #7a8a6a;
  --wine: #8c4a4a;
  --rose: #ca7972;
  --coral: #c46a6a;
  --charcoal: #2b2b2b;
  --charcoal-2: #202120;
  --ink-soft: #5f5a55;
  --line: rgba(43, 43, 43, 0.14);
  --shadow: 0 24px 70px rgba(61, 48, 35, 0.12);
  --radius: 28px;
  --radius-sm: 16px;
  --container: 1180px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--charcoal);
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; }

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

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Portal de entrada */
.portal-page { min-height: 100svh; background: var(--charcoal); }
.portal { display: grid; min-height: 100svh; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portal-choice { position: relative; display: flex; min-height: 100svh; align-items: stretch; overflow: hidden; text-decoration: none; }
.portal-choice img { width: 100%; height: 100%; min-height: 100svh; object-fit: cover; transition: transform 500ms ease, filter 300ms ease; }
.portal-choice::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 62%, rgba(0,0,0,.5)); opacity: .5; transition: opacity 250ms ease; }
.portal-choice:hover img { transform: scale(1.018); }
.portal-choice:hover::after { opacity: .78; }
.portal-action { position: absolute; right: clamp(18px,3vw,48px); bottom: clamp(20px,4vw,54px); left: clamp(18px,3vw,48px); z-index: 1; display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px; border: 1px solid currentColor; border-radius: 999px; color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(10px); }
.portal-school .portal-action { color: var(--charcoal); background: rgba(244,239,234,.72); }
.portal-academy .portal-action { color: var(--ivory); background: rgba(43,43,43,.62); }

@media (max-width: 720px) {
  .portal { grid-template-columns: 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .portal-choice { min-height: 50svh; }
  .portal-choice img { min-height: 50svh; object-position: center; }
  .portal-action { bottom: 16px; }
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: var(--charcoal);
  border-radius: 999px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section { padding: clamp(72px, 9vw, 128px) 0; }

.section-sm { padding: clamp(52px, 7vw, 88px) 0; }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 42px;
  height: 1px;
  content: "";
  background: currentColor;
}

.display-title,
h1, h2, h3, h4 {
  margin-top: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
}

h1 { font-size: clamp(3.1rem, 7vw, 6.7rem); }
h2 { font-size: clamp(2.55rem, 5vw, 4.5rem); }
h3 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
h4 { font-size: 1.45rem; }

.lead {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--charcoal);
  color: #fff;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--charcoal); }
.button-light { background: var(--ivory); color: var(--charcoal); }
.button-outline { border-color: currentColor; background: transparent; color: var(--charcoal); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(43, 43, 43, 0.08);
  background: rgba(244, 239, 234, 0.96);
  background: color-mix(in srgb, var(--ivory) 94%, transparent);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 76px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.site-nav a {
  position: relative;
  padding: 12px 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:not(.nav-accent)::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-accent {
  padding: 10px 16px !important;
  border-radius: 999px;
  background: var(--charcoal);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

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

.menu-toggle span { position: relative; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.hero-home {
  display: grid;
  min-height: calc(100svh - 94px);
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
  align-items: stretch;
}

.hero-copy {
  display: flex;
  align-items: center;
  padding: clamp(70px, 8vw, 128px) max(32px, calc((100vw - var(--container)) / 2));
  padding-right: clamp(38px, 6vw, 92px);
}

.hero-copy-inner { max-width: 690px; }

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 28px;
  letter-spacing: -0.035em;
}

.hero-copy h1 em {
  color: var(--gold-dark);
  font-weight: 500;
}

.hero-media { position: relative; min-height: 680px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(244,239,234,.12), transparent 28%);
}

.hero-note {
  position: absolute;
  right: clamp(18px, 4vw, 52px);
  bottom: clamp(18px, 4vw, 52px);
  z-index: 1;
  max-width: 280px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--radius-sm);
  background: rgba(43,43,43,.7);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  backdrop-filter: blur(12px);
}

.brand-strip {
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.28);
}

.brand-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.brand-value {
  padding: 28px clamp(18px, 3vw, 40px);
  border-right: 1px solid var(--line);
}

.brand-value:last-child { border-right: 0; }
.brand-value strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.brand-value span { color: var(--ink-soft); font-size: .82rem; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
}

.about-photo {
  position: relative;
  padding: 0 0 40px 40px;
}

.about-photo::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 68%;
  height: 62%;
  border-radius: var(--radius);
  content: "";
  background: var(--gold);
}

.about-photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 1.08 / 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.about-copy h2 { margin-bottom: 24px; }
.about-copy p { color: var(--ink-soft); }
.quote-line { margin-top: 28px; padding-left: 24px; border-left: 2px solid var(--gold); font-family: var(--font-display); font-size: 1.4rem; line-height: 1.35; }

.programs-section { background: var(--paper); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.section-heading-row h2 { max-width: 650px; margin-bottom: 0; }
.section-heading-row .lead { max-width: 450px; margin-bottom: 0; }

.program-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.program-card {
  position: relative;
  display: flex;
  min-height: 460px;
  grid-column: span 4;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
}

.program-card:nth-child(4), .program-card:nth-child(5) { grid-column: span 6; min-height: 410px; }
.program-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.program-card:hover img { transform: scale(1.035); }
.program-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 20%, rgba(20,20,20,.82) 100%); }
.program-card-copy { position: relative; z-index: 1; padding: 28px; }
.program-card-tag { display: inline-flex; margin-bottom: 14px; padding: 6px 11px; border-radius: 999px; background: var(--program-color); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.program-card h3 { margin-bottom: 8px; font-size: 2.2rem; }
.program-card p { margin: 0; color: rgba(255,255,255,.86); font-size: .9rem; line-height: 1.55; }
.program-kids { --program-color: var(--sage); }
.program-girls { --program-color: var(--rose); }
.program-teens { --program-color: var(--gold-dark); }
.program-maes { --program-color: var(--wine); }
.program-academy { --program-color: var(--charcoal); }
.program-club { --program-color: var(--wine); }

.legacy-content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(48px, 8vw, 92px); }
.legacy-content-card { padding: clamp(26px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.3); }
.legacy-content-card p { color: var(--ink-soft); font-size: .9rem; }
.legacy-content-card p:last-child { margin-bottom: 0; }
.offered-programs { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.offered-programs h3 { margin: 0 0 .7rem; font-size: 1.35rem; }
.offered-programs ul { margin: 0; padding-left: 1.15rem; color: var(--muted); }
.offered-programs li + li { margin-top: .3rem; }

.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principle { padding: clamp(28px, 4vw, 46px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.3); }
.principle-number { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-bottom: 50px; border-radius: 50%; background: var(--gold); font-family: var(--font-display); font-size: 1.3rem; }
.principle h3 { margin-bottom: 14px; }
.principle p { margin-bottom: 0; color: var(--ink-soft); font-size: .92rem; }

.moments { background: var(--charcoal); color: var(--ivory); }
.moments .section-kicker { color: var(--gold); }
.moments .lead { color: rgba(244,239,234,.7); }
.moments-grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: repeat(2, 310px); gap: 16px; margin-top: 42px; }
.moments-grid figure { margin: 0; overflow: hidden; border-radius: var(--radius-sm); }
.moments-grid figure:first-child { grid-row: 1 / 3; }
.moments-grid img { width: 100%; height: 100%; object-fit: cover; }

.video-wrap { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(36px, 7vw, 92px); }
.video-frame { position: relative; padding: 12px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.video-frame video { width: 100%; max-height: 72vh; border-radius: calc(var(--radius) - 10px); background: #000; object-fit: cover; }

.signup-section { background: var(--paper); }
.signup-shell { display: grid; grid-template-columns: .78fr 1.22fr; overflow: hidden; border-radius: var(--radius); background: var(--ivory); box-shadow: var(--shadow); }
.signup-intro { padding: clamp(34px, 5vw, 64px); background: var(--sage); color: #fff; }
.signup-intro .section-kicker { color: #fff; }
.signup-intro h2 { font-size: clamp(2.5rem, 4.5vw, 4rem); }
.signup-intro p { color: rgba(255,255,255,.82); }
.form-panel { padding: clamp(30px, 5vw, 64px); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; color: var(--charcoal); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.field-full { grid-column: 1 / -1; }
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(43,43,43,.18);
  border-radius: 12px;
  background: var(--paper);
  color: var(--charcoal);
  font-weight: 400;
  letter-spacing: 0;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--gold-dark); outline: 3px solid rgba(198,161,91,.2); }
.check-field { display: flex; align-items: flex-start; gap: 10px; font-size: .82rem; }
.check-field input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--sage); }
.form-actions { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.form-status { min-height: 24px; color: var(--ink-soft); font-size: .82rem; }
.course-fieldset { margin: 0; padding: 0; border: 0; }
.course-fieldset legend { margin-bottom: 10px; }
.course-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.course-checks label { display: inline-flex; min-height: 44px; align-items: center; cursor: pointer; }
.course-checks input { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; pointer-events: none; }
.course-checks span { display: inline-flex; min-height: 44px; align-items: center; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .78rem; font-weight: 600; }
.course-checks input:checked + span { border-color: var(--gold); background: var(--gold); color: var(--charcoal); }
.course-checks input:focus-visible + span { outline: 3px solid rgba(198,161,91,.35); outline-offset: 2px; }
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.licensing-card { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border-radius: var(--radius); background: var(--wine); color: #fff; }
.licensing-copy { padding: clamp(38px, 6vw, 78px); }
.licensing-copy .section-kicker { color: var(--ivory); }
.licensing-copy p { color: rgba(255,255,255,.78); }
.licensing-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.licensing-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; }
.licensing-list li::before { content: "•"; color: var(--gold); font-size: 1.5rem; line-height: 1; }
.licensing-photo img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.licensing-details { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 18px; }
.licensing-details article { padding: clamp(26px,4vw,40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.licensing-details p, .licensing-details li { color: var(--ink-soft); font-size: .88rem; }
.licensing-details ul, .licensing-details ol { padding-left: 20px; }

.newsletter-section { background: var(--paper); }
.newsletter-card { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 42px; padding: clamp(30px,5vw,62px); border-radius: var(--radius); background: var(--ivory); }
.newsletter-card h2 { margin-bottom: 12px; font-size: clamp(2.2rem,4vw,3.6rem); }
.newsletter-card p { color: var(--ink-soft); }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; }
.newsletter-form input { min-width: 0; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.newsletter-form .form-status { grid-column: 1 / -1; }

.site-footer { padding: 70px 0 26px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.35fr .8fr; gap: 52px; }
.footer-brand img { width: auto; height: 110px; margin-bottom: 20px; }
.footer-brand p, .footer-contact p { color: var(--ink-soft); font-size: .84rem; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px 24px; }
.footer-nav a { font-size: .82rem; text-decoration: none; }
.footer-title { margin-bottom: 14px; font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .72rem; }

/* Academy */
.academy-page { background: var(--charcoal-2); color: var(--ivory); }
.academy-page .site-header { border-color: rgba(255,255,255,.1); background: rgba(32,33,32,.93); }
.academy-page .brand img { content: url("images/logo-ella-inverse.png"); }
.academy-page .site-nav a { color: var(--ivory); }
.academy-page .nav-accent { background: var(--gold); color: var(--charcoal); }
.academy-page .menu-toggle { border-color: rgba(255,255,255,.2); }
.academy-hero { position: relative; min-height: calc(100svh - 94px); display: grid; align-items: center; overflow: hidden; }
.academy-hero-bg { position: absolute; inset: 0; }
.academy-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.academy-hero-bg::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(25,26,25,.98) 0%, rgba(25,26,25,.88) 39%, rgba(25,26,25,.12) 76%); }
.academy-hero-content { position: relative; z-index: 1; max-width: 710px; padding-block: 100px; }
.academy-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 8px 14px; border: 1px solid rgba(198,161,91,.5); border-radius: 999px; color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.academy-badge::before { width: 7px; height: 7px; border-radius: 50%; content: ""; background: var(--gold); }
.academy-hero h1 { margin-bottom: 22px; color: var(--ivory); font-size: clamp(3.7rem, 8vw, 7.2rem); }
.academy-hero h1 span { display: block; color: var(--gold); font-family: var(--font-body); font-size: .2em; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }
.academy-hero .lead { color: rgba(244,239,234,.78); }
.academy-section { border-top: 1px solid rgba(255,255,255,.08); }
.academy-page .section-kicker { color: var(--gold); }
.academy-page .lead { color: rgba(244,239,234,.68); }
.academy-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(42px, 8vw, 110px); align-items: start; }
.academy-intro-grid h2 { position: sticky; top: 130px; }
.academy-copy p { color: rgba(244,239,234,.7); }
.academy-copy .academy-pullquote { margin: 36px 0 0; padding: 28px; border-left: 2px solid var(--gold); background: rgba(255,255,255,.035); color: var(--ivory); font-family: var(--font-display); font-size: 1.65rem; line-height: 1.35; }
.academy-topics { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 44px; }
.academy-topic { min-height: 260px; padding: 30px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); background: rgba(255,255,255,.025); }
.academy-topic span { color: var(--gold); font-family: var(--font-display); font-size: 2rem; }
.academy-topic h3 { margin: 48px 0 12px; font-size: 1.75rem; }
.academy-topic p { margin: 0; color: rgba(244,239,234,.64); font-size: .88rem; }
.academy-format { background: #272827; }
.format-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(42px,7vw,90px); }
.format-list { display: grid; gap: 16px; padding: 0; list-style: none; }
.format-list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.format-list strong { display: block; margin-bottom: 3px; }
.format-list small { color: rgba(244,239,234,.6); font-size: .82rem; }
.format-number { color: var(--gold); font-family: var(--font-display); font-size: 1.6rem; }
.academy-cta { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--gold); color: var(--charcoal); }
.academy-cta::after { position: absolute; width: 400px; height: 400px; right: -140px; bottom: -220px; border: 1px solid rgba(43,43,43,.2); border-radius: 50%; content: ""; box-shadow: 0 0 0 38px rgba(43,43,43,.04), 0 0 0 76px rgba(43,43,43,.03); }
.academy-cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .9fr; gap: 42px; align-items: end; padding: clamp(38px,6vw,72px); }
.academy-cta h2 { margin-bottom: 0; }
.academy-cta form { display: flex; gap: 10px; }
.academy-cta input { min-width: 0; flex: 1; min-height: 52px; padding: 12px 16px; border: 1px solid rgba(43,43,43,.2); border-radius: 999px; background: rgba(255,255,255,.7); }
.academy-page .site-footer { border-color: rgba(255,255,255,.1); }
.academy-page .footer-brand p, .academy-page .footer-contact p, .academy-page .footer-bottom { color: rgba(244,239,234,.58); }
.academy-page .footer-bottom { border-color: rgba(255,255,255,.1); }

/* Internal course and licensing pages */
.internal-hero { padding: clamp(74px,10vw,130px) 0 70px; }
.internal-hero .lead { max-width: 760px; }
.breadcrumb { display: inline-flex; gap: 8px; margin-bottom: 26px; color: var(--ink-soft); font-size: .75rem; text-decoration: none; }
.course-layout { display: grid; grid-template-columns: minmax(0,1fr) 370px; gap: 42px; align-items: start; padding-bottom: 100px; }
.course-cover { width: 100%; max-height: 550px; border-radius: var(--radius); object-fit: cover; }
.content-block { padding: 38px 0; border-bottom: 1px solid var(--line); }
.content-block p, .content-block li { color: var(--ink-soft); }
.content-block ul, .content-block ol { padding-left: 22px; }
.enrollment-card { position: sticky; top: 120px; padding: 30px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.price { margin: 10px 0 22px; font-family: var(--font-display); font-size: 2.2rem; }
.enrollment-card .field { margin-bottom: 14px; }
.enrollment-card .button { width: 100%; }
.plain-form { max-width: 760px; padding: clamp(28px,5vw,60px); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }

@media (max-width: 1040px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: .66rem; }
  .hero-home { grid-template-columns: 1.03fr .97fr; }
  .program-card { grid-column: span 6; }
  .program-card:last-child { grid-column: 4 / 10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  html { scroll-padding-top: 82px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .header-inner { min-height: 80px; }
  .brand img { height: 62px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    height: calc(100svh - 80px);
    padding: 34px 24px 44px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    overflow-y: auto;
    background: var(--ivory);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
  }
  .site-nav[data-open="true"] { opacity: 1; visibility: visible; pointer-events: auto; }
  .site-nav a { min-height: 52px; display: flex; align-items: center; padding: 12px 8px; border-bottom: 1px solid var(--line); font-size: .8rem; }
  .nav-accent { justify-content: center; margin-top: 16px; border-bottom: 0 !important; }
  .academy-page .site-nav { background: var(--charcoal-2); }
  .hero-home { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 74px 24px 58px; }
  .hero-media { min-height: min(105vw, 700px); }
  .brand-values { grid-template-columns: 1fr; }
  .brand-value { border-right: 0; border-bottom: 1px solid var(--line); }
  .brand-value:last-child { border-bottom: 0; }
  .about-grid, .video-wrap, .signup-shell, .licensing-card, .academy-intro-grid, .format-grid, .academy-cta-inner, .newsletter-card { grid-template-columns: 1fr; }
  .about-photo { order: 2; }
  .section-heading-row { align-items: start; flex-direction: column; }
  .program-card, .program-card:nth-child(4), .program-card:nth-child(5) { grid-column: span 6; }
  .principles-grid, .academy-topics, .legacy-content-grid, .licensing-details { grid-template-columns: 1fr 1fr; }
  .signup-intro { min-height: 360px; }
  .licensing-photo img { min-height: 420px; }
  .academy-hero { min-height: 760px; }
  .academy-hero-bg::after { background: linear-gradient(180deg, rgba(25,26,25,.96) 0%, rgba(25,26,25,.8) 60%, rgba(25,26,25,.5) 100%); }
  .academy-intro-grid h2 { position: static; }
  .academy-cta form { max-width: 620px; }
  .course-layout { grid-template-columns: 1fr; }
  .enrollment-card { position: static; }
}

@media (max-width: 640px) {
  body { font-size: 15px; line-height: 1.65; }
  .section { padding: 70px 0; }
  .section-sm { padding: 52px 0; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 74px; }
  .brand img { height: 55px; }
  .site-nav { top: 100%; height: calc(100svh - 74px); }
  .hero-copy { padding: 60px 18px 46px; }
  .hero-copy h1 { font-size: clamp(2.9rem, 15vw, 4.4rem); }
  .hero-media { min-height: 118vw; }
  .hero-note { right: 14px; bottom: 14px; left: 14px; max-width: none; }
  .button-row, .form-actions { align-items: stretch; flex-direction: column; }
  .button-row .button, .form-actions .button { width: 100%; }
  .about-photo { padding: 0 0 22px 22px; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card, .program-card:nth-child(4), .program-card:nth-child(5), .program-card:last-child { min-height: 420px; grid-column: 1; }
  .program-card-copy { padding: 24px; }
  .principles-grid, .academy-topics, .legacy-content-grid, .licensing-details { grid-template-columns: 1fr; }
  .principle-number { margin-bottom: 32px; }
  .moments-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 250px); }
  .moments-grid figure:first-child { grid-row: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .signup-intro { min-height: auto; }
  .licensing-photo img { min-height: 360px; }
  .footer-grid, .footer-nav { grid-template-columns: 1fr; }
  .footer-grid { gap: 34px; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-form .button { width: 100%; }
  .academy-hero { min-height: 720px; align-items: end; }
  .academy-hero-bg img { object-position: 62% center; }
  .academy-hero-content { padding: 88px 0 58px; }
  .academy-hero h1 { font-size: clamp(3.3rem, 18vw, 5.6rem); }
  .academy-topic { min-height: auto; }
  .academy-topic h3 { margin-top: 30px; }
  .academy-cta form { flex-direction: column; }
  .academy-cta .button { width: 100%; }
  .internal-hero { padding-top: 58px; }
  .course-layout { gap: 28px; padding-bottom: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
