/* ============================================================
   IRIDIUM EDUCATION — COMPONENTS & LAYOUT
   Built on css/tokens.css. Faithful translation of
   reference/Iridium Relaunch.dc.html into semantic classes.
   ============================================================ */

/* ---- Reset / base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-body);
  background: #edeae4;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible {
  outline: 2.5px solid var(--accS);
  outline-offset: 2px;
  border-radius: 2px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px;
  font-family: var(--font-display); font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Site frame (mirrors the 1320px reference card) ------- */
.site {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--surface);
  box-shadow: 0 8px 40px rgba(20,22,28,.10);
}
@media (max-width: 1320px) { .site { box-shadow: none; } }

/* ---- Typography helpers ---------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}
.eyebrow--chip { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow--S { color: var(--accS); }
.eyebrow--F { color: var(--accF); }
.eyebrow--ondark { color: var(--on-dark-faint); }

.section { padding: 72px var(--pad-x); }
.section--tight { padding: 48px var(--pad-x); }

/* ---- Element box motif ----------------------------------- */
.ebox {
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center;
  border: 1.5px solid currentColor;
  border-radius: var(--r-chip);
  font-family: var(--font-display); font-weight: 700;
  line-height: 1; color: var(--ink); flex: none;
}
.ebox--sm { width: 30px; height: 30px; font-size: 14px; }
.ebox--md { width: 42px; height: 42px; font-size: 16px; border-radius: 5px; }
.ebox--lg { width: 58px; height: 58px; border-radius: 6px; }
.ebox--lg b { font-size: 22px; line-height: 1; }
.ebox--lg .ebox__sub { font-family: var(--font-mono); font-weight: 400; font-size: 9px; margin-top: 2px; }
.ebox--S { color: var(--accS); }
.ebox--F { color: var(--accF); }
.ebox--green { color: var(--spec-green); }

/* ---- Buttons --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 16px; line-height: 1;
  padding: 15px 26px; border-radius: var(--r-md);
  text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--dark { color: #fff; background: var(--ink); }
.btn--dark:hover { background: #000; }
.btn--light { color: var(--ink); background: #fff; border-color: var(--btn-line); }
.btn--light:hover { border-color: #b9b5ad; }
.btn--on-dark { color: var(--ink); background: #fff; }
.btn--on-dark:hover { background: #eceae5; }
.btn--S { color: #fff; background: var(--accS); }
.btn--S:hover { background: #2549ac; }
.btn--F { color: #fff; background: var(--accF); }
.btn--F:hover { background: #b94e22; }
.btn--ghost-dark { color: #fff; border-color: var(--line-dark-3); background: transparent; }
.btn--ghost-dark:hover { background: rgba(255,255,255,.06); }

/* Spectral gradient-border CTA */
.btn--spectral {
  color: #fff;
  background:
    linear-gradient(var(--ink),var(--ink)) padding-box,
    var(--spectral) border-box;
  border: 1.5px solid transparent;
  border-radius: var(--r-cta);
}
.btn--spectral:hover { filter: brightness(1.12); }

