/* =====================================================
   GOOD SHEPHERD — "Hilderskool" reference skin
   Warm cream · terracotta · charcoal
   Friendly geometric sans (Gabarito)
   Self-contained home-page design system.
   Loaded LAST so it wins over the base theme.
   ===================================================== */

/* Self-hosted Gabarito (variable font) — guarantees the reference typeface
   renders even offline / when the Google CDN is blocked. */
@font-face {
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/gabarito/gabarito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/gabarito/gabarito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper:    #FFFFFF;   /* page + default section background — clean white */
  --paper-lt: #F3F7FC;   /* light-blue card surface (pops against the white page) */
  --paper-2:  #E6EEF8;   /* icon tiles / subtle fills */
  --ink:      #13294B;   /* headings, deep navy */
  --ink-soft: #22395B;
  --muted:    #5A6675;   /* body copy — cool gray */
  --muted-lt: #8A95A6;   /* meta / labels */
  --line:     #DDE7F2;   /* hairline dividers — cool */
  /* --terra* keep their names but now hold the LOGO BLUES so every usage recolors at once:
     --terra = royal blue (wordmark), --terra-d = deep navy (hover), --terra-lt = azure (ribbon) */
  --terra:    #1C46A6;   /* royal blue — primary accent / buttons */
  --terra-d:  #143A8C;   /* deep navy-blue — hover / dark accent */
  --terra-lt: #0E94D4;   /* azure — light accent / underlines */
  --grad:     linear-gradient(125deg, #3BA7E0 0%, #1C5BB8 42%, #143A8C 100%);
  --grad-ico: radial-gradient(120% 120% at 30% 22%, #56B7EA 0%, #2E84D4 40%, #1C5BB8 78%, #143A8C 100%);
  --ff:       'Gabarito', system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius:   0;    /* squared / cornered edges — no rounding */
  --radius-sm:0;
  --shadow-card: 0 28px 50px -34px rgba(18,30,54, 0.40);
  --shadow-soft: 0 22px 44px -30px rgba(18,30,54, 0.30);
}

/* ---------- Global resets so the base theme can't leak through ---------- */
*, *::before, *::after { box-sizing: border-box; }   /* so width:100% + padding never overflows */
html { scroll-behavior: smooth; }
body {
  margin: 0;                       /* kill the default 8px body margin */
  font-family: var(--ff) !important;
  color: var(--muted) !important;
  background: var(--paper) !important;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0;
  overflow-x: hidden;
}
.hs-page h1, .hs-page h2, .hs-page h3, .hs-page h4, .hs-page h5, .hs-page h6 {
  font-family: var(--ff);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}
.hs-page p { margin: 0; }
.hs-page a { text-decoration: none; }
.hs-page img { display: block; max-width: 100%; }
.hs-page ul { list-style: none; margin: 0; padding: 0; }
.hs-page em { font-style: normal; color: var(--terra-d); font-weight: 600; }

/* Full-bleed layout — sections span the entire viewport width
   (overrides bootstrap's responsive max-width container) */
.hs-page .container {
  width: 100%;
  max-width: none !important;
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 90px) !important;
  padding-right: clamp(20px, 5vw, 90px) !important;
}

/* Sections are full-width; only the hero fills the full viewport height.
   All other sections use their natural content height. */
.hs-page > section > .container { width: 100%; }

/* ---------- Scroll-reveal system — rich multi-variant ---------- */

/* Base hidden state. The full set of directional/effect variants
   (up/down/left/right/scale/flip) is defined once near the BOTTOM of this
   file so it wins the cascade — keep this block to opacity + will-change only. */
[data-reveal] {
  opacity: 0;
  will-change: opacity, transform;
}

/* Revealed state */
[data-reveal].is-in { opacity: 1; transform: none !important; }

/* Fallback if JS never fires */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal]:not(.is-in) { animation: hsRevealFallback 0s 1.8s forwards; }
  @keyframes hsRevealFallback { to { opacity: 1; transform: none; } }
}

/* Nav scroll state */
.hs-nav.scrolled {
  position: fixed;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 24px -8px rgba(18,30,54,0.14);
  animation: hsNavIn .35s cubic-bezier(.16,1,.3,1) both;
}
@keyframes hsNavIn { from { transform: translateY(-100%); opacity:0; } to { transform: none; opacity:1; } }
.hs-nav.scrolled .hs-menu a { color: var(--ink-soft); }
.hs-nav.scrolled .hs-menu a:hover { color: var(--terra-d); }
.hs-nav.scrolled .hs-drop-toggle { color: var(--ink-soft); }
.hs-nav.scrolled .hs-drop-toggle:hover,
.hs-nav.scrolled .hs-has-drop:hover .hs-drop-toggle { color: var(--terra-d); }
.hs-nav.scrolled .hs-burger { background: var(--paper-lt); border-color: var(--line); color: var(--ink); }

/* Parallax hero image */
.hs-hero-bg { will-change: transform; }

/* Stagger shimmer on logo strip */
.hs-logo {
  transition: opacity .3s, color .3s, transform .3s;
}
.hs-logo:hover { opacity: 1; color: var(--terra-d); transform: translateY(-4px); }

/* Card tilt (applied via JS) */
.hs-tilt { transition: transform .18s ease, box-shadow .18s ease; transform-style: preserve-3d; }

/* Magnetic button pulse */
@keyframes hsBtnPulse {
  0%   { box-shadow: 0 0 0 0   rgba(28,70,166,.45); }
  70%  { box-shadow: 0 0 0 14px rgba(28,70,166,0); }
  100% { box-shadow: 0 0 0 0   rgba(28,70,166,0); }
}
.hs-btn-terra { animation: hsBtnPulse 2.8s ease-out infinite; }
.hs-btn-terra:hover { animation: none; }

/* Counter pop */
@keyframes hsCountPop {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.12); }
  60%  { transform: scale(.96); }
  100% { transform: scale(1); }
}
.hs-stat .num.pop { animation: hsCountPop .5s cubic-bezier(.34,.1,.36,1) both; }

/* Section entrance line  */
.hs-sec-head .hs-pill {
  transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .4s;
}

/* Mascot bounce upgrade handled below (keyframes already exist) */

/* Achievement card hover glow */
.hs-ach-card {
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s, border-color .4s, background .4s;
}
.hs-ach-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px -24px rgba(20,58,140,0.28);
  border-color: var(--terra-lt);
}

/* Feature card 3D tilt + glow on hover */
.hs-feature {
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s, background .4s, border-color .4s;
}
.hs-feature:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px -20px rgba(20,58,140,0.22);
}

/* Path card */
.hs-path:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 32px 64px -24px rgba(20,58,140,0.28);
}

/* Reduced motion: skip it all */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hs-nav.scrolled { animation: none; }
  .hs-btn-terra { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Shared atoms ---------- */
.hs-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(16,26,46, 0.06);
  color: #2A3A52;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hs-head {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-size: clamp(30px, 4.2vw, 52px);
  margin: 0;
}
.hs-sec-sub {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 16px;
}

.hs-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 11px;
  font-family: var(--ff);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.hs-btn i { font-size: 13px; }
