/* 2026 visual revision — cinematic prospectus, school identity and British palette */
:root {
  --ink: #0a2247;
  --ink-deep: #071a38;
  --blue: #155db1;
  --red: #d3273d;
  --red-light: #ff9aa5;
  --yellow: #d3273d;
  --yellow-soft: #ffc1c8;
  --cream: #edf3fa;
  --paper: #fff;
  --green: #e4edfa;
  --green-deep: #1459a8;
  --coral: #d3273d;
  --line: rgba(10, 34, 71, .2);
  --muted: #425b75;
  --display: 'Open Sans', Arial, sans-serif;
  --body: 'Open Sans', Arial, sans-serif;
}
body { background: #f5f8fc; font-size: 18px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.052em; }
h1 em, h2 em, h3 em { font-style: normal; font-weight: 800; }
h1 { font-size: clamp(4rem, 6vw, 7rem); line-height: 1.04; }
h2 { font-size: clamp(3rem, 4.6vw, 5.1rem); line-height: 1.11; }
h3 { font-size: clamp(1.8rem, 2.35vw, 2.7rem); line-height: 1.2; }
p { line-height: 1.74; }
.shell { width: min(1400px, calc(100% - 92px)); }
.section-pad { padding: 122px 0; }
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .14em; }
.eyebrow-light { color: #ffbdc4; }
.index-label, .section-counter, .story-date { font-size: 13px; }
.small-note { font-size: 15px; }
.button { min-height: 62px; padding: 18px 26px; border-radius: 17px; font-size: 16px; }
.button-ink { background: var(--ink); color: #fff; }
.button-cream { background: #fff; color: var(--ink); }
.button-cream:hover { background: #e7f1ff; }
.button-yellow { background: var(--red); color: #fff; }
.button-yellow:hover { background: #fff; color: var(--ink); }
.text-link, .inline-arrow { font-size: 16px; }
.text-link:hover, .inline-arrow:hover { color: var(--red); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline-color: var(--red); }
::selection { background: #ffd6da; color: var(--ink); }

/* The real school wordmark is intentionally not recoloured. */
.utility-bar { position: relative; height: 40px; background: var(--ink-deep); }
.utility-bar::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, #155db1 0 38%, #fff 38% 42%, #d3273d 42% 58%, #fff 58% 62%, #155db1 62%); }
.utility-inner { font-size: 14px; }
.utility-inner span span, .utility-inner a:hover { color: #ffadb7; }
.site-header { background: rgba(255,255,255,.97); border-bottom: 0; }
.site-header::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, #155db1 0 47%, #fff 47% 49%, #d3273d 49% 52%, #fff 52% 54%, #155db1 54%); }
.header-inner { min-height: 102px; gap: 28px; }
.brand { gap: 0; }
.brand-logo { display: block; width: clamp(245px, 23vw, 315px); height: auto; object-fit: contain; }
.main-nav { gap: clamp(15px, 1.5vw, 27px); }
.main-nav > a:not(.nav-cta) { font-size: 15px; font-weight: 700; }
.main-nav > a:not(.nav-cta)::after { background: var(--red); }
.nav-cta { min-height: 50px; padding: 13px 20px; border-radius: 12px; background: var(--red); color: #fff; font-size: 15px; }
.nav-cta:hover { background: #ac1930; }
.menu-toggle { border-color: var(--ink); }

/* Home: an atmospheric school-photo film under a still-readable glass panel. */
.hero-cinematic { position: relative; isolation: isolate; min-height: clamp(740px, calc(100svh - 142px), 940px); overflow: hidden; background: var(--ink-deep) url('/media/hero-poster.webp') center 47% / cover no-repeat; color: #fff; }
.hero-cinematic::before, .hero-cinematic::after { content: ''; position: absolute; left: 0; right: 0; z-index: 4; height: 5px; background: linear-gradient(90deg, #155db1 0 42%, #fff 42% 46%, #d3273d 46% 61%, #fff 61% 65%, #155db1 65%); pointer-events: none; }
.hero-cinematic::before { top: 0; }
.hero-cinematic::after { bottom: 0; }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media { z-index: 0; }
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-video[hidden] { display: none; }
.hero-overlay { z-index: 1; background: linear-gradient(95deg, rgba(3,17,42,.87) 0%, rgba(4,20,46,.72) 38%, rgba(5,20,43,.25) 100%), linear-gradient(0deg, rgba(6,23,50,.46), transparent 45%); pointer-events: none; }
.hero-stage { position: relative; z-index: 2; display: flex; align-items: center; min-height: inherit; padding: 78px 0 108px; }
.hero-panel { position: relative; width: min(1100px, 74%); padding: clamp(36px, 3.5vw, 58px); border: 1px solid rgba(255,255,255,.25); border-radius: 38px; background: rgba(9, 31, 62, .48); box-shadow: 0 30px 85px rgba(4,16,39,.27); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hero-kicker { display: flex; align-items: center; gap: 15px; margin: 0 0 37px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .17em; line-height: 1.45; text-transform: uppercase; }
.hero-kicker img { flex: none; width: 42px; height: 42px; border: 5px solid rgba(255,255,255,.22); border-radius: 50%; background: #fff; object-fit: cover; }
.hero-panel h1 { max-width: 100%; margin: 0 0 30px; font-size: clamp(4.1rem, 4.7vw, 5rem); font-weight: 800; letter-spacing: -.06em; line-height: 1.075; }
.hero-panel h1 span { display: block; background: linear-gradient(100deg, #fff 0%, #b9d8ff 49%, #ff99a5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-panel .hero-lead { max-width: 700px; margin: 0 0 36px; color: #edf4ff; font-size: clamp(1.13rem, 1.55vw, 1.38rem); line-height: 1.68; }
.hero-panel .hero-actions { gap: 15px; }
.hero-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 27px; min-height: 66px; padding: 13px 15px 13px 24px; border: 1px solid transparent; border-radius: 18px; color: #fff; font-size: 17px; font-weight: 800; line-height: 1.2; transition: transform .24s ease, background .24s ease, border-color .24s ease; }
.hero-button:hover { transform: translateY(-3px); }
.hero-button-primary { min-width: 288px; background: #1268bf; }
.hero-button-primary:hover { background: #0a4d96; }
.hero-button-ghost { min-width: 194px; border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.08); }
.hero-button-ghost:hover { background: rgba(255,255,255,.2); }
.hero-arrow { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 23px; font-weight: 400; line-height: 1; }
.hero-button-ghost .hero-arrow { background: #fff; color: var(--blue); }
.hero-highlights { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 42px; color: #dce9f8; font-size: 13px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.hero-highlights i { width: 5px; height: 5px; border-radius: 50%; background: #ff7887; }
.hero-side-note { position: absolute; right: 0; bottom: 120px; min-width: 252px; padding: 28px 30px; border: 1px solid rgba(255,255,255,.33); border-radius: 18px; background: rgba(25,49,78,.45); box-shadow: 0 18px 50px rgba(0,0,0,.12); backdrop-filter: blur(13px); }
.hero-side-note small { display: block; margin-bottom: 14px; color: #ffbbc3; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.hero-side-note strong { display: block; font-size: 18px; font-weight: 700; line-height: 1.42; }
.hero-scroll { position: absolute; z-index: 3; bottom: 25px; left: 50%; display: inline-flex; align-items: center; gap: 12px; transform: translateX(-50%); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.hero-scroll span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; font-size: 18px; font-weight: 400; }
@supports not (backdrop-filter: blur(2px)) { .hero-panel { background: rgba(7,26,56,.85); } .hero-side-note { background: rgba(7,26,56,.84); } }
.ticker { background: var(--red); color: #fff; }
.ticker-inner { min-height: 75px; }
.ticker span { font-weight: 800; font-size: clamp(17px,1.65vw,24px); }
.ticker b { color: #fff; }

/* Page-wide copy scale: formerly 10–15px copy on desktop is now comfortable to read. */
.story-copy p:not(.eyebrow), .split-heading > p, .feature-copy p:not(.eyebrow),
.values-right > p, .admission-grid p:not(.eyebrow), .essay-main > p,
.mission-copy p:not(.eyebrow), .recognition-grid p, .stage-copy > p:not(.eyebrow),
.languages-grid p:not(.eyebrow), .digital-grid p:not(.eyebrow),
.life-ethos p:not(.eyebrow), .tuition-grid p:not(.eyebrow),
.faq-grid > div:first-child p:not(.eyebrow), .visit-grid p:not(.eyebrow),
.social-grid p:not(.eyebrow) { font-size: 18px; line-height: 1.76; }
.pathway-content p, .pillar-grid p, .moments-note p, .value-list p,
.story-cards p, .process-grid p, .contact-card-grid p, .faq-list details p,
.stage-mini p, .check-list li { font-size: 16px; line-height: 1.68; }
.subject-pills span, .language-chips span, .values-tags span { font-size: 14px; }
.stage-mini span, .tuition-cards span { font-size: 13px; }
.stage-mini p { margin-top: 9px; }
.breadcrumbs { color: var(--muted); font-size: 14px; }

/* Blue, white and red replace the old yellow/green section palette. */
.intro-story, .moments, .about-mission, .recognition, .digital-learning,
.stage-section, .life-intro, .social-stories, .admissions-intro,
.faq-section, .contact-methods, .social-connect { background: #fff; }
.pathways, .learning-pillars, .gallery-section, .admissions-process,
.values-page, .stage-section.stage-reverse { background: #edf3fa; }
.values-section, .admission-teaser, .life-ethos, .visit-feature { background: #fff0f2; }
.inner-hero { background: #eaf1fb; }
.inner-hero-about, .inner-hero-life, .inner-hero-contact { background: #eaf1fb; }
.inner-hero-learning, .inner-hero-admissions { background: #fff0f2; }
.inner-hero::after { color: rgba(211,39,61,.065); }
.inner-hero-copy > p:not(.breadcrumbs,.eyebrow) { font-size: 19px; line-height: 1.7; }
.inner-hero-copy h1 { font-size: clamp(3.7rem, 5.35vw, 6.3rem); }
.inner-hero-photo::before, .inner-hero-photo img { border-radius: 24px; }
.photo-bubble { background: var(--red); color: #fff; font-size: 22px; font-weight: 700; }
.quote-inner p { font-size: 14px; }
.recognition-grid small { font-size: 14px; }
.digital-grid .small-note { font-size: 15px !important; }
.visit-grid .arabic-address { font-size: 16px !important; }
.story-image-frame, .mission-photo::before, .mission-photo img, .stage-photo img,
.life-ethos-photo img, .feature-visual img { border-radius: 22px; }
.story-visual::before { border-radius: 22px; background: #d5e6f8; }
.story-doodle { color: var(--red); }
.photo-note, .feature-caption, .moments-main > span, .visit-photo > span { background: var(--red); color: #fff; font-weight: 800; }
.photo-note, .feature-caption, .moments-main > span, .visit-photo > span { letter-spacing: -.035em; }
.photo-note { font-size: 20px; }
.feature-caption { font-size: 22px; }
.card-yellow, .pillar-grid article:nth-child(2), .process-grid article:nth-child(2),
.contact-card-grid article:nth-child(2), .tuition-cards > div:nth-child(2) { background: #fbe0e4; }
.card-green, .moments-note, .stage-mini > div,
.contact-card-grid article:nth-child(3), .tuition-cards > div { background: #e2edfb; }
.stage-mini > div:nth-child(2) { background: #fbe0e4; }
.pathway-card { min-height: 430px; border-radius: 17px; }
.pathway-content { padding: 36px 31px; }
.pathway-content h3 { margin-top: 32px; font-size: clamp(2rem,2.5vw,3rem); }
.pathway-content p { max-width: 280px; }
.pathway-card:hover { box-shadow: 0 22px 40px rgba(10,34,71,.15); }
.circle-arrow { width: 46px; height: 46px; }
.feature-copy h2 { font-size: clamp(3rem, 4.5vw, 5rem); }
.feature-copy h2 em, .languages-grid h2 em, .tuition-grid h2 em,
.closing-inner h2 em, .parent-partnership .feature-copy h2 em { color: #ffb2bc; }
.subject-pills span { padding: 11px 18px; }
.values-tags span { background: #fff; }
.moments-note h3 { font-size: 30px; }
.admission-steps b, .value-list b, .recognition-grid strong, .pillar-icon,
.story-date span, .contact-symbol { color: var(--red); }
.admission-steps div span:nth-child(2) { font-weight: 800; }
.closing-banner { background: #1554a4; }
.quote-block { background: var(--red); color: #fff; }
.quote-inner blockquote { font-weight: 800; }
.pillar-grid article, .story-cards article, .process-grid article,
.contact-card-grid article, .gallery-grid figure { border-radius: 16px; }
.pillar-grid article { min-height: 360px; }
.pillar-grid h3, .process-grid h3 { font-size: 31px; }
.value-list p { color: var(--muted); }
.language-chips i { color: #ffb2bc; font-size: 12px; }
.story-cards article { min-height: 435px; padding: 36px; background: #f2f6fb; }
.story-cards article:nth-child(2) { background: #fff0f2; }
.story-cards article:nth-child(3) { background: #e8f0fa; }
.story-cards h3 { margin-top: 52px; }
.story-date { color: var(--blue); }
.process-grid article, .contact-card-grid article { min-height: 355px; padding: 34px; }
.process-grid article > span { color: var(--red); }
.process-grid a { font-size: 15px; }
.contact-card-grid h3 { font-size: 32px; }
.contact-card-grid p { min-height: 80px; }
.tuition-cards > div { min-height: 236px; }
.tuition-cards strong { font-weight: 800; font-size: clamp(2.1rem, 2.6vw, 2.9rem); }
.tuition-cards strong small { font-size: 14px; }
.tuition-cards > div p { font-size: 15px !important; }
.tuition-cards > p { font-size: 14px !important; }
.faq-list summary { font-size: 25px; font-weight: 800; }
.social-links a { font-size: 25px; font-weight: 800; }
.visit-photo > span span { color: #fff; }
.gallery-grid figcaption { font-size: 17px; font-weight: 700; }

/* Footer remains a calm, high-contrast destination. */
.site-footer { background: var(--ink-deep); }
.footer-intro .brand-light { display: inline-flex; width: fit-content; padding: 9px 14px; border-radius: 12px; background: #fff; }
.footer-intro .brand-logo { width: min(285px, 100%); }
.footer-intro > p:not(.arabic-name) { max-width: 320px; font-size: 23px; font-weight: 700; }
.arabic-name { color: #ffbdc4; font-size: 16px; }
.footer-column h2 { color: #ffbdc4; font-size: 14px; }
.footer-column a, .footer-column span { font-size: 15px; }
.footer-column a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { font-size: 14px; }
.footer-bottom span span { color: #ffbdc4; }

@media (max-width: 1200px) {
  .shell { width: calc(100% - 68px); }
  .header-inner { min-height: 92px; gap: 18px; }
  .brand-logo { width: clamp(210px, 22vw, 270px); }
  .main-nav { gap: 15px; }
  .main-nav > a:not(.nav-cta), .nav-cta { font-size: 14px; }
  .hero-panel { width: min(790px, 79%); }
  .hero-panel h1 { font-size: clamp(3.7rem, 6.2vw, 5.6rem); }
  .hero-side-note { right: 0; bottom: 92px; min-width: 220px; padding: 22px; }
}
@media (max-width: 950px) {
  .shell { width: calc(100% - 56px); }
  .brand-logo { width: 270px; }
  .main-nav { background: #fff; }
  .has-js .main-nav { box-shadow: 0 17px 30px rgba(10,34,71,.17); }
  .main-nav > a:not(.nav-cta) { font-size: 16px; }
  .hero-cinematic { min-height: 780px; }
  .hero-stage { padding: 76px 0 105px; }
  .hero-panel { width: min(760px, 92%); }
  .hero-panel h1 { font-size: clamp(3.8rem, 7.8vw, 5.6rem); }
  .hero-side-note { display: none; }
  .pathway-content p { font-size: 16px; }
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moments-note h3 { font-size: 27px; }
  .story-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-cards h3 { font-size: 26px; }
  .tuition-cards > div { min-height: 170px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .shell { width: calc(100% - 40px); }
  .section-pad { padding: 86px 0; }
  h2 { font-size: clamp(2.8rem, 7.2vw, 4.1rem); }
  .brand-logo { width: 255px; }
  .hero-cinematic { min-height: 775px; }
  .hero-stage { padding: 65px 0 90px; }
  .hero-panel { width: 100%; padding: 38px; }
  .hero-panel h1 { font-size: clamp(3rem, 9vw, 5rem); }
  .hero-panel .hero-lead { font-size: 18px; }
  .hero-highlights { margin-top: 32px; }
  .hero-scroll { bottom: 19px; }
  .story-copy p:not(.eyebrow), .split-heading > p, .feature-copy p:not(.eyebrow),
  .values-right > p, .admission-grid p:not(.eyebrow), .essay-main > p,
  .mission-copy p:not(.eyebrow), .stage-copy > p:not(.eyebrow),
  .languages-grid p:not(.eyebrow), .digital-grid p:not(.eyebrow),
  .life-ethos p:not(.eyebrow), .tuition-grid p:not(.eyebrow),
  .faq-grid > div:first-child p:not(.eyebrow), .visit-grid p:not(.eyebrow),
  .social-grid p:not(.eyebrow) { font-size: 17px; }
  .pathway-content { min-height: 300px; }
  .footer-column a, .footer-column span { font-size: 14px; }
  .inner-hero-copy h1 { font-size: clamp(3.3rem, 8vw, 4.7rem); }
  .inner-hero-copy > p:not(.breadcrumbs,.eyebrow) { font-size: 18px; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 34px); }
  .section-pad { padding: 74px 0; }
  .utility-bar { height: 34px; }
  .utility-inner { font-size: 12px; }
  .header-inner { min-height: 75px; }
  .brand-logo { width: min(214px, calc(100vw - 112px)); }
  .hero-cinematic { min-height: 775px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(4,18,43,.72), rgba(4,18,43,.3)), linear-gradient(0deg, rgba(4,18,43,.61), transparent 54%); }
  .hero-stage { padding: 56px 0 84px; }
  .hero-panel { padding: 27px 23px; border-radius: 26px; background: rgba(7,26,56,.67); }
  .hero-kicker { gap: 10px; margin-bottom: 29px; font-size: 11px; letter-spacing: .08em; }
  .hero-kicker img { width: 34px; height: 34px; border-width: 3px; }
  .hero-panel h1 { margin-bottom: 22px; font-size: clamp(2.55rem, 10.3vw, 3.6rem); line-height: 1.095; }
  .hero-panel .hero-lead { margin-bottom: 24px; font-size: 16px; line-height: 1.62; }
  .hero-panel .hero-actions { gap: 11px; }
  .hero-button, .hero-button-primary, .hero-button-ghost { width: 100%; min-width: 0; min-height: 59px; padding: 10px 12px 10px 19px; font-size: 15px; }
  .hero-arrow { width: 36px; height: 36px; }
  .hero-highlights { gap: 9px; margin-top: 26px; font-size: 10px; letter-spacing: .06em; }
  .hero-highlights i { width: 4px; height: 4px; }
  .hero-scroll { font-size: 10px; }
  h2 { font-size: clamp(2.5rem, 9vw, 3.4rem); }
  .eyebrow { font-size: 11px; }
  .pathway-card { display: block; min-height: 0; }
  .pathway-image { height: 240px; }
  .pathway-content { min-height: 285px; padding: 28px; }
  .pathway-content h3 { margin: 22px 0 13px; font-size: 30px; }
  .pathway-content p { max-width: none; font-size: 16px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-grid p, .process-grid p, .contact-card-grid p { font-size: 16px; }
  .story-cards { grid-template-columns: 1fr; }
  .story-cards article { min-height: 335px; padding: 29px; }
  .story-cards p { font-size: 16px; }
  .process-grid article, .contact-card-grid article { min-height: 305px; padding: 28px; }
  .contact-card-grid p { min-height: 0; }
  .value-list > div { min-height: 127px; }
  .value-list p { margin-top: 0; font-size: 15px; }
  .inner-hero-copy h1 { font-size: clamp(3rem, 10vw, 4rem); }
  .quote-inner blockquote { font-size: clamp(2.35rem, 8vw, 3.5rem); }
  .faq-list summary { font-size: 21px; }
  .faq-list details p { font-size: 16px; }
  .footer-grid { gap: 36px 24px; }
  .footer-intro .brand-logo { width: min(270px, 100%); }
  .footer-column a, .footer-column span { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none !important; }
  .hero-button { transition: none; }
}
@media (prefers-contrast: more) {
  .hero-overlay { background: rgba(4, 18, 43, .72); }
  .hero-panel { background: rgba(4, 18, 43, .9); }
}
@media (forced-colors: active) {
  .hero-panel { background: Canvas; color: CanvasText; border-color: CanvasText; backdrop-filter: none; }
  .hero-panel h1 span { background: none; color: CanvasText; }
  .hero-kicker, .hero-panel .hero-lead, .hero-highlights { color: CanvasText; }
}