/* Text link with arrow */
.arrowlink {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  text-decoration: none; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.arrowlink:hover { opacity: .72; }
.arrowlink--S { color: var(--accS); }
.arrowlink--F { color: var(--accF); }

/* ---- Header / nav ---------------------------------------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad-x);
  border-bottom: 1px solid var(--line-2);
  background: #fff; position: relative;
}
.site-header__logo { height: 34px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav__link {
  font-family: var(--font-display); font-size: 15px; font-weight: 500;
  color: var(--ink-soft); text-decoration: none; padding-bottom: 2px;
}
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] {
  font-weight: 600; color: var(--ink);
  border-bottom: 2px solid var(--ink);
}
.nav__link--S[aria-current="page"] { border-bottom-color: var(--accS); }
.nav__link--F[aria-current="page"] { border-bottom-color: var(--accF); }
.nav__cta {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  color: #fff; text-decoration: none; padding: 10px 22px; border-radius: var(--r-cta);
  background:
    linear-gradient(var(--ink),var(--ink)) padding-box,
    var(--spectral) border-box;
  border: 1.5px solid transparent;
}
.nav__cta:hover { filter: brightness(1.12); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 6px; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero / ribbon --------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--paper); padding: 84px var(--pad-x) 64px; }
.hero__inner { position: relative; z-index: 1; }
.ribbon { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ribbon__glow { opacity: var(--ribbonGlow); }
.ribbon__crisp { opacity: var(--ribbonCrisp); }
@media (prefers-reduced-motion: no-preference) {
  .ribbon--drift .ribbon__crisp, .ribbon--drift .ribbon__glow { animation: drift 18s ease-in-out infinite alternate; }
}
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-22px); } }

.h-hero { font-family: var(--font-display); font-weight: 800; font-size: 62px; line-height: 1.02; letter-spacing: -.02em; color: var(--ink); max-width: 880px; }
.h1 { font-family: var(--font-display); font-weight: 800; font-size: 50px; line-height: 1.04; letter-spacing: -.02em; color: var(--ink); }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: 38px; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.h2--lg { font-weight: 800; font-size: 40px; }
.h2--sm { font-size: 32px; }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); }
.lead { font-family: var(--font-body); font-size: 21px; line-height: 1.55; color: var(--ink-body); }
.eyebrow + .h-hero, .eyebrow + .h1, .eyebrow + .h2 { margin-top: 14px; }

.hero__eyebrow { margin-bottom: 26px; }
.hero__lead { max-width: 620px; margin-top: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* ---- Audience split (home) ------------------------------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-2); }
.audience__cell { padding: 54px 48px; display: flex; align-items: flex-start; gap: 18px; }
.audience__cell:first-child { border-right: 1px solid var(--line-2); }
.audience__cell h2 { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--ink); margin: 0 0 8px; }
.audience__cell p { font-family: var(--font-body); font-size: 17px; line-height: 1.5; color: #4b4f56; margin: 0 0 16px; }

/* ---- Proof bar ------------------------------------------- */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); }
.proof__item { padding: 34px 32px; border-right: 1px solid var(--line-dark); }
.proof__item:last-child { border-right: 0; }
.proof__v { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: #fff; line-height: 1; }
.proof__k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--on-dark-faint); margin-top: 10px; }

/* ---- Card grids ------------------------------------------ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card {
  border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 26px 24px; background: #fff;
}
.card--warm { background: var(--surface-warm); }
.card--Ftint { background: var(--accFbg); border-color: var(--accFbd); padding: 28px 24px; }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); margin: 18px 0 8px; }
.card__title--sm { font-size: 18px; }
.card__desc { font-family: var(--font-body); font-size: 15.5px; line-height: 1.5; color: var(--ink-muted); margin: 0; }
.card__meta { font-family: var(--font-mono); font-size: 13px; margin-top: 14px; }
.card__meta--S { color: var(--accS); }
.card__meta--ink { color: var(--ink); }
.card__meta--F { color: var(--accF); font-size: 14px; font-weight: 700; }
.card__desc + .card__meta { margin-top: 14px; }

/* ---- Section intro --------------------------------------- */
.section-intro .h2 { max-width: 680px; }
.section-intro__lead { margin-top: 14px; }

/* ---- Director welcome (home) ----------------------------- */
.welcome { display: grid; grid-template-columns: .85fr 1.15fr; border-top: 1px solid var(--line-2); }
.welcome__media { min-height: 360px; position: relative; overflow: hidden; }
.welcome__media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: center 28%; display: block; }
.welcome__body { padding: 64px var(--pad-x); }
.welcome__quote { font-family: var(--font-body); font-size: 23px; line-height: 1.5; color: var(--ink-2); margin: 22px 0 0; max-width: 560px; }
.welcome__name { margin-top: 26px; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--ink); }
.welcome__creds { font-family: var(--font-body); font-style: italic; font-size: 15px; color: var(--ink-faint); }

