/* The Crescent Academy — public website
   Brand: blue #0042AC, yellow #FEC608, navy #031635; Early Years slate/sun/sage. Fonts: Nunito Sans, Fredoka (Early Years). */
:root {
  --blue: #0042AC; --blue-ink: #062B6F; --blue-tint: #E8EFFB;
  --yellow: #FEC608; --navy: #031635; --navy-2: #011432;
  --ivory: #FFF8EC; --white: #FFFFFF;
  --ink: #16213A; --muted: #55607A; --line: #DCE3EF;
  --ey-slate: #2B4F6F; --ey-sun: #FECA55; --ey-sage: #8FB092; --ey-sage-tint: #EAF2EA; --ey-cream: #FFF6E2;
  --f-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-play: "Fredoka", "Nunito Sans", system-ui, sans-serif;
  --r: 14px; --wrap: 1200px; --logo-h: 62px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 16.5px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; text-wrap: balance; font-weight: 800; letter-spacing: -.01em; color: var(--navy); }
h1 em, h2 em { font-style: normal; position: relative; white-space: nowrap; z-index: 0; }
h1 em::after, h2 em::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .26em; background: var(--yellow); z-index: -1; border-radius: 4px; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 880px; }
.font-play { font-family: var(--f-play); font-weight: 600; letter-spacing: 0; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow--ey { color: #4D7A52; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 64ch; }
.note { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 700 .98rem/1 var(--f-body); padding: .95em 1.4em; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-ink); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--ey { background: var(--ey-slate); color: #fff; }
.btn--ey:hover { background: #1E3A53; color: #fff; }
.btn--outline-ey { border-color: var(--ey-slate); color: var(--ey-slate); }
.link-arrow { font-weight: 800; color: var(--blue); text-decoration: none; white-space: nowrap; }
.round-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); background: rgba(3,22,53,.35); color: #fff; font: 700 1.1rem/1 var(--f-body); cursor: pointer; display: inline-grid; place-items: center; }
.round-btn:hover { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }

/* Top bar */
.topbar { background: var(--navy); color: #CFD8EA; font-size: .85rem; }
.topbar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding-block: 8px; }
.topbar__tag { color: #fff; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .76rem; }
.topbar__social { display: flex; gap: 2px; margin-left: auto; }
.topbar__social a { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #CFD8EA; }
.topbar__social a:hover { background: rgba(255,255,255,.12); color: var(--yellow); }
.topbar__announce { color: var(--yellow); font-weight: 700; text-decoration: none; }
.topbar__tag + .topbar__announce { margin-left: auto; }

/* Header */
.header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 18px; padding-block: 10px; position: relative; }
.brand { flex-shrink: 0; display: block; }
.brand img { height: var(--logo-h); width: auto; }
.since { flex-shrink: 0; padding-left: 16px; border-left: 1px solid var(--line); }
.since img { display: block; height: 60px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { font-weight: 700; font-size: .93rem; text-decoration: none; padding: 9px 10px; border-radius: 10px; color: var(--ink); }
.nav__link:hover { background: var(--blue-tint); color: var(--blue); }
.nav__link[aria-current="page"] { color: var(--blue); background: var(--blue-tint); }
.nav__link--ey { color: var(--ey-slate); }
.nav__link--ey::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ey-sun); margin-right: 7px; vertical-align: 1px; }
.nav__sub { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--muted); }
.nav__panel { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 12px; list-style: none; margin: 6px 0 0; padding: 8px; box-shadow: 0 18px 40px -18px rgba(3,22,53,.35); }
.nav__panel a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.nav__panel a:hover { background: var(--blue-tint); }
.nav__item--drop:hover .nav__panel, .nav__item.is-open .nav__panel { display: block; }
.nav__cta { margin-left: 6px; padding: .8em 1.3em; }
.menu-btn { display: none; margin-left: auto; background: none; border: 2px solid var(--line); border-radius: 10px; padding: 8px 14px; font: 700 .9rem var(--f-body); cursor: pointer; color: var(--ink); }
@media (max-width: 1200px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 10px max(20px, env(safe-area-inset-left, 0px)) 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(3,22,53,.3); max-height: calc(100vh - 90px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__item { flex-wrap: wrap; }
  .nav__link { flex: 1; padding: 12px 10px; }
  .nav__panel { position: static; display: none; width: 100%; box-shadow: none; border: 0; padding: 0 0 6px 14px; margin: 0; }
  .nav__item--drop:hover .nav__panel { display: none; }
  .nav__item.is-open .nav__panel { display: block; }
  .nav__cta { margin: 10px 0 0; }
  .brand img { height: min(var(--logo-h), 52px); }
  .since img { height: 50px; }
}

/* Sections */
.sec { padding-block: clamp(56px, 8vw, 96px); }
.sec--tight { padding-block: clamp(28px, 4vw, 44px); }
.bg-white { background: #fff; } .bg-ivory { background: var(--ivory); } .bg-tint { background: var(--blue-tint); }
.bg-ey-cream { background: var(--ey-cream); } .bg-ey-sage { background: var(--ey-sage-tint); }
.bg-navy { background: var(--navy); color: #D6E0F2; }
.bg-navy h2, .bg-navy h3 { color: #fff; } .bg-navy .lede, .bg-navy p { color: #C9D4E8; } .bg-navy .eyebrow { color: var(--yellow); }
.sec-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 780px; }
.sec-head h2, .h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 24px; margin-bottom: 40px; }
.head-row .sec-head { margin-bottom: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.two > * { min-width: 0; }
.two--flip > :first-child { order: 2; }
.stack { display: grid; gap: 16px; }
.media-frame { border-radius: 22px; overflow: hidden; background: var(--blue-tint); }
.media-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-frame--soft { border-radius: 26px; }

/* Hero slider */
.hs { --dur: 6.5s; position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hs::before { content: ""; position: absolute; z-index: 1; width: 620px; height: 620px; border-radius: 50%; border: 76px solid rgba(254,198,8,.92); right: -230px; bottom: -330px; pointer-events: none; }
.hs__slides { display: grid; }
.hs__slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.hs__slide.is-active { opacity: 1; visibility: visible; }
.hs__slide::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(3,22,53,.9) 0%, rgba(3,22,53,.72) 42%, rgba(3,22,53,.18) 78%, rgba(3,22,53,.06) 100%); }
.hs__bg { position: absolute; inset: 0; overflow: hidden; }
.hs__bg img, .hs__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 9s ease-out; }
.hs--zoom .hs__slide.is-active .hs__bg img, .hs--zoom .hs__slide.is-active .hs__bg video { transform: scale(1.16) translate(-2%, -1.5%); }
.hs--zoom .hs__slide:nth-child(even).is-active .hs__bg img { transform: scale(1.16) translate(2%, 1%); }
.hs--none .hs__slide { transition: none; }
.hs__wrap { position: relative; z-index: 2; }
.hs__copy { max-width: 660px; min-height: clamp(460px, 62vh, 620px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding-block: 72px 130px; }
.hs__copy .eyebrow { color: var(--yellow); }
.hs__h { font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 900; color: #fff; line-height: 1.1; }
.hs__h.font-play { font-weight: 600; }
.hs__copy .lede { color: #D6E0F2; }
.hs__copy .ctas { margin-top: 10px; }
.hs--zoom .hs__slide.is-active .hs__copy > *, .hs--fade .hs__slide.is-active .hs__copy > * { animation: hs-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hs__slide.is-active .hs__copy > :nth-child(2) { animation-delay: .12s; }
.hs__slide.is-active .hs__copy > :nth-child(3) { animation-delay: .24s; }
.hs__slide.is-active .hs__copy > :nth-child(4) { animation-delay: .36s; }
@keyframes hs-rise { from { transform: translateY(22px); } to { transform: none; } }
.hs__ui { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3; }
.hs__ui-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hs__tabs { display: flex; gap: 16px; flex-wrap: wrap; }
.hs__tabs button { position: relative; background: none; border: 0; border-top: 2px solid rgba(255,255,255,.28); color: rgba(255,255,255,.72); font: 700 .82rem var(--f-body); padding: 10px 0 0; min-width: 92px; text-align: left; cursor: pointer; }
.hs__tabs button:hover, .hs__tabs button[aria-selected="true"] { color: #fff; }
.hs__tabs button i { position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--yellow); }
.hs__tabs button[aria-selected="true"] i { animation: hs-prog var(--dur) linear forwards; }
.hs.is-paused .hs__tabs button[aria-selected="true"] i { animation-play-state: paused; }
@keyframes hs-prog { to { width: 100%; } }
.hs__arrows { display: flex; gap: 8px; }

/* Page header */
.ph { position: relative; overflow: hidden; padding-block: clamp(44px, 6vw, 80px); }
.ph--blue { background: var(--blue-tint); }
.ph--blue::after { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; border: 64px solid var(--yellow); right: -150px; bottom: -280px; }
.ph--ey { background: var(--ey-cream); }
.ph--ey::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -130px; height: 220px; border-radius: 50%; border-top: 14px solid var(--ey-sage); }
.ph__in { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.ph--img .ph__in { grid-template-columns: 1.1fr .9fr; }
.ph__copy { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.ph h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 900; max-width: 22ch; }
.ph--ey h1 { color: var(--ey-slate); font-weight: 600; }
.ph--ey .eyebrow { color: #4D7A52; } .ph--ey .lede { color: #3E5468; }
.ph__logo { width: 120px; height: auto; border-radius: 18px; background: #fff; }
.ph__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; }
.ph .ctas { margin-top: 6px; }
.crumbs { font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--blue); font-weight: 700; text-decoration: none; }
.ph--ey .crumbs a { color: var(--ey-slate); }
.post__meta { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); }

/* Facts & board */
.facts__h { font-size: 1.3rem; margin-bottom: 14px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); }
.facts--2 { grid-template-columns: repeat(2, 1fr); } .facts--3 { grid-template-columns: repeat(3, 1fr); }
.facts > div { padding: 18px 18px 0 0; display: flex; flex-direction: column; }
.facts dd { order: -1; margin: 0; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 900; color: var(--navy); font-variant-numeric: tabular-nums; }
.facts dt { font-size: .86rem; color: var(--muted); font-weight: 600; }
.board { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 36px; align-items: center; border: 1px solid var(--line); border-radius: 22px; padding: 24px 30px; background: #fff; }
.board__logo { padding-right: 32px; border-right: 1px solid var(--line); }
.board__logo img { width: 240px; height: auto; }
.board h2 { font-size: 1.2rem; margin-bottom: 4px; }
.board p { color: var(--muted); font-size: .95rem; max-width: 70ch; }

/* Stages */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stages--1 { grid-template-columns: 1fr; } .stages--2 { grid-template-columns: repeat(2, 1fr); } .stages--3 { grid-template-columns: repeat(3, 1fr); }
.stage { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.stage__kicker { font-size: .75rem; font-weight: 800; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.stage h3 { font-size: 1.3rem; }
.stage__meta { font-weight: 800; color: var(--blue); font-size: .9rem; }
.stage p { font-size: .95rem; color: var(--muted); }
.stage__link { font-weight: 800; color: var(--blue); text-decoration: none; font-size: .92rem; margin-top: auto; }
.stage__tag { position: absolute; top: 18px; right: 18px; background: var(--ey-sun); color: var(--ey-slate); font-size: .7rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.stage--ey { background: var(--ey-cream); border-color: #F3DFB3; }
.stage--ey h3, .stage--ey .stage__meta, .stage--ey .stage__link { color: var(--ey-slate); }

/* Highlight band */
.band--ey { background: var(--ey-sage-tint); } .band--blue { background: var(--blue-tint); } .band--ivory { background: var(--ivory); }
.band__in { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; }
.band__logo { background: #fff; border-radius: 28px; padding: 18px; width: min(300px, 100%); box-shadow: 0 24px 50px -30px rgba(43,79,111,.6); }
.band__logo img { width: 100%; }
.band h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 10px 0 14px; }
.band--ey h2 { color: var(--ey-slate); } .band--ey .eyebrow { color: #4D7A52; } .band--ey .lede { color: #3E5468; }
.pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.pills li { background: #fff; border: 1px solid #CFE0CF; color: var(--ey-slate); font-weight: 700; font-size: .88rem; padding: 7px 14px; border-radius: 999px; }

/* Why choose us */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.pillar { display: grid; gap: 8px; align-content: start; }
.pillar__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; }
.pillar h3 { font-size: 1.08rem; }
.pillar p { font-size: .94rem; color: var(--muted); }
.values { margin-top: 28px; background: var(--navy); color: #fff; border-radius: 22px; padding: 28px; display: grid; gap: 16px; }
.values h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.values ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.values li { display: flex; gap: 12px; align-items: baseline; font-weight: 700; font-size: 1.12rem; }
.values li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; transform: translateY(-2px); }
.values small { display: block; font-weight: 400; font-size: .9rem; color: #B9C4DA; }

/* Principal */
.principal { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.principal::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; border: 90px solid rgba(254,198,8,.9); right: -260px; top: -300px; }
.principal__in { position: relative; display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
.principal__in--nophoto { grid-template-columns: 1fr; max-width: 900px; }
.principal__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.principal .eyebrow { color: var(--yellow); margin-bottom: 14px; }
.principal blockquote { margin: 0; font-size: clamp(1.25rem, 2.3vw, 1.7rem); font-weight: 700; line-height: 1.4; max-width: 48ch; }
.principal__body { margin-top: 18px; color: #E3EBFA; }
.principal__body p { color: #E3EBFA; }
.principal__sig { margin-top: 18px; color: #C9D7F5; }
.principal__link { color: var(--yellow); font-weight: 800; margin-left: 6px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; border-top: 3px solid var(--blue); }
.steps--3 { grid-template-columns: repeat(3, 1fr); } .steps--2 { grid-template-columns: repeat(2, 1fr); } .steps--5 { grid-template-columns: repeat(5, 1fr); }
.step { padding: 24px 24px 0 0; display: grid; gap: 8px; position: relative; align-content: start; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -17px; left: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-weight: 900; display: grid; place-items: center; font-size: .9rem; }
.step h3 { font-size: 1.1rem; margin-top: 10px; }
.step p { font-size: .94rem; color: var(--muted); }
.panel-cta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; background: var(--ivory); border-radius: 22px; padding: 26px 30px; }
.bg-ivory .panel-cta { background: #fff; }
.panel-cta p { font-weight: 700; color: var(--navy); font-size: 1.08rem; max-width: 60ch; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } .cards--1 { grid-template-columns: 1fr; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.card__img { display: block; background: var(--blue-tint); }
.card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__kicker { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.card h3 { font-size: 1.18rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--blue); }
.card p { color: var(--muted); font-size: .95rem; }
.card__link { font-weight: 800; color: var(--blue); text-decoration: none; font-size: .92rem; margin-top: auto; padding-top: 6px; }
.card__list { margin: 4px 0 0; padding-left: 18px; color: var(--ink); font-size: .93rem; display: grid; gap: 4px; }
.chips { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { background: var(--blue-tint); color: var(--blue-ink); font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.card--ey { background: var(--ey-cream); border-color: #F3DFB3; }
.card--ey h3, .card--ey .card__kicker, .card--ey .card__link { color: var(--ey-slate); }
.card--ey .chips li { background: #fff; color: var(--ey-slate); }
.card--dark { background: var(--ey-slate); border-color: var(--ey-slate); }
.card--dark h3 { color: var(--ey-sun); font-family: var(--f-play); font-weight: 600; font-size: 1.3rem; }
.card--dark p { color: #D5E1EC; }
.cards--programme .card { border: 2px solid #E8EEF3; border-radius: 24px; }
.cards--programme h3 { color: var(--ey-slate); font-size: 1.5rem; }
.card__badge { align-self: flex-start; background: var(--ey-sun); color: var(--ey-slate); font-weight: 800; font-size: .82rem; padding: 5px 12px; border-radius: 999px; }
.cards--area .card { border: 0; border-radius: 20px; }
.cards--area .card__body { padding: 20px; gap: 6px; }
.cards--area h3 { font-size: 1rem; color: var(--ey-slate); }
.card__num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-play); font-weight: 600; color: var(--ey-slate); background: var(--ey-sun); }
.cards--area .card:nth-child(3n+2) .card__num { background: var(--ey-sage); }
.cards--area .card:nth-child(3n) .card__num { background: #CFE0F5; }
.campus__tel { font-weight: 800; color: var(--blue); font-variant-numeric: tabular-nums; }
.campus__tel a, .card p a { color: inherit; text-decoration: none; }
.bg-ivory .card { border-color: transparent; }

/* Text */
.prose-block { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.prose-block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.prose { display: grid; gap: 14px; max-width: 68ch; }
.prose h2 { font-size: 1.5rem; margin-top: 10px; } .prose h3 { font-size: 1.2rem; margin-top: 6px; }
.prose ul, .prose ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.prose img { border-radius: 12px; }
.prose blockquote { margin: 0; padding: 14px 18px; background: var(--ivory); border-radius: 12px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: .15em; width: 21px; height: 21px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: .7rem; font-weight: 900; display: grid; place-items: center; }
.ticks b { color: var(--navy); }
.two .ticks { margin-top: 4px; }

/* Table */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 420px; }
.tbl th, .tbl td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl thead th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--ivory); }
.tbl tbody th { font-weight: 800; color: var(--navy); }

/* Timeline */
.timeline { list-style: none; margin: 0 0 0 8px; padding: 0; border-left: 3px dashed var(--ey-sage); }
.timeline li { padding: 0 0 22px 26px; position: relative; display: grid; }
.timeline li::before { content: ""; position: absolute; left: -10px; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--ey-sun); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--ey-sun); }
.timeline__time { font-weight: 800; color: var(--ey-slate); font-size: .88rem; font-variant-numeric: tabular-nums; }
.timeline span:last-child:not(.timeline__time) { color: var(--muted); font-size: .93rem; }
.timeline b { color: var(--ink); }
.timeline + * { margin-top: 0; }
.sec .sec-head h2.font-play { color: var(--ey-slate); }
.soft-box { background: var(--ey-cream); border-radius: 20px; padding: 20px 22px; display: grid; gap: 4px; }
.soft-box h3 { font-size: 1.05rem; color: var(--ey-slate); }
.soft-box p { font-size: .93rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; background: #fff; }
.faq summary { font-weight: 800; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.faq--ey summary { color: var(--ey-slate); } .faq--ey summary::after { color: var(--ey-sage); }

/* CTA */
.cta { border-radius: 28px; padding: clamp(26px, 5vw, 46px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta p { margin-top: 8px; }
.cta--ivory { background: var(--ivory); } .cta--ivory p { color: var(--muted); }
.cta--blue { background: var(--blue); color: #fff; } .cta--blue h2 { color: #fff; } .cta--blue p { color: #D6E0F2; }
.cta--ey { background: var(--ey-slate); color: #fff; } .cta--ey h2 { color: #fff; } .cta--ey p { color: #D5E1EC; }
.bg-ivory .cta--ivory { background: #fff; }

/* News */
.chips-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips-filter button { font: 700 .88rem var(--f-body); padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.chips-filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.is-filtered { display: none !important; }
.events { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.events li { display: grid; grid-template-columns: 68px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.date { background: var(--blue); color: #fff; border-radius: 12px; text-align: center; padding: 8px 0; line-height: 1.1; }
.date b { display: block; font-size: 1.4rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.date small { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.events__ey .date { background: var(--ey-slate); }
.events h3 { font-size: 1.02rem; } .events h3 a { color: inherit; text-decoration: none; }
.events p { font-size: .9rem; color: var(--muted); }
.post__img { margin: 0 0 28px; }
.post__img img { width: 100%; border-radius: 22px; }
.post__date { margin-top: 28px; font-size: .88rem; color: var(--muted); }

/* Gallery */
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; margin-bottom: 36px; }
.album { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; text-decoration: none; color: inherit; display: grid; transition: border-color .15s, box-shadow .15s; }
.album:hover { border-color: var(--blue); }
.album[aria-current="page"] { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.album__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--blue-tint); }
.album__meta { padding: 11px 14px; display: grid; gap: 1px; }
.album__meta b { color: var(--navy); font-size: .95rem; }
.album__meta small { color: var(--muted); font-size: .8rem; }
.gal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.gal-head h2 { font-size: 1.5rem; }
.gal-head span { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.masonry { columns: 4 220px; column-gap: 14px; }
.tile { break-inside: avoid; margin: 0 0 14px; display: block; border-radius: 14px; overflow: hidden; position: relative; cursor: zoom-in; background: var(--blue-tint); }
.tile img { width: 100%; transition: transform .45s ease; }
.tile:hover img { transform: scale(1.04); }
.tile__cap { position: absolute; left: 10px; bottom: 10px; right: 10px; background: rgba(3,22,53,.6); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; width: fit-content; max-width: calc(100% - 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.strip .tile, .feed .tile { margin: 0; }
.strip img, .feed img { aspect-ratio: 1; object-fit: cover; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(2,10,26,.94); color: #fff; display: grid; grid-template-rows: auto 1fr; gap: 12px; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lb__top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
.lb__stage { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 0; }
.lb__fig { margin: 0; display: grid; justify-items: center; gap: 12px; min-height: 0; }
.lb__fig img { max-height: calc(100vh - 170px); width: auto; max-width: 100%; border-radius: 12px; }
.lb__fig figcaption { text-align: center; color: #D6E0F2; font-weight: 700; }
.no-scroll { overflow: hidden; }

/* Social */
.profiles { display: grid; gap: 12px; }
.profile { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: #fff; transition: border-color .15s, transform .15s; }
.profile:hover { border-color: var(--blue); transform: translateY(-1px); }
.profile__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--navy); }
.profile__ic--facebook { background: #1877F2; } .profile__ic--instagram { background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); }
.profile__ic--linkedin { background: #0A66C2; } .profile__ic--x { background: #111; } .profile__ic--youtube { background: #FF0000; }
.profile b { display: block; color: var(--navy); }
.profile small { color: var(--muted); font-size: .88rem; }
.profile__go { font-weight: 800; color: var(--blue); font-size: .88rem; }
.feed__h { font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 4vw, 32px); min-width: 0; }
.form__title { grid-column: 1 / -1; font-size: 1.3rem; }
.form__alert { grid-column: 1 / -1; background: #FDE8E6; color: #8A1C12; border-radius: 10px; padding: 12px 14px; font-weight: 700; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .88rem; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; font-size: .95rem; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.field [aria-invalid="true"] { border-color: #C0392B; }
.field__err { color: #A12A1C; font-size: .85rem; font-weight: 700; }
.req { color: #A12A1C; }
.form__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-list { display: grid; gap: 18px; margin: 0 0 28px; }
.contact-list div { display: grid; gap: 2px; }
.contact-list dt { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; color: var(--navy); font-weight: 800; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-list a { color: inherit; text-decoration: none; }

/* Footer */
.footer { background: var(--navy-2); color: #B9C4DA; font-size: .93rem; }
.footer__in { padding-block: 56px 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer__grid > * { min-width: 0; }
.footer__logos { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.footer__logos img { height: 84px; width: auto; }
.footer__ey { border-radius: 12px; }
.footer__board { display: inline-flex; margin-top: 16px; background: #fff; border-radius: 10px; padding: 8px 12px; }
.footer__board img { width: 150px; height: auto; }
.footer__h { color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer li { overflow-wrap: anywhere; }
.footer a { color: #B9C4DA; text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer__base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: .82rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: #fff; }
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); }

/* Responsive */
@media (max-width: 1000px) {
  .two, .ph--img .ph__in, .band__in, .principal__in { grid-template-columns: 1fr; }
  .two--flip > :first-child { order: 0; }
  .stages, .steps, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards, .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { border-top: 0; gap: 28px; }
  .step { border-top: 3px solid var(--blue); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .board { grid-template-columns: 1fr; }
  .board__logo { border-right: 0; padding-right: 0; }
  .principal__photo { max-width: 220px; }
  .cta { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .hs::before { width: 300px; height: 300px; border-width: 40px; right: -170px; bottom: -235px; }
  .hs__slide::after { background: linear-gradient(180deg, rgba(3,22,53,.55), rgba(3,22,53,.9)); }
  .hs__tabs { gap: 8px; }
  .hs__tabs button { min-width: 0; width: 26px; height: 16px; font-size: 0; padding: 0; }
}
@media (max-width: 620px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .stages, .steps, .cards, .cards--2, .cards--3, .cards--4, .pillars, .form { grid-template-columns: 1fr; }
  .cards--area { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .topbar__tag { font-size: .68rem; letter-spacing: .1em; }
  .topbar__social { display: none; }
  .topbar__tag + .topbar__announce { margin-left: 0; }
  .since { padding-left: 12px; }
  .lb__stage { grid-template-columns: 1fr; }
  .lb__stage .round-btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hs__tabs button[aria-selected="true"] i { width: 100%; }
}
