/* ==========================================================================
   Caring Minds Education Services — site styles
   Palette and type carried over from the original site:
   deep navy #071B4B, signal gold #FFC107, coral heart from the logo,
   Montserrat (black) headings + Poppins body.
   ========================================================================== */

:root {
  --navy: #071b4b;
  --navy-deep: #040f2e;
  --navy-soft: #13286a;
  --navy-line: rgba(255, 255, 255, 0.12);
  --gold: #ffc107;
  --gold-deep: #e0a800;
  --gold-soft: #fff1c2;
  --coral: #f4796b;
  --cream: #fffaf0;
  --mist: #eef0fb;
  --ink: #0b1433;
  --muted: #4b5679;
  --line: #dfe3f2;
  --white: #ffffff;

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 40px -18px rgba(7, 27, 75, 0.35);
  --shadow-lg: 0 30px 60px -25px rgba(7, 27, 75, 0.45);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--navy);
}
h1 { font-weight: 900; font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-weight: 800; font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy); padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--navy { background: var(--navy); color: #d9def0; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--mist { background: var(--mist); }
.section--cream { background: var(--cream); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy-soft);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--gold); }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .includes .eyebrow, .info-card .eyebrow { color: var(--gold); }
.contact-card--gold .eyebrow { color: var(--navy); }
.contact-card--gold .eyebrow::before { background: var(--navy); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.section--navy .lead { color: #c3cae4; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* Gold "highlighter" underline used on key words */
.mark {
  background: linear-gradient(transparent 62%, var(--gold) 62%, var(--gold) 92%, transparent 92%);
  padding: 0 0.08em;
}
.section--navy .mark, .hero .mark { background: none; color: var(--gold); padding: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 2px solid var(--bg); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 0.98rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(255, 193, 7, .9); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--navy { --bg: var(--navy); --fg: var(--white); }
.btn--navy:hover { box-shadow: 0 12px 24px -12px rgba(7, 27, 75, .8); }
.btn--ghost { background: transparent; --fg: var(--white); border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); box-shadow: none; }
.btn--ghost-dark { background: transparent; --fg: var(--navy); border-color: var(--navy); }
.btn--ghost-dark:hover { background: var(--navy); color: var(--white); box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(7,27,75,.5); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }

.brand img { width: 168px; height: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; text-decoration: none; font-weight: 500; font-size: .96rem;
  color: var(--navy); padding: 10px 14px; border-radius: 999px;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
  border-radius: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 10px; min-height: 46px; padding: 0 22px; color: var(--navy); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 0;
  background: var(--navy); color: var(--white); cursor: pointer; place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .25s ease, background .25s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: grid; }
  .brand img { width: 140px; }
  .nav {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--white); padding: 16px var(--gutter) 28px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 6px; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { left: 6px; right: auto; width: 32px; bottom: 8px; }
  .nav .btn { margin: 14px 0 0; border-bottom: 0; border-radius: 999px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; background: var(--navy); color: #cfd6ee; overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(130px, 14vw, 180px);
}
.hero::before { /* soft gold glow, echoing the logo's warm heart */
  content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -220px;
  background: radial-gradient(circle, rgba(120, 140, 255, .22), transparent 65%);
  pointer-events: none;
}
.hero::after { /* dotted texture */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(120deg, transparent 40%, #000 100%);
  -webkit-mask-image: linear-gradient(120deg, transparent 40%, #000 100%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.hero h1 { color: var(--white); margin-bottom: 26px; }
.hero h1 .line { display: block; }
.hero h1 .line:nth-child(2) { color: #b8c2ea; }
.hero h1 .line:nth-child(3) { color: var(--gold); }

.tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--navy);
  font-weight: 600; font-size: .92rem; padding: 8px 16px; border-radius: 8px; margin-bottom: 18px;
}
.tag svg { width: 18px; height: 18px; }
.hero p { max-width: 54ch; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* credential card */
.credential {
  position: relative; background: var(--white); color: var(--navy);
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg);
}
.credential__logo { width: 100%; max-width: 300px; margin: 6px auto 22px; }
.credential__badge {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center;
  background: var(--navy); color: var(--white); border-radius: var(--radius);
  padding: 20px; border: 2px solid var(--gold);
}
.credential__badge img { width: 112px; border-radius: 8px; }
.credential__badge p { margin: 0; font-size: .9rem; line-height: 1.5; color: #cfd6ee; }
.credential__badge strong { display: block; color: var(--gold); font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; letter-spacing: -.01em; line-height: 1.1; margin-bottom: 4px; }
.credential__badge em { font-style: normal; color: var(--gold); font-weight: 600; }
.credential__heart {
  position: absolute; top: -22px; right: -14px; width: 64px; height: 64px; border-radius: 50%;
  background: var(--coral); display: grid; place-items: center; color: var(--white);
  box-shadow: 0 14px 30px -10px rgba(244, 121, 107, .8); transform: rotate(-10deg);
}
.credential__heart svg { width: 30px; height: 30px; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .credential { max-width: 520px; }
}
@media (max-width: 480px) {
  .credential { padding: 22px; }
  .credential__badge { grid-template-columns: 1fr; text-align: left; }
}

/* ---------- Pillars (overlapping the hero) ---------- */
.pillars { position: relative; z-index: 2; margin-top: calc(-1 * clamp(90px, 10vw, 120px)); }
.pillars ul {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.pillars li { padding: 30px 24px 32px; border-right: 1px solid var(--line); transition: background .25s ease; }
.pillars li:last-child { border-right: 0; }
.pillars li:hover { background: var(--cream); }
.pillars .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); margin-bottom: 18px;
}
.pillars .icon svg { width: 26px; height: 26px; }
.pillars h3 { margin-bottom: 8px; font-size: 1.08rem; }
.pillars p { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--muted); }

@media (max-width: 1060px) {
  .pillars ul { grid-template-columns: repeat(3, 1fr); }
  .pillars li { border-bottom: 1px solid var(--line); }
  .pillars li:nth-child(3) { border-right: 0; }
}
@media (max-width: 680px) {
  .pillars ul { grid-template-columns: 1fr 1fr; }
  .pillars li:nth-child(3) { border-right: 1px solid var(--line); }
  .pillars li:nth-child(2n) { border-right: 0; }
  .pillars li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .pillars ul { grid-template-columns: 1fr; }
  .pillars li { border-right: 0 !important; }
}

/* ---------- Award strip ---------- */
.award { padding-top: clamp(48px, 6vw, 72px); }
.award__inner {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 28px);
  background: linear-gradient(135deg, var(--cream), var(--white));
}
.award__text { max-width: 270px; }
.award__text h2 { font-size: 1.35rem; margin-bottom: 4px; }
.award__text p { margin: 0; color: var(--muted); font-size: .92rem; }
.award img { border-radius: var(--radius); width: 100%; }
@media (max-width: 780px) {
  .award__inner { grid-template-columns: 1fr; }
  .award__text { max-width: none; }
}

/* ---------- Split: healing + testimonial ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }

.checklist { display: grid; gap: 12px; margin-top: 26px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-weight: 500; }
.checklist li::before {
  content: ""; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071b4b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.section--navy .checklist li { color: var(--white); }

.testimonial {
  position: relative; background: var(--gold); color: var(--navy);
  border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 48px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.testimonial .eyebrow { color: var(--navy); }
.testimonial .eyebrow::before { background: var(--navy); }
.testimonial__quote-mark { position: absolute; top: 18px; right: 26px; width: 84px; height: 84px; color: rgba(7, 27, 75, .14); }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.25; letter-spacing: -.015em; margin-bottom: 22px;
}
.testimonial figcaption { font-weight: 500; font-size: .95rem; display: flex; align-items: center; gap: 10px; }
.testimonial figcaption::before { content: ""; width: 28px; height: 2px; background: var(--navy); }

/* ---------- Who we support (circles, as on the original) ---------- */
.support-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 1.6vw, 18px); }
.support-grid li {
  width: clamp(128px, 11.4vw, 142px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 18px;
  background: var(--navy); color: var(--gold);
  font-weight: 600; font-size: .92rem; line-height: 1.3;
  box-shadow: inset 0 0 0 6px var(--navy), inset 0 0 0 8px rgba(255, 193, 7, .35);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.support-grid li:hover { transform: translateY(-6px) rotate(-3deg); background: var(--gold); color: var(--navy); box-shadow: inset 0 0 0 6px var(--gold), inset 0 0 0 8px rgba(7, 27, 75, .3); }

/* ---------- Three gold columns ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.trio__card {
  position: relative; background: var(--gold); border-radius: var(--radius-lg);
  padding: 34px 30px 32px; color: var(--navy); overflow: hidden;
}
.trio__card::after {
  content: ""; position: absolute; width: 180px; height: 180px; right: -70px; bottom: -70px;
  border-radius: 50%; border: 22px solid rgba(7, 27, 75, .07);
}
.trio__num { font-family: var(--font-display); font-weight: 900; font-size: .9rem; letter-spacing: .1em; opacity: .55; }
.trio__card h3 { font-size: 1.55rem; margin: 6px 0 20px; }
.trio__card ul { display: grid; gap: 4px; position: relative; z-index: 1; }
.trio__card li { font-weight: 600; font-size: .96rem; padding: 10px 0; border-top: 1px solid rgba(7, 27, 75, .16); }

/* ---------- Every programme includes ---------- */
.includes {
  background: var(--navy); color: var(--white); border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 56px); display: grid; grid-template-columns: .8fr 1.2fr;
  gap: clamp(24px, 4vw, 56px); align-items: center; position: relative; overflow: hidden;
}
.includes::before {
  content: ""; position: absolute; left: -120px; bottom: -160px; width: 360px; height: 360px;
  border-radius: 50%; background: radial-gradient(circle, rgba(120,140,255,.2), transparent 65%);
}
.includes h2 { color: var(--white); position: relative; }
.includes h2 span { color: var(--gold); }
.includes ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; }
.includes li {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: 1px solid var(--navy-line); border-radius: var(--radius); background: rgba(255,255,255,.04);
  font-weight: 600; color: var(--gold); line-height: 1.35;
}
.includes li svg { width: 26px; height: 26px; flex: none; color: var(--gold); }
@media (max-width: 860px) { .includes { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .includes ul { grid-template-columns: 1fr; } }

/* ---------- Statement band ---------- */
.statement { background: var(--navy-deep); color: var(--white); padding-block: clamp(48px, 7vw, 84px); position: relative; overflow: hidden; }
.statement .wrap { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.statement svg { width: clamp(48px, 6vw, 72px); height: auto; flex: none; color: var(--gold); }
.statement p {
  margin: 0; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.15; letter-spacing: -.02em;
}
.statement p span { color: var(--gold); }

/* ---------- Impact ---------- */
.impact { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); counter-reset: impact; }
@media (max-width: 980px) { .impact { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .impact { grid-template-columns: 1fr; } }
.impact li {
  counter-increment: impact; position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.impact li:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.impact li::before {
  content: "0" counter(impact); display: block; font-family: var(--font-display); font-weight: 900;
  font-size: 2.6rem; line-height: 1; color: var(--gold); margin-bottom: 18px;
  -webkit-text-stroke: 0;
}
.impact li::after {
  content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 4px;
  border-radius: 4px 4px 0 0; background: var(--navy); transform: scaleX(.25); transform-origin: left;
  transition: transform .35s ease;
}
.impact li:hover::after { transform: scaleX(1); }
.impact h3 { font-size: 1.2rem; margin-bottom: 8px; }
.impact p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Contact band ---------- */
.contact-band { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
@media (max-width: 900px) { .contact-band { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--navy-soft); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--navy-line);
}
.contact-card--gold { background: var(--gold); color: var(--navy); border: 0; }
.contact-card--gold h2, .contact-card--gold h3 { color: var(--navy); }
.contact-card h2 { margin-bottom: 14px; }
.contact-lines { display: grid; gap: 12px; margin: 26px 0 30px; }
.contact-lines a {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white);
  font-weight: 600; font-size: clamp(1rem, 2vw, 1.15rem); word-break: break-word;
}
.contact-lines a:hover { color: var(--gold); }
.contact-lines .ci {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--gold); color: var(--navy);
}
.contact-lines svg { width: 20px; height: 20px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; background: var(--navy); color: #cfd6ee; overflow: hidden;
  padding: clamp(56px, 8vw, 100px) 0 clamp(56px, 8vw, 96px);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(110deg, transparent 45%, #000 100%);
  -webkit-mask-image: linear-gradient(110deg, transparent 45%, #000 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero h1 span { color: var(--gold); }
.page-hero .lead { color: #c3cae4; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; margin-bottom: 22px; color: #9aa5cf; }
.crumbs a { color: #cfd6ee; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; } }
.prose p { font-size: 1.06rem; color: #2b3558; margin-bottom: 1.3em; }
.prose p:first-of-type::first-letter {
  float: left; font-family: var(--font-display); font-weight: 900; font-size: 4.2rem; line-height: .85;
  padding: 8px 12px 0 0; color: var(--navy);
}
.pullquote {
  margin: 36px 0; padding: 28px 30px; border-left: 6px solid var(--gold);
  background: var(--cream); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.3; color: var(--navy); letter-spacing: -.01em;
}
.facts { position: sticky; top: 110px; display: grid; gap: 14px; }
.fact { background: var(--navy); color: #cfd6ee; border-radius: var(--radius); padding: 22px 24px; }
.fact strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.9rem; color: var(--gold); line-height: 1.1; letter-spacing: -.02em; }
.fact span { font-size: .92rem; }
.fact--light { background: var(--mist); color: var(--muted); }
.fact--light strong { color: var(--navy); }
.fact--arc { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line); color: var(--muted); }
.fact--arc img { width: 96px; border-radius: 6px; }

.partners { display: flex; flex-wrap: wrap; gap: 12px; }
.partners li {
  padding: 12px 20px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-weight: 600; color: var(--navy); font-size: .95rem;
}

/* ---------- Referral timeline ---------- */
.steps { position: relative; display: grid; gap: 18px; counter-reset: step; max-width: 860px; margin-inline: auto; }
.steps::before {
  content: ""; position: absolute; left: 35px; top: 30px; bottom: 30px; width: 3px;
  background: linear-gradient(var(--gold), var(--navy)); border-radius: 3px;
}
.steps li {
  counter-increment: step; position: relative; display: grid; grid-template-columns: 72px 1fr;
  gap: clamp(16px, 3vw, 28px); align-items: center;
}
.steps li::before {
  content: counter(step); width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); font-family: var(--font-display); font-weight: 900; font-size: 1.6rem;
  box-shadow: 0 0 0 6px var(--white), 0 0 0 8px var(--gold); position: relative; z-index: 1;
}
.steps li:first-child::before { background: var(--gold); color: var(--navy); box-shadow: 0 0 0 6px var(--white), 0 0 0 8px var(--navy); }
.step-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; transition: box-shadow .25s ease, transform .25s ease;
}
.steps li:hover .step-card { box-shadow: var(--shadow); transform: translateX(6px); }
.step-card h3 { margin: 0; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.step-card .step-label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
@media (max-width: 520px) {
  .steps::before { left: 25px; }
  .steps li { grid-template-columns: 52px 1fr; }
  .steps li::before { width: 52px; height: 52px; font-size: 1.2rem; }
}

/* ---------- CTA panel ---------- */
.cta-panel {
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  background: var(--gold); border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 56px);
  position: relative; overflow: hidden;
}
.cta-panel::after {
  content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px;
  border-radius: 50%; border: 30px solid rgba(7, 27, 75, .07);
}
.cta-panel h2 { margin-bottom: 8px; }
.cta-panel p { margin: 0; color: #2b3558; max-width: 56ch; }
.cta-panel .actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
@media (max-width: 820px) { .cta-panel { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { display: grid; gap: 16px; }
.info-card { border-radius: var(--radius-lg); padding: 28px; background: var(--navy); color: #cfd6ee; }
.info-card h2, .info-card h3 { color: var(--white); }
.info-card--light { background: var(--mist); color: var(--muted); }
.info-card--light h3 { color: var(--navy); }
.info-card p:last-child { margin-bottom: 0; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfcff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(255, 193, 7, .35); }
.choice { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; border: 0; padding: 0; }
.choice legend { font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 8px; padding: 0; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 500; font-size: .92rem; transition: all .2s ease;
}
.choice input:checked + span { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #a9b3d6; padding-top: clamp(56px, 7vw, 84px); font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 48px); padding-bottom: 48px; border-bottom: 1px solid var(--navy-line); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { width: 170px; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: #d4daf0; }
.site-footer a:hover { color: var(--gold); }
.footer-arc { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.footer-arc img { width: 90px; border-radius: 6px; }
.footer-arc span { font-size: .8rem; line-height: 1.4; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0 28px; font-size: .85rem; color: #7f8ab5; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .06s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .12s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .18s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .30s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .36s; }

.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Award links ---------- */
.award__links { display: grid; gap: 6px; margin-top: 14px; }
.award__links a {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  font-weight: 600; font-size: .9rem; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}
.award__links a:hover { color: var(--gold-deep); }
.award__links svg { width: 15px; height: 15px; }

/* ---------- Areas covered ---------- */
.areas {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin: clamp(32px, 4vw, 48px) 0 0; font-size: 1.02rem; color: var(--navy); text-align: center;
}
.areas svg { width: 22px; height: 22px; color: var(--coral); flex: none; }
.areas--left { justify-content: flex-start; margin-top: 4px; font-size: .95rem; font-weight: 600; }

/* ---------- Press feature (About) ---------- */
.press { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 760px) { .press { grid-template-columns: 1fr; } .press__media { max-width: 320px; } }
.press__media {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); transform: rotate(-2deg); transition: transform .35s ease;
}
.press__media:hover { transform: rotate(0) scale(1.02); }
.press__media img { width: 100%; }
.press__badge {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy); color: var(--gold); font-weight: 600; font-size: .8rem;
  padding: 6px 12px; border-radius: 999px;
}
.press__badge svg { width: 14px; height: 14px; }
.press__source {
  font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.05rem;
  color: var(--muted); margin: -6px 0 6px;
}
.press h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.press .lead { color: #2b3558; }
.press .btn svg { width: 17px; height: 17px; }

/* ---------- Footer legal ---------- */
.footer-legal { padding: 22px 0 0; font-size: .82rem; line-height: 1.6; color: #8f9ac2; }
.footer-legal p { margin: 0 0 4px; }
.footer-legal strong { color: #d4daf0; font-weight: 600; }
.footer-legal a { color: #d4daf0; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Smooth form ---------- */
.form-wrap { position: relative; }
.field[hidden] { display: none; }
.field.is-entering { animation: field-in .35s ease both; }
@keyframes field-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.field input:user-invalid, .field textarea:user-invalid { border-color: #d64545; }
.field-error { font-size: .8rem; color: #c03535; min-height: 0; }
.form-privacy {
  font-size: .85rem; color: var(--muted); background: var(--mist); border-radius: 12px;
  padding: 12px 14px; margin: 4px 0 18px;
}
.form .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-success {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px); text-align: center; box-shadow: var(--shadow);
  animation: field-in .45s ease both;
}
.form-success:focus { outline: none; }
.form-success__icon {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--navy);
}
.form-success__icon svg { width: 34px; height: 34px; }
.form-success p { color: var(--muted); max-width: 42ch; margin: 0 auto 24px; }
.form-row:has(> .field[hidden]) { grid-template-columns: 1fr; }

.press__person {
  display: flex; flex-direction: column; gap: 2px; margin: 0 0 26px;
  padding-left: 16px; border-left: 4px solid var(--gold); line-height: 1.4;
}
.press__person strong { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.press__person span { font-size: .92rem; color: var(--muted); }

/* honeypot: hidden from people, bots fill it in */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- View-only certificate ---------- */
.award__links .linkbtn {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 0 0 2px;
  font: 600 .9rem var(--font-body); color: var(--navy); background: none; border: 0;
  border-bottom: 2px solid var(--gold); cursor: pointer;
}
.award__links .linkbtn:hover { color: var(--gold-deep); }
.award__links .linkbtn svg { width: 15px; height: 15px; }
button.press__media { padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; }
.btn svg { flex: none; }
.cert-view {
  width: min(92vw, 620px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-lg); overflow: hidden;
}
.cert-view::backdrop { background: rgba(4, 15, 46, .78); backdrop-filter: blur(3px); }
.cert-view img {
  display: block; width: 100%; height: auto; max-height: calc(92vh - 64px); object-fit: contain;
  -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; pointer-events: none;
}
.cert-view__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.cert-view__bar strong { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: .98rem; }
.cert-view__close {
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--mist); color: var(--navy);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.cert-view__close:hover { background: var(--gold); }

.ts-box { margin: 2px 0 14px; min-height: 65px; }