.hs-btn-terra { background: var(--terra); color: #fff; border-color: var(--terra); box-shadow: 0 16px 30px -16px rgba(20,58,140,0.7); }
.hs-btn-terra:hover { background: var(--terra-d); border-color: var(--terra-d); color: #fff; transform: translateY(-2px); }
.hs-btn-glass {
  background: rgba(255,255,255,0.12); color: #fff;
  border-color: rgba(255,255,255,0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hs-btn-glass:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-2px); }
.hs-btn-outline { background: transparent; color: var(--terra-d); border-color: var(--line); }
.hs-btn-outline:hover { background: var(--terra); color: #fff; border-color: var(--terra); transform: translateY(-2px); }
.hs-btn-white { background: #fff; color: var(--terra-d); border-color: #fff; }
.hs-btn-white:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.hs-btn-ghost { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hs-btn-ghost:hover { background: #fff; color: var(--terra-d); border-color: #fff; transform: translateY(-2px); }

/* ---------- Keyboard focus (a11y) ---------- */
.hs-page a:focus-visible,
.hs-page button:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 6px; }
.hs-menu a:focus-visible,
.hs-nav-cta:focus-visible,
.hs-btn-glass:focus-visible,
.hs-btn-ghost:focus-visible,
.hs-btn-white:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hs-path:focus-visible,
.hs-life-tile:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }

/* Centred section heading */
.hs-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(34px, 4.5vw, 56px); }
.hs-sec-head .hs-head { margin-top: 10px; }
.hs-sec-head--center { flex-direction: column; align-items: center; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.hs-sec-head--center .hs-pill { margin-bottom: 18px; }
.hs-sec-head--center .hs-sec-sub { max-width: 56ch; }

/* =====================================================
   HERO  (nav floats over a rounded image card)
   ===================================================== */
.hs-hero { padding: 0; }
.hs-hero .container { padding: 0 !important; }   /* hero goes edge-to-edge */
.hs-hero-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.hs-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.08); transform-origin: center;
  animation: hsHeroIn 1.4s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes hsHeroIn { from { transform: scale(1.16); } to { transform: scale(1.08); } }
.hs-hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(12,22,44,0.30) 0%,
      rgba(12,22,44,0.05) 20%,
      rgba(12,22,44,0.00) 42%,
      rgba(12,22,44,0.28) 68%,
      rgba(12,22,44,0.74) 100%),
    linear-gradient(90deg,
      rgba(12,22,44,0.34) 0%,
      rgba(12,22,44,0.04) 40%,
      rgba(12,22,44,0.00) 66%);
}

/* nav */
.hs-nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 6;
  padding: 26px clamp(22px, 4vw, 46px);
}
.hs-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hs-brand { display: flex; align-items: center; gap: 11px; }
.hs-brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad-ico); color: #fff;
  display: grid; place-items: center; font-size: 16px;
  flex-shrink: 0; box-shadow: 0 8px 18px -8px rgba(20,58,140,0.8);
}
.hs-brand-name { color: #fff; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; line-height: 1; }
.hs-brand-logo {
  height: 70px; width: auto; display: block;
  background: none; padding: 0; border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}
@media (max-width: 575px) { .hs-brand-logo { height: 54px; } }
.hs-menu { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.hs-menu a { color: rgba(255,255,255,0.90); font-size: 15px; font-weight: 500; transition: color .2s; position: relative; }
.hs-menu a::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--terra-lt); transition: width .28s; }
.hs-menu a:hover { color: #fff; }
.hs-menu a:hover::after { width: 100%; }
.hs-nav-cta {
  background: var(--terra); color: #fff;
  padding: 11px 22px; border-radius: 10px;
  font-weight: 600; font-size: 14.5px; transition: background .25s, transform .25s;
}
.hs-nav-cta:hover { background: var(--terra-d); color: #fff; transform: translateY(-2px); }
.hs-burger {
  display: none; background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.4); color: #fff;
  width: 44px; height: 44px; border-radius: 11px; font-size: 18px; cursor: pointer;
}
.hs-mobile-panel {
  display: none; position: absolute; top: 84px; left: 16px; right: 16px; z-index: 7;
  background: var(--paper-lt); border: 1px solid var(--line);
  border-radius: 16px; padding: 12px; box-shadow: 0 30px 60px -30px rgba(18,30,54,0.5);
}
.hs-mobile-panel.open { display: block; }
.hs-mobile-panel { max-height: calc(100vh - 104px); overflow-y: auto; }
.hs-mobile-panel a { display: block; color: var(--ink); font-weight: 600; padding: 13px 14px; border-radius: 10px; }
.hs-mobile-panel a:hover { background: var(--paper-2); color: var(--terra-d); }
.hs-mobile-panel .hs-btn { width: 100%; justify-content: center; margin-top: 6px; }
.hs-mobile-label {
  display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-lt); padding: 16px 14px 4px;
}

/* ---------- Desktop dropdown menus (Academics / Campus Life) ---------- */
.hs-has-drop { position: relative; display: inline-flex; align-items: center; }
.hs-drop-toggle {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--ff); font-size: 15px; font-weight: 500; line-height: 1;
  color: rgba(255,255,255,0.90); display: inline-flex; align-items: center; gap: 7px;
  transition: color .2s;
}
.hs-drop-toggle .chev { font-size: 9px; transition: transform .28s; opacity: 0.85; }
.hs-drop-toggle:hover,
.hs-has-drop:hover .hs-drop-toggle,
.hs-has-drop:focus-within .hs-drop-toggle { color: #fff; }
.hs-has-drop:hover .hs-drop-toggle .chev,
.hs-has-drop:focus-within .hs-drop-toggle .chev { transform: rotate(180deg); }
.hs-drop {
  position: absolute; top: 100%; left: 50%; z-index: 30;
  min-width: 246px; margin: 0; padding: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(14px);
  transition: opacity .26s ease, transform .26s ease, visibility .26s;
}
.hs-drop::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.hs-has-drop:hover .hs-drop,
.hs-has-drop:focus-within .hs-drop,
.hs-drop.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(10px); }
.hs-menu .hs-drop a {
  display: flex; align-items: center; gap: 13px; white-space: nowrap;
  padding: 11px 14px; border-radius: 11px;
  color: var(--ink); font-size: 14.5px; font-weight: 600;
}
.hs-menu .hs-drop a::after { content: none; }
.hs-menu .hs-drop a:hover { background: var(--paper-lt); color: var(--terra-d); }
.hs-drop a i { width: 20px; text-align: center; font-size: 14px; color: var(--terra-d); flex-shrink: 0; }

/* floating badge */
.hs-hero-badge {
  position: absolute; z-index: 5; top: 100px; right: clamp(22px, 4vw, 46px);
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 100px;
  animation: hsFloat 4.5s ease-in-out infinite;
}
.hs-hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #6FCF86; box-shadow: 0 0 0 4px rgba(111,207,134,0.25); }
@keyframes hsFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* hero content */
.hs-hero-body {
  position: relative; z-index: 3; margin-top: auto; width: 100%;
  padding: clamp(28px, 4.5vw, 60px);
  display: grid; grid-template-columns: 1.25fr 0.92fr; gap: 40px; align-items: end;
}
.hs-page .hs-hero-title {
  color: #fff; font-weight: 700;
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.0; letter-spacing: -0.03em; margin: 0; max-width: 14ch;
  text-shadow: 0 2px 30px rgba(12,22,44, 0.35);
}
.hs-hero-aside { padding-bottom: 6px; }
.hs-hero-aside p { color: rgba(255,255,255,0.92); font-size: 16px; line-height: 1.62; margin: 0 0 22px; max-width: 44ch; }
.hs-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hs-menu, .hs-nav-cta { display: none; }
  .hs-burger { display: grid; place-items: center; }
  .hs-hero-body { grid-template-columns: 1fr; gap: 22px; }
  .hs-hero-badge { top: auto; bottom: 50%; }
}
@media (max-width: 560px) { .hs-hero-badge { display: none; } }

/* =====================================================
   LOGOS / RECOGNITION STRIP
   ===================================================== */
