/* =========================================================================
   home-editorial.css
   Scope: index.html (body[data-page="home"])
   Goal: minimalist, strong typography, large photography, clean UI,
         futuristic but warm. Override loud bits from master.css.
   ========================================================================= */

body[data-page="home"] {
  --warm:        #C97B4A;   /* clay terracotta */
  --warm-soft:   #E7C4A4;
  --sand:        #EFE7DC;
  --ink-fade:    #1A2238;
  --hairline:    rgba(11,23,48,.10);
}

/* ---- HERO -------------------------------------------------------------- */
body[data-page="home"] .hero {
  position: relative;
  padding: clamp(6rem, 12vh, 11rem) 0 clamp(4rem, 8vh, 7rem);
  background: transparent;
  overflow: clip;
}
body[data-page="home"] .hero::before { content: none; }   /* kill old overlay */
body[data-page="home"] .hero__monogram { display: none; } /* kill watermark */

body[data-page="home"] .hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
body[data-page="home"] .hero .eyebrow {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--warm);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
body[data-page="home"] .hero .eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--warm);
  display: inline-block;
}
body[data-page="home"] .hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--brand-navy-deep);
  margin: 1.2rem 0 1.5rem;
}
body[data-page="home"] .hero__title em {
  font-style: italic;
  color: var(--warm);
  font-weight: 500;
}
body[data-page="home"] .hero__lede {
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  color: var(--muted-strong);
  max-width: 46ch;
  line-height: 1.6;
}
body[data-page="home"] .hero__actions { gap: 1rem; margin-top: 2rem; }
body[data-page="home"] .hero__meta {
  margin-top: 2.75rem;
  padding-top: 0;
  border-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
body[data-page="home"] .hero__meta .stat {
  position: relative;
  padding: 1.15rem 1rem 1.05rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(201, 168, 76, 0.32);
  box-shadow:
    0 12px 32px -18px rgba(11, 23, 48, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  overflow: hidden;
  text-align: center;
}
body[data-page="home"] .hero__meta .stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--brand-gold, #C9A84C), var(--warm, #C97B4A), transparent);
}
body[data-page="home"] .hero__meta .stat--pulse::after {
  content: none;
}
body[data-page="home"] .hero__meta .stat__num {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(145deg, var(--brand-navy-deep) 0%, #2a4a7a 55%, var(--warm, #C97B4A) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body[data-page="home"] .hero__meta .stat__label {
  position: relative;
  z-index: 1;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(11, 23, 48, 0.62);
  margin-top: .65rem;
  display: block;
  font-weight: 600;
}

/* hero visual = editorial portrait (matches about story slider) */
body[data-page="home"] .hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 0%, #1f3a73 0%, #122553 38%, #0B1730 78%);
  border: 1px solid rgba(201, 168, 76, 0.32);
  box-shadow:
    0 12px 36px rgba(11, 23, 48, 0.2),
    0 4px 12px rgba(11, 23, 48, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  isolation: isolate;
}
body[data-page="home"] .hero__visual::before,
body[data-page="home"] .hero__visual::after { content: none; }
body[data-page="home"] .hero__visual-emblem,
body[data-page="home"] .hero__visual-tag { display: none; }

/* image slot when user provides one: <img class="hero__photo"> */
body[data-page="home"] .hero__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
body[data-page="home"] .hero__visual:has(.hero__photo)::before,
body[data-page="home"] .hero__visual:has(.hero__photo)::after { z-index: 2; }

@media (max-width: 880px) {
  body[data-page="home"] .hero__grid { grid-template-columns: 1fr; }
  body[data-page="home"] .hero__visual { aspect-ratio: 5/4; order: -1; max-width: 100%; }
}

/* ---- TRUST STRIP (premium marquee band) -------------------------------- */
body[data-page="home"] .trust-strip.trust-strip--cool {
  position: relative;
  background: linear-gradient(90deg, rgba(11, 23, 48, 0.04) 0%, rgba(11, 23, 48, 0.08) 50%, rgba(11, 23, 48, 0.04) 100%);
  color: var(--brand-navy-deep);
  padding: 1.35rem 0;
  border-block: 1px solid rgba(201, 168, 76, 0.22);
  overflow: hidden;
}
body[data-page="home"] .trust-strip.trust-strip--cool::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, transparent 12%, transparent 88%, #fff 100%);
  pointer-events: none;
  z-index: 2;
}
body[data-page="home"] .trust-strip .marquee__item svg { display: none; }
body[data-page="home"] .trust-strip .marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.35rem 2.2rem;
  position: relative;
  color: var(--brand-navy-deep);
}
body[data-page="home"] .trust-strip .marquee__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gold, #C9A84C);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.65);
  flex-shrink: 0;
}
body[data-page="home"] .trust-strip .marquee__item + .marquee__item::before { content: none; }