/* ---- Dark CTA band --------------------------------------- */
.cta-band { padding: 72px var(--pad-x); background: var(--ink); position: relative; overflow: hidden; }
.cta-band .h2 { color: #fff; max-width: 680px; position: relative; z-index: 1; }
.cta-band__sub { font-family: var(--font-body); font-size: 18px; color: var(--on-dark-meta); margin: 18px 0 30px; max-width: 520px; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }
.cta-band__ribbon { position: absolute; left: 0; bottom: 0; width: 100%; height: 120px; opacity: .85; }

.cta-soft { padding: 64px var(--pad-x); }
.cta-soft--S { background: var(--accSbg); border-top: 1px solid var(--accSbd); }
.cta-soft--F { background: var(--accFbg); border-top: 1px solid var(--accFbd); }
.cta-soft--paper { background: var(--paper); border-top: 1px solid var(--line-2); }
.cta-soft .h2 { max-width: 620px; }
.cta-soft .btn { margin-top: 24px; }

/* ---- Footer ---------------------------------------------- */
.site-footer {
  padding: 40px var(--pad-x); display: flex; align-items: center;
  justify-content: space-between; gap: 20px; background: var(--ink-deep);
}
.footer-chip { display: inline-flex; background: #fff; padding: 6px 12px; border-radius: 6px; }
.footer-chip img { height: 22px; width: auto; display: block; }
.site-footer__meta { font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-foot); }

/* ============================================================
   PAGE: For Schools
   ============================================================ */
.page-hero { padding: 72px var(--pad-x) 56px; }
.page-hero--S { background: var(--accSbg); border-bottom: 1px solid var(--accSbd); }
.page-hero--S .eyebrow { margin-bottom: 24px; }
.page-hero h1 { max-width: 820px; font-size: 54px; }
.page-hero__lead { max-width: 640px; margin-top: 24px; font-size: 20px; }

.svc-block { padding: 64px var(--pad-x) 24px; }
.svc-block + .svc-block { padding-top: 48px; }
.svc-block .h2--sm { margin: 14px 0 28px; }

.packages { margin: 48px var(--pad-x) 8px; background: var(--ink); border-radius: var(--r-lg); padding: 48px; }
.packages .h2 { color: #fff; font-size: 30px; margin: 12px 0 28px; max-width: 560px; }
.pkg { border: 1px solid var(--line-dark-2); border-radius: var(--r-card); padding: 28px; background: var(--ink-panel-2); position: relative; }
.pkg--popular { border: 1.5px solid var(--accS); }
.pkg__level { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--on-dark-faint); }
.pkg--popular .pkg__level { color: var(--accS-on-dark); }
.pkg__name { font-family: var(--font-display); font-weight: 800; font-size: 32px; color: #fff; margin: 6px 0 14px; }
.pkg__desc { font-family: var(--font-body); font-size: 15.5px; line-height: 1.55; color: var(--on-dark); margin: 0; }
.pkg__badge {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-mono); font-size: 10px; color: var(--accS-on-dark);
  border: 1px solid var(--accS); border-radius: 20px; padding: 3px 9px;
}
.packages__note { font-family: var(--font-body); font-style: italic; font-size: 14px; color: var(--on-dark-faint); margin-top: 20px; }

.pullquote { padding: 64px var(--pad-x); }
.pullquote p { font-family: var(--font-body); font-size: 26px; line-height: 1.5; color: var(--ink-2); margin: 0; max-width: 760px; }
.pullquote cite { font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint); margin-top: 18px; display: block; font-style: normal; }

/* ============================================================
   PAGE: Tutoring
   ============================================================ */
.split-hero { display: grid; grid-template-columns: 1.1fr .9fr; border-bottom: 1px solid var(--accFbd); }
.split-hero__body { padding: 72px var(--pad-x) 60px; background: var(--accFbg); }
.split-hero__body h1 { max-width: 540px; }
.split-hero__body .lead { max-width: 520px; font-size: 20px; margin-top: 24px; }
.split-hero__body .btn { margin-top: 34px; }
.split-hero__media { position: relative; min-height: 380px; overflow: hidden; }
.split-hero__media img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; object-position: 72% center; display: block; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.step { padding: 24px 22px; border-top: 2px solid var(--ink); }
.step__n { font-family: var(--font-mono); font-size: 13px; color: var(--accF); }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); margin: 12px 0 6px; }
.step p { font-family: var(--font-body); font-size: 15px; line-height: 1.5; color: var(--ink-muted); margin: 0; }

