/* ==========================================================================
   James Barnes Consultancy — Design System
   Fresh, modern, corporate. Violet + ink/navy. Inspired by soft-gradient
   fintech aesthetics, adapted for a trusted education consultancy.
   ========================================================================== */

/* ---- v1 : tokens --------------------------------------------------------- */
:root {
  /* palette */
  --ink:        #19244e;   /* deep aubergine-navy — primary text & dark cards */
  --ink-2:      #22305f;   /* slightly lifted ink */
  --violet:     #f36b2e;   /* primary brand violet (muted, corporate) */
  --violet-600: #e35f22;
  --violet-700: #cc5219;
  --lilac:      #f59a1e;   /* soft accent */
  --lilac-soft: #cfeae9;
  --periwinkle: #c4e7e5;
  --blue:       #253c96;
  --mint:       #c4e7e5;
  --paper:      #ffffff;
  --canvas:     #f5f8fa;   /* page background */
  --canvas-2:   #e9f3f2;   /* alt section */
  --mist:       #fafcfc;
  --line:       #dde7ea;   /* hairline borders */
  --text:       #223052;   /* body text */
  --muted:      #5c6b86;   /* secondary text */
  --muted-2:    #93a1b5;
  --gold:       #c9a45c;   /* subtle prestige accent */

  /* gradients */
  --grad-hero:  radial-gradient(120% 120% at 15% 0%, #eaf3f6 0%, #dbe8f2 38%, #c7d8ee 70%, #bacdeb 100%);
  --grad-violet: linear-gradient(135deg, #f7862f 0%, #f36b2e 55%, #e2571d 100%);
  --grad-ink:   linear-gradient(160deg, #22305f 0%, #19244e 100%);
  --grad-lilac: linear-gradient(150deg, #eaf5f4 0%, #d5ecea 100%);

  /* type */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  /* structure */
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 32px;

  /* shadow */
  --shadow-sm: 0 2px 10px rgba(25, 36, 78, .06);
  --shadow:    0 18px 50px -20px rgba(25, 36, 78, .26);
  --shadow-lg: 0 40px 90px -30px rgba(25, 36, 78, .34);
  --ring:      0 0 0 1px var(--line);

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---- reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--canvas);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--lilac); color: var(--ink); }

/* ---- layout helpers ------------------------------------------------------ */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 118px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--muted); line-height: 1.6; }