/* ---- SECTION HEADS ----------------------------------------------------- */
body[data-page="home"] .section { padding-block: clamp(5rem, 10vh, 8rem); }
body[data-page="home"] .section-head { max-width: 760px; margin-bottom: 3.5rem; }
body[data-page="home"] .section-head .eyebrow {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--warm);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
body[data-page="home"] .section-head .eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--warm);
  display: inline-block;
}
body[data-page="home"] .section-head h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 1rem 0 .9rem;
  color: var(--brand-navy-deep);
}
body[data-page="home"] .section-head .lede {
  font-size: 1.05rem;
  color: var(--muted-strong);
  max-width: 58ch;
}

/* ---- THREE SCHOOLS (premium image cards) ------------------------------- */
body[data-page="home"] .schools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}
body[data-page="home"] .school-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 20px;
  padding: 0;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow:
    0 16px 40px -24px rgba(11, 23, 48, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s ease, border-color 0.35s ease;
}
body[data-page="home"] .school-card::before { content: none; }
body[data-page="home"] .school-card > div {
  padding: 1.35rem 1.4rem 0.25rem;
  order: 2;
  position: relative;
  z-index: 2;
}
body[data-page="home"] .school-card .school-card__cta {
  order: 3;
  margin: 0.85rem 1.4rem 1.35rem;
  padding: 0.7rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-navy-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(11, 23, 48, 0.04);
  border: 1px solid rgba(11, 23, 48, 0.08);
  border-radius: 999px;
  align-self: flex-start;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
body[data-page="home"] .school-card .school-card__cta::after {
  content: "→";
  transition: transform 0.3s ease;
}
body[data-page="home"] .school-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.45);
  box-shadow:
    0 28px 56px -22px rgba(11, 23, 48, 0.38),
    0 0 0 1px rgba(201, 168, 76, 0.12);
}
body[data-page="home"] .school-card:hover .school-card__cta {
  background: var(--brand-navy-deep);
  color: #fff;
  border-color: var(--brand-navy-deep);
}
body[data-page="home"] .school-card:hover .school-card__cta::after { transform: translateX(4px); }