.highlight { margin: 48px var(--pad-x) 8px; border-radius: var(--r-lg); padding: 48px; background: var(--ink); position: relative; overflow: hidden; }
.highlight__ribbon { position: absolute; right: 0; top: 30px; width: 560px; max-width: 60%; height: 90px; opacity: .9; }
.highlight .h2 { color: #fff; max-width: 620px; position: relative; z-index: 1; }
.highlight__lead { font-family: var(--font-body); font-size: 18px; line-height: 1.55; color: var(--on-dark); margin: 16px 0 0; max-width: 560px; position: relative; z-index: 1; }
.highlight .eyebrow { margin-bottom: 18px; position: relative; z-index: 1; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 11px 20px;
}

.proof-quote { padding: 56px var(--pad-x); background: var(--accFbg); border-top: 1px solid var(--accFbd); margin-top: 32px; }
.proof-quote p { font-family: var(--font-body); font-size: 24px; line-height: 1.5; color: var(--ink-2); margin: 0 0 30px; max-width: 680px; }
.proof-quote .h2 { max-width: 560px; }
.proof-quote .btn { margin-top: 24px; }

/* ============================================================
   PAGE: Enquire
   ============================================================ */
.enquire-grid { display: grid; grid-template-columns: 1.32fr .68fr; }
.enquire-form-col { padding: 56px var(--pad-x); border-right: 1px solid var(--line-2); }
.field-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; display: block;
}
.field-label .opt { text-transform: none; letter-spacing: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.input, .select, .textarea {
  width: 100%; font-family: var(--font-display); font-size: 15px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--field-line); border-radius: var(--r-field);
  padding: 13px 14px; line-height: 1.4;
}
.textarea { font-family: var(--font-body); line-height: 1.55; min-height: 118px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #a4a8ae; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accS); outline: none; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239aa0a8' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 38px; }

.segmented { display: flex; gap: 10px; margin-bottom: 30px; }
.segmented__btn {
  font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--ink);
  background: #fff; border: 1.5px solid var(--btn-line); border-radius: var(--r-field);
  padding: 11px 22px; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.segmented__btn[aria-pressed="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }

.quickchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.quickchip {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted);
  background: #f4f3ef; border: 1px solid var(--line); border-radius: 20px; padding: 6px 13px; cursor: pointer;
}
.quickchip:hover, .quickchip[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); background: #fff; }

.consent { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 26px; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }
.consent label { font-family: var(--font-body); font-size: 14.5px; line-height: 1.45; color: var(--ink-muted); }

.form-status { font-family: var(--font-display); font-size: 15px; font-weight: 600; margin-top: 18px; border-radius: var(--r-field); padding: 0; }
.form-status[data-state="error"] { color: #b3261e; }
.form-status[data-state="success"] { color: #1c7a4a; }
.field-error { font-family: var(--font-display); font-size: 12.5px; color: #b3261e; margin-top: 6px; display: none; }
.field-error.show { display: block; }

.info-panel { padding: 56px 48px; background: var(--ink); color: var(--on-dark-2); }
.info-panel a.email-link { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 600; color: #fff; text-decoration: none; margin: 10px 0 4px; word-break: break-all; }
.info-panel a.email-link:hover { text-decoration: underline; }
.info-panel__note { font-family: var(--font-body); font-size: 15px; color: var(--on-dark-meta); }
.info-panel hr { border: 0; height: 1px; background: var(--line-dark); margin: 32px 0; }
.info-reasons { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.info-reason { display: flex; gap: 13px; align-items: flex-start; }
.info-reason .ebox { color: var(--on-dark-2); border-color: var(--line-dark-3); width: 34px; height: 34px; font-size: 13px; }
.info-reason p { font-family: var(--font-body); font-size: 15px; line-height: 1.45; color: var(--on-dark-2); margin: 0; }
.info-social { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.info-social a { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--on-dark-2); text-decoration: none; border: 1px solid var(--line-dark-3); border-radius: 7px; padding: 9px 14px; }
.info-social a:hover { border-color: #5a5f67; }
.info-panel__legal { font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-foot); margin-top: 34px; line-height: 1.6; }

/* ============================================================
   PAGE: Resources
   ============================================================ */
.page-hero--paper { background: var(--paper); border-bottom: 1px solid var(--line-2); padding-bottom: 40px; }
.page-hero--paper h1 { font-size: 48px; max-width: 720px; }
.page-hero--paper .page-hero__lead { max-width: 600px; margin: 18px 0 28px; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 9px; }
.cat-pill {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  color: var(--ink); background: #fff; border: 1.5px solid var(--btn-line);
  border-radius: var(--r-pill); padding: 9px 18px; cursor: pointer; text-decoration: none;
}
.cat-pill[aria-pressed="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }

.featured { padding: 48px var(--pad-x) 16px; }
.featured__inner {
  border-radius: var(--r-lg); padding: 36px 40px; background: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  position: relative; overflow: hidden;
}
.featured__text { position: relative; z-index: 1; }
.featured__text h2 { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: #fff; margin: 10px 0 8px; }
.featured__text p { font-family: var(--font-body); font-size: 16px; line-height: 1.5; color: var(--on-dark); margin: 0; max-width: 520px; }
.featured__actions { position: relative; z-index: 1; display: flex; gap: 12px; flex: none; }
.featured__actions a { white-space: nowrap; padding: 13px 22px; font-size: 15px; }
.featured__glow { position: absolute; right: -20px; top: 0; bottom: 0; width: 240px; background: linear-gradient(120deg, transparent, rgba(123,47,247,.18), rgba(24,182,201,.18)); }

.downloads { padding: 36px var(--pad-x) 8px; }
.downloads .eyebrow { margin-bottom: 20px; }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl-card { border: 1px solid var(--line); border-radius: var(--r-card-2); padding: 22px; display: flex; flex-direction: column; }
.dl-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dl-card__code { width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 6px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink); }
.dl-card__code b { font-family: var(--font-display); font-size: 15px; line-height: 1; }
.dl-card__code span { font-family: var(--font-mono); font-size: 8px; margin-top: 1px; }
.subj-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); }
.subj-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dl-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.25; color: var(--ink); margin: 0 0 14px; }
.dl-card__link { margin-top: auto; font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.dl-card__link:hover { opacity: .72; }
.dl-card__size { font-family: var(--font-mono); color: var(--on-dark-faint); }

.videos { padding: 48px var(--pad-x) 8px; }
.videos .eyebrow { margin-bottom: 20px; }
.video-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; margin-bottom: 28px; }
.video-thumb { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg,#23262c,#23262c 12px,#1c1f24 12px,#1c1f24 24px); }
.video-thumb--light { background: repeating-linear-gradient(135deg,#e9e7e2,#e9e7e2 11px,#e1dfd8 11px,#e1dfd8 22px); border-radius: 10px; }
.play { width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; }
.play::after { content: ""; width: 0; height: 0; border-left: 22px solid var(--ink); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 5px; }
.play--sm { width: 50px; height: 50px; background: rgba(22,24,28,.92); }
.play--sm::after { border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.video-thumb__cap { position: absolute; left: 18px; bottom: 16px; font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-2); }
.video-thumb__dur { position: absolute; right: 16px; bottom: 16px; font-family: var(--font-mono); font-size: 12px; color: #fff; background: rgba(0,0,0,.55); padding: 3px 9px; border-radius: 5px; }
.video-thumb--light .video-thumb__dur { right: 10px; bottom: 10px; font-size: 11px; padding: 2px 7px; }
.video-feature__body h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.18; color: var(--ink); margin: 0 0 10px; }
.video-feature__body p { font-family: var(--font-body); font-size: 16px; line-height: 1.5; color: var(--ink-muted); margin: 0 0 18px; }
.video-feature__body .subj-tag { margin-bottom: 12px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 8px; }
.video-card a { text-decoration: none; display: block; }
.video-card .subj-tag { margin: 12px 0 6px; }
.video-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.25; color: var(--ink); margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root { --pad-x: 22px; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.is-open .nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
    background: #fff; padding: 22px var(--pad-x); border-bottom: 1px solid var(--line-2);
    box-shadow: 0 12px 30px rgba(20,22,28,.12);
  }
  .site-header.is-open .nav__cta { align-self: stretch; text-align: center; }

  .section, .cta-band, .page-hero, .cta-soft, .pullquote, .proof-quote { padding-left: var(--pad-x); padding-right: var(--pad-x); }
  .hero { padding: 40px var(--pad-x) 34px; }
  .h-hero { font-size: 34px; }
  .h1, .page-hero h1, .page-hero--paper h1, .split-hero__body h1 { font-size: 30px; }
  .h2, .h2--lg { font-size: 26px; }
  .h2--sm { font-size: 24px; }
  .lead, .hero__lead, .page-hero__lead, .split-hero__body .lead { font-size: 17px; }

  .grid-3, .grid-2, .grid-4, .dl-grid, .video-grid, .steps { grid-template-columns: 1fr; }
  .audience { grid-template-columns: 1fr; }
  .audience__cell { padding: 28px var(--pad-x); }
  .audience__cell:first-child { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof__item:nth-child(2) { border-right: 0; }
  .proof__item:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }

  .welcome, .split-hero, .enquire-grid, .video-feature, .featured__inner { grid-template-columns: 1fr; }
  .welcome__media { min-height: 240px; }
  .welcome__body, .split-hero__body, .enquire-form-col, .info-panel { padding: 34px var(--pad-x); }
  .enquire-form-col { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .split-hero__media { min-height: 240px; order: -1; }

  .section, .svc-block, .featured, .downloads, .videos { padding-top: 36px; padding-bottom: 18px; }
  .packages, .highlight { margin: 24px var(--pad-x); padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .featured__inner { align-items: flex-start; }
  .featured__actions { flex-wrap: wrap; }
  .welcome__quote { font-size: 20px; }
  .pullquote p, .proof-quote p { font-size: 21px; }
}

@media (max-width: 560px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .segmented { flex-direction: column; }
  .segmented__btn { width: 100%; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