/* ---- typography ---------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.08; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); font-optical-sizing: auto; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p + p { margin-top: 1rem; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: linear-gradient(90deg, var(--violet), transparent);
}
.eyebrow.center-eb { justify-content: center; }
.eyebrow.center-eb::before { display: none; }

.section-head { max-width: 720px; }
.section-head .lead { margin-top: 1.1rem; }
.section-head.center { margin-inline: auto; }

/* ---- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.6rem;
  border-radius: 100px;
  font-weight: 600; font-size: .98rem;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: var(--violet-700); }
.btn--violet { background: var(--grad-violet); color: #fff; box-shadow: 0 12px 30px -12px rgba(226,87,29,.55); }
.btn--violet:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(226,87,29,.65); }
.btn--ghost { background: rgba(255,255,255,.6); color: var(--ink); border-color: var(--line); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }

.textlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--violet);
  transition: gap .25s var(--ease), color .2s;
}
.textlink svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.textlink:hover { color: var(--violet-700); }
.textlink:hover svg { transform: translateX(4px); }

/* ---- navbar -------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav.scrolled {
  background: rgba(250, 249, 254, .82);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(221, 231, 234, .9), var(--shadow-sm);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--serif); font-size: 1.28rem; color: var(--ink); letter-spacing: -.01em; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand strong { font-weight: 500; }
.brand span { color: var(--violet); }

.nav__links { display: flex; align-items: center; gap: .3rem; }
.nav__links a {
  padding: .55rem .9rem; border-radius: 100px;
  font-size: .96rem; font-weight: 500; color: var(--text);
  transition: background .2s, color .2s;
}
.nav__links a:hover { background: rgba(243,107,46,.08); color: var(--violet); }
.nav__links a.active { color: var(--violet); }
.nav__cta { margin-left: .5rem; }
/* v2 — nav CTA colour must beat `.nav__links a` specificity */
.nav__links a.btn.btn--primary { color: #fff; }
.nav__links a.btn.btn--primary:hover { color: #fff; }

.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.6); align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s;
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after  { transform: translateY(4px); }
.nav__toggle.open span { background: transparent; }
.nav__toggle.open span::before { transform: rotate(45deg); }
.nav__toggle.open span::after  { transform: rotate(-45deg) translateY(-1.5px); }

/* mobile drawer */
.nav__drawer {
  position: fixed; inset: 76px 0 auto 0; z-index: 55;
  background: rgba(250, 249, 254, .97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 1rem var(--gutter) 1.6rem;
  display: none; flex-direction: column; gap: .2rem;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav__drawer.open { display: flex; transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav__drawer a { padding: .85rem .4rem; font-size: 1.05rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav__drawer a:last-of-type { border-bottom: 0; }
.nav__drawer .btn { margin-top: 1rem; justify-content: center; }

/* ---- hero ---------------------------------------------------------------- */
.hero { position: relative; background: var(--grad-hero); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(243,107,46,.06) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(66px, 11vw, 132px); text-align: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow-sm);
  padding: .45rem .95rem; border-radius: 100px;
  font-size: .82rem; font-weight: 500; color: var(--ink);
  backdrop-filter: blur(6px);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(243,107,46,.18); }
.hero h1 { margin-top: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--violet); }
.hero__sub { max-width: 620px; margin: 1.5rem auto 0; font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: #33415f; }
.hero__cta { margin-top: 2.2rem; display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.hero__orbs { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .85; }
.orb--1 { width: 190px; height: 190px; left: -40px; top: 30%; background: radial-gradient(circle at 35% 30%, #fff, #f7a267 55%, #f36b2e); box-shadow: var(--shadow-lg); animation: float 9s ease-in-out infinite; }
.orb--2 { width: 120px; height: 120px; right: 4%; top: 20%; background: radial-gradient(circle at 35% 30%, #fff, #9db4e8 55%, #253c96); box-shadow: var(--shadow); animation: float 11s ease-in-out infinite reverse; }
.orb--3 { width: 70px; height: 70px; right: 16%; bottom: 12%; background: radial-gradient(circle at 35% 30%, #fff, #fbd28f 60%, #f59a1e); box-shadow: var(--shadow); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-22px) } }

/* trust bar under hero */
.trustbar { border-top: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.35); }
.trustbar__inner { display: flex; align-items: center; justify-content: center; gap: clamp(1.4rem, 5vw, 3.6rem); flex-wrap: wrap; padding-block: 1.4rem; }
.trustbar__item { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--muted); font-weight: 500; }
.trustbar__item svg { width: 20px; height: 20px; color: var(--violet); }

/* ---- cards / features ---------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 1.3rem;
  background: var(--grad-lilac); color: var(--violet);
  border: 1px solid var(--line);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .98rem; color: var(--muted); }

/* dark feature card variant (like the reference's aubergine tiles) */
.card--ink { background: var(--grad-ink); border-color: transparent; color: #cbd4e6; }
.card--ink h3 { color: #fff; }
.card--ink p { color: #b7c2d6; }
.card--ink .card__icon { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: var(--lilac); }
.card--ink::after { content: ""; position: absolute; width: 200px; height: 200px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(243,107,46,.32), transparent 70%); }

/* violet feature card */
.card--violet { background: var(--grad-violet); border-color: transparent; color: #fbf5ef; }
.card--violet h3 { color: #fff; }
.card--violet p { color: #ffe2d0; }
.card--violet .card__icon { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.22); color: #fff; }

/* ---- split feature ------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media {
  border-radius: var(--radius-lg); min-height: 340px;
  background: var(--grad-lilac); border: 1px solid var(--line);
  position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.stat-list { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.stat-row { display: flex; align-items: flex-start; gap: .9rem; }
.stat-row .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-violet); display: grid; place-items: center; margin-top: 2px; }
.stat-row .tick svg { width: 14px; height: 14px; color: #fff; }
.stat-row p { color: var(--text); }
.stat-row strong { color: var(--ink); }

/* stat figures */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.figure { text-align: center; padding: 1.6rem 1rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.figure .num { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--violet); line-height: 1; }
.figure .lbl { margin-top: .5rem; font-size: .92rem; color: var(--muted); }

/* ---- logo / schools wall ------------------------------------------------- */
.logos { display: flex; align-items: center; justify-content: center; gap: clamp(1.4rem, 4vw, 3.2rem); flex-wrap: wrap; }
.logos__item { font-family: var(--serif); font-size: 1.05rem; color: var(--muted); opacity: .8; letter-spacing: .01em; display: flex; align-items: center; gap: .5rem; transition: opacity .3s, color .3s; }
.logos__item:hover { opacity: 1; color: var(--ink); }
.logos__item svg { width: 22px; height: 22px; color: var(--lilac); }

/* ---- testimonial --------------------------------------------------------- */
.quote {
  position: relative; background: var(--grad-ink); color: #fbf5ef;
  border-radius: var(--radius-lg); padding: clamp(2.4rem, 5vw, 4rem);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.quote::before {
  content: "\201C"; position: absolute; top: -10px; left: 28px;
  font-family: var(--serif); font-size: 11rem; color: rgba(168,155,240,.22); line-height: 1;
}
.quote__text { position: relative; font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.4; color: #fff; }
.quote__by { position: relative; margin-top: 1.8rem; display: flex; align-items: center; gap: .9rem; }
.quote__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--grad-violet); display: grid; place-items: center; font-family: var(--serif); color: #fff; font-size: 1.1rem; flex: none; }
.quote__name { font-weight: 600; color: #fff; }
.quote__role { font-size: .9rem; color: #b7c2d6; }
.quote__glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -80px; bottom: -120px; background: radial-gradient(circle, rgba(243,107,46,.42), transparent 70%); }

/* ---- CTA band ------------------------------------------------------------ */
.cta-band { position: relative; background: var(--grad-violet); border-radius: var(--radius-lg); padding: clamp(2.6rem, 6vw, 4.5rem); text-align: center; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe6d8; max-width: 560px; margin: 1rem auto 0; }
.cta-band .hero__cta { margin-top: 2rem; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; }
.cta-band::before { width: 300px; height: 300px; background: rgba(255,255,255,.12); left: -80px; top: -120px; }
.cta-band::after { width: 220px; height: 220px; background: rgba(25,36,78,.18); right: -60px; bottom: -100px; }

/* ---- page header (inner pages) ------------------------------------------- */
.pagehead { background: var(--grad-hero); position: relative; overflow: hidden; }
.pagehead::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(243,107,46,.06) 1px, transparent 1px); background-size: 26px 26px; opacity: .5; }
.pagehead__inner { position: relative; z-index: 2; padding-block: clamp(56px, 9vw, 104px); max-width: 760px; }
.pagehead .eyebrow { margin-bottom: 1rem; }
.pagehead p { margin-top: 1.1rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #33415f; max-width: 620px; }
.crumb { font-size: .85rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumb a:hover { color: var(--violet); }

/* ---- list feature (services detail) ------------------------------------- */
.svc { display: grid; grid-template-columns: 64px 1fr; gap: 1.4rem; padding: 2rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.svc:last-child { border-bottom: 0; }
.svc__num { font-family: var(--serif); font-size: 1.5rem; color: var(--lilac); }
.svc h3 { margin-bottom: .5rem; }
.svc p { color: var(--muted); max-width: 640px; }
.svc__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tag { font-size: .8rem; font-weight: 500; color: var(--violet); background: rgba(243,107,46,.09); border: 1px solid rgba(243,107,46,.18); padding: .3rem .8rem; border-radius: 100px; }

/* ---- team ---------------------------------------------------------------- */
.person { text-align: center; }
.person__photo { aspect-ratio: 1; border-radius: var(--radius); background: var(--grad-lilac); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--serif); font-size: 2.4rem; color: var(--violet); margin-bottom: 1rem; box-shadow: var(--shadow-sm); }
.person h4 { margin-bottom: .2rem; }
.person .role { font-size: .88rem; color: var(--muted); }

/* ---- contact ------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card__icon { flex: none; width: 46px; height: 46px; border-radius: 13px; background: var(--grad-lilac); color: var(--violet); display: grid; place-items: center; }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card .k { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-card .v { font-size: 1.05rem; color: var(--ink); font-weight: 500; word-break: break-word; }
.contact-card a.v:hover { color: var(--violet); }

form.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .9rem 1rem; font: inherit; color: var(--text);
  background: var(--mist); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(243,107,46,.12); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.form-status { display: none; margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 12px; font-size: .95rem; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(243,107,46,.09); color: var(--violet-700); border: 1px solid rgba(243,107,46,.2); }
.form-status.err { background: #fdecec; color: #b23b3b; border: 1px solid #f4c9c9; }
.hp { position: absolute; left: -9999px; }

/* ---- footer -------------------------------------------------------------- */
.footer { background: var(--grad-ink); color: #b7c2d6; padding-block: clamp(48px, 7vw, 78px) 2rem; margin-top: clamp(40px, 6vw, 80px); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand { color: #fff; }
.footer .brand span { color: var(--lilac); }
.footer__blurb { margin-top: 1rem; font-size: .95rem; color: #9aa6bd; max-width: 300px; }
.footer h5 { font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 1.1rem; font-weight: 600; }
.footer__col a { display: block; padding: .35rem 0; font-size: .95rem; color: #9aa6bd; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__contact li { list-style: none; font-size: .95rem; margin-bottom: .7rem; display: flex; gap: .6rem; align-items: flex-start; color: #9aa6bd; }
.footer__contact svg { width: 17px; height: 17px; color: var(--lilac); flex: none; margin-top: 3px; }
.footer__bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #8981a5; }
.footer__bottom a:hover { color: #fff; }

/* ---- scroll reveal ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 940px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { min-height: 260px; }
  .grid--2, .grid--3, .grid--4, .figures { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: .6rem; }
}

/* ===== v3 : real content — schools wall, team, testimonials ============== */

/* schools logo wall */
.schoolwall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.school-chip {
  display: flex; align-items: center; gap: .8rem;
  padding: .8rem .95rem; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.school-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.school-chip__logo {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--grad-lilac); border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden;
}
.school-chip__logo img { width: 26px; height: 26px; object-fit: contain; }
.school-chip__t { min-width: 0; }
.school-chip__name { font-weight: 600; font-size: .9rem; color: var(--ink); line-height: 1.2; }
.school-chip__loc { font-size: .76rem; color: var(--muted); margin-top: 1px; }
@media (max-width: 940px){ .schoolwall { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 560px){ .schoolwall { grid-template-columns: 1fr;} }

/* home logo strip (real schools) */
.logostrip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logostrip a {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem .9rem; border-radius: 100px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
  font-size: .86rem; font-weight: 500; color: var(--muted);
  transition: transform .2s var(--ease), box-shadow .2s, color .2s;
}
.logostrip a:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--ink); }
.logostrip img { width: 20px; height: 20px; border-radius: 4px; object-fit: contain; }
.logostrip .more { background: var(--ink); color: #fff; border-color: transparent; }
.logostrip .more:hover { color: #fff; background: var(--violet-700); }

/* team members */
.team-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.member { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member__head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.2rem; }
.member__photo { position: relative; flex: none; width: 86px; height: 86px; border-radius: 50%; overflow: hidden; background: var(--grad-violet); display: grid; place-items: center; color:#fff; font-family: var(--serif); font-size: 1.5rem; box-shadow: var(--shadow-sm); }
.member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member__name { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); line-height: 1.1; }
.member__role { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); margin-top: .35rem; }
.member__bio p { font-size: .94rem; color: var(--muted); }
.member__bio p + p { margin-top: .8rem; }
@media (max-width: 760px){ .team-list { grid-template-columns: 1fr; } }

/* testimonials (masonry via CSS columns) */
.tq-grid { columns: 3; column-gap: 22px; }
.tq { break-inside: avoid; margin-bottom: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.4rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.tq:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tq__mark { font-family: var(--serif); font-size: 2.6rem; line-height: .5; color: var(--lilac); }
.tq__text { font-size: .95rem; color: var(--text); margin-top: .5rem; line-height: 1.6; }
.tq__by { margin-top: 1.1rem; font-size: .84rem; color: var(--ink); font-weight: 600; display:flex; align-items:center; gap:.5rem; }
.tq__by::before { content:""; flex:none; width: 18px; height:2px; background: var(--violet); border-radius:2px; }
@media (max-width: 940px){ .tq-grid { columns: 2; } }
@media (max-width: 620px){ .tq-grid { columns: 1; } }

/* ===== v4 : read-more bios, partners, service anchors =================== */
.member__bio { position: relative; }
.member__bio.clamp { max-height: 5.4em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg,#000 52%, transparent); mask-image: linear-gradient(180deg,#000 52%, transparent); transition: max-height .5s var(--ease); }
.member__bio.clamp.open { max-height: 1600px; -webkit-mask-image: none; mask-image: none; }
.readmore { margin-top: .85rem; font: inherit; font-weight: 600; font-size: .88rem; color: var(--violet); background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; }
.readmore:hover { color: var(--violet-700); }
.readmore::after { content: "\25BE"; font-size: .72em; transition: transform .3s var(--ease); }
.readmore.open::after { transform: rotate(180deg); }

/* service anchor offset (sticky nav) */
.svc { scroll-margin-top: 100px; }

/* partners */
.partner { display: flex; flex-direction: column; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.partner:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.partner__logo { flex: none; width: 60px; height: 60px; border-radius: 14px; background: var(--grad-lilac); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; margin-bottom: 1.2rem; }
.partner__logo img { width: 40px; height: 40px; object-fit: contain; }
.partner h3 { margin-bottom: .55rem; color: var(--ink); }
.partner p { font-size: .96rem; color: var(--muted); margin-bottom: 1.2rem; }
.partner .textlink { margin-top: auto; }

/* ===== v5 : rebrand — partnership intro, photo placeholders ============= */
.member { scroll-margin-top: 100px; }

/* homepage partnership intro */
.partner-intro { margin-top: 1.7rem; display: grid; gap: 1.3rem; }
.partner-intro__item { padding-left: 1.1rem; border-left: 2px solid var(--lilac); }
.partner-intro__item h3 { font-size: 1.18rem; color: var(--ink); margin-bottom: .35rem; }
.partner-intro__item p { font-size: .95rem; color: var(--muted); margin-bottom: .55rem; line-height: 1.6; }

/* photo media + placeholder (swap-ready) */
.split__media { position: relative; }
.media-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.media-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; text-align: center; padding: 1.5rem; }
.media-ph__avatars { display: flex; margin-bottom: .3rem; }
.media-ph__avatars span { width: 62px; height: 62px; border-radius: 50%; background: var(--grad-violet); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; border: 3px solid var(--paper); box-shadow: var(--shadow-sm); }
.media-ph__avatars span + span { margin-left: -18px; }
.media-ph p { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.media-ph small { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }


/* ===== v6 : palette extras — blue card, 3-up partners =================== */
.card--blue { background: linear-gradient(135deg,#2f4bb0 0%,#253c96 100%); border-color: transparent; color: #dbe6fb; }
.card--blue h3 { color: #fff; }
.card--blue p { color: #c6d4f2; }
.card--blue .card__icon { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.24); color: #fff; }
.card--blue::after { content: ""; position: absolute; width: 200px; height: 200px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(243,107,46,.30), transparent 70%); }

.team-list--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px){ .team-list--3 { grid-template-columns: 1fr; } }

/* v7 : image logo mark */
.brand__mark { width: 56px; height: 56px; border-radius: 0; object-fit: contain; } /* brand__mark img-tile */


/* ===== v8 : image hero (split + photo collage, no orbs) ================= */
.hero__inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; text-align: left; padding-block: clamp(52px, 8vw, 104px); }
.hero__copy { max-width: 620px; }
.hero__sub { margin: 1.5rem 0 0; }
.hero__cta { justify-content: flex-start; }
.hero__media { position: relative; min-height: 440px; }
.hero__img { position: absolute; border-radius: 22px; object-fit: cover; border: 6px solid #fff; box-shadow: var(--shadow); }
.hero__img--main { width: 82%; right: 0; top: 6px; aspect-ratio: 3 / 2; z-index: 1; }
.hero__img--sub  { width: 50%; left: 0; bottom: 0; aspect-ratio: 3 / 2; z-index: 2; }
.hero__accent { position: absolute; right: 5%; bottom: 3%; width: 66%; height: 74%; background: var(--grad-violet); border-radius: 28px; transform: rotate(-4deg); opacity: .15; z-index: 0; }
@media (max-width: 900px){
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { max-width: none; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__media { min-height: 330px; margin-top: .6rem; }
  .hero__img--main { width: 84%; right: 8%; }
  .hero__img--sub { width: 52%; left: 4%; }
}
@media (max-width: 560px){
  .hero__media { min-height: 250px; }
  .hero__img--sub, .hero__accent { display: none; }
  .hero__img--main { width: 100%; right: 0; top: 0; }
}


/* ===== v9 : full-bleed image hero ====================================== */
.hero--image { position: relative; overflow: hidden; min-height: clamp(560px, 84vh, 780px); display: flex; flex-direction: column; background: var(--ink); }
.hero--image::after { display: none; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background:
   linear-gradient(90deg, rgba(15,20,45,.90) 0%, rgba(15,20,45,.74) 40%, rgba(15,20,45,.36) 72%, rgba(15,20,45,.12) 100%),
   linear-gradient(0deg, rgba(15,20,45,.55) 0%, rgba(15,20,45,0) 34%); }
.hero--image .hero__inner { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; text-align: left; padding-block: clamp(64px, 9vw, 104px); }
.hero--image .hero__copy { max-width: 640px; }
.hero--image .hero__badge { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); color: #fff; }
.hero--image h1 { color: #fff; }
.hero--image .hero__sub { color: rgba(255,255,255,.92); margin: 1.5rem 0 0; }
.hero--image .hero__cta { justify-content: flex-start; }
.hero--image .trustbar { position: relative; z-index: 2; background: rgba(15,20,45,.34); border-top: 1px solid rgba(255,255,255,.16); }
.hero--image .trustbar__item { color: rgba(255,255,255,.9); }
@media (max-width: 620px){
  .hero--image { min-height: 80vh; }
  .hero__scrim { background: linear-gradient(0deg, rgba(15,20,45,.78) 0%, rgba(15,20,45,.55) 60%, rgba(15,20,45,.62) 100%); }
}
