/* =====================================================================
   Dream Africa Schools – website styles
   Brand: Dark Red #a41e23 · Orange #fab916 · Grey #474737 · White · Black
   Type: Poppins
   ===================================================================== */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-700.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/poppins-800.woff2) format("woff2"); }

:root {
  --red: #a41e23;
  --red-d: #861519;
  --red-50: #fbf1f1;
  --yellow: #fab916;
  --yellow-50: #fff8e6;
  --grey: #474737;
  --grey-d: #3a3a2d;
  --ink: #1d1d17;
  --body: #4e4e44;
  --muted: #7b7b70;
  --line: #e5e5dd;
  --light: #f5f5f1;
  --white: #ffffff;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow: 0 1px 2px rgba(29, 29, 23, .04), 0 8px 28px rgba(29, 29, 23, .07);
  --shadow-lg: 0 2px 6px rgba(29, 29, 23, .05), 0 24px 60px rgba(29, 29, 23, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --topbar-h: 104px;
  --nav-h: 66px;
  --edge: clamp(20px, 4.6vw, 88px); /* shared outer edge: logo, hero text, header info */
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body { margin: 0; font-family: var(--font); font-size: calc(17px * var(--fs-body, 1) * var(--fs-all, 1)); line-height: 1.65; color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-d); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(164, 30, 35, .45); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; }
.text-center, .text-center .sec-head { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: calc(14px * var(--fs-body, 1) * var(--fs-all, 1)); }
.red { color: var(--red); }

/* ---------------------------------------------------------------- type */
.h1, .h2, .h3, .h4, h1, h2, h3, h4 { font-family: var(--font); color: var(--grey); margin: 0; line-height: 1.12; }
.h1 { font-size: calc(clamp(2.25rem, 4.6vw, 3.9rem) * var(--fs-headings, 1) * var(--fs-all, 1)); font-weight: 700; letter-spacing: -.028em; }
.h2 { font-size: calc(clamp(1.9rem, 3.4vw, 3rem) * var(--fs-headings, 1) * var(--fs-all, 1)); font-weight: 700; letter-spacing: -.024em; }
.h3 { font-size: calc(clamp(1.35rem, 2vw, 1.75rem) * var(--fs-headings, 1) * var(--fs-all, 1)); font-weight: 600; letter-spacing: -.015em; }
.h4 { font-size: calc(1.25rem * var(--fs-headings, 1) * var(--fs-all, 1)); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.eyebrow { margin: 0 0 12px; color: var(--red); font-weight: 600; font-size: calc(16px * var(--fs-headings, 1) * var(--fs-all, 1)); letter-spacing: .005em; }
.lead { font-size: calc(clamp(1.05rem, 1.4vw, 1.22rem) * var(--fs-body, 1) * var(--fs-all, 1)); line-height: 1.6; color: var(--muted); margin: 18px 0 0; }
.prose { color: var(--body); }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.05em; }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .5em; color: var(--grey); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--red); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 1.4em 0; padding: 18px 24px; border-left: 4px solid var(--yellow); background: var(--yellow-50); border-radius: 0 16px 16px 0; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: calc(15px * var(--fs-body, 1) * var(--fs-all, 1)); }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 28px; border-radius: 980px; border: 0; font-weight: 600; font-size: calc(16px * var(--fs-buttons, 1) * var(--fs-all, 1)); line-height: 1.2; letter-spacing: -.005em; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ic { width: 18px; height: 18px; }
.btn-red { background: var(--red); color: var(--yellow); box-shadow: 0 6px 18px rgba(164, 30, 35, .25); }
.btn-red:hover { background: var(--red-d); color: var(--yellow); }
.btn-yellow { background: var(--yellow); color: var(--red); box-shadow: 0 6px 18px rgba(250, 185, 22, .3); }
.btn-yellow:hover { background: #ffc634; color: var(--red-d); }
.btn-ghost { background: transparent; color: var(--grey); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.btn-outline:hover { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: calc(14px * var(--fs-buttons, 1) * var(--fs-all, 1)); }
.btn-lg { min-height: 56px; padding: 14px 34px; font-size: calc(17px * var(--fs-buttons, 1) * var(--fs-all, 1)); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.actions.center, .text-center .actions { justify-content: center; }
.link-btn { background: none; border: 0; padding: 0; color: var(--red); font-weight: 600; font-size: calc(15px * var(--fs-buttons, 1) * var(--fs-all, 1)); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.link-btn .ic { transition: transform .3s var(--ease); }
.link-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 600; font-size: calc(15px * var(--fs-buttons, 1) * var(--fs-all, 1)); margin-top: 14px; }
.more .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
a:hover .more .ic { transform: translateX(4px); }

/* ---------------------------------------------------------------- admin bar */
.adminbar { position: relative; z-index: 60; display: flex; gap: 18px; align-items: center; height: 34px; padding: 0 20px; background: var(--ink); font-size: 13px; }
.adminbar a { color: #fff; opacity: .85; }
.adminbar a:hover { opacity: 1; color: var(--yellow); }
.ab-draft { margin-left: auto; color: var(--yellow); font-weight: 600; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: calc(-1 * var(--topbar-h)); z-index: 50; }
.topbar { background: var(--grey); color: #fff; height: var(--topbar-h); }
.topbar-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex: none; display: block; }
.brand-logo { height: 76px; width: auto; }
.topbar-info { margin-left: auto; display: flex; align-items: center; gap: clamp(20px, 3.2vw, 56px); }
.ti { display: flex; align-items: center; gap: 14px; color: #fff; }
.ti:hover { color: #fff; }
.ti-ic { width: 30px; height: 30px; opacity: .9; }
.ti span { display: flex; flex-direction: column; line-height: 1.35; }
.ti strong { font-weight: 600; font-size: calc(15px * var(--fs-topbar, 1) * var(--fs-all, 1)); }
.ti em { font-style: normal; color: var(--yellow); font-size: calc(13.5px * var(--fs-topbar, 1) * var(--fs-all, 1)); }
.ti:hover em { text-decoration: underline; text-underline-offset: 3px; }
.menu-toggle { display: none; }

.mainnav { background: var(--red); height: var(--nav-h); transition: box-shadow .3s; }
.is-stuck .mainnav { box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.nav-in { display: flex; align-items: center; height: 100%; }
.nav-list { list-style: none; margin: 0 auto; padding: 0; display: flex; align-items: center; gap: clamp(4px, 1.4vw, 22px); height: 100%; }
.nav-list > li { position: relative; height: 100%; display: flex; align-items: center; }
.nav-list > li > a { display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 12px; color: #fff; font-weight: 500; font-size: calc(15.5px * var(--fs-menu, 1) * var(--fs-all, 1)); letter-spacing: -.005em; position: relative; transition: color .2s; }
.nav-list > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 14px; height: 2px; border-radius: 2px; background: var(--yellow); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-list > li > a:hover, .nav-list > li.is-active > a { color: var(--yellow); }
.nav-list > li > a:hover::after, .nav-list > li.is-active > a::after { transform: scaleX(1); }
.caret { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
.sub-toggle { display: none; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% - 6px); left: 50%; min-width: 250px; transform: translate(-50%, 8px); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-radius: 18px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a { display: block; padding: 11px 16px; border-radius: 12px; color: var(--grey); font-weight: 500; font-size: calc(15px * var(--fs-menu, 1) * var(--fs-all, 1)); }
.sub a:hover { background: var(--red-50); color: var(--red); }
.enroll-btn { flex: none; align-self: stretch; display: flex; align-items: center; gap: 10px; padding: 0 30px; background: var(--yellow); color: var(--red); font-weight: 700; font-size: calc(15px * var(--fs-menu, 1) * var(--fs-all, 1)); letter-spacing: .04em; text-transform: uppercase; transition: background .25s; }
.enroll-btn:hover { background: #ffc634; color: var(--red-d); }
.enroll-btn .ic { width: 18px; height: 18px; }
.nav-mobile-extra { display: none; }

/* ---------------------------------------------------------------- hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(540px, calc(100svh - var(--topbar-h) - var(--nav-h)), 840px); background: var(--grey); }
.hero-copy { display: flex; align-items: center; justify-content: flex-end; padding: 72px clamp(28px, 5vw, 80px); }
.hero-copy-in { max-width: 640px; width: 100%; }
.hero-title { color: #fff; font-size: calc(clamp(2.3rem, 4.2vw, 4rem) * var(--fs-hero, 1) * var(--fs-all, 1)); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; margin: 0; }
.hero-text { color: rgba(255, 255, 255, .9); font-size: calc(clamp(1.05rem, 1.35vw, 1.2rem) * var(--fs-hero, 1) * var(--fs-all, 1)); line-height: 1.65; margin: 28px 0 0; max-width: 520px; }
.hero-actions { margin-top: 40px; }
.hero-media { position: relative; overflow: hidden; background: #2e2e24; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; will-change: transform; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide.is-active img { animation: kb-in var(--kb, 12s) linear both; }
.hero-slide.is-active:nth-child(even) img { animation-name: kb-out; }
.hero-slide.is-contain { background: #f4efe4; }
.hero-slide.is-contain img { object-fit: contain; padding: 18px; }
@keyframes kb-in { from { transform: scale(1); } to { transform: scale(1.14); } }
@keyframes kb-out { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; padding: 8px 12px; border-radius: 99px; background: rgba(29, 29, 23, .35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hero-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .55); cursor: pointer; overflow: hidden; transition: width .4s var(--ease), background .3s; }
.hero-dot span { display: block; height: 100%; width: 0; background: #fff; border-radius: inherit; }
.hero-dot.is-active { width: 36px; background: rgba(255, 255, 255, .35); }
.hero-dot.is-active span { animation: dot-fill var(--dur, 6s) linear forwards; }
.hero.is-paused .hero-dot.is-active span { animation-play-state: paused; }
@keyframes dot-fill { to { width: 100%; } }

/* ---------------------------------------------------------------- page header */
.page-header { position: relative; min-height: clamp(300px, 34vw, 460px); display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: var(--grey); }
.ph-bg { position: absolute; inset: 0; }
.ph-bg img { width: 100%; height: 100%; object-fit: cover; animation: kb-in 18s linear both; }
.page-header::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 58, 45, .72), rgba(58, 58, 45, .62)); }
.page-header.no-image::after { display: none; }
.ph-in { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.ph-title { color: var(--yellow); font-size: calc(clamp(2.6rem, 6vw, 4.6rem) * var(--fs-hero, 1) * var(--fs-all, 1)); font-weight: 700; letter-spacing: -.03em; margin: 0; }
.ph-sub { color: rgba(255, 255, 255, .9); max-width: 680px; margin: 16px auto 0; font-size: calc(1.15rem * var(--fs-hero, 1) * var(--fs-all, 1)); }
.crumbs { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: #fff; font-size: calc(17px * var(--fs-hero, 1) * var(--fs-all, 1)); font-weight: 500; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--yellow); }
.crumb-ic { width: 16px; height: 16px; transform: rotate(-90deg); color: var(--yellow); }
.crumbs.dark, .crumbs.dark a { color: var(--muted); }
.crumbs.dark .crumb-ic { color: var(--red); }

/* ---------------------------------------------------------------- sections */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-tight { padding: clamp(40px, 5vw, 64px) 0; }
.sec.bg-white + .sec.bg-white { padding-top: 0; }
.bg-light { background: var(--light); }
.bg-grey { background: var(--grey); color: rgba(255, 255, 255, .88); }
.bg-red { background: var(--red); color: rgba(255, 255, 255, .9); }
.bg-grey .h2, .bg-grey .h3, .bg-grey .h4, .bg-red .h2, .bg-red .h3, .bg-red .h4 { color: #fff; }
.bg-grey .lead, .bg-red .lead, .bg-grey .prose, .bg-red .prose { color: rgba(255, 255, 255, .85); }
.bg-red .eyebrow, .bg-grey .eyebrow { color: var(--yellow); }
.sec-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 5vw, 64px); }
.sec-head .lead { max-width: 700px; margin-left: auto; margin-right: auto; }
.sec-head.is-left { text-align: left; max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; }
.sec-head.is-left .eyebrow, .sec-head.is-left .h2 { grid-column: 1; }
.sec-head.is-left .lead { grid-column: 2; grid-row: 1 / span 2; margin: 0; align-self: center; }
.about .sec-head.is-left, .maps .sec-head.is-left { display: block; margin-bottom: 28px; }
.spacer-s { height: 24px; } .spacer-m { height: 64px; } .spacer-l { height: 120px; }

/* ---------------------------------------------------------------- cards */
.cards { display: grid; gap: 28px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; color: inherit; }
a.card:hover { color: inherit; }
.card p { margin: 10px 0 0; font-size: calc(16px * var(--fs-body, 1) * var(--fs-all, 1)); line-height: 1.6; color: var(--body); }
.card-media { border-radius: var(--radius); overflow: hidden; background: var(--light); aspect-ratio: 4 / 3.4; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.cards-overlap { row-gap: 44px; }
.cards-overlap .card-body { position: relative; margin: -96px 18px 0; padding: 30px 30px 32px; background: #fff; border: 2px solid var(--red); border-radius: 18px; box-shadow: var(--shadow); flex: 1; transition: transform .45s var(--ease), box-shadow .45s; }
.cards-overlap .card:hover .card-body { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cards-overlap .h4, .cards-simple .h4 { color: var(--red); }
.cards-simple .card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s; }
.cards-simple .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cards-simple .card-media { border-radius: 0; }
.cards-simple .card-body { padding: 26px 28px 30px; }
.cards-icon .card { background: var(--light); border-radius: var(--radius); padding: 34px 30px; transition: transform .45s var(--ease), background .3s; }
.bg-light .cards-icon .card { background: #fff; }
.cards-icon .card:hover { transform: translateY(-6px); }
.card-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--red); color: var(--yellow); margin-bottom: 22px; }
.card-ic .ic { width: 28px; height: 28px; }

/* ---------------------------------------------------------------- about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about.is-reverse .about-media { order: 2; }
.about-media { position: relative; padding: 0 0 40px 0; min-height: 420px; }
.about-main { margin-left: 22%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 4; max-height: 620px; }
.about-main img { width: 100%; height: 100%; object-fit: cover; }
.about-inset { position: absolute; left: 0; bottom: 0; width: 54%; border-radius: 22px; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.6; }
.about-inset img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; left: 10%; top: 8%; z-index: 2; background: var(--red); color: #fff; padding: 22px 26px; border-radius: 18px; box-shadow: 0 16px 40px rgba(164, 30, 35, .35); }
.about-badge strong { display: block; font-size: calc(clamp(2.4rem, 4vw, 3.2rem) * var(--fs-headings, 1) * var(--fs-all, 1)); line-height: 1; font-weight: 700; letter-spacing: -.03em; }
.about-badge span { display: block; margin-top: 8px; font-size: calc(15px * var(--fs-body, 1) * var(--fs-all, 1)); line-height: 1.4; }
.about-copy .prose { font-size: calc(16.5px * var(--fs-body, 1) * var(--fs-all, 1)); }

/* ---------------------------------------------------------------- highlights */
.highlights { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.hl { display: flex; gap: 22px; align-items: flex-start; padding: 40px; border-radius: var(--radius); transition: transform .45s var(--ease), box-shadow .45s; }
.hl:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hl p { margin: 10px 0 0; }
.hl-ic .ic { width: 48px; height: 48px; }
.hl-outline { border: 2px solid var(--red); background: #fff; box-shadow: var(--shadow); }
.hl-outline .hl-ic, .hl-outline .h4 { color: var(--red); }
.hl-filled { background: var(--red); color: rgba(255, 255, 255, .92); box-shadow: 0 18px 44px rgba(164, 30, 35, .25); }
.hl-filled .h4, .hl-filled .hl-ic { color: #fff; }
.hl-grey { background: var(--grey); color: rgba(255, 255, 255, .9); }
.hl-grey .h4 { color: #fff; } .hl-grey .hl-ic { color: var(--yellow); }
.hl-yellow { background: var(--yellow); color: var(--ink); }
.hl-yellow .h4, .hl-yellow .hl-ic { color: var(--red); }

/* ---------------------------------------------------------------- team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 36px; max-width: 1080px; margin: 0 auto; }
.person { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.person-photo { background: var(--red); aspect-ratio: 4 / 4.4; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 1.2s var(--ease); }
.person:hover .person-photo img { transform: scale(1.04); }
.person-body { padding: 32px 34px 36px; }
.person-role { margin: 6px 0 18px; color: var(--red); font-weight: 600; font-size: calc(15px * var(--fs-body, 1) * var(--fs-all, 1)); }
.person-bio { font-size: calc(15.5px * var(--fs-body, 1) * var(--fs-all, 1)); position: relative; }
.js .person-bio[data-clamp] { max-height: 9.8em; overflow: hidden; transition: max-height .6s var(--ease); }
.js .person-bio[data-clamp]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4em; background: linear-gradient(rgba(255, 255, 255, 0), #fff); transition: opacity .3s; }
.js .person-bio.is-open::after { opacity: 0; }

/* ---------------------------------------------------------------- rows */
.rows { display: grid; gap: clamp(56px, 8vw, 112px); }
.row { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.row.is-flip .row-media { order: 2; }
.row-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--light); }
.row-media img { width: 100%; max-height: 560px; object-fit: cover; }
.row-num { display: block; font-size: calc(64px * var(--fs-headings, 1) * var(--fs-all, 1)); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--red); margin-bottom: 18px; opacity: .9; }
.row-copy .h3 { margin-bottom: 16px; }

/* ---------------------------------------------------------------- video cta */
.video-cta { position: relative; overflow: hidden; color: #fff; text-align: center; background: var(--grey); }
.vc-bg { position: absolute; inset: 0; }
.vc-bg img { width: 100%; height: 100%; object-fit: cover; }
.video-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(40, 40, 30, .62); }
.vc-in { position: relative; z-index: 2; padding-top: clamp(88px, 11vw, 140px); padding-bottom: clamp(88px, 11vw, 140px); }
.video-cta .h2 { color: #fff; max-width: 860px; margin: 0 auto; }
.video-cta .lead { color: rgba(255, 255, 255, .88); max-width: 640px; margin: 18px auto 0; }
.video-cta .actions { justify-content: center; }
.play { position: relative; display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--red); cursor: pointer; margin-bottom: 32px; transition: transform .3s var(--ease); }
.play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(250, 185, 22, .7); animation: pulse 2.2s var(--ease) infinite; }
.play:hover { transform: scale(1.08); color: var(--red); }
.play .ic { width: 32px; height: 32px; margin-left: 4px; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

/* ---------------------------------------------------------------- maps */
.map-list { display: grid; gap: 48px; }
.map-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.map-head p { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; }
.map-head p .ic { color: var(--red); width: 18px; height: 18px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--light); height: clamp(320px, 38vw, 480px); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------------------------------------------------------------- contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.cc { display: block; background: var(--light); border-radius: var(--radius); padding: 32px 28px; color: var(--body); transition: transform .45s var(--ease), box-shadow .45s, background .3s; }
a.cc:hover { transform: translateY(-5px); background: #fff; box-shadow: var(--shadow-lg); color: var(--body); }
.cc p { margin: 8px 0 0; font-size: calc(15.5px * var(--fs-body, 1) * var(--fs-all, 1)); overflow-wrap: anywhere; }
.cc-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: var(--yellow); margin-bottom: 18px; }
.cc-ic .ic { width: 24px; height: 24px; }

/* ---------------------------------------------------------------- forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.form-layout.no-aside { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
.enquiry { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.bg-light .enquiry { border-color: transparent; }
.enquiry fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.enquiry legend, .field label { display: block; font-weight: 600; font-size: calc(15px * var(--fs-forms, 1) * var(--fs-all, 1)); color: var(--ink); margin-bottom: 8px; padding: 0; }
.req { color: var(--red); }
.type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 10px; margin-top: 4px; }
.type-opt { position: relative; cursor: pointer; }
.type-opt input { position: absolute; opacity: 0; inset: 0; }
.type-opt span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 14px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, background .2s, box-shadow .2s, transform .2s; }
.type-opt span .ic { width: 26px; height: 26px; color: var(--red); margin-bottom: 6px; }
.type-opt strong { color: var(--ink); font-weight: 600; font-size: calc(15.5px * var(--fs-forms, 1) * var(--fs-all, 1)); }
.type-opt em { font-style: normal; font-size: calc(12px * var(--fs-forms, 1) * var(--fs-all, 1)); line-height: 1.4; color: var(--muted); }
.type-opt:hover span { border-color: #cfcfc4; transform: translateY(-2px); }
.type-opt input:checked + span { border-color: var(--red); background: var(--red-50); box-shadow: 0 0 0 3px rgba(164, 30, 35, .12); }
.type-opt input:focus-visible + span { outline: 3px solid rgba(164, 30, 35, .45); outline-offset: 2px; }
.type-pick.has-error .type-opt span { border-color: var(--red); }
.form-step { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); animation: rise .5s var(--ease); }
.grid-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.type-fields { margin-top: 20px; }
.field { grid-column: span 2; min-width: 0; }
.field.half { grid-column: span 1; }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fafaf7; font-size: calc(16px * var(--fs-forms, 1) * var(--fs-all, 1)); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(164, 30, 35, .1); }
.field input::placeholder, .field textarea::placeholder { color: #a8a89c; }
.select { position: relative; }
.select select { padding-right: 44px; cursor: pointer; }
.select .ic { position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 18px; border-radius: 99px; border: 1.5px solid var(--line); background: #fafaf7; font-size: calc(15px * var(--fs-forms, 1) * var(--fs-all, 1)); color: var(--ink); transition: all .2s; }
.chip:hover span { border-color: #c9c9bd; }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid rgba(164, 30, 35, .45); outline-offset: 2px; }
.field.has-error input, .field.has-error textarea, .field.has-error select, .field.has-error .chip span { border-color: var(--red); }
.err { display: block; color: var(--red); font-size: calc(13.5px * var(--fs-forms, 1) * var(--fs-all, 1)); margin-top: 6px; font-weight: 500; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.form-foot p { margin: 0; }
.enquiry button[disabled] { opacity: .65; pointer-events: none; }
.form-msg:empty { display: none; }
.form-msg { margin-top: 18px; padding: 16px 20px; border-radius: 14px; font-weight: 500; }
.form-msg.is-error { background: var(--red-50); color: var(--red); }
.form-done { text-align: center; padding: 40px 10px; animation: rise .6s var(--ease); }
.form-done .done-ic { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background: var(--red); color: var(--yellow); }
.form-done .done-ic .ic { width: 38px; height: 38px; }
.form-done p { max-width: 460px; margin: 12px auto 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-aside { background: var(--grey); color: rgba(255, 255, 255, .88); border-radius: var(--radius-lg); padding: 36px 32px; position: sticky; top: calc(var(--nav-h) + 24px); }
.form-aside .h4 { color: #fff; margin-bottom: 14px; }
.form-aside .h4 + .aside-list + .h4 { margin-top: 28px; }
.aside-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; }
.aside-list li, .aside-list a { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .9); font-size: calc(15.5px * var(--fs-body, 1) * var(--fs-all, 1)); }
.aside-list a:hover { color: var(--yellow); }
.aside-list .ic { color: var(--yellow); width: 20px; height: 20px; }
.form-aside .muted { color: rgba(255, 255, 255, .6); margin: 24px 0 0; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- work plan */
.wp-head { margin-bottom: 36px; }
.wp-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.search { position: relative; flex: 1; max-width: 460px; }
.search .ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 20px; height: 20px; }
.search input { width: 100%; height: 50px; padding: 0 20px 0 50px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--light); font-size: calc(16px * var(--fs-forms, 1) * var(--fs-all, 1)); }
.search input:focus { outline: 0; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(164, 30, 35, .1); }
.wp-table { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.wp-row { display: grid; grid-template-columns: 170px 150px 1fr; border-top: 1px solid var(--line); }
.wp-row > div { padding: 16px 22px; }
.wp-row.wp-new { border-top: 1px solid #d4d4ca; }
.wp-th { background: var(--grey); color: #fff; font-weight: 600; font-size: calc(15px * var(--fs-body, 1) * var(--fs-all, 1)); border: 0; position: sticky; top: var(--nav-h); z-index: 2; }
.wp-th > div { padding-top: 14px; padding-bottom: 14px; }
.wp-row:not(.wp-th):hover { background: #fcfbf7; }
.pill { display: inline-block; padding: 4px 14px; border-radius: 99px; background: var(--red-50); color: var(--red); font-weight: 600; font-size: calc(14px * var(--fs-body, 1) * var(--fs-all, 1)); white-space: nowrap; }
.wp-cont { display: none; }
.wp-date { font-weight: 600; color: var(--ink); font-size: calc(15px * var(--fs-body, 1) * var(--fs-all, 1)); }
.wp-acts ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.wp-acts li { position: relative; padding-left: 18px; font-size: calc(15.5px * var(--fs-body, 1) * var(--fs-all, 1)); line-height: 1.55; }
.wp-acts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.wp-acts mark { background: #ffe9a8; color: inherit; border-radius: 3px; padding: 0 2px; }
.wp-empty { padding: 30px; text-align: center; color: var(--muted); margin: 0; }
.wp-notes { margin-top: 36px; padding: 28px 32px; border-radius: var(--radius); background: var(--yellow-50); border: 1px solid #f6e3ad; }

/* ---------------------------------------------------------------- download / cta / stats */
.dl-card { display: flex; align-items: center; gap: 24px; padding: 28px 32px; border-radius: var(--radius-lg); background: var(--light); }
.dl-ic { position: relative; flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--red); color: var(--yellow); }
.dl-ic .ic { width: 28px; height: 28px; }
.dl-ic em { position: absolute; bottom: -8px; right: -8px; font-style: normal; font-size: calc(11px * var(--fs-body, 1) * var(--fs-all, 1)); font-weight: 700; padding: 2px 7px; border-radius: 99px; background: var(--yellow); color: var(--red); }
.dl-copy { flex: 1; }
.dl-copy p { margin: 4px 0 0; font-size: calc(15.5px * var(--fs-body, 1) * var(--fs-all, 1)); }
.cta { padding: clamp(40px, 6vw, 80px) 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px); }
.cta-in > div:first-child { max-width: 680px; }
.cta .actions { margin: 0; }
.cta-red .cta-in { background: var(--red); background-image: radial-gradient(circle at 90% 10%, rgba(250, 185, 22, .22), transparent 45%); }
.cta-grey .cta-in { background: var(--grey); }
.cta-red .h2, .cta-grey .h2 { color: #fff; }
.cta-red .lead, .cta-grey .lead { color: rgba(255, 255, 255, .85); }
.cta-yellow .cta-in { background: var(--yellow); }
.cta-yellow .h2 { color: var(--red); }
.cta-yellow .lead { color: var(--ink); }
.cta-yellow .btn-outline { color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.cta-light .cta-in { background: var(--light); }
.cta-light .btn-outline { color: var(--grey); box-shadow: inset 0 0 0 1.5px var(--grey); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; text-align: center; }
.stat strong { display: block; font-size: calc(clamp(2.6rem, 5vw, 3.8rem) * var(--fs-headings, 1) * var(--fs-all, 1)); line-height: 1; font-weight: 700; letter-spacing: -.035em; color: var(--red); }
.bg-red .stat strong, .bg-grey .stat strong { color: var(--yellow); }
.stat span { display: block; margin-top: 10px; font-weight: 500; }

/* ---------------------------------------------------------------- gallery & image */
.gallery { columns: 3 280px; column-gap: 18px; }
.gallery figure { margin: 0 0 18px; break-inside: avoid; border-radius: 18px; overflow: hidden; background: var(--light); }
.gallery img { width: 100%; transition: transform 1s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption, .single-img figcaption { font-size: calc(14px * var(--fs-body, 1) * var(--fs-all, 1)); color: var(--muted); padding: 10px 14px; }
.single-img { margin-top: 0; margin-bottom: 0; }
.single-img img { border-radius: var(--radius-lg); width: 100%; }
.single-img.is-full img { border-radius: 0; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(15, 15, 12, .92); animation: fade .25s; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 14px; }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox iframe { width: min(1100px, 100%); aspect-ratio: 16 / 9; border: 0; border-radius: 16px; background: #000; }
@keyframes fade { from { opacity: 0; } }

/* ---------------------------------------------------------------- news */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.news-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--body); transition: transform .45s var(--ease), box-shadow .45s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--body); }
.news-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--light); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-body { padding: 24px 26px 28px; }
.news-body time { font-size: calc(13.5px * var(--fs-body, 1) * var(--fs-all, 1)); color: var(--red); font-weight: 600; }
.news-body .h4 { margin: 6px 0 8px; }
.news-body p { margin: 0; font-size: calc(15.5px * var(--fs-body, 1) * var(--fs-all, 1)); }
.empty { text-align: center; padding: 60px 20px; border-radius: var(--radius-lg); background: var(--light); }
.empty > .ic { width: 44px; height: 44px; color: var(--red); margin: 0 auto 14px; }
.post-head { padding-top: clamp(48px, 7vw, 96px); }
.post-head .crumbs { margin: 0 0 22px; font-size: calc(15px * var(--fs-hero, 1) * var(--fs-all, 1)); }
.post-meta { color: var(--muted); margin: 16px 0 0; }
.post-cover { margin: 40px auto; }
.post-cover img { border-radius: var(--radius-lg); width: 100%; max-height: 620px; object-fit: cover; }
.post-body { font-size: calc(18px * var(--fs-body, 1) * var(--fs-all, 1)); }
.post-foot { padding-bottom: 96px; margin-top: 40px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--grey); color: rgba(255, 255, 255, .86); padding: 72px 0 0; font-size: calc(16px * var(--fs-footer, 1) * var(--fs-all, 1)); }
.site-footer a { color: rgba(255, 255, 255, .86); }
.site-footer a:hover { color: var(--yellow); }
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: center; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.newsletter .h4 { color: #fff; font-size: calc(1.45rem * var(--fs-footer, 1) * var(--fs-all, 1)); }
.newsletter p { margin: 10px 0 0; }
.nl-form { position: relative; display: flex; background: #fff; border-radius: 99px; padding: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); flex-wrap: wrap; }
.nl-form input[type=email] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 22px; color: var(--ink); font-size: calc(16px * var(--fs-footer, 1) * var(--fs-all, 1)); height: 52px; }
.nl-form input:focus { outline: 0; }
.nl-form .btn { min-height: 52px; }
.nl-msg { position: absolute; left: 24px; top: calc(100% + 10px); margin: 0; color: var(--yellow); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr; gap: 48px; padding: 64px 0; }
.foot-logo img { height: 66px; width: auto; }
.foot-brand p { margin: 22px 0 26px; max-width: 360px; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; transition: transform .3s var(--ease), background .3s; }
.socials a:hover { background: var(--yellow); color: var(--red); transform: translateY(-3px); }
.socials .ic { width: 18px; height: 18px; }
.foot-h { color: #fff; font-size: calc(1.2rem * var(--fs-footer, 1) * var(--fs-all, 1)); font-weight: 600; margin: 0 0 26px; padding-bottom: 18px; position: relative; }
.foot-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 140px; height: 2px; background: var(--yellow); border-radius: 2px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.foot-links li, .foot-links a { display: flex; align-items: center; gap: 10px; }
.foot-links .ic { color: var(--yellow); width: 18px; height: 18px; }
.foot-links a:hover { transform: translateX(3px); }
.foot-links a { transition: transform .25s var(--ease), color .2s; }
.call-card { display: flex; align-items: center; gap: 18px; margin: 22px 0; padding: 18px 24px; background: var(--red); border-radius: 16px; max-width: 320px; }
.call-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--yellow); color: #fff; flex: none; }
.call-ic .ic { width: 26px; height: 26px; }
.call-card strong { display: block; color: #fff; font-size: calc(1.1rem * var(--fs-footer, 1) * var(--fs-all, 1)); font-weight: 600; }
.call-card a { display: block; color: #fff; font-size: calc(15px * var(--fs-footer, 1) * var(--fs-all, 1)); line-height: 1.5; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 26px 0 30px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: calc(14.5px * var(--fs-footer, 1) * var(--fs-all, 1)); }
.foot-bottom p { margin: 0; }

/* ---------------------------------------------------------------- floating: whatsapp + chat */
.wa-float { position: fixed; left: 16px; bottom: 18px; z-index: 70; display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border-radius: 99px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--grey); font-size: calc(14.5px * var(--fs-chat, 1) * var(--fs-all, 1)); font-weight: 500; box-shadow: 0 8px 28px rgba(0, 0, 0, .16); transition: transform .3s var(--ease); }
.wa-float:hover { transform: translateY(-3px); color: var(--ink); }
.wa-float .ic { width: 38px; height: 38px; padding: 7px; border-radius: 50%; background: #25d366; color: #fff; }
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 80; }
.chat-fab { width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--red); color: var(--yellow); box-shadow: 0 12px 30px rgba(164, 30, 35, .4); cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--ease); }
.chat-fab:hover { transform: scale(1.06); }
.chat-fab .ic { width: 28px; height: 28px; grid-area: 1 / 1; transition: opacity .2s, transform .3s var(--ease); }
.chat-fab .ic-close, .chat.is-open .chat-fab .ic-open { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chat.is-open .chat-fab .ic-close { opacity: 1; transform: none; }
.chat-panel { position: absolute; right: 0; bottom: 76px; width: min(390px, calc(100vw - 32px)); height: min(590px, calc(100svh - 120px)); display: flex; flex-direction: column; background: #fff; border-radius: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); overflow: hidden; transform-origin: bottom right; animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.9) translateY(10px); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: var(--grey); color: #fff; }
.chat-head img { width: 34px; height: auto; }
.chat-head strong { display: block; font-size: calc(15.5px * var(--fs-chat, 1) * var(--fs-all, 1)); font-weight: 600; }
.chat-head span { display: flex; align-items: center; gap: 6px; font-size: calc(12.5px * var(--fs-chat, 1) * var(--fs-all, 1)); opacity: .8; }
.chat-head span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34c759; }
.chat-log { flex: 1; overflow-y: auto; padding: 20px 16px; display: flex; flex-direction: column; gap: 10px; background: #fbfbf8; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 20px; font-size: calc(14.5px * var(--fs-chat, 1) * var(--fs-all, 1)); line-height: 1.55; animation: rise .3s var(--ease); white-space: pre-wrap; word-wrap: break-word; }
.msg.bot { align-self: flex-start; background: #ecece6; color: var(--ink); border-bottom-left-radius: 6px; }
.msg.user { align-self: flex-end; background: var(--red); color: #fff; border-bottom-right-radius: 6px; }
.msg a { color: inherit; text-decoration: underline; }
.msg.typing { display: flex; gap: 4px; padding: 15px 16px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9a9a8e; animation: blink 1.2s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-quick { display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px 4px; scrollbar-width: none; }
.chat-quick button { flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--grey); border-radius: 99px; padding: 7px 14px; font-size: calc(13px * var(--fs-chat, 1) * var(--fs-all, 1)); cursor: pointer; }
.chat-quick button:hover { border-color: var(--red); color: var(--red); }
.chat-form { display: flex; gap: 8px; padding: 12px 14px 14px; }
.chat-form input { flex: 1; min-width: 0; height: 46px; border: 1.5px solid var(--line); border-radius: 99px; padding: 0 18px; font-size: calc(15px * var(--fs-chat, 1) * var(--fs-all, 1)); background: var(--light); }
.chat-form input:focus { outline: 0; border-color: var(--red); background: #fff; }
.chat-form button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--red); color: var(--yellow); display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-form button .ic { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- 404 */
.notfound { padding: 140px 0; }

/* ---------------------------------------------------------------- reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .topbar-info .ti:nth-child(2) { display: none; }
  .nav-list > li > a { padding: 0 9px; font-size: calc(15px * var(--fs-menu, 1) * var(--fs-all, 1)); }
  .enroll-btn { padding: 0 20px; }
}
@media (max-width: 1024px) {
  :root { --topbar-h: 72px; --nav-h: 0px; }
  .site-header { top: 0; }
  .brand-logo { height: 52px; }
  .topbar-info { display: none; }
  .menu-toggle { display: grid; place-items: center; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
  .menu-toggle .ic { width: 26px; height: 26px; grid-area: 1 / 1; transition: opacity .2s, transform .3s var(--ease); }
  .menu-toggle .ic-close, .nav-open .menu-toggle .ic-open { opacity: 0; transform: rotate(-90deg); }
  .nav-open .menu-toggle .ic-close { opacity: 1; transform: none; }
  .mainnav { position: fixed; left: 0; right: 0; top: var(--topbar-h); bottom: 0; height: auto; overflow-y: auto; background: var(--red); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .35s var(--ease), visibility .3s; }
  .adminbar + .site-header .mainnav { top: calc(var(--topbar-h) + 34px); }
  .nav-open .mainnav { opacity: 1; visibility: visible; transform: none; }
  .nav-in { flex-direction: column; align-items: stretch; height: auto; padding-top: 12px; padding-bottom: 40px; }
  .nav-list { flex-direction: column; align-items: stretch; height: auto; margin: 0; gap: 0; }
  .nav-list > li { height: auto; flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .nav-list > li > a { flex: 1; padding: 18px 4px; font-size: calc(21px * var(--fs-menu, 1) * var(--fs-all, 1)); font-weight: 600; }
  .nav-list > li > a::after { display: none; }
  .caret { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; border-radius: 12px; }
  .sub-toggle .ic { transition: transform .3s var(--ease); }
  .sub-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
  .sub { position: static; transform: none; width: 100%; min-width: 0; background: transparent; box-shadow: none; padding: 0 0 12px; opacity: 1; visibility: visible; display: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .has-sub.is-open .sub { display: block; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { transform: none; }
  .sub a { color: rgba(255, 255, 255, .9); font-size: calc(17px * var(--fs-menu, 1) * var(--fs-all, 1)); padding: 10px 14px; }
  .sub a:hover { background: rgba(255, 255, 255, .1); color: var(--yellow); }
  .enroll-btn { margin-top: 28px; justify-content: center; padding: 18px; border-radius: 16px; font-size: calc(16px * var(--fs-menu, 1) * var(--fs-all, 1)); }
  .nav-mobile-extra { display: grid; gap: 14px; margin-top: 28px; }
  .nav-mobile-extra a { display: flex; align-items: center; gap: 10px; color: #fff; font-size: calc(17px * var(--fs-menu, 1) * var(--fs-all, 1)); }
  .nav-mobile-extra .ic { color: var(--yellow); }
  .nav-open { overflow: hidden; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; aspect-ratio: 4 / 3; }
  .hero-copy { justify-content: flex-start; padding: 48px 24px 56px; }
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .row, .form-layout { grid-template-columns: minmax(0, 1fr); }
  .about.is-reverse .about-media, .row.is-flip .row-media { order: 0; }
  .form-aside { position: static; }
  .sec-head.is-left { grid-template-columns: 1fr; }
  .sec-head.is-left .lead { grid-column: 1; grid-row: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .newsletter { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: calc(16px * var(--fs-body, 1) * var(--fs-all, 1)); }
  .wrap { padding: 0 18px; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .cards-overlap .card-body { margin: -72px 14px 0; padding: 24px; }
  .about-media { min-height: 0; padding-bottom: 28px; }
  .about-main { margin-left: 16%; }
  .about-badge { left: 0; top: 4%; padding: 16px 18px; }
  .hl { padding: 28px; flex-direction: column; gap: 14px; }
  .team { grid-template-columns: 1fr; }
  .person-body { padding: 26px 24px 30px; }
  .grid-fields { grid-template-columns: 1fr; }
  .field, .field.half { grid-column: span 1; }
  .type-grid { grid-template-columns: 1fr 1fr; }
  .type-opt em { display: none; }
  .wp-th { display: none; }
  .wp-row { grid-template-columns: 1fr; padding: 16px 18px; }
  .wp-row > div { padding: 0; }
  .wp-row:not(.wp-new) .wp-week { display: none; }
  .wp-week { margin-bottom: 8px; }
  .wp-date { margin-bottom: 8px; color: var(--red); }
  .dl-card { flex-direction: column; text-align: center; }
  .foot-grid { grid-template-columns: 1fr; gap: 40px; }
  .nl-form { border-radius: 20px; }
  .nl-form input[type=email] { flex-basis: 100%; }
  .nl-form .btn { flex: 1; }
  .wa-float span { display: none; }
  .wa-float { padding: 6px; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .map-head .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .wa-float, .chat, .adminbar, .wp-tools, .page-header { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .wp-th { position: static; }
  body { font-size: calc(12px * var(--fs-body, 1) * var(--fs-all, 1)); }
}
.text-left .sec-head.is-left, .text-center .sec-head { display: block; }

.optin { display: flex; align-items: flex-start; gap: 12px; margin-top: 26px; cursor: pointer; font-size: calc(15px * var(--fs-forms, 1) * var(--fs-all, 1)); color: var(--body); }
.optin input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); flex: none; }

/* icon cards: centre an unfinished last row */
.cards.cards-icon { display: flex; flex-wrap: wrap; justify-content: center; }
.cards-icon.cols-2 .card { flex: 0 1 calc((100% - 28px) / 2); }
.cards-icon.cols-3 .card { flex: 0 1 calc((100% - 56px) / 3); }
.cards-icon.cols-4 .card { flex: 0 1 calc((100% - 84px) / 4); }
.bg-grey .cards-icon .card { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.bg-grey .cards-icon .card p { color: rgba(255, 255, 255, .78); }
.bg-grey .cards-icon .card .h4 { color: #fff; }
.bg-grey .cards-icon .card-ic { background: var(--yellow); color: var(--red); }
.bg-grey .sec-head.is-left .lead { color: rgba(255, 255, 255, .78); }
.form-foot .small .ic { width: 15px; height: 15px; vertical-align: -3px; color: var(--red); }
@media (max-width: 1024px) { .cards-icon.cols-3 .card, .cards-icon.cols-4 .card { flex-basis: calc((100% - 28px) / 2); } }
@media (max-width: 680px) { .cards-icon .card { flex-basis: 100% !important; } }

/* header + hero share one edge, so the logo lines up with the headline */
.topbar .wrap, .mainnav .wrap { max-width: none; padding-left: var(--edge); padding-right: var(--edge); }
.hero-copy { justify-content: flex-start; padding-left: var(--edge); }
.hero-title { text-wrap: balance; } .h1, .h2, .ph-title { text-wrap: balance; }
/* menu starts on the shared edge, larger items */
@media (min-width: 1025px) {
  .nav-list { margin: 0 auto 0 0; gap: clamp(4px, 1vw, 18px); }
  .nav-list > li > a { font-size: calc(clamp(15.5px, 1.08vw, 18.5px) * var(--fs-menu, 1) * var(--fs-all, 1)); padding: 0 clamp(9px, .95vw, 18px); font-weight: 500; }
  .nav-list > li:first-child > a { padding-left: 0; }
  .nav-list > li:first-child > a::after { left: 0; }
  .nav-list > li > a::after { bottom: 16px; }
  .enroll-btn { font-size: calc(clamp(14.5px, .95vw, 16.5px) * var(--fs-menu, 1) * var(--fs-all, 1)); }
  :root { --nav-h: 72px; }
}
@media (min-width: 1025px) {
  .nav-list > li > a { font-size: calc(clamp(16px, 1.2vw, 19.5px) * var(--fs-menu, 1) * var(--fs-all, 1)); padding: 0 clamp(10px, 1.15vw, 22px); }
  .nav-list > li:first-child > a { padding-left: 0; }
}
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav-list > li > a { font-size: calc(15px * var(--fs-menu, 1) * var(--fs-all, 1)); padding: 0 8px; }
  .nav-list > li:first-child > a { padding-left: 0; }
  .enroll-btn { padding: 0 18px; }
}

/* menu: single-line labels sized so all items (incl. Strategic Investment Partnerships) fit beside Enroll */
@media (min-width: 1025px) {
  .nav-list { gap: clamp(2px, .4vw, 8px); }
  .nav-list > li > a { font-size: calc(clamp(14px, .98vw, 17.5px) * var(--fs-menu, 1) * var(--fs-all, 1)); padding: 0 clamp(8px, .85vw, 16px); white-space: nowrap; }
  .nav-list > li:first-child > a { padding-left: 0; }
  .enroll-btn { font-size: calc(clamp(13px, .85vw, 15.5px) * var(--fs-menu, 1) * var(--fs-all, 1)); padding: 0 clamp(16px, 1.4vw, 28px); white-space: nowrap; }
}
@media (min-width: 1025px) and (max-width: 1280px) {
  .nav-list { gap: 0; }
  .nav-list > li > a { font-size: calc(13.5px * var(--fs-menu, 1) * var(--fs-all, 1)); padding: 0 7px; letter-spacing: -.01em; }
  .nav-list > li:first-child > a { padding-left: 0; }
  .enroll-btn { padding: 0 14px; font-size: calc(12.5px * var(--fs-menu, 1) * var(--fs-all, 1)); gap: 6px; }
}
@media (min-width: 1025px) and (max-width: 1180px) {
  .nav-list > li > a { font-size: calc(12.5px * var(--fs-menu, 1) * var(--fs-all, 1)); padding: 0 5px; }
  .nav-list > li:first-child > a { padding-left: 0; }
  .enroll-btn { padding: 0 12px; font-size: calc(12px * var(--fs-menu, 1) * var(--fs-all, 1)); }
  .enroll-btn .ic { display: none; }
}
@media (min-width: 1025px) {
  .sub a { font-size: calc(14px * var(--fs-menu, 1) * var(--fs-all, 1)); white-space: nowrap; }
}