.hs-logos { padding: 32px 0; background: var(--paper-lt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hs-logos-row { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.hs-logo {
  display: flex; align-items: center; gap: 11px;
  color: #8A95A6; font-weight: 800; font-size: 16px; letter-spacing: -0.01em;
  opacity: 0.72; transition: opacity .3s, color .3s;
}
.hs-logo:hover { opacity: 1; color: var(--terra-d); }
.hs-logo i { font-size: 22px; }

@media (max-width: 760px) { .hs-logos-row { justify-content: center; gap: 18px 26px; } .hs-logo { font-size: 14px; } }

/* =====================================================
   ABOUT + FEATURE CARDS
   ===================================================== */
.hs-about {
  padding: clamp(56px, 7vw, 90px) 0 0;
  background: #fff;
  position: relative;
}
.hs-about::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 40%; height: 100%;
  background: radial-gradient(ellipse at 80% 30%, rgba(14,148,212,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hs-about-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 68px); }
.hs-about-head .hs-pill { margin-bottom: 22px; }
.hs-about-head .hs-head { margin-bottom: 22px; }
.hs-about-head p { font-size: 17.5px; line-height: 1.72; color: var(--muted); max-width: 560px; }

.hs-features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding-bottom: clamp(56px, 7vw, 90px);
}
.hs-feature {
  background: transparent; border: 1px solid transparent;
  border-radius: 18px; padding: 16px 16px 26px;
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s, background .4s, border-color .4s;
}
.hs-feature.is-feature { background: var(--paper-lt); border-color: var(--line); box-shadow: var(--shadow-soft); }
.hs-feature:hover { transform: translateY(-8px); background: var(--paper-lt); border-color: var(--line); box-shadow: var(--shadow-card); }
.hs-feature-ico {
  height: 156px; border-radius: 14px; background: var(--paper-lt);
  display: grid; place-items: center; margin-bottom: 22px; overflow: hidden;
}
/* glossy 3D-style orange icon (gradient-filled glyph + specular glow) */
.hs-ico3d {
  font-size: 70px; line-height: 1;
  background: var(--grad-ico);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter:
    drop-shadow(0 14px 22px rgba(20,58,140,0.45))
    drop-shadow(0 2px 1px rgba(255,255,255,0.55));
  transition: transform .55s cubic-bezier(.34,.1,.36,1);
}
.hs-feature:hover .hs-ico3d { transform: scale(1.12) rotate(-5deg); }
/* first card: full gradient tile with white icon + corner-node dots */
.hs-ico-fill {
  position: relative;
  background:
    radial-gradient(circle at 22px 22px, rgba(255,255,255,0.9) 0 4px, transparent 5px),
    radial-gradient(circle at calc(100% - 22px) 22px, rgba(255,255,255,0.9) 0 4px, transparent 5px),
    radial-gradient(circle at 22px calc(100% - 22px), rgba(255,255,255,0.9) 0 4px, transparent 5px),
    radial-gradient(circle at calc(100% - 22px) calc(100% - 22px), rgba(255,255,255,0.9) 0 4px, transparent 5px),
    var(--grad);
  background-repeat: no-repeat;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
.hs-ico-fill i { position: relative; z-index: 2; font-size: 56px; color: #fff; filter: drop-shadow(0 8px 14px rgba(16,46,120,0.45)); }
.hs-feature h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 8px; padding: 0 6px; }
.hs-feature p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 0; padding: 0 6px; }

@media (max-width: 991px) { .hs-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .hs-features { grid-template-columns: 1fr; } .hs-feature-ico { height: 132px; } }

/* =====================================================
   STATS band  (At a glance)
   ===================================================== */
.hs-stats {
  padding: clamp(44px, 6vw, 72px) 0;
  background: var(--grad);
  border-top: none; border-bottom: none;
}
.hs-stats .hs-stat::before { background: rgba(255,255,255,0.5); }
.hs-stats .hs-stat .num { color: #fff; }
.hs-stats .hs-stat .num .suf { color: rgba(255,255,255,0.8); }
.hs-stats .hs-stat .label { color: rgba(255,255,255,0.82); }
.hs-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.hs-stat { position: relative; padding-left: 22px; }
.hs-stat::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--grad-ico); }
.hs-stat .num { font-size: clamp(40px, 5vw, 66px); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; display: flex; align-items: baseline; }
.hs-stat .num .suf { color: var(--terra); margin-left: 2px; }
.hs-stat .label { margin-top: 12px; font-size: 15px; color: var(--muted); }
@media (max-width: 575px) { .hs-stats-row { grid-template-columns: 1fr 1fr; gap: 34px 20px; } }

/* =====================================================
   RECOGNITION & ACHIEVEMENTS
   ===================================================== */
.hs-ach {
  padding: clamp(56px, 7vw, 90px) 0;
  background: var(--paper-lt);
  position: relative; overflow: hidden;
}
.hs-ach::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(28,70,166,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hs-ach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hs-ach-card {
  background: var(--paper-lt); border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 24px 28px; min-height: 230px; display: flex; flex-direction: column;
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s, border-color .4s;
}
.hs-ach-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: var(--terra-lt); }
.hs-ach-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.hs-ach-ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  font-size: 22px; color: #fff; background: var(--grad-ico);
  box-shadow: 0 12px 22px -12px rgba(20,58,140,0.7);
}
.hs-ach-year { font-size: 12.5px; font-weight: 700; color: var(--terra-d); background: rgba(28,70,166,0.12); padding: 5px 12px; border-radius: 100px; letter-spacing: 0.02em; }
.hs-ach-card h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: auto 0 10px; line-height: 1.2; }
.hs-ach-card p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }
.hs-ach-card--accent { background: var(--grad); border-color: transparent; }
.hs-ach-card--accent .hs-ach-ico { background: rgba(255,255,255,0.2); }
.hs-ach-card--accent .hs-ach-year { color: #fff; background: rgba(255,255,255,0.22); }
.hs-ach-card--accent h3 { color: #fff; }
.hs-ach-card--accent p { color: rgba(255,255,255,0.9); }

@media (max-width: 991px) { .hs-ach-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .hs-ach-grid { grid-template-columns: 1fr; } .hs-ach-card { min-height: 0; } }

/* =====================================================
   LEARNING PATHWAYS — stream cards
   ===================================================== */
.hs-paths {
  padding: clamp(56px, 7vw, 90px) 0;
  background: #fff;
  position: relative; overflow: hidden;
}
.hs-paths::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,148,212,0.09) 0%, transparent 65%);
  pointer-events: none;
}
.hs-path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hs-path {
  display: block; background: var(--paper-lt); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; color: inherit;
  transition: transform .45s cubic-bezier(.4,0,.2,1), box-shadow .45s, border-color .45s;
}
.hs-path:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: var(--terra-lt); }
.hs-path-img { height: 230px; overflow: hidden; }
.hs-path-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.hs-path:hover .hs-path-img img { transform: scale(1.07); }
.hs-path-body { padding: 26px 26px 28px; }
.hs-path-tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--terra-d); background: rgba(28,70,166,0.12); padding: 5px 12px; border-radius: 100px; margin-bottom: 14px; }
.hs-path-body h3 { font-size: 25px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.hs-path-body p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; }
.hs-path-go { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--terra-d); }
.hs-path-go i { transition: transform .3s; font-size: 12px; }
.hs-path:hover .hs-path-go i { transform: translateX(5px); }

