/* =====================================================================
   The five website designs. Each is a complete look laid over the same
   page: Heritage is the base in site-v2.css; the other four restyle it.
   Every one still uses the school's own --primary and --accent, so the
   school's colours survive whichever design it chooses.
   ===================================================================== */

/* -------- shared by the designs that use a plain sans throughout -------- */
body.theme-horizon .heading-serif, body.theme-playful .heading-serif, body.theme-prestige .heading-serif,
body.theme-horizon .brand-name, body.theme-playful .brand-name, body.theme-prestige .brand-name,
body.theme-horizon .v2-figure-n, body.theme-playful .v2-figure-n, body.theme-prestige .v2-figure-n,
body.theme-horizon .v2-why-n, body.theme-playful .v2-why-n, body.theme-prestige .v2-why-n,
body.theme-horizon .v2-class-body h3, body.theme-playful .v2-class-body h3, body.theme-prestige .v2-class-body h3,
body.theme-horizon .v2-news-item h3, body.theme-playful .v2-news-item h3, body.theme-prestige .v2-news-item h3,
body.theme-horizon .v2-news-item time strong, body.theme-playful .v2-news-item time strong, body.theme-prestige .v2-news-item time strong,
body.theme-horizon .v2-person h3, body.theme-playful .v2-person h3, body.theme-prestige .v2-person h3,
body.theme-horizon .footer .f-name, body.theme-playful .footer .f-name, body.theme-prestige .footer .f-name,
body.theme-horizon .v2-hero-facts dd, body.theme-playful .v2-hero-facts dd, body.theme-prestige .v2-hero-facts dd,
body.theme-horizon .v2-about-badge strong, body.theme-playful .v2-about-badge strong, body.theme-prestige .v2-about-badge strong,
body.theme-horizon .v2-head strong, body.theme-playful .v2-head strong, body.theme-prestige .v2-head strong,
body.theme-horizon .v2-class-more strong, body.theme-playful .v2-class-more strong, body.theme-prestige .v2-class-more strong {
    font-family: 'DM Sans', 'Inter', -apple-system, "Segoe UI", sans-serif;
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* -------- designs whose opening screen is light: the bar keeps dark type over it -------- */
body.theme-horizon.is-home .nav:not(.v2-stuck), body.theme-playful.is-home .nav:not(.v2-stuck) { background: transparent; border-bottom-color: rgba(15, 23, 42, .08); }
body.theme-horizon.is-home .nav:not(.v2-stuck) .brand-name, body.theme-playful.is-home .nav:not(.v2-stuck) .brand-name,
body.theme-horizon.is-home .nav:not(.v2-stuck) .menu > a, body.theme-playful.is-home .nav:not(.v2-stuck) .menu > a,
body.theme-horizon.is-home .nav:not(.v2-stuck) .menu .dropdown > a, body.theme-playful.is-home .nav:not(.v2-stuck) .menu .dropdown > a { color: var(--v2-ink); }
body.theme-horizon.is-home .nav:not(.v2-stuck) .brand-tag, body.theme-playful.is-home .nav:not(.v2-stuck) .brand-tag { color: var(--v2-muted); }
body.theme-horizon.is-home .nav:not(.v2-stuck) .brand-divider, body.theme-playful.is-home .nav:not(.v2-stuck) .brand-divider { background: var(--v2-line); }
body.theme-horizon.is-home .nav:not(.v2-stuck) .menu > a.nav-parent, body.theme-playful.is-home .nav:not(.v2-stuck) .menu > a.nav-parent { border-color: var(--v2-line); }
body.theme-horizon.is-home .nav:not(.v2-stuck) .burger, body.theme-playful.is-home .nav:not(.v2-stuck) .burger { color: var(--v2-ink); border-color: var(--v2-line); background: #fff; }


/* =====================================================================
   FOUNDATION - night and gold, a framed photograph, paper sections.
   After the Agomeda God Is Good Academy website.
   ===================================================================== */
body.theme-foundation {
    --night: color-mix(in srgb, var(--primary) 34%, #0e0718);
    --night-2: color-mix(in srgb, var(--primary) 26%, #170d26);
    --v2-soft: color-mix(in srgb, var(--accent) 6%, #fbf8f1);
    --v2-line: color-mix(in srgb, var(--accent) 22%, #e8e0cc);
    --v2-radius: 12px;
    background: var(--v2-soft);
}
body.theme-foundation .topbar { background: var(--night-2); }
body.theme-foundation .nav.v2-stuck { background: #fffdf8; }
body.theme-foundation .nav-cta { border-radius: 4px !important; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem !important; }
body.theme-foundation .v2-btn { border-radius: 4px; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }

body.theme-foundation .v2-hero { background: var(--night); align-items: center; min-height: min(100svh, 840px); }
body.theme-foundation .v2-hero-slides, body.theme-foundation .v2-hero-shade, body.theme-foundation .v2-scroll-cue { display: none; }
body.theme-foundation .v2-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
    radial-gradient(circle at 78% 30%, color-mix(in srgb, var(--accent) 14%, transparent) 0, transparent 38%),
    radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--primary) 30%, transparent) 0, transparent 40%); }
body.theme-foundation .v2-hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-areas: "copy frame" "card frame"; align-items: center; gap: 1.5rem clamp(2rem, 6vw, 5rem); padding-bottom: clamp(4rem, 8vh, 6rem); }
body.theme-foundation .v2-hero-copy { grid-area: copy; }
body.theme-foundation .v2-eyebrow { color: var(--accent); }
body.theme-foundation .v2-hero-title { font-weight: 500; max-width: 15ch; }
body.theme-foundation .v2-hero-frame { display: block; grid-area: frame; position: relative; margin: 0; padding: 0 0 1.6rem; }
body.theme-foundation .v2-hero-frame::before { content: ""; position: absolute; left: -26px; top: -26px; width: 44%; height: 38%; border-radius: 10px; z-index: 0;
    background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 13px 13px; }
body.theme-foundation .v2-hero-frame::after { content: ""; position: absolute; right: -14px; bottom: 8px; width: 60%; height: 50%; border: 2px solid var(--accent); border-radius: 14px; z-index: 0; opacity: .55; }
body.theme-foundation .v2-hero-frame > img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
body.theme-foundation .v2-hero-seal { position: absolute; right: -20px; top: -24px; z-index: 2; width: 100px; height: 100px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); display: grid; place-items: center; overflow: hidden; box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); }
body.theme-foundation .v2-hero-seal img { width: 76%; height: 76%; object-fit: contain; }
body.theme-foundation .v2-hero-card { grid-area: card; background: transparent; color: #fff; box-shadow: none; border: 0; border-top: 1px solid rgba(255,255,255,.14); border-radius: 0; padding: 1.5rem 0 0; }
body.theme-foundation .v2-hero-card p, body.theme-foundation .v2-hero-card .v2-btn { display: none; }
body.theme-foundation .v2-hero-card-top { color: var(--accent); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; }
body.theme-foundation .v2-hero-facts { border: 0; margin: 1rem 0 0; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(1.4rem, 4vw, 3rem); }
body.theme-foundation .v2-hero-facts div { border: 0; padding: 0; text-align: left; display: flex; flex-direction: column-reverse; gap: .25rem; }
body.theme-foundation .v2-hero-facts dt { color: rgba(255,255,255,.62); }
body.theme-foundation .v2-hero-facts dd { color: #fff; font-weight: 500; font-size: 1.9rem; }

body.theme-foundation .v2-ticker { background: var(--night-2); color: var(--accent); border-color: rgba(255,255,255,.08); }
body.theme-foundation .v2-about, body.theme-foundation .v2-classes, body.theme-foundation .v2-news, body.theme-foundation .v2-visit { background: var(--v2-soft); }
body.theme-foundation .v2-why, body.theme-foundation .v2-gallery, body.theme-foundation .v2-team { background: #fffdf8; }
body.theme-foundation .v2-why-grid { gap: 1.2rem; background: transparent; border: 0; overflow: visible; }
body.theme-foundation .v2-why-card { border: 1px solid var(--v2-line) !important; border-radius: 12px; background: #fff; }
body.theme-foundation .v2-why-ico { background: var(--night); color: var(--accent); border-radius: 50%; }
body.theme-foundation .v2-figures, body.theme-foundation .v2-quote, body.theme-foundation .v2-cta { background-color: var(--night); }
body.theme-foundation .v2-figure i, body.theme-foundation .v2-quote-inner > i { color: var(--accent); }
body.theme-foundation .v2-figure-n { font-weight: 500; }
body.theme-foundation .v2-class, body.theme-foundation .v2-shot, body.theme-foundation .v2-person-img { border-radius: 12px; }
body.theme-foundation .v2-class-img span { background: var(--night); color: var(--accent); }
body.theme-foundation .v2-class-more { background: var(--night); border-color: var(--night); }
body.theme-foundation .v2-cta-img { border-radius: 0; }
body.theme-foundation .footer { background: var(--night); border-top-color: var(--accent); }
body.theme-foundation .v2-head { background: #fff; border-left-color: var(--accent); }


/* =====================================================================
   HORIZON - centred, airy and modern; a soft 3D wave under the headline.
   ===================================================================== */
body.theme-horizon {
    --v2-soft: #f4f7fb;
    --v2-line: #e3e8f0;
    --v2-radius: 18px;
    font-family: 'Inter', 'DM Sans', -apple-system, "Segoe UI", sans-serif;
}
body.theme-horizon .topbar { background: var(--primary); }
body.theme-horizon .nav-cta, body.theme-horizon .v2-btn, body.theme-horizon .burger, body.theme-horizon .menu > a.nav-parent { border-radius: 999px !important; }

body.theme-horizon .v2-hero { background: color-mix(in srgb, var(--primary) 6%, #ffffff); color: var(--v2-ink); align-items: flex-start; min-height: 0; }
body.theme-horizon .v2-hero-slides, body.theme-horizon .v2-hero-shade, body.theme-horizon .v2-hero-card, body.theme-horizon .v2-scroll-cue, body.theme-horizon .v2-hero-seal { display: none; }
body.theme-horizon .v2-hero-gl { height: 78%; }
body.theme-horizon .v2-hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-top: calc(var(--nav-h) + clamp(3rem, 8vh, 5.5rem)); padding-bottom: 0; gap: 0; }
body.theme-horizon .v2-hero-copy { max-width: 900px; display: flex; flex-direction: column; align-items: center; }
body.theme-horizon .v2-eyebrow { color: var(--primary); background: #fff; border: 1px solid var(--v2-line); padding: .45rem 1rem; border-radius: 999px; letter-spacing: .14em; font-size: .72rem; box-shadow: 0 8px 20px -14px rgba(15,23,42,.4); }
body.theme-horizon .v2-eyebrow span { width: 8px; height: 8px; border-radius: 50%; }
body.theme-horizon .v2-hero-title { color: var(--v2-ink); max-width: 17ch; letter-spacing: -0.04em; }
body.theme-horizon .v2-hero-sub { color: var(--v2-muted); margin-inline: auto; }
body.theme-horizon .v2-hero-actions { justify-content: center; }
body.theme-horizon .v2-btn-accent { background: var(--primary); color: var(--on-primary, #fff); }
body.theme-horizon .v2-btn-line { border-color: var(--v2-line); color: var(--v2-ink); background: #fff; }
body.theme-horizon .v2-btn-line:hover { border-color: var(--primary); color: var(--primary); background: #fff; }
body.theme-horizon .v2-hero-dots { justify-content: center; }
body.theme-horizon .v2-hero-dots button { background: var(--v2-line); }
body.theme-horizon .v2-hero-frame { display: block; width: 100%; max-width: 1120px; margin: clamp(2.5rem, 6vh, 4rem) 0 0; position: relative; }
body.theme-horizon .v2-hero-frame > img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 28px 28px 0 0; box-shadow: 0 -20px 60px -30px rgba(15,23,42,.35); }

body.theme-horizon .v2-ticker { background: var(--primary); color: var(--on-primary, #fff); }
body.theme-horizon .v2-why { background: var(--v2-soft); }
body.theme-horizon .v2-why-grid { gap: 1.2rem; background: transparent; border: 0; overflow: visible; }
body.theme-horizon .v2-why-card { border: 0 !important; border-radius: 22px; box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 20px 40px -28px rgba(15,23,42,.35); }
body.theme-horizon .v2-why-card::after { display: none; }
body.theme-horizon .v2-why-card:hover { transform: translateY(-4px); }
body.theme-horizon .v2-why-ico { border-radius: 16px; background: color-mix(in srgb, var(--primary) 12%, #fff); color: var(--primary); width: 56px; height: 56px; }
body.theme-horizon .v2-why-n { display: none; }
body.theme-horizon .v2-figures { background: transparent; color: var(--v2-ink); padding: 0 0 clamp(3rem, 6vw, 5rem); background-image: none; }
body.theme-horizon .v2-figures-grid { background: var(--primary); color: var(--on-primary, #fff); border-radius: 28px; overflow: hidden; background-image: radial-gradient(rgba(255,255,255,.12) 1.2px, transparent 1.3px); background-size: 18px 18px; }
body.theme-horizon .v2-kicker { background: color-mix(in srgb, var(--primary) 9%, #fff); padding: .4rem .9rem; border-radius: 999px; letter-spacing: .12em; }
body.theme-horizon .v2-kicker::before, body.theme-horizon .v2-kicker::after { display: none; }
body.theme-horizon .v2-kicker.on-dark { background: rgba(255,255,255,.14); }
body.theme-horizon .v2-about-frame { display: none; }
body.theme-horizon .v2-about-main, body.theme-horizon .v2-about-inset { border-radius: 24px; }
body.theme-horizon .v2-about-badge { border-radius: 18px; }
body.theme-horizon .v2-quote { background: var(--v2-soft); color: var(--v2-ink); }
body.theme-horizon .v2-quote-gl { display: none; }
body.theme-horizon .v2-quote cite { color: var(--v2-muted); }
body.theme-horizon .v2-quote blockquote { font-style: normal; font-weight: 700; letter-spacing: -0.02em; }
body.theme-horizon .v2-cta { background: transparent; padding: clamp(3rem, 6vw, 5rem) 0; }
body.theme-horizon .v2-cta-grid { width: min(100% - 2rem, var(--container, 1200px)); margin-inline: auto; border-radius: 28px; overflow: hidden; background: var(--primary); }
body.theme-horizon .v2-cta-copy { justify-self: stretch; max-width: none; }
body.theme-horizon .v2-news-item time { border-radius: 18px; border-bottom: 0; background: color-mix(in srgb, var(--primary) 8%, #fff); }
body.theme-horizon .v2-class { border-radius: 22px; }
body.theme-horizon .v2-class-img span { border-radius: 0 12px 0 0; }
body.theme-horizon .footer { background: #0f172a; border-top: 0; }


/* =====================================================================
   SUNSHINE - bright and friendly; floating 3D shapes, colour everywhere.
   ===================================================================== */
body.theme-playful {
    --v2-soft: #fff7ea;
    --v2-line: #f1e4cf;
    --v2-radius: 22px;
    --p1: var(--primary); --p2: var(--accent); --p3: #ec4899; --p4: #10b981; --p5: #0ea5e9; --p6: #f97316;
    background: #fffdf8;
}
body.theme-playful .topbar { background: var(--primary); }
body.theme-playful .nav-cta, body.theme-playful .v2-btn, body.theme-playful .burger, body.theme-playful .menu > a.nav-parent { border-radius: 999px !important; }
body.theme-playful .v2-btn { font-weight: 800; box-shadow: 0 6px 0 rgba(0,0,0,.12); }
body.theme-playful .v2-btn:hover { transform: translateY(-2px); }

body.theme-playful .v2-hero { background: var(--v2-soft); color: var(--v2-ink); min-height: min(100svh, 860px); align-items: center; }
body.theme-playful .v2-hero-slides, body.theme-playful .v2-hero-shade, body.theme-playful .v2-scroll-cue, body.theme-playful .v2-hero-seal { display: none; }
body.theme-playful .v2-hero::before { content: ""; position: absolute; z-index: -2; width: 520px; height: 520px; right: -140px; top: -120px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 30%, #fff); }
body.theme-playful .v2-hero::after { content: ""; position: absolute; z-index: -2; left: 0; right: 0; bottom: -1px; height: 70px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 35 C 240 70 480 0 720 35 C 960 70 1200 0 1440 35 L1440 70 L0 70 Z' fill='%23ffffff'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
body.theme-playful .v2-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-areas: "copy frame"; align-items: center; gap: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(5rem, 10vh, 7rem); }
body.theme-playful .v2-hero-copy { grid-area: copy; }
body.theme-playful .v2-eyebrow { color: var(--primary); background: #fff; padding: .5rem 1.1rem; border-radius: 999px; box-shadow: 0 6px 0 rgba(0,0,0,.06); letter-spacing: .1em; }
body.theme-playful .v2-eyebrow span { width: 10px; height: 10px; border-radius: 50%; background: var(--p3); }
body.theme-playful .v2-hero-title { color: var(--primary); letter-spacing: -0.035em; }
body.theme-playful .v2-hero-sub { color: var(--v2-muted); }
body.theme-playful .v2-btn-accent { background: var(--accent); color: var(--on-accent, #111); }
body.theme-playful .v2-btn-line { border-color: var(--primary); color: var(--primary); background: #fff; }
body.theme-playful .v2-btn-line:hover { background: var(--primary); color: var(--on-primary, #fff); }
body.theme-playful .v2-hero-dots button { background: rgba(0,0,0,.12); }
body.theme-playful .v2-hero-frame { display: block; grid-area: frame; margin: 0; position: relative; }
body.theme-playful .v2-hero-frame > img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 10px solid #fff; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); animation: v2blob 14s ease-in-out infinite; }
@keyframes v2blob { 50% { border-radius: 56% 44% 58% 42% / 44% 56% 44% 56%; } }
body.theme-playful .v2-hero-card { grid-area: frame; align-self: end; justify-self: start; max-width: 300px; transform: rotate(-3deg) translate(-1.5rem, 1.5rem); z-index: 3; border-top: 0; border-radius: 22px; box-shadow: 0 10px 0 rgba(0,0,0,.08), 0 30px 50px -30px rgba(0,0,0,.4); }
body.theme-playful .v2-hero-card .v2-btn { box-shadow: none; }
body.theme-playful .v2-hero-facts { border-radius: 16px; }

body.theme-playful .v2-ticker { background: var(--accent); transform: rotate(-1.4deg); margin: -16px -24px 0; position: relative; z-index: 2; box-shadow: 0 8px 0 rgba(0,0,0,.08); }
body.theme-playful .v2-ticker span { font-size: .95rem; letter-spacing: .08em; }
body.theme-playful .v2-about, body.theme-playful .v2-classes, body.theme-playful .v2-news, body.theme-playful .v2-visit { background: #fffdf8; }
body.theme-playful .v2-why, body.theme-playful .v2-gallery, body.theme-playful .v2-team { background: var(--v2-soft); }
body.theme-playful .v2-kicker { color: var(--p3); }
body.theme-playful .v2-kicker::before, body.theme-playful .v2-kicker::after { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
body.theme-playful .v2-title { color: var(--primary); }
body.theme-playful .v2-why-grid { gap: 1.3rem; background: transparent; border: 0; overflow: visible; }
body.theme-playful .v2-why-card { border: 2px solid var(--v2-line) !important; border-radius: 26px; transition: transform .3s cubic-bezier(.3,1.5,.5,1); }
body.theme-playful .v2-why-card:hover { transform: translateY(-6px) rotate(-1deg); }
body.theme-playful .v2-why-card::after { display: none; }
body.theme-playful .v2-why-n { display: none; }
body.theme-playful .v2-why-ico { width: 64px; height: 64px; border-radius: 20px; font-size: 1.4rem; transform: rotate(-6deg); }
body.theme-playful .v2-why-card:nth-child(6n+1) .v2-why-ico { background: var(--p1); }
body.theme-playful .v2-why-card:nth-child(6n+2) .v2-why-ico { background: var(--p3); color: #fff; }
body.theme-playful .v2-why-card:nth-child(6n+3) .v2-why-ico { background: var(--p4); color: #fff; }
body.theme-playful .v2-why-card:nth-child(6n+4) .v2-why-ico { background: var(--p2); color: var(--on-accent, #111); }
body.theme-playful .v2-why-card:nth-child(6n+5) .v2-why-ico { background: var(--p5); color: #fff; }
body.theme-playful .v2-why-card:nth-child(6n+6) .v2-why-ico { background: var(--p6); color: #fff; }
body.theme-playful .v2-figures { background-color: var(--primary); background-image:
    radial-gradient(circle, rgba(255,255,255,.18) 2px, transparent 2.5px),
    radial-gradient(circle, color-mix(in srgb, var(--accent) 60%, transparent) 2px, transparent 2.5px);
    background-size: 34px 34px, 34px 34px; background-position: 0 0, 17px 17px; }
body.theme-playful .v2-figure { border: 0 !important; }
body.theme-playful .v2-class { border: 2px solid var(--v2-line); border-radius: 26px; }
body.theme-playful .v2-class:hover { transform: translateY(-6px) rotate(1deg); }
body.theme-playful .v2-class-img { margin: 10px 10px 0; border-radius: 18px; }
body.theme-playful .v2-class-img span { border-radius: 999px; left: 10px; bottom: 10px; }
body.theme-playful .v2-class-more { border-radius: 26px; }
body.theme-playful .v2-shot { border-radius: 22px; }
body.theme-playful .v2-about-main, body.theme-playful .v2-about-inset { border-radius: 30px; }
body.theme-playful .v2-about-frame { border-radius: 30px; border-style: dashed; }
body.theme-playful .v2-quote { background-color: var(--primary); }
body.theme-playful .v2-quote blockquote { font-style: normal; font-weight: 800; }
body.theme-playful .v2-cta-img { border-radius: 0; }
body.theme-playful .v2-person-img { border-radius: 50%; aspect-ratio: 1; border: 6px solid #fff; box-shadow: 0 10px 0 rgba(0,0,0,.06); }
body.theme-playful .v2-person-img::after { display: none; }
body.theme-playful .v2-news-item time { border-radius: 20px; border-bottom: 0; background: color-mix(in srgb, var(--accent) 22%, #fff); }
body.theme-playful .footer { background: var(--primary-dark); border-top: 0; position: relative; }
body.theme-playful .footer::before { content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 180 0 360 0 540 20 C 720 40 900 40 1080 20 C 1260 0 1350 10 1440 20 L1440 40 Z' fill='%23000'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 180 0 360 0 540 20 C 720 40 900 40 1080 20 C 1260 0 1350 10 1440 20 L1440 40 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 180 0 360 0 540 20 C 720 40 900 40 1080 20 C 1260 0 1350 10 1440 20 L1440 40 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    background-color: var(--primary-dark); }
body.theme-playful .footer .f-social a, body.theme-playful .to-top { border-radius: 50%; }


/* =====================================================================
   PRESTIGE - black and gold, a big centred headline, a turning 3D crest.
   ===================================================================== */
body.theme-prestige {
    --v2-ink: #0b0b0f;
    --v2-soft: #f5f4f0;
    --v2-line: #e4e2db;
    --v2-radius: 2px;
}
body.theme-prestige .topbar { background: #000; }
body.theme-prestige .nav.v2-stuck { background: #0b0b0f; border-bottom-color: #222; }
body.theme-prestige .nav.v2-stuck .brand-name, body.theme-prestige .nav.v2-stuck .menu > a, body.theme-prestige .nav.v2-stuck .menu .dropdown > a { color: #fff; }
body.theme-prestige .nav.v2-stuck .brand-tag { color: rgba(255,255,255,.6); }
body.theme-prestige .nav.v2-stuck .menu > a.nav-parent { border-color: #333; }
body.theme-prestige .nav.v2-stuck .burger { background: #111; color: #fff; border-color: #333; }
body.theme-prestige:not(.is-home) .nav { background: #0b0b0f; border-bottom-color: #222; }
body.theme-prestige:not(.is-home) .nav .brand-name, body.theme-prestige:not(.is-home) .nav .menu > a, body.theme-prestige:not(.is-home) .nav .menu .dropdown > a { color: #fff; }
body.theme-prestige .v2-btn, body.theme-prestige .nav-cta { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem !important; border-radius: 0 !important; }
body.theme-prestige .v2-title { text-transform: uppercase; letter-spacing: -.01em; }

body.theme-prestige .v2-hero { background: #07070a; align-items: center; min-height: min(100svh, 900px); }
body.theme-prestige .v2-hero-slides { opacity: .26; filter: grayscale(1) contrast(1.1); }
body.theme-prestige .v2-hero-shade { background: radial-gradient(ellipse at 50% 55%, rgba(7,7,10,.25) 0%, rgba(7,7,10,.94) 72%); }
body.theme-prestige .v2-hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 2rem; padding-top: calc(var(--nav-h) + 4rem); }
body.theme-prestige .v2-hero-copy { display: flex; flex-direction: column; align-items: center; max-width: 1100px; }
body.theme-prestige .v2-eyebrow { color: var(--accent); }
body.theme-prestige .v2-eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--accent); }
body.theme-prestige .v2-hero-title { text-transform: uppercase; font-size: clamp(2.6rem, 8vw, 6.6rem); line-height: .94; letter-spacing: -.035em; max-width: 14ch; }
body.theme-prestige .v2-hero-sub { margin-inline: auto; color: rgba(255,255,255,.78); }
body.theme-prestige .v2-hero-actions { justify-content: center; }
body.theme-prestige .v2-hero-dots { justify-content: center; }
body.theme-prestige .v2-hero-card { background: transparent; color: #fff; box-shadow: none; border: 0; border-top: 1px solid rgba(255,255,255,.14); border-radius: 0; padding: 1.6rem 0 0; width: min(100%, 640px); text-align: center; }
body.theme-prestige .v2-hero-card p, body.theme-prestige .v2-hero-card .v2-btn, body.theme-prestige .v2-hero-card-top { display: none; }
body.theme-prestige .v2-hero-facts { border: 0; margin: 0; }
body.theme-prestige .v2-hero-facts div { border-color: rgba(255,255,255,.14); }
body.theme-prestige .v2-hero-facts dt { color: rgba(255,255,255,.55); }
body.theme-prestige .v2-hero-facts dd { color: var(--accent); font-size: 2rem; }

body.theme-prestige .v2-ticker { background: #000; color: var(--accent); border-color: #1d1d22; }
body.theme-prestige .v2-why, body.theme-prestige .v2-gallery { background: #0b0b0f; color: #fff; }
body.theme-prestige .v2-why .v2-title, body.theme-prestige .v2-gallery .v2-title { color: #fff; }
body.theme-prestige .v2-why .v2-head-row > p { color: rgba(255,255,255,.66); }
body.theme-prestige .v2-why-grid { background: #1c1c22; border-color: #1c1c22; }
body.theme-prestige .v2-why-card { background: #0f0f14; border-color: #1c1c22 !important; }
body.theme-prestige .v2-why-card h3 { color: #fff; }
body.theme-prestige .v2-why-card p { color: rgba(255,255,255,.62); }
body.theme-prestige .v2-why-n { color: #16161c; }
body.theme-prestige .v2-why-ico { background: transparent; border: 1px solid var(--accent); color: var(--accent); border-radius: 0; }
body.theme-prestige .v2-kicker { color: var(--accent); }
body.theme-prestige .v2-figures { background-color: var(--accent); color: #0b0b0f; background-image: none; }
body.theme-prestige .v2-figure { border-color: rgba(0,0,0,.14) !important; }
body.theme-prestige .v2-figure i { color: #0b0b0f; }
body.theme-prestige .v2-figure-l { color: #0b0b0f; }
body.theme-prestige .v2-quote, body.theme-prestige .v2-cta { background-color: #07070a; }
body.theme-prestige .v2-quote blockquote { font-style: normal; text-transform: uppercase; font-weight: 800; letter-spacing: -.02em; }
body.theme-prestige .v2-class, body.theme-prestige .v2-shot, body.theme-prestige .v2-person-img, body.theme-prestige .v2-about-main, body.theme-prestige .v2-about-inset { border-radius: 0; }
body.theme-prestige .v2-class-img span { background: #0b0b0f; color: var(--accent); border-radius: 0; }
body.theme-prestige .v2-class-more { background: #0b0b0f; border-color: #0b0b0f; }
body.theme-prestige .v2-class-more i { border-radius: 0; }
body.theme-prestige .v2-about-badge { background: #0b0b0f; color: var(--accent); }
body.theme-prestige .v2-news-item time { background: #0b0b0f; border-bottom-color: var(--accent); }
body.theme-prestige .v2-news-item time strong { color: var(--accent); }
body.theme-prestige .v2-news-item time span { color: rgba(255,255,255,.7); }
body.theme-prestige .footer { background: #000; }
body.theme-prestige .page-hero { background-color: #07070a; }

/* ---------- the designs on smaller screens ---------- */
@media (max-width: 1080px) {
    body.theme-foundation .v2-hero-grid, body.theme-playful .v2-hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "frame" "card"; }
    body.theme-foundation .v2-hero-frame { max-width: 520px; width: 100%; justify-self: center; }
    body.theme-playful .v2-hero-frame { max-width: 440px; width: 100%; justify-self: center; }
    body.theme-playful .v2-hero-card { grid-area: card; justify-self: center; transform: rotate(-2deg); margin-top: -3rem; }
    body.theme-foundation .v2-hero-copy, body.theme-playful .v2-hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
    body.theme-foundation .v2-hero-actions, body.theme-playful .v2-hero-actions { justify-content: center; }
    body.theme-foundation .v2-hero-card { text-align: center; }
    body.theme-foundation .v2-hero-facts { justify-content: center; }
    body.theme-foundation .v2-hero-facts div { text-align: center; align-items: center; }
}
@media (max-width: 620px) {
    body.theme-foundation .v2-hero-frame::before, body.theme-foundation .v2-hero-frame::after { display: none; }
    body.theme-foundation .v2-hero-seal { width: 72px; height: 72px; right: -6px; top: -14px; }
    body.theme-horizon .v2-hero-frame > img { aspect-ratio: 4 / 3; border-radius: 22px 22px 0 0; }
    body.theme-playful .v2-hero::before { width: 300px; height: 300px; right: -120px; top: -80px; }
    body.theme-playful .v2-ticker { margin: -10px -12px 0; }
    body.theme-prestige .v2-hero-title { font-size: clamp(2.3rem, 12vw, 3.4rem); }
}
@media (prefers-reduced-motion: reduce) {
    body.theme-playful .v2-hero-frame > img { animation: none; }
    body.theme-playful .v2-ticker { transform: none; }
}

/* =====================================================================
   Inner pages (About, Academics, Admissions, News, Contact): the banner is
   centred in every design and takes each design's own colours.
   ===================================================================== */
body.site-v2 .page-hero { text-align: center; padding: calc(var(--nav-h, 76px) + clamp(3.5rem, 8vw, 6rem)) 0 clamp(3.5rem, 7vw, 5.5rem); }
body.site-v2 .page-hero-inner { margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
body.site-v2 .page-hero-eyebrow { display: inline-flex; align-items: center; gap: .7rem; }
body.site-v2 .page-hero-eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--accent); }
body.site-v2 .page-hero-sub { margin-inline: auto; max-width: 60ch; }
body.site-v2 .page-hero::before { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--accent); z-index: 1; }
body.site-v2:not(.is-home) .page-hero { margin-top: calc(-1 * var(--nav-h, 76px) - 1px); }
body.site-v2:not(.is-home) .nav:not(.v2-stuck) { background: transparent; border-bottom-color: rgba(255,255,255,.18); }
body.site-v2:not(.is-home) .nav:not(.v2-stuck) .brand-name, body.site-v2:not(.is-home) .nav:not(.v2-stuck) .menu > a,
body.site-v2:not(.is-home) .nav:not(.v2-stuck) .menu .dropdown > a { color: #fff; }
body.site-v2:not(.is-home) .nav:not(.v2-stuck) .brand-tag { color: rgba(255,255,255,.75); }
body.site-v2:not(.is-home) .nav:not(.v2-stuck) .menu > a.nav-parent { border-color: rgba(255,255,255,.4); }
body.site-v2:not(.is-home) .nav:not(.v2-stuck) .burger { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
@media (max-width: 860px) {
    body.site-v2:not(.is-home) .nav:not(.v2-stuck) .menu > a, body.site-v2:not(.is-home) .nav:not(.v2-stuck) .menu .dropdown > a { color: var(--v2-ink); }
}

body.theme-foundation .page-hero { background: var(--night); }
body.theme-foundation .page-hero::after { background: linear-gradient(180deg, color-mix(in srgb, var(--night) 80%, transparent), var(--night)); }
body.theme-foundation .page-hero-title { font-weight: 500; }

body.theme-horizon .page-hero { background: color-mix(in srgb, var(--primary) 6%, #fff); color: var(--v2-ink); }
body.theme-horizon .page-hero::after { background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.96)); }
body.theme-horizon .page-hero::before { display: none; }
body.theme-horizon .page-hero-title { color: var(--v2-ink); letter-spacing: -0.035em; }
body.theme-horizon .page-hero-sub { color: var(--v2-muted); }
body.theme-horizon .page-hero-eyebrow { color: var(--primary); }

body.theme-playful .page-hero { background: var(--v2-soft); color: var(--v2-ink); }
body.theme-playful .page-hero::after { background: linear-gradient(180deg, rgba(255,247,234,.88), rgba(255,247,234,.97)); }
body.theme-playful .page-hero::before { height: 50px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50' preserveAspectRatio='none'%3E%3Cpath d='M0 25 C 240 50 480 0 720 25 C 960 50 1200 0 1440 25 L1440 50 L0 50 Z' fill='%23fffdf8'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
body.theme-playful .page-hero-title { color: var(--primary); }
body.theme-playful .page-hero-sub { color: var(--v2-muted); }
body.theme-playful .page-hero-eyebrow { color: #ec4899; }

body.theme-prestige .page-hero { background: #07070a; }
body.theme-prestige .page-hero-bg { filter: grayscale(1); opacity: .35; }
body.theme-prestige .page-hero::after { background: radial-gradient(ellipse at center, rgba(7,7,10,.55), rgba(7,7,10,.95) 75%); }
body.theme-prestige .page-hero-title { text-transform: uppercase; letter-spacing: -0.02em; }
body.theme-prestige .page-hero-eyebrow { color: var(--accent); }

/* light banners keep dark type in the bar until it settles */
body.theme-horizon:not(.is-home) .nav:not(.v2-stuck) .brand-name, body.theme-playful:not(.is-home) .nav:not(.v2-stuck) .brand-name,
body.theme-horizon:not(.is-home) .nav:not(.v2-stuck) .menu > a, body.theme-playful:not(.is-home) .nav:not(.v2-stuck) .menu > a,
body.theme-horizon:not(.is-home) .nav:not(.v2-stuck) .menu .dropdown > a, body.theme-playful:not(.is-home) .nav:not(.v2-stuck) .menu .dropdown > a { color: var(--v2-ink); }
body.theme-horizon:not(.is-home) .nav:not(.v2-stuck), body.theme-playful:not(.is-home) .nav:not(.v2-stuck) { border-bottom-color: rgba(15,23,42,.08); }
body.theme-horizon:not(.is-home) .nav:not(.v2-stuck) .brand-tag, body.theme-playful:not(.is-home) .nav:not(.v2-stuck) .brand-tag { color: var(--v2-muted); }
body.theme-horizon:not(.is-home) .nav:not(.v2-stuck) .menu > a.nav-parent, body.theme-playful:not(.is-home) .nav:not(.v2-stuck) .menu > a.nav-parent { border-color: var(--v2-line); }
body.theme-horizon:not(.is-home) .nav:not(.v2-stuck) .burger, body.theme-playful:not(.is-home) .nav:not(.v2-stuck) .burger { color: var(--v2-ink); border-color: var(--v2-line); background: #fff; }
/* prestige's own black bar replaces the transparent one on inner pages */
body.theme-prestige:not(.is-home) .nav { background: transparent; }
body.theme-prestige:not(.is-home) .nav.v2-stuck { background: #0b0b0f; }


/* =====================================================================
   BOOK A VISIT - the enquiry form, centred and boxed, in every design.
   (Also used on the Admissions and Contact pages.)
   ===================================================================== */
body.site-v2 .appointment { background: var(--v2-soft); padding: clamp(4rem, 9vw, 7rem) 0; }
body.site-v2 .appt-grid { gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
body.site-v2 .appt-form { position: relative; text-align: center; border-radius: var(--v2-radius); padding: clamp(1.6rem, 4vw, 3rem); border: 1px solid var(--v2-line); background: #fff; box-shadow: 0 40px 70px -50px rgba(15, 23, 42, .55); }
body.site-v2 .appt-form::before { content: ""; position: absolute; left: 50%; top: 0; width: 64px; height: 4px; margin-left: -32px; background: var(--accent); border-radius: 0 0 4px 4px; }
body.site-v2 .appt-form .eyebrow { display: inline-flex; align-items: center; gap: .7rem; justify-content: center; font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); margin-bottom: .6rem; }
body.site-v2 .appt-form .eyebrow::before, body.site-v2 .appt-form .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--accent); }
body.site-v2 .appt-form h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 .5rem; text-wrap: balance; }
body.site-v2 .appt-form .sub { margin: 0 auto 1.8rem; max-width: 46ch; color: var(--v2-muted); }
body.site-v2 .appt-form .form-group { text-align: left; }
body.site-v2 .appt-form .form-group label { font-size: .7rem; letter-spacing: .12em; color: var(--v2-muted); font-weight: 700; }
body.site-v2 .appt-form .form-group input, body.site-v2 .appt-form .form-group textarea {
    padding: .8rem 1rem; border: 1px solid var(--v2-line); border-radius: calc(var(--v2-radius) * .7); background: var(--v2-soft);
    font-size: .98rem; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
body.site-v2 .appt-form .form-group input:focus, body.site-v2 .appt-form .form-group textarea:focus {
    border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .12); }
body.site-v2 .appt-form .btn { min-height: 52px; border-radius: calc(var(--v2-radius) * .7); background: var(--accent); color: var(--on-accent, #111); border: 0; font-weight: 800; letter-spacing: .02em; }
body.site-v2 .appt-form .form-foot { text-align: center; margin-top: .9rem; font-size: .8rem; color: var(--v2-muted); }
body.site-v2 .appt-image { border-radius: var(--v2-radius); aspect-ratio: auto; min-height: 420px; }
body.site-v2 .appt-image .overlay { left: 50%; transform: translateX(-50%); width: calc(100% - 3rem); text-align: center; bottom: 2.2rem; font-size: clamp(1.2rem, 2vw, 1.55rem); }
body.site-v2 .appt-image .overlay::before { content: "\201C"; display: block; font-size: 3rem; line-height: .6; color: var(--accent); margin-bottom: .6rem; }
body.site-v2 .appt-grid.compact .appt-form { max-width: 820px; }

body.theme-foundation .appointment { background: var(--night); }
body.theme-foundation .appt-image { border: 1px solid rgba(255,255,255,.18); box-shadow: 18px 18px 0 -2px color-mix(in srgb, var(--accent) 55%, transparent); }
body.theme-foundation .appt-form { border-radius: 14px; }
body.theme-foundation .appt-form .btn { text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; }

body.theme-horizon .appt-grid:not(.compact) { grid-template-columns: 1fr; max-width: 900px; margin-inline: auto; gap: 0; }
body.theme-horizon .appt-grid:not(.compact) .appt-image { min-height: 0; aspect-ratio: 21 / 8; border-radius: 28px; }
body.theme-horizon .appt-grid:not(.compact) .appt-form { margin: -5.5rem 1.5rem 0; border-radius: 26px; border: 0; }
body.theme-horizon .appt-form::before { display: none; }
body.theme-horizon .appt-form .btn { border-radius: 999px; background: var(--primary); color: var(--on-primary, #fff); }
body.theme-horizon .appt-form .form-group input, body.theme-horizon .appt-form .form-group textarea { border-radius: 14px; }

body.theme-playful .appointment { background: color-mix(in srgb, var(--primary) 8%, #fff7ea); }
body.theme-playful .appt-grid:not(.compact) { grid-template-columns: .8fr 1.2fr; align-items: center; }
body.theme-playful .appt-image { min-height: 0; aspect-ratio: 1; border: 10px solid #fff; border-radius: 52% 48% 44% 56% / 46% 54% 46% 54%; box-shadow: 0 30px 50px -30px rgba(0,0,0,.4); }
body.theme-playful .appt-image .overlay { font-size: 1.05rem; bottom: 18%; width: 70%; }
body.theme-playful .appt-form { border: 3px solid #fff; border-radius: 30px; box-shadow: 0 12px 0 rgba(0,0,0,.06), 0 40px 60px -40px rgba(0,0,0,.4); }
body.theme-playful .appt-form::before { width: 90px; height: 90px; border-radius: 50%; top: -30px; left: auto; right: -24px; margin: 0; background: var(--accent); opacity: .9; z-index: -1; }
body.theme-playful .appt-form .btn { border-radius: 999px; box-shadow: 0 6px 0 rgba(0,0,0,.12); }
body.theme-playful .appt-form .form-group input, body.theme-playful .appt-form .form-group textarea { border-radius: 16px; border-width: 2px; }

body.theme-prestige .appointment { background: #07070a; }
body.theme-prestige .appt-grid:not(.compact) { position: relative; grid-template-columns: 1fr; justify-items: center; padding: clamp(2rem, 6vw, 4.5rem) 0; }
body.theme-prestige .appt-grid:not(.compact) .appt-image { position: absolute; inset: 0; min-height: 0; border-radius: 0; filter: grayscale(1); opacity: .32; }
body.theme-prestige .appt-grid:not(.compact) .appt-image .overlay { display: none; }
body.theme-prestige .appt-form { position: relative; z-index: 1; max-width: 780px; width: 100%; border-radius: 0; border: 0; border-top: 4px solid var(--accent); }
body.theme-prestige .appt-form::before { display: none; }
body.theme-prestige .appt-form h2 { text-transform: uppercase; letter-spacing: -.01em; }
body.theme-prestige .appt-form .btn { border-radius: 0; background: #0b0b0f; color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; }
body.theme-prestige .appt-form .form-group input, body.theme-prestige .appt-form .form-group textarea { border-radius: 0; background: #fff; }

@media (max-width: 860px) {
    body.site-v2 .appt-image { min-height: 280px; }
    body.theme-playful .appt-grid:not(.compact) { grid-template-columns: 1fr; }
    body.theme-playful .appt-image { max-width: 320px; justify-self: center; width: 100%; }
    body.theme-horizon .appt-grid:not(.compact) .appt-form { margin: -3rem .6rem 0; }
}
@media (max-width: 620px) {
    body.site-v2 .form-row { grid-template-columns: 1fr; gap: .8rem; margin-bottom: .8rem; }
}


/* =====================================================================
   Each design sets out the sections below the opening screen its own way.
   ===================================================================== */

/* ---------- FOUNDATION: text beside a framed photo, icon-led cards, a grid of classes, news cards ---------- */
body.theme-foundation .v2-about-media { order: 2; padding: 0 0 2.2rem 2.2rem; }
body.theme-foundation .v2-about-inset { right: auto; left: 0; }
body.theme-foundation .v2-about-frame { left: auto; right: -1.1rem; }
body.theme-foundation .v2-about-badge { left: auto; right: 1.1rem; background: var(--night); color: var(--accent); }
body.theme-foundation .v2-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1040px; margin-inline: auto; }
body.theme-foundation .v2-why-card { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 1.2rem; text-align: left; align-items: start; padding: 1.6rem; }
body.theme-foundation .v2-why-ico { grid-row: span 2; margin: 0; width: 58px; height: 58px; }
body.theme-foundation .v2-why-card h3 { margin: .2rem 0 .4rem; }
body.theme-foundation .v2-why-n { top: auto; bottom: .6rem; font-size: 2.4rem; }
body.theme-foundation .v2-figure i { width: 56px; height: 56px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
body.theme-foundation .v2-news-list, body.theme-playful .v2-news-list, body.theme-horizon .v2-news-list {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; border: 0; max-width: none; }
body.theme-foundation .v2-news-item, body.theme-playful .v2-news-item, body.theme-horizon .v2-news-item {
    grid-template-columns: 1fr; gap: 1rem; text-align: center; background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); padding: 1.6rem 1.4rem; transition: transform .3s ease; }
body.theme-foundation .v2-news-item:hover, body.theme-playful .v2-news-item:hover, body.theme-horizon .v2-news-item:hover { padding-left: 1.4rem; transform: translateY(-4px); }
body.theme-foundation .v2-news-item time, body.theme-playful .v2-news-item time, body.theme-horizon .v2-news-item time {
    flex-direction: row; gap: .5rem; height: auto; width: max-content; margin: 0 auto; padding: .5rem 1rem; align-items: baseline; }
body.theme-foundation .v2-news-item time strong, body.theme-playful .v2-news-item time strong, body.theme-horizon .v2-news-item time strong { font-size: 1.3rem; }
body.theme-foundation .v2-news-item time span, body.theme-playful .v2-news-item time span, body.theme-horizon .v2-news-item time span { margin: 0; }
body.theme-foundation .v2-shot { border: 3px solid transparent; transition: border-color .3s ease; }
body.theme-foundation .v2-shot:hover { border-color: var(--accent); }
body.theme-foundation .v2-person-img { border-radius: 50%; aspect-ratio: 1; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
body.theme-foundation .v2-person-img::after { display: none; }

/* classes laid out as a grid rather than a sliding rail */
body.theme-foundation .v2-rail, body.theme-playful .v2-rail {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.3rem; overflow: visible;
    width: min(100% - 2rem, var(--container, 1200px)); margin-inline: auto; padding: .8rem 0 0; scroll-snap-type: none; }
body.theme-foundation .v2-class, body.theme-playful .v2-class { flex: none; }
body.theme-foundation .v2-rail-nav > div, body.theme-playful .v2-rail-nav > div { display: none; }
body.theme-foundation .v2-class-more, body.theme-playful .v2-class-more { min-height: 0; }

/* ---------- HORIZON: story stacked and centred, photos side by side, news cards ---------- */
body.theme-horizon .v2-about-grid { grid-template-columns: 1fr; max-width: 980px; text-align: center; gap: 3rem; }
body.theme-horizon .v2-about-copy { display: flex; flex-direction: column; align-items: center; order: 1; }
body.theme-horizon .v2-about-copy p { max-width: 64ch; }
body.theme-horizon .v2-head { border-left: 0; border-radius: 999px; padding: .6rem 1.4rem .6rem .6rem; background: var(--v2-soft); text-align: left; }
body.theme-horizon .v2-row { justify-content: center; }
body.theme-horizon .v2-about-media { order: 2; display: grid; grid-template-columns: 1.5fr 1fr; gap: 1rem; padding: 0; }
body.theme-horizon .v2-about-main { aspect-ratio: 16 / 10; }
body.theme-horizon .v2-about-main img { height: 100%; }
body.theme-horizon .v2-about-inset { position: static; width: auto; aspect-ratio: auto; border: 0; box-shadow: none; }
body.theme-horizon .v2-about-badge { left: 50%; transform: translateX(-50%); bottom: -1.4rem; }
body.theme-horizon .v2-news-item { border: 0; box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 20px 40px -28px rgba(15,23,42,.35); }
body.theme-horizon .v2-person-img { border-radius: 24px; border: 0; }

/* ---------- SUNSHINE: photos like snapshots pinned to a board ---------- */
body.theme-playful .v2-about-media { order: 2; }
body.theme-playful .v2-mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 19vw, 250px); gap: 1.4rem; }
body.theme-playful .v2-mosaic .v2-shot:nth-child(n) { grid-column: auto; grid-row: auto; border: 8px solid #fff; border-bottom-width: 34px; border-radius: 6px; box-shadow: 0 16px 30px -18px rgba(0,0,0,.45); transform: rotate(-2.5deg); transition: transform .35s cubic-bezier(.3,1.5,.5,1); overflow: visible; }
body.theme-playful .v2-mosaic .v2-shot:nth-child(even) { transform: rotate(2deg); }
body.theme-playful .v2-mosaic .v2-shot:nth-child(3n) { transform: rotate(-1deg) translateY(10px); }
body.theme-playful .v2-mosaic .v2-shot:hover { transform: rotate(0) scale(1.04); z-index: 2; }
body.theme-playful .v2-shot span { transform: none; background: none; color: var(--v2-ink); padding: 0 .4rem; bottom: -28px; font-size: .82rem; text-align: center; }
body.theme-playful .v2-news-item { border: 2px solid var(--v2-line); border-radius: 26px; }
body.theme-playful .v2-news-item:nth-child(3n+1) time { background: color-mix(in srgb, var(--accent) 25%, #fff); }
body.theme-playful .v2-news-item:nth-child(3n+2) time { background: #fce7f3; }
body.theme-playful .v2-news-item:nth-child(3n+3) time { background: #d1fae5; }
body.theme-playful .v2-cta { background: #fffdf8; padding: clamp(3rem, 6vw, 5rem) 0; }
body.theme-playful .v2-cta-grid { width: min(100% - 2rem, var(--container, 1200px)); margin-inline: auto; border-radius: 32px; overflow: hidden; background: var(--primary); }
body.theme-playful .v2-cta-copy { justify-self: stretch; max-width: none; text-align: center; display: flex; flex-direction: column; align-items: center; }

/* ---------- PRESTIGE: a half-and-half story, an editorial numbered list, a black-and-white wall ---------- */
body.theme-prestige .v2-about { background: #fff; padding: 0; }
body.theme-prestige .v2-about-grid { grid-template-columns: 1fr 1fr; gap: 0; width: 100%; max-width: none; align-items: stretch; }
body.theme-prestige .v2-about-media { padding: 0; min-height: 560px; }
body.theme-prestige .v2-about-main { aspect-ratio: auto; height: 100%; border-radius: 0; }
body.theme-prestige .v2-about-main img { height: 100%; filter: grayscale(1); transition: filter .6s ease; }
body.theme-prestige .v2-about-main:hover img { filter: none; }
body.theme-prestige .v2-about-inset, body.theme-prestige .v2-about-frame { display: none; }
body.theme-prestige .v2-about-copy { padding: clamp(2.5rem, 6vw, 6rem); align-self: center; max-width: 680px; }
body.theme-prestige .v2-head { background: #0b0b0f; border-left-color: var(--accent); }
body.theme-prestige .v2-head strong { color: #fff; }
body.theme-prestige .v2-head span { color: rgba(255,255,255,.6); }
body.theme-prestige .v2-why-grid { grid-template-columns: 1fr; max-width: 1000px; margin-inline: auto; background: transparent; border: 0; border-top: 1px solid #22222a; border-radius: 0; }
body.theme-prestige .v2-why-card { display: grid; grid-template-columns: 110px 60px minmax(0, 1fr); column-gap: 1.6rem; align-items: center; text-align: left; padding: 1.7rem .5rem; background: transparent; border: 0 !important; border-bottom: 1px solid #22222a !important; transition: background-color .3s ease; }
body.theme-prestige .v2-why-card:hover { background: #111117; }
body.theme-prestige .v2-why-n { position: static; grid-row: span 2; color: var(--accent); font-size: 3.4rem; letter-spacing: -.04em; }
body.theme-prestige .v2-why-ico { grid-row: span 2; margin: 0; }
body.theme-prestige .v2-why-card h3 { margin: 0 0 .3rem; text-transform: uppercase; letter-spacing: .02em; }
body.theme-prestige .v2-why-card p { margin: 0; }
body.theme-prestige .v2-why-card::after { display: none; }
body.theme-prestige .v2-mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 18vw, 260px); gap: 2px; }
body.theme-prestige .v2-mosaic .v2-shot:nth-child(n) { grid-column: auto; grid-row: auto; }
body.theme-prestige .v2-shot img { filter: grayscale(1); transition: filter .5s ease, transform .8s ease; }
body.theme-prestige .v2-shot:hover img { filter: none; }
body.theme-prestige .v2-cta { position: relative; isolation: isolate; }
body.theme-prestige .v2-cta-grid { grid-template-columns: 1fr; }
body.theme-prestige .v2-cta-img { position: absolute; inset: 0; z-index: -1; min-height: 0; opacity: .3; filter: grayscale(1); }
body.theme-prestige .v2-cta-copy { justify-self: center; text-align: center; display: flex; flex-direction: column; align-items: center; max-width: 820px; padding-block: clamp(4rem, 9vw, 7rem); }
body.theme-prestige .v2-cta-copy h2 { text-transform: uppercase; }
body.theme-prestige .v2-person-img img { filter: grayscale(1); transition: filter .5s ease, transform .7s ease; }
body.theme-prestige .v2-person:hover .v2-person-img img { filter: none; }
body.theme-prestige .v2-news-item h3 { text-transform: uppercase; letter-spacing: -.01em; }

@media (max-width: 860px) {
    body.theme-foundation .v2-why-grid { grid-template-columns: 1fr; }
    body.theme-foundation .v2-about-media { order: 0; padding: 0 0 1.4rem 1.2rem; }
    body.theme-prestige .v2-about-grid { grid-template-columns: 1fr; }
    body.theme-prestige .v2-about-media { min-height: 320px; }
    body.theme-prestige .v2-why-card { grid-template-columns: 64px minmax(0, 1fr); }
    body.theme-prestige .v2-why-ico { display: none; }
    body.theme-prestige .v2-why-n { font-size: 2.4rem; }
    body.theme-playful .v2-mosaic, body.theme-prestige .v2-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 40vw; }
    body.theme-horizon .v2-about-media { grid-template-columns: 1fr; }
    body.theme-horizon .v2-about-inset { display: none; }
}

/* ---------------------------------------------------------------- the crest panel, per design */
body.theme-prestige .v2-about-crest { background: #0b0b0f; border-radius: 0; min-height: 560px; }
body.theme-prestige .v2-crest-name { text-transform: uppercase; letter-spacing: .04em; font-family: inherit; }
body.theme-prestige .v2-crest-facts dd { color: var(--accent); }
body.theme-foundation .v2-about-crest { background: var(--primary-dark); border-radius: 6px; outline: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 8px; }
body.theme-horizon .v2-about-crest { border-radius: 28px; max-width: 760px; margin-inline: auto; width: 100%; }
body.theme-playful .v2-about-crest { border-radius: 42px 42px 42px 12px; border: 8px solid #fff; box-shadow: 0 24px 50px -24px rgba(var(--primary-rgb), .7); }
body.theme-playful .v2-crest-logo { box-shadow: 0 0 0 8px var(--accent), 0 24px 50px -20px rgba(0,0,0,.5); }
@media (max-width: 900px) { body.theme-prestige .v2-about-crest { min-height: 0; } }
body[class*="theme-"] .v2-about-crest { padding: clamp(2rem, 5vw, 3.5rem); }