body[data-page="home"] .school-card::after {
  content: "";
  display: block;
  order: 1;
  aspect-ratio: 4 / 4.2;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(11, 23, 48, 0.05) 0%, rgba(11, 23, 48, 0.72) 100%),
    var(--card-tone, linear-gradient(135deg, #2A3656, #0B1730));
  position: relative;
  overflow: hidden;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
  box-shadow: inset 0 -40px 60px -20px rgba(11, 23, 48, 0.55);
}
body[data-page="home"] .school-card--kg { --card-tone: linear-gradient(155deg, #f0d4b8 0%, #C97B4A 42%, #8B4A28 100%); }
body[data-page="home"] .school-card--pr { --card-tone: linear-gradient(155deg, #b8dcc8 0%, #2E7D5B 45%, #14513A 100%); }
body[data-page="home"] .school-card--sc { --card-tone: linear-gradient(155deg, #ddb8c4 0%, #8B1E3F 48%, #4A0E20 100%); }

body[data-page="home"] .school-card__age {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-gold, #C9A84C);
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.22);
  font-weight: 700;
}
body[data-page="home"] .school-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  letter-spacing: -0.01em;
  color: var(--brand-navy-deep);
  margin: 0 0 0.55rem;
}
body[data-page="home"] .school-card p {
  color: var(--muted-strong);
  font-size: 0.95rem;
  line-height: 1.58;
  max-width: none;
}
body[data-page="home"] .school-card--soon {
  opacity: 0.92;
}
body[data-page="home"] .school-card--soon .school-card__soon {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--warm, #C97B4A);
  margin-top: .35rem;
}
body[data-page="home"] .school-card--soon .school-card__cta {
  color: var(--warm, #C97B4A);
  border-color: rgba(201, 123, 74, 0.35);
}
@media (max-width: 880px) {
  body[data-page="home"] .schools-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---- PILLARS (premium card grid) --------------------------------------- */
body[data-page="home"] .section-tight { background: transparent !important; }
body[data-page="home"] .pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  border-top: 0;
}
body[data-page="home"] .pillars .card,
body[data-page="home"] .pillars .card--feature {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 100%);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 18px;
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
  counter-increment: pillar;
  box-shadow:
    0 14px 36px -22px rgba(11, 23, 48, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
body[data-page="home"] .pillars .card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-gold, #C9A84C), var(--warm, #C97B4A), transparent);
  opacity: 0.85;
}
body[data-page="home"] .pillars .card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.38);
  box-shadow: 0 22px 44px -20px rgba(11, 23, 48, 0.28);
}
body[data-page="home"] .pillars .card:last-child { border-right: 1px solid rgba(201, 168, 76, 0.2); }
body[data-page="home"] .pillars { counter-reset: pillar; }
body[data-page="home"] .pillars .card::before {
  content: counter(pillar, decimal-leading-zero);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--brand-gold, #C9A84C);
  display: block;
  margin-bottom: 1.1rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}
body[data-page="home"] .pillars .card .card__icon {
  display: flex;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: rgba(11, 23, 48, 0.05);
  border: 1px solid rgba(11, 23, 48, 0.08);
  color: var(--brand-navy-deep);
}
body[data-page="home"] .pillars .card .card__icon svg { width: 20px; height: 20px; }
body[data-page="home"] .pillars .card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  color: var(--brand-navy-deep);
  margin: 0 0 0.65rem;
}
body[data-page="home"] .pillars .card p {
  color: var(--muted-strong);
  font-size: 0.92rem;
  line-height: 1.62;
}
@media (max-width: 880px) {
  body[data-page="home"] .pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  body[data-page="home"] .pillars { grid-template-columns: 1fr; }
}

/* ---- APPROACH (philosophy-style visual + black checklist) -------------- */
body[data-page="home"] .split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
body[data-page="home"] .split__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 0%, #1f3a73 0%, #122553 38%, #0B1730 78%);
  border: 1px solid rgba(201, 168, 76, 0.32);
  box-shadow:
    0 12px 36px rgba(11, 23, 48, 0.2),
    0 4px 12px rgba(11, 23, 48, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  isolation: isolate;
}
body[data-page="home"] .split__visual::before,
body[data-page="home"] .split__visual::after { content: none; }
body[data-page="home"] .split__copy h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 0.9rem;
  color: var(--brand-navy-deep);
}
body[data-page="home"] .split__copy .lede {
  font-size: 1.05rem;
  color: var(--muted-strong);
  max-width: 58ch;
}
body[data-page="home"] .split .checks {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--hairline);
}
body[data-page="home"] .split .checks li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1rem;
  align-items: center;
  color: #000000 !important;
}
body[data-page="home"] .split .checks li span {
  color: #000000 !important;
}
body[data-page="home"] .split .checks svg {
  width: 16px;
  height: 16px;
  color: var(--brand-gold, #C9A84C);
}

/* Student portraits inside The Ather Standard box */
body[data-page="home"] .standard-students {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 1.1rem;
  min-height: 0;
  flex: 1;
}
body[data-page="home"] .standard-student {
  margin: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(244, 236, 223, 0.2);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transform: translateY(var(--lift, 0));
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
body[data-page="home"] .standard-student--kg { --lift: 10px; z-index: 1; }
body[data-page="home"] .standard-student--pr { --lift: 0; z-index: 3; }
body[data-page="home"] .standard-student--sc { --lift: 14px; z-index: 2; }
body[data-page="home"] .standard-student:hover {
  transform: translateY(calc(var(--lift, 0) - 6px));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
}
body[data-page="home"] .standard-student img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
body[data-page="home"] .standard-student--pr img {
  object-position: center 20%;
}
body[data-page="home"] .standard-student--sc img {
  object-position: center 15%;
}
body[data-page="home"] .standard-student--kg img {
  object-position: center top;
}
body[data-page="home"] .standard-student figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 0.45rem 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(11, 23, 48, 0.88));
  text-align: center;
}
body[data-page="home"] .standard-student--kg figcaption { color: #f5dcc4; }
body[data-page="home"] .standard-student--pr figcaption { color: #c8e8d4; }
body[data-page="home"] .standard-student--sc figcaption { color: #e8c4cf; }

body[data-page="home"] .editorial-fill--split {
  min-height: 100%;
  padding-bottom: 1.2rem;
}
body[data-page="home"] .editorial-fill--split .editorial-fill__pillars {
  margin-top: 1rem;
  padding-top: 0.85rem;
}
body[data-page="home"] .editorial-fill--split .editorial-fill__pillars li,
body[data-page="home"] .editorial-fill--split .editorial-fill__pillars li span:last-child {
  color: #ffffff !important;
}
body[data-page="home"] .editorial-fill--split .editorial-fill__num {
  color: var(--brand-gold, #C9A84C) !important;
}

@media (max-width: 880px) {
  body[data-page="home"] .split { grid-template-columns: 1fr; }
  body[data-page="home"] .standard-students { gap: 0.4rem; }
  body[data-page="home"] .standard-student--kg,
  body[data-page="home"] .standard-student--sc { --lift: 0; }
}

/* ---- NEWS CARDS (match news list page — dark editorial cards) ---------- */
body[data-page="home"] .home-news-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
body[data-page="home"] .news-grid--home {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: none;
  width: 100%;
}
body[data-page="home"] .news-grid--home .news-card {
  background: linear-gradient(180deg, #0B1730 0%, #162447 100%);
  border: 1px solid rgba(201, 171, 101, 0.18);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(11, 23, 48, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body[data-page="home"] .news-grid--home .news-card__media {
  aspect-ratio: 16 / 10;
  border-radius: 0;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
body[data-page="home"] .news-grid--home .news-card__body {
  padding: 1.1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
body[data-page="home"] .news-grid--home .news-card__date {
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
body[data-page="home"] .news-grid--home .news-card h3,
body[data-page="home"] .news-grid--home .news-card h3 a {
  color: #c9ab65 !important;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 600;
  margin: 0;
}
body[data-page="home"] .news-grid--home .news-card h3 a:hover {
  color: #e9ddb8 !important;
}
body[data-page="home"] .news-grid--home .news-card p {
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  max-width: none;
}
body[data-page="home"] .news-grid--home .news-card .link-arrow {
  color: #fff;
  margin-top: 0.65rem;
  font-size: 0.88rem;
}
body[data-page="home"] .news-grid--home .news-card .link-arrow:hover,
body[data-page="home"] .news-grid--home .news-card .link-arrow:hover svg {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.35);
}
body[data-page="home"] .section-head--news h2 {
  margin-top: 0;
}
@media (max-width: 880px) {
  body[data-page="home"] .home-news-layout { grid-template-columns: 1fr; }
  body[data-page="home"] .news-grid--home { max-width: none; grid-template-columns: 1fr; }
}

/* ---- FINAL CTA (premium home card) ------------------------------------- */
body[data-page="home"] .cta-final--home {
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: block;
  text-align: inherit;
}
body[data-page="home"] .cta-final__inner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 3.75rem) clamp(2rem, 4vw, 3.5rem);
  background:
    radial-gradient(ellipse at 85% 0%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 0%, #1f3a73 0%, #122553 38%, #0B1730 78%);
  border: 1px solid rgba(201, 168, 76, 0.32);
  box-shadow:
    0 16px 44px rgba(11, 23, 48, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  isolation: isolate;
}
body[data-page="home"] .cta-final__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(50% 40% at 100% 0%, rgba(201, 123, 74, 0.18), transparent 65%);
}
body[data-page="home"] .cta-final--home h2 {
  position: relative;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0;
  max-width: 22ch;
}
body[data-page="home"] .cta-final__lede {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 1rem 0 0;
  max-width: 52ch;
}
body[data-page="home"] .cta-final__inner > * {
  position: relative;
  z-index: 1;
}
body[data-page="home"] .cta-final--home .cta-final__actions {
  position: relative;
  grid-column: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.75rem;
  margin-top: 1.75rem;
}

/* ---- BUTTONS: tighten for editorial feel ------------------------------- */
body[data-page="home"] .btn--lg { padding: 1rem 1.6rem; font-size: .9rem; letter-spacing: .04em; }
body[data-page="home"] .btn--arrow svg { width: 16px; height: 16px; }

/* ---- REMOVE BANNED ICONS GLOBALLY ON HOME ------------------------------ */
body[data-page="home"] .hero__visual-tag .badge { display: none; }

/* ---- DARK MODE TUNING -------------------------------------------------- */
html[data-theme="dark"] body[data-page="home"] {
  --hairline: rgba(232,236,247,.12);
  --sand: #0F1730;
}
html[data-theme="dark"] body[data-page="home"] .hero {
  background: transparent;
}
html[data-theme="dark"] body[data-page="home"] .hero__title,
html[data-theme="dark"] body[data-page="home"] .section-head h2,
html[data-theme="dark"] body[data-page="home"] .school-card h3,
html[data-theme="dark"] body[data-page="home"] .pillars .card h3,
html[data-theme="dark"] body[data-page="home"] .news-card h3,
html[data-theme="dark"] body[data-page="home"] .testimonial p,
html[data-theme="dark"] body[data-page="home"] .hero__meta .stat__num,
html[data-theme="dark"] body[data-page="home"] .school-card__cta { color: var(--text); }
html[data-theme="dark"] body[data-page="home"] .news-grid--home .news-card h3,
html[data-theme="dark"] body[data-page="home"] .news-grid--home .news-card h3 a {
  color: #c9ab65 !important;
}
html[data-theme="dark"] body[data-page="home"] .hero__lede,
html[data-theme="dark"] body[data-page="home"] .section-head .lede,
html[data-theme="dark"] body[data-page="home"] .school-card p,
html[data-theme="dark"] body[data-page="home"] .pillars .card p,
html[data-theme="dark"] body[data-page="home"] .split .checks li,
html[data-theme="dark"] body[data-page="home"] .split .checks li span {
  color: #000000 !important;
}
html[data-theme="dark"] body[data-page="home"] .split__copy h2 {
  color: var(--text);
}

/* ---- EDITORIAL FILL (hero + approach visual boxes) ---- */
body[data-page="home"] .editorial-fill {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: clamp(1.4rem, 2.6vw, 2.4rem);
  color: #F4ECDF;
  z-index: 2;
  overflow: hidden;
}
body[data-page="home"] .editorial-fill__rings {
  position: absolute;
  width: 140%; aspect-ratio: 1/1;
  right: -55%; top: -30%;
  border-radius: 50%;
  border: 1px solid rgba(231,196,164,.18);
  box-shadow:
    0 0 0 40px rgba(231,196,164,.06),
    inset 0 0 0 80px rgba(231,196,164,.04);
  pointer-events: none;
}
body[data-page="home"] .editorial-fill__rings::before,
body[data-page="home"] .editorial-fill__rings::after {
  content: "";
  position: absolute; inset: 22%;
  border-radius: 50%;
  border: 1px dashed rgba(231,196,164,.22);
}
body[data-page="home"] .editorial-fill__rings::after {
  inset: 38%;
  border-style: solid;
  border-color: rgba(201,123,74,.35);
}
body[data-page="home"] .editorial-fill__mono {
  position: absolute;
  width: 32%;
  top: 16%;
  right: 14%;
  z-index: 2;
  height: auto;
  opacity: 1;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}
body[data-page="home"] .editorial-fill__est {
  position: relative;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-gold, #C9A84C);
  font-weight: 600;
  z-index: 2;
}
body[data-page="home"] .editorial-fill__est::after { content: none; }
body[data-page="home"] .editorial-fill__tag {
  position: relative;
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--warm, #C97B4A);
  font-weight: 600;
  z-index: 2;
}
body[data-page="home"] .editorial-fill__chips {
  position: relative;
  margin-top: auto;
  display: flex; flex-direction: column;
  gap: .55rem;
  align-items: flex-start;
  z-index: 2;
}
body[data-page="home"] .editorial-fill__chip {
  display: inline-flex; align-items: baseline; gap: .6rem;
  padding: .55rem .9rem;
  background: rgba(244,236,223,.08);
  border: 1px solid rgba(244,236,223,.18);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  font-size: .82rem;
  color: #F4ECDF;
}
body[data-page="home"] .editorial-fill__chip b {
  font-weight: 600;
  font-family: var(--font-serif);
  font-size: .95rem;
}
body[data-page="home"] .editorial-fill__chip span {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(244,236,223,.7);
}
body[data-page="home"] .editorial-fill__chip--mid { margin-inline-start: 2.2rem; }
body[data-page="home"] .editorial-fill__quote {
  position: relative;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(244,236,223,.18);
  z-index: 2;
}
body[data-page="home"] .editorial-fill__quote-mark {
  font-family: var(--font-serif);
  font-size: 3rem; line-height: 0;
  position: absolute; top: 1.6rem; left: -.2rem;
  color: var(--warm, #C97B4A);
  opacity: .6;
}
body[data-page="home"] .editorial-fill__quote p {
  margin: 0 0 0 1.6rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.45;
  color: #ffffff !important;
}
body[data-page="home"] .editorial-fill__pillars {
  list-style: none;
  padding: 0; margin: auto 0 0;
  position: relative;
  z-index: 2;
  display: flex; flex-direction: column;
  gap: .2rem;
  border-top: 1px solid rgba(244,236,223,.18);
  padding-top: 1.1rem;
}
body[data-page="home"] .editorial-fill__pillars li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(244,236,223,.10);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #F4ECDF;
}
body[data-page="home"] .editorial-fill__pillars li:last-child { border-bottom: 0; }
body[data-page="home"] .editorial-fill__num {
  font-family: var(--font-sans);
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--warm, #C97B4A);
  font-weight: 600;
}

/* hide editorial fill if real photo provided */
body[data-page="home"] .hero__visual:has(.hero__photo) .editorial-fill,
body[data-page="home"] .split__visual:has(.split__photo) .editorial-fill { display: none; }

/* ensure the decorative ::after frame sits above content */
body[data-page="home"] .hero__visual::after,
body[data-page="home"] .split__visual::after { z-index: 3; }

@media (max-width: 540px) {
  body[data-page="home"] .editorial-fill__mono { width: 38%; top: 12%; }
  body[data-page="home"] .editorial-fill__chip--mid { margin-inline-start: 0; }
  body[data-page="home"] .editorial-fill__quote p { font-size: .92rem; }
  body[data-page="home"] .editorial-fill__pillars li { font-size: .95rem; }
}