@media (max-width: 859px) { .hs-path-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* =====================================================
   PROGRAMMES — numbered editorial list
   ===================================================== */
.hs-programs {
  padding: clamp(56px, 7vw, 90px) 0;
  background: var(--paper-lt);
}
.hs-prog-row {
  display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: center;
  padding: 40px 0; border-top: 1px solid var(--line);
}
.hs-prog-row:last-child { border-bottom: 1px solid var(--line); }
.hs-prog-num {
  display: inline-block; margin-bottom: 16px; font-size: 13px; font-weight: 600;
  color: var(--muted); background: rgba(16,26,46,0.05); padding: 5px 13px; border-radius: 100px;
}
.hs-prog h3 { font-size: clamp(23px, 2.6vw, 32px); font-weight: 600; color: var(--ink); margin: 0 0 14px; }
.hs-prog h3 a { color: inherit; transition: color .25s; }
.hs-prog h3 a:hover { color: var(--terra-d); }
.hs-prog p { font-size: 16px; line-height: 1.66; color: var(--muted); margin: 0 0 16px; max-width: 580px; }
.hs-prog .meta { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13.5px; color: #7A8494; }
.hs-prog .meta i { color: var(--terra-d); margin-right: 7px; }
.hs-prog-img { height: 264px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-soft); }
.hs-prog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.hs-prog-row:hover .hs-prog-img img { transform: scale(1.06); }

@media (max-width: 767px) {
  .hs-prog-row { grid-template-columns: 1fr; gap: 22px; padding: 32px 0; }
  .hs-prog-img { order: -1; height: 220px; }
}

/* =====================================================
   SCHOOL LIFE — magazine grid
   ===================================================== */
.hs-life {
  padding: clamp(56px, 7vw, 90px) 0;
  background: #fff;
}
.hs-life-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 18px;
}
.hs-life-tile {
  position: relative; overflow: hidden; border-radius: 18px; display: block;
  box-shadow: var(--shadow-soft);
}
.hs-life-tile--lg { grid-column: span 2; grid-row: span 2; }
.hs-life-tile--wide { grid-column: span 2; }
.hs-life-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.hs-life-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,22,44,0) 40%, rgba(12,22,44,0.72) 100%); }
.hs-life-tile:hover img { transform: scale(1.07); }
.hs-life-cap {
  position: absolute; left: 22px; bottom: 20px; right: 22px; z-index: 2;
  color: #fff; font-size: 14px; line-height: 1.4; display: flex; flex-direction: column; gap: 2px;
}
.hs-life-cap strong { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.hs-life-tile--lg .hs-life-cap strong { font-size: 27px; }

@media (max-width: 859px) {
  .hs-life-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .hs-life-tile--lg { grid-column: span 2; grid-row: span 1; }
  .hs-life-tile--wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .hs-life-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .hs-life-tile--lg, .hs-life-tile--wide { grid-column: span 1; }
}

/* =====================================================
   FACILITIES — image + icon feature list
   ===================================================== */
.hs-fac {
  padding: clamp(56px, 7vw, 90px) 0;
  background: linear-gradient(135deg, #EBF3FC 0%, #F3F7FC 50%, #EBF3FC 100%);
  position: relative; overflow: hidden;
}
.hs-fac::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(28,70,166,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hs-fac-grid { display: grid; grid-template-columns: 0.95fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hs-fac-img { border-radius: 22px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-card); }
.hs-fac-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.hs-fac-img:hover img { transform: scale(1.05); }
.hs-fac-body .hs-pill { margin-bottom: 20px; }
.hs-fac-body .hs-head { margin-bottom: 16px; font-size: clamp(28px, 3.4vw, 44px); }
.hs-fac-body .lead { font-size: 16.5px; line-height: 1.7; color: var(--muted); margin-bottom: 36px; max-width: 46ch; }
.hs-fac-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 36px; }
.hs-fac-feat .ic { font-size: 24px; color: var(--terra-d); margin-bottom: 12px; }
.hs-fac-feat h4 { font-size: 17px; font-weight: 600; color: var(--ink); margin: 0 0 7px; }
.hs-fac-feat p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }

@media (max-width: 859px) { .hs-fac-grid { grid-template-columns: 1fr; } }
@media (max-width: 459px) { .hs-fac-feats { grid-template-columns: 1fr; } }

/* =====================================================
   PRINCIPAL'S MESSAGE — editorial
   ===================================================== */
.hs-principal {
  padding: clamp(56px, 7vw, 90px) 0;
  background: #fff;
}
.hs-principal-grid { display: grid; grid-template-columns: 420px 1fr; gap: clamp(40px, 5.5vw, 80px); align-items: center; }
.hs-principal-photo { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-card); }
.hs-principal-photo img { width: 100%; height: 100%; object-fit: cover; }
.hs-principal-badge {
  position: absolute; right: 20px; bottom: 20px; width: 64px; height: 64px; border-radius: 18px;
  background: var(--grad-ico); color: #fff; display: grid; place-items: center; font-size: 24px;
  box-shadow: 0 16px 30px -14px rgba(20,58,140,0.8);
}
.hs-principal-body .hs-pill { margin-bottom: 24px; }
.hs-principal-quote {
  font-size: clamp(23px, 2.9vw, 35px); font-weight: 500; color: var(--ink);
  line-height: 1.32; letter-spacing: -0.015em; margin: 0 0 24px;
}
.hs-principal-body p { font-size: 16.5px; line-height: 1.72; color: var(--muted); margin: 0 0 26px; max-width: 56ch; }
.hs-principal-sign { display: flex; flex-direction: column; gap: 3px; border-left: 3px solid var(--terra); padding-left: 16px; }
.hs-principal-sign .name { font-weight: 700; color: var(--ink); font-size: 18px; }
.hs-principal-sign .role { color: var(--muted); font-size: 14.5px; }

@media (max-width: 859px) { .hs-principal-grid { grid-template-columns: 1fr; } .hs-principal-photo { max-width: 380px; } }

/* =====================================================
   MISSION & VISION
   ===================================================== */
.hs-mv { padding: clamp(44px, 5vw, 70px) 0 clamp(56px, 7vw, 90px); background: #fff; }
.hs-mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.hs-mv-card {
  position: relative; overflow: hidden; background: var(--paper-lt); border: 1px solid var(--line);
  border-radius: 24px; padding: clamp(34px, 4vw, 52px);
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s;
}
.hs-mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.hs-mv-ico { width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; color: #fff; background: var(--grad-ico); box-shadow: 0 14px 26px -14px rgba(20,58,140,0.7); margin-bottom: 22px; }
.hs-mv-kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terra-d); margin-bottom: 12px; }
.hs-mv-card h3 { font-size: clamp(23px, 2.6vw, 30px); font-weight: 700; color: var(--ink); margin: 0 0 16px; line-height: 1.18; }
.hs-mv-card p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0; }
.hs-mv-card--accent { background: var(--grad); border-color: transparent; }
.hs-mv-card--accent .hs-mv-ico { background: rgba(255,255,255,0.2); }
.hs-mv-card--accent .hs-mv-kicker { color: rgba(255,255,255,0.92); }
.hs-mv-card--accent h3 { color: #fff; }
.hs-mv-card--accent p { color: rgba(255,255,255,0.92); }
/* checklists sitting inside an accent (gradient) card need light-on-dark treatment */
.hs-mv-card--accent .hs-checklist li { color: rgba(255,255,255,0.92); }
.hs-mv-card--accent .hs-check { background: rgba(255,255,255,0.22); color: #fff; }

@media (max-width: 767px) { .hs-mv-grid { grid-template-columns: 1fr; } }

/* =====================================================
   TESTIMONIALS — carousel
   ===================================================== */
.hs-testi {
  padding: clamp(56px, 7vw, 90px) 0;
  background: var(--paper-lt);
  position: relative; overflow: hidden;
}
.hs-testi::before {
  content: '"';
  position: absolute; top: -20px; left: 5%;
  font-size: 280px; font-weight: 900; line-height: 1;
  color: rgba(28,70,166,0.05);
  font-family: Georgia, serif;
  pointer-events: none; user-select: none;
}
.hs-testi-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 4.5vw, 56px); }
.hs-testi-head .hs-pill { margin-bottom: 18px; }
.hs-testi-carousel { overflow: hidden; }
.hs-testi-track { display: flex; transition: transform .6s cubic-bezier(.5,0,.2,1); }
.hs-testi-slide { min-width: 100%; padding: 4px; }
.hs-testi-card {
  display: grid; grid-template-columns: 340px 1fr; gap: clamp(34px, 5vw, 72px); align-items: center;
  background: var(--paper-lt); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-soft);
}
.hs-testi-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; }
.hs-testi-photo img { width: 100%; height: 100%; object-fit: cover; }
.hs-testi-stars { color: var(--terra); font-size: 15px; letter-spacing: 3px; margin-bottom: 18px; }
.hs-testi-quote {
  font-size: clamp(22px, 2.6vw, 32px); font-weight: 500; color: var(--ink);
  line-height: 1.34; letter-spacing: -0.01em; margin: 0 0 26px;
}
.hs-testi-author { display: flex; flex-direction: column; gap: 3px; }
.hs-testi-author .name { font-weight: 700; color: var(--ink); font-size: 18px; }
.hs-testi-author .role { color: var(--muted); font-size: 14.5px; }
.hs-testi-nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 34px; }
.hs-testi-dots { display: flex; gap: 9px; }
.hs-testi-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--paper-2); cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.hs-testi-dot.is-active { width: 26px; border-radius: 100px; background: var(--terra); }
.hs-testi-arrows { display: flex; gap: 10px; }
.hs-testi-arrow {
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper-lt);
  color: var(--ink); font-size: 14px; cursor: pointer; transition: all .25s;
}
.hs-testi-arrow:hover { background: var(--terra); color: #fff; border-color: var(--terra); transform: translateY(-2px); }

@media (max-width: 767px) {
  .hs-testi-card { grid-template-columns: 1fr; text-align: left; }
  .hs-testi-photo { aspect-ratio: 16/11; max-height: 280px; }
}

/* =====================================================
   NEWS & EVENTS
   ===================================================== */
.hs-news {
  padding: clamp(56px, 7vw, 90px) 0;
  background: #fff;
}
.hs-news-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.hs-news-left .hs-pill { margin-bottom: 22px; }
.hs-news-left .hs-head { margin-bottom: 24px; font-size: clamp(28px, 3.6vw, 46px); }
.hs-news-left p { font-size: 15.5px; line-height: 1.7; color: var(--muted); margin-bottom: 26px; }
.hs-news-item { display: grid; grid-template-columns: 130px 1fr; gap: 26px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.hs-news-item:last-child { border-bottom: 1px solid var(--line); }
.hs-news-item .thumb { width: 130px; height: 130px; border-radius: 14px; overflow: hidden; }
.hs-news-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.hs-news-item:hover .thumb img { transform: scale(1.07); }
.hs-news-item h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 0 0 8px; line-height: 1.25; }
.hs-news-item h3 a { color: inherit; transition: color .25s; }
.hs-news-item h3 a:hover { color: var(--terra-d); }
.hs-news-item .desc { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 14px; }
.hs-news-item .foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hs-news-item .date { font-size: 13px; font-weight: 600; color: #7C8696; }
.hs-news-item .more { font-size: 13.5px; font-weight: 600; color: var(--terra-d); background: rgba(28,70,166,0.08); border: 1px solid var(--line); border-radius: 10px; padding: 9px 18px; transition: all .25s; }
.hs-news-item .more:hover { background: var(--terra); color: #fff; border-color: var(--terra); }

@media (max-width: 991px) { .hs-news-grid { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 540px) {
  .hs-news-item { grid-template-columns: 92px 1fr; gap: 18px; }
  .hs-news-item .thumb { width: 92px; height: 92px; }
  .hs-news-item .foot { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* =====================================================
   CTA — gradient banner
   ===================================================== */
.hs-cta { padding: clamp(44px, 5vw, 72px) 0 0; }
.hs-cta-card {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--grad);
  padding: clamp(46px, 6vw, 88px) clamp(32px, 5vw, 76px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center;
  box-shadow: 0 40px 80px -50px rgba(16,46,120,0.8);
}
.hs-cta-glow { position: absolute; inset: 0; background: radial-gradient(60% 90% at 88% 12%, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 55%); pointer-events: none; }
.hs-cta-left, .hs-cta-right { position: relative; z-index: 2; }
.hs-cta-card .hs-pill { margin-bottom: 22px; background: rgba(255,255,255,0.92); color: #143A8C; }
.hs-cta-card h2 { color: #fff; font-size: clamp(30px, 4vw, 52px); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; margin: 0; max-width: 16ch; }
.hs-cta-right p { color: rgba(255,255,255,0.94); font-size: 16.5px; line-height: 1.6; margin: 0 0 24px; }
.hs-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 859px) { .hs-cta-card { grid-template-columns: 1fr; } }

/* =====================================================
   MASCOTS
   ===================================================== */
.hs-mascots { padding: clamp(60px, 7vw, 100px) 0; background: var(--paper-lt); }
.hs-mascots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
  margin-top: clamp(40px, 5vw, 64px);
}
.hs-mascot-card {
  background: var(--paper);
  border: 1.5px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(20px, 3vw, 36px) clamp(16px, 2.5vw, 28px);
  transition: transform .28s, box-shadow .28s;
  box-shadow: var(--shadow-soft);
}
.hs-mascot-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.hs-mascot-img { width: 100%; display: flex; align-items: center; justify-content: center; }
.hs-mascot-img img { width: 100%; height: auto; object-fit: contain; max-height: 260px; display: block; }

@media (max-width: 991px) { .hs-mascots-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .hs-mascots-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .hs-mascot-img img { max-height: 160px; } }

/* ---- Showcase mascots gently float, staggered; jump on hover ---- */
.hs-mascot-card .hs-mascot-img img {
  --mascot-jump: 12px;
  animation: hs-mascot-bounce 3s ease-in-out infinite;
  will-change: transform;
}
.hs-mascot-card:nth-child(2) .hs-mascot-img img { animation-delay: .35s; --mascot-jump: 16px; }
.hs-mascot-card:nth-child(3) .hs-mascot-img img { animation-delay: .70s; --mascot-jump: 10px; }
.hs-mascot-card:nth-child(4) .hs-mascot-img img { animation-delay: 1.05s; --mascot-jump: 15px; }
.hs-mascot-card:hover .hs-mascot-img img { animation-duration: .9s; --mascot-jump: 24px; }

/* =====================================================
   MASCOT — animated decorative "element"
   Peeks into hero / CTA sections and keeps jumping.
   Reuse anywhere: <img class="hs-mascot-deco hs-mascot-deco--subhero"
   src="assets/img/mascots/mascot-2.png" alt="" aria-hidden="true" data-mascot>
   ===================================================== */
@keyframes hs-mascot-bounce {
  0%, 100% { transform: translateY(0)                                   rotate(var(--mascot-tilt, 0deg)); }
  50%      { transform: translateY(calc(-1 * var(--mascot-jump, 16px))) rotate(var(--mascot-tilt, 0deg)); }
}
@keyframes hs-mascot-jumpin {
  0%   { opacity: 0; transform: translateY(72px) scale(.7); }
  60%  { opacity: 1; transform: translateY(-16px) scale(1.06); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hs-mascot-deco {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  width: clamp(96px, 12vw, 172px);
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(16,46,120,0.30));
  /* jump in once on load, then bounce forever */
  animation: hs-mascot-jumpin .8s cubic-bezier(.22,1.4,.4,1) both,
             hs-mascot-bounce 2.8s ease-in-out .85s infinite;
  will-change: transform;
}

/* sits on the bottom-right of a sub-hero banner (clip-safe — rests on the edge) */
.hs-mascot-deco--subhero { right: clamp(12px, 5vw, 90px); bottom: 0; --mascot-jump: 18px; }
/* a smaller friend at the bottom-left, used on a few pages for variety */
.hs-mascot-deco--subhero-2 {
  left: clamp(12px, 5vw, 90px); bottom: 0;
  width: clamp(72px, 8vw, 120px);
  --mascot-tilt: -5deg; --mascot-jump: 13px;
  animation-delay: .25s, 1.1s;
}
/* perches on the top-right corner of a CTA card and hops */
.hs-mascot-deco--cta {
  right: clamp(16px, 5vw, 64px); top: 0;
  width: clamp(88px, 10vw, 148px);
  translate: 0 -62%;            /* lift to stand on the card's top edge (separate from bounce transform) */
  --mascot-jump: 16px;
}
.hs-cta-card { overflow: visible; }   /* let the CTA mascot peek above the card without clipping */

@media (max-width: 600px) {
  .hs-mascot-deco--cta { display: none; }       /* CTA stacks on mobile — avoid overlap */
  .hs-mascot-deco--subhero  { width: clamp(70px, 22vw, 110px); right: 8px; }
  .hs-mascot-deco--subhero-2 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-mascot-deco,
  .hs-mascot-card .hs-mascot-img img { animation: none !important; }
}

/* =====================================================
   FOOTER
   ===================================================== */
.hs-footer { background: #0D1E3A; padding: clamp(54px, 6vw, 84px) 0 28px; border-top: none; }
.hs-footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 48px; }
.hs-foot-brand .hs-brand-logo { height: 90px; background: none; padding: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)) brightness(1.15); }
.hs-foot-brand p { color: rgba(255,255,255,0.62); font-size: 14.5px; line-height: 1.68; margin: 18px 0 20px; max-width: 32ch; }
.hs-foot-social { display: flex; gap: 10px; }
.hs-foot-social a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.14); font-size: 14px; transition: all .25s; }
.hs-foot-social a:hover { color: #fff; background: var(--terra); border-color: var(--terra); transform: translateY(-2px); }
.hs-foot-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 18px; letter-spacing: 0; }
.hs-foot-col ul { display: grid; gap: 11px; }
.hs-foot-col a { color: rgba(255,255,255,0.58); font-size: 14px; transition: color .2s; }
.hs-foot-col a:hover { color: var(--terra-lt); }
.hs-foot-contact ul li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,0.58); font-size: 14px; line-height: 1.5; }
.hs-foot-contact ul li i { color: var(--terra-lt); margin-top: 3px; width: 15px; }
.hs-foot-contact a { color: inherit; }
.hs-foot-contact a:hover { color: var(--terra-lt); }
.hs-footer-bottom { border-top: 1px solid rgba(255,255,255,0.10); padding-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hs-footer-bottom p { margin: 0; color: rgba(255,255,255,0.38); font-size: 13.5px; }
.hs-foot-legal { display: flex; gap: 22px; }
.hs-foot-legal a { color: rgba(255,255,255,0.45); font-size: 13.5px; }
.hs-foot-legal a:hover { color: var(--terra-lt); }

@media (max-width: 991px) { .hs-footer-top { grid-template-columns: 1fr 1fr 1fr; } .hs-foot-brand { grid-column: 1 / -1; } .hs-foot-contact { grid-column: span 2; } }
@media (max-width: 575px) { .hs-footer-top { grid-template-columns: 1fr 1fr; } .hs-foot-contact { grid-column: 1 / -1; } .hs-footer-bottom { justify-content: flex-start; } }

/* ---------- Scroll-to-top ---------- */
#scrollup { position: fixed; right: 24px; bottom: 26px; z-index: 50; opacity: 0; pointer-events: none; transition: opacity .3s; }
#scrollup .scroll-to-top {
  width: 46px; height: 46px; border-radius: 13px; border: none; cursor: pointer;
  background: var(--terra); color: #fff; font-size: 15px;
  box-shadow: 0 14px 30px -12px rgba(20,58,140, 0.7);
  transition: background .25s, transform .25s;
}
#scrollup .scroll-to-top:hover { background: var(--terra-d); transform: translateY(-3px); }

/* =====================================================
   =====================================================
   INNER PAGES  (about, services, courses, faculty,
   gallery, events, blog, contact, disclosure, careers)
   Shared component library — same tokens as the home page.
   =====================================================
   ===================================================== */

/* ---------- Page banner (compact hero w/ floating nav) ---------- */
.hs-page > section.hs-subhero { min-height: 0; display: block; }
.hs-subhero { position: relative; padding: 0; overflow: hidden; }
.hs-subhero-inner {
  position: relative; min-height: 60vh; min-height: 60svh;
  display: flex; flex-direction: column;
}
.hs-subhero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.06);
  animation: hsHeroIn 1.4s cubic-bezier(.22,.61,.36,1) both;
}
.hs-subhero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,22,44,0.46) 0%, rgba(12,22,44,0.20) 38%, rgba(12,22,44,0.30) 70%, rgba(12,22,44,0.70) 100%),
    linear-gradient(90deg, rgba(12,22,44,0.40) 0%, rgba(12,22,44,0.05) 55%);
}
.hs-subhero-body { position: relative; z-index: 3; margin-top: auto; width: 100%; padding: clamp(40px,6vw,86px) 0 clamp(44px,5vw,72px); }
.hs-subhero-body .hs-pill { background: rgba(255,255,255,0.16); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hs-page .hs-subhero-title {
  color: #fff; font-weight: 700; letter-spacing: -0.03em; line-height: 1.02;
  font-size: clamp(38px, 5.6vw, 70px); margin: 16px 0 0; max-width: 18ch;
  text-shadow: 0 2px 30px rgba(12,22,44,0.35);
}
.hs-subhero-lead { color: rgba(255,255,255,0.92); font-size: 17px; line-height: 1.6; margin: 16px 0 0; max-width: 56ch; }
.hs-crumbs { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.78); }
.hs-crumbs a { color: rgba(255,255,255,0.78); transition: color .2s; }
.hs-crumbs a:hover { color: #fff; }
.hs-crumbs i { font-size: 9px; opacity: 0.7; }
.hs-crumbs .cur { color: #fff; }

/* ---------- Generic content section ---------- */
.hs-section { padding: clamp(44px, 5vw, 72px) 0; }
.hs-section--tint { background: var(--paper); }
.hs-section--alt { background: linear-gradient(180deg, #F8FBFE 0%, #FFFFFF 100%); }
.hs-prose { max-width: 70ch; }
.hs-prose p { font-size: 16.5px; line-height: 1.8; color: var(--muted); margin: 0 0 18px; }
.hs-prose p:last-child { margin-bottom: 0; }
.hs-prose h3 { font-size: 24px; color: var(--ink); margin: 30px 0 12px; }

/* ---------- Split (image + text) ---------- */
.hs-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.hs-split-img { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-card); }
.hs-split-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.hs-split-img:hover img { transform: scale(1.05); }
.hs-split-badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 14px;
}
.hs-split-badge .n { font-size: 30px; font-weight: 800; color: var(--terra-d); line-height: 1; letter-spacing: -0.02em; }
.hs-split-badge .t { font-size: 13px; color: var(--muted); line-height: 1.3; max-width: 14ch; }
@media (max-width: 859px) { .hs-split { grid-template-columns: 1fr; } .hs-split--rev .hs-split-img { order: -1; } }

/* ---------- Checklist (vision / bullet lists) ---------- */
.hs-checklist { display: grid; gap: 14px; }
.hs-checklist li { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.hs-check { width: 26px; height: 26px; border-radius: 50%; background: rgba(28,70,166,0.14); color: var(--terra-d); display: grid; place-items: center; font-size: 11px; flex-shrink: 0; margin-top: 2px; }

/* ---------- Tiles (services, values, why-choose) ---------- */
.hs-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hs-tiles--2 { grid-template-columns: repeat(2, 1fr); }
.hs-tiles--4 { grid-template-columns: repeat(4, 1fr); }
.hs-tile {
  background: var(--paper-lt); border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px;
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s, border-color .4s;
}
.hs-tile:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: var(--terra-lt); }
.hs-tile-ico { width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; color: #fff; background: var(--grad-ico); box-shadow: 0 14px 26px -14px rgba(20,58,140,0.7); margin-bottom: 22px; }
.hs-tile h3 { font-size: 21px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.hs-tile p { font-size: 15px; line-height: 1.62; color: var(--muted); margin: 0; }
.hs-tile-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--terra-d); font-weight: 600; font-size: 14px; }
.hs-tile-go i { font-size: 12px; transition: transform .3s; }
.hs-tile:hover .hs-tile-go i { transform: translateX(5px); }
@media (max-width: 991px) { .hs-tiles, .hs-tiles--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hs-tiles, .hs-tiles--2, .hs-tiles--4 { grid-template-columns: 1fr; } }

/* ---------- Streams (junior-college subject combos) ---------- */
.hs-stream-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hs-stream {
  background: var(--paper-lt); border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px;
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s, border-color .4s; height: 100%;
}
.hs-stream:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: var(--terra-lt); }
.hs-stream-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.hs-stream-code { font-size: 14px; font-weight: 800; letter-spacing: 0.02em; color: #fff; background: var(--grad-ico); padding: 8px 14px; border-radius: 12px; box-shadow: 0 10px 20px -12px rgba(20,58,140,0.7); }
.hs-stream-top h3 { font-size: 21px; font-weight: 700; color: var(--ink); margin: 0; }
.hs-stream ul { display: grid; gap: 9px; }
.hs-stream li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.hs-stream li i { color: var(--terra-d); font-size: 12px; margin-top: 4px; }
@media (max-width: 859px) { .hs-stream-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hs-stream-grid { grid-template-columns: 1fr; } }

/* ---------- Faculty cards ---------- */
.hs-faculty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.hs-faculty {
  background: var(--paper-lt); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  transition: transform .45s cubic-bezier(.4,0,.2,1), box-shadow .45s, border-color .45s;
}
.hs-faculty:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: var(--terra-lt); }
.hs-faculty-photo { aspect-ratio: 1 / 1; overflow: hidden; }
.hs-faculty-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.hs-faculty:hover .hs-faculty-photo img { transform: scale(1.06); }
.hs-faculty-body { padding: 22px 22px 24px; text-align: center; }
.hs-faculty-body h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0; }
.hs-faculty-body .role { color: var(--terra-d); font-weight: 600; font-size: 13.5px; margin-top: 5px; }
.hs-faculty-body .subj { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.hs-faculty-social { display: flex; justify-content: center; gap: 9px; margin-top: 16px; }
.hs-faculty-social a { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: 13px; transition: all .25s; }
.hs-faculty-social a:hover { background: var(--terra); color: #fff; border-color: var(--terra); transform: translateY(-2px); }
@media (max-width: 991px) { .hs-faculty-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .hs-faculty-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery grid + lightbox ---------- */
.hs-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 16px; }
.hs-gallery-item {
  position: relative; overflow: hidden; border-radius: 16px; cursor: pointer; display: block;
  box-shadow: var(--shadow-soft); background: var(--paper-2);
}
.hs-gallery-item--tall { grid-row: span 2; }
.hs-gallery-item--wide { grid-column: span 2; }
.hs-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.hs-gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,22,44,0) 45%, rgba(12,22,44,0.62) 100%); opacity: 0; transition: opacity .35s; }
.hs-gallery-item:hover img { transform: scale(1.07); }
.hs-gallery-item:hover::after { opacity: 1; }
.hs-gallery-zoom { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; font-size: 14px; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; }
.hs-gallery-item:hover .hs-gallery-zoom { opacity: 1; transform: none; }
.hs-gallery-cap { position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 2; color: #fff; font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.hs-gallery-item:hover .hs-gallery-cap { opacity: 1; transform: none; }
@media (max-width: 859px) { .hs-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } .hs-gallery-item--wide { grid-column: span 2; } }
@media (max-width: 520px) { .hs-gallery { grid-template-columns: 1fr; } .hs-gallery-item--tall, .hs-gallery-item--wide { grid-row: span 1; grid-column: span 1; } }

.hs-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,18,38,0.9); display: none; align-items: center; justify-content: center; padding: 4vw; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.hs-lightbox.open { display: flex; animation: hsFade .25s ease both; }
@keyframes hsFade { from { opacity: 0; } to { opacity: 1; } }
.hs-lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 12px; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7); }
.hs-lb-btn { position: absolute; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.4); color: #fff; width: 50px; height: 50px; border-radius: 14px; font-size: 18px; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.hs-lb-btn:hover { background: var(--terra); border-color: var(--terra); transform: translateY(-2px); }
.hs-lb-close { top: 24px; right: 24px; }
.hs-lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.hs-lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.hs-lb-prev:hover, .hs-lb-next:hover { transform: translateY(-50%) scale(1.06); }

/* ---------- Blog grid ---------- */
.hs-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hs-blog-card {
  display: flex; flex-direction: column; background: var(--paper-lt); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; transition: transform .45s cubic-bezier(.4,0,.2,1), box-shadow .45s, border-color .45s;
}
.hs-blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: var(--terra-lt); }
.hs-blog-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.hs-blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.hs-blog-card:hover .hs-blog-thumb img { transform: scale(1.07); }
.hs-blog-cat { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.92); color: var(--terra-d); font-size: 12px; font-weight: 700; padding: 6px 13px; border-radius: 100px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.hs-blog-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.hs-blog-body h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 0 0 10px; line-height: 1.25; }
.hs-blog-body h3 a { color: inherit; transition: color .25s; }
.hs-blog-body h3 a:hover { color: var(--terra-d); }
.hs-blog-body p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; }
.hs-blog-meta { margin-top: auto; display: flex; align-items: center; gap: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: #7C8696; font-weight: 600; }
.hs-blog-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hs-blog-meta i { color: var(--terra-d); }
@media (max-width: 991px) { .hs-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hs-blog-grid { grid-template-columns: 1fr; } }

/* ---------- Events list ---------- */
.hs-event-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.hs-event {
  display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start;
  background: var(--paper-lt); border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s, border-color .4s;
}
.hs-event:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--terra-lt); }
.hs-event-date { background: var(--grad); color: #fff; border-radius: 14px; text-align: center; padding: 16px 8px; box-shadow: 0 14px 26px -16px rgba(16,46,120,0.7); }
.hs-event-date .d { font-size: 28px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.hs-event-date .m { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 5px; }
.hs-event-body h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 8px; line-height: 1.22; }
.hs-event-body p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 0 0 12px; }
.hs-event-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: #7A8494; font-weight: 600; }
.hs-event-meta i { color: var(--terra-d); margin-right: 6px; }
@media (max-width: 767px) { .hs-event-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .hs-event { grid-template-columns: 1fr; } .hs-event-date { display: inline-block; } }

/* ---------- Contact ---------- */
.hs-contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.hs-info-list { display: grid; gap: 4px; margin-bottom: 28px; }
.hs-info-item { display: flex; align-items: flex-start; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.hs-info-item:first-child { padding-top: 0; }
.hs-info-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--grad-ico); color: #fff; display: grid; place-items: center; font-size: 19px; flex-shrink: 0; box-shadow: 0 12px 22px -14px rgba(20,58,140,0.7); }
.hs-info-item h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 0 5px; }
.hs-info-item p, .hs-info-item a { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 0; }
.hs-info-item a:hover { color: var(--terra-d); }
.hs-form { background: var(--paper-lt); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-soft); }
.hs-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hs-field { margin-bottom: 18px; }
.hs-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.hs-input, .hs-textarea, .hs-select { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-family: var(--ff); font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.hs-textarea { resize: vertical; min-height: 130px; }
.hs-input::placeholder, .hs-textarea::placeholder { color: #AAB4C2; }
.hs-input:focus, .hs-textarea:focus, .hs-select:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(28,70,166,0.15); }
.hs-map { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); line-height: 0; }
.hs-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
@media (max-width: 859px) { .hs-contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hs-form-row { grid-template-columns: 1fr; } }

/* ---------- Disclosure (info table + documents) ---------- */
.hs-table-wrap { background: var(--paper-lt); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-soft); }
.hs-table { width: 100%; border-collapse: collapse; }
.hs-table th, .hs-table td { text-align: left; padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.hs-table th { width: 38%; color: var(--ink); font-weight: 700; background: rgba(16,26,46,0.03); }
.hs-table td { color: var(--muted); }
.hs-table tr:last-child th, .hs-table tr:last-child td { border-bottom: none; }
.hs-docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hs-doc { display: flex; align-items: center; gap: 16px; background: var(--paper-lt); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.hs-doc:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--terra-lt); }
.hs-doc-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(28,70,166,0.12); color: var(--terra-d); display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.hs-doc-txt { min-width: 0; }
.hs-doc-txt .t { display: block; font-weight: 600; color: var(--ink); font-size: 14.5px; line-height: 1.3; }
.hs-doc-txt .s { font-size: 12.5px; color: var(--muted-lt); }
.hs-doc .dl { margin-left: auto; color: var(--terra-d); font-size: 16px; flex-shrink: 0; }
@media (max-width: 859px) { .hs-docs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hs-docs { grid-template-columns: 1fr; } .hs-table th { width: 42%; } }

/* ---------- Careers (job list) ---------- */
.hs-jobs { display: grid; gap: 16px; }
.hs-job { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--paper-lt); border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.hs-job:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--terra-lt); }
.hs-job-main h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.hs-job-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.hs-tag { font-size: 12.5px; font-weight: 600; color: var(--terra-d); background: rgba(28,70,166,0.12); padding: 5px 13px; border-radius: 100px; display: inline-flex; align-items: center; gap: 6px; }
.hs-tag i { font-size: 11px; }

/* ---------- Photo strip — image collage band for text-light visual breaks ---------- */
.hs-photostrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hs-photostrip--3 { grid-template-columns: repeat(3, 1fr); }
.hs-ps-item {
  position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-soft); background: var(--paper-2); display: block;
}
.hs-ps-item--tall { aspect-ratio: 4 / 6; }
.hs-ps-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.hs-ps-item:hover img { transform: scale(1.07); }
.hs-ps-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,22,44,0) 48%, rgba(12,22,44,0.66) 100%); }
.hs-ps-cap {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2;
  color: #fff; font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25;
}
.hs-ps-cap small { display: block; font-size: 12px; font-weight: 600; opacity: 0.82; margin-top: 3px; }
@media (max-width: 859px) { .hs-photostrip, .hs-photostrip--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .hs-photostrip, .hs-photostrip--3 { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* ---------- Image banner row — big single hero image with floating stat (reuse anywhere) ---------- */
.hs-imgquote { position: relative; border-radius: 26px; overflow: hidden; min-height: 440px; display: flex; align-items: flex-end; box-shadow: var(--shadow-card); }
.hs-imgquote img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-imgquote::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,22,44,0.15) 0%, rgba(12,22,44,0.1) 45%, rgba(12,22,44,0.8) 100%); }
.hs-imgquote-body { position: relative; z-index: 2; padding: clamp(28px, 4vw, 56px); max-width: 760px; }
.hs-imgquote-body .hs-pill { background: rgba(255,255,255,0.18); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); margin-bottom: 16px; }
.hs-imgquote-body h2 { color: #fff; font-size: clamp(26px, 3.4vw, 44px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-shadow: 0 2px 30px rgba(12,22,44,0.4); }
.hs-imgquote-body p { color: rgba(255,255,255,0.92); font-size: 16.5px; line-height: 1.6; margin: 16px 0 0; max-width: 56ch; }

/* ============================================================
   SQUARED / CORNERED EDGES
   Global sharp-corner restyle — every element gets crisp 90°
   corners instead of rounded ones. Scoped to .hs-page and set
   last so it wins over every component's own border-radius.
   ============================================================ */
.hs-page *,
.hs-page *::before,
.hs-page *::after { border-radius: 0 !important; }

/* =====================================================================
   MOTION ENHANCEMENTS (appended) — richer, more noticeable page motion.
   Builds on the [data-reveal] reveal system defined earlier in this file.
   ===================================================================== */

/* Larger, smoother reveal travel so the scroll motion reads clearly.
   This block is the SINGLE source of truth for reveal variants (it loads
   last, so it wins the cascade over the base block near the top). */
[data-reveal] {
  transform: translateY(48px);
  transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--d, 0ms);
}

/* Opt-in directional / effect variants (data-reveal="left" etc.) */
[data-reveal="up"]    { transform: translateY(48px); }
[data-reveal="down"]  { transform: translateY(-42px); }
[data-reveal="left"]  { transform: translateX(64px); }
[data-reveal="right"] { transform: translateX(-64px); }
[data-reveal="zoom"]  { transform: scale(.9); }
[data-reveal="scale"] { transform: scale(.85) translateY(30px); }
[data-reveal="flip"]  { transform: perspective(800px) rotateX(16deg) translateY(36px); transform-origin: top center; }
[data-reveal="fade"]  { transform: none; }
[data-reveal].is-in { transform: none !important; }

/* Cards / tiles that DON'T carry an explicit variant lift in with a subtle scale.
   :not([data-reveal=""]) guards are unnecessary; explicit variants above win via
   the .is-in reset, and these only set the hidden state for the bare attribute. */
.hs-blog-card[data-reveal=""],
.hs-doc[data-reveal=""],
.hs-job[data-reveal=""],
.hs-ps-item[data-reveal=""] { transform: translateY(40px) scale(.96); }

/* Sub-hero / page-banner entrance on load (every inner page) */
@keyframes hsRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hs-subhero-body .hs-pill,
.hs-subhero-body .hs-subhero-title,
.hs-subhero-body .hs-subhero-lead,
.hs-subhero-body p,
.hs-subhero-body .hs-crumbs { animation: hsRise .8s cubic-bezier(.16,.84,.44,1) both; }
.hs-subhero-body .hs-pill { animation-delay: .05s; }
.hs-subhero-body .hs-subhero-title { animation-delay: .15s; }
.hs-subhero-body .hs-subhero-lead,
.hs-subhero-body p { animation-delay: .28s; }
.hs-subhero-body .hs-crumbs { animation-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .hs-subhero-body .hs-pill,
  .hs-subhero-body .hs-subhero-title,
  .hs-subhero-body .hs-subhero-lead,
  .hs-subhero-body p,
  .hs-subhero-body .hs-crumbs { animation: none !important; }
}
