/* ==========================================================================
   Youth Services CIC – site.css
   Palette taken from the logo: blue, red, yellow, green, orange, sky.
   ========================================================================== */

:root {
  --blue: #1a6fe6;
  --blue-deep: #1343a8;
  --navy: #0e2a6b;
  --sky: #22a6f2;
  --red: #e5322a;
  --red-deep: #c9231b;
  --orange: #ff8a1c;
  --yellow: #ffc61a;
  --green: #22b24c;
  --green-deep: #178a3a;

  --ink: #10214a;
  --text: #33415f;
  --muted: #5d6a86;
  --line: #e2e8f4;
  --bg: #ffffff;
  --bg-soft: #f4f7fd;
  --bg-warm: #fff8e6;

  --t-green: #e6f7eb;
  --t-orange: #fff1e3;
  --t-blue: #e7f0fd;
  --t-yellow: #fff6d6;
  --t-red: #fde9e8;
  --t-sky: #e4f5fe;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(16, 33, 74, .06), 0 10px 30px -12px rgba(16, 33, 74, .18);
  --shadow-lg: 0 2px 4px rgba(16, 33, 74, .06), 0 24px 50px -20px rgba(16, 33, 74, .28);

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 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: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--text); }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 700; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, var(--red) 0 20%, var(--yellow) 20% 40%, var(--green) 40% 60%, var(--sky) 60% 80%, var(--orange) 80%);
}
.eyebrow--light { color: #fff; }

/* highlighter marker – wraps naturally across lines */
.hl {
  --hl: var(--yellow);
  background-image: linear-gradient(var(--hl), var(--hl));
  background-repeat: no-repeat; background-position: 0 88%; background-size: 100% .3em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 .06em; animation: hl-in .9s .4s var(--ease) both;
}
.hl--green { --hl: #9be3b0; }
.hl--orange { --hl: #ffcf9e; }
.hl--blue { --hl: #b9d5fb; }
@keyframes hl-in { from { background-size: 0 .3em; } to { background-size: 100% .3em; } }

.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  padding: 15px 26px; border-radius: 999px; border: 2px solid var(--b);
  background: var(--b); color: #fff; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  box-shadow: 0 6px 0 -1px color-mix(in srgb, var(--b) 60%, #000 40%);
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 0 -1px color-mix(in srgb, var(--b) 60%, #000 40%); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 -1px color-mix(in srgb, var(--b) 60%, #000 40%); }
.btn .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--referral { --b: var(--red-deep); text-transform: uppercase; letter-spacing: .04em; }
.btn--green { --b: var(--green-deep); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: 0 6px 0 -1px var(--line); }
.btn--ghost:hover { color: var(--ink); border-color: var(--blue); box-shadow: 0 8px 0 -1px #cfdcf3; }
.btn--sm { padding: 11px 20px; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.textlink { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; text-decoration: none; color: var(--blue); }
.textlink .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.textlink:hover .ico { transform: translateX(4px); }

/* ---------- colour stripe ---------- */
.stripe { display: flex; height: 6px; }
.stripe i { flex: 1; }
.stripe i:nth-child(1) { background: var(--red); }
.stripe i:nth-child(2) { background: var(--orange); }
.stripe i:nth-child(3) { background: var(--yellow); }
.stripe i:nth-child(4) { background: var(--green); }
.stripe i:nth-child(5) { background: var(--blue); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(16, 33, 74, .4); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 56px; height: 56px; object-fit: contain; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; color: var(--blue-deep); }
.brand__text small { font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .28em; color: var(--muted); margin-top: 4px; }

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__list > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 .98rem/1 var(--font-head); color: var(--ink); text-decoration: none;
  padding: 12px 14px; border-radius: 12px; background: none; border: 0; cursor: pointer;
  transition: background .2s, color .2s;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--bg-soft); color: var(--blue); }
.nav__link.is-active { color: var(--blue); }
.nav__link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--yellow); }
.nav__chev { width: 16px; height: 16px; transition: transform .2s; }
[aria-expanded="true"] > .nav__chev { transform: rotate(180deg); }
.nav__referral { margin-left: 10px; }
.nav__referral .btn { padding: 13px 20px; font-size: .9rem; }

.nav__sub {
  list-style: none; margin: 0; padding: 10px;
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 270px;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav__sub.is-open { opacity: 1; visibility: visible; transform: none; }
.nav__sub a {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
  color: var(--ink); text-decoration: none; font-weight: 600;
}
.nav__sub a:hover { background: var(--bg-soft); color: var(--blue); }
.nav__sub--referral { left: auto; right: 0; min-width: 330px; }
.nav__sub--referral strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.nav__sub--referral small { display: block; color: var(--muted); font-weight: 500; font-size: .86rem; }
.nav__ref-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.nav__ref-ico .ico { width: 22px; height: 22px; }
.nav__ref-ico--yellow { background: var(--t-yellow); color: #9a6a00; }
.nav__ref-ico--green { background: var(--t-green); color: var(--green-deep); }
.nav__sub-foot { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.nav__sub-foot a { font-family: var(--font-head); color: var(--blue); justify-content: space-between; }
.nav__sub-foot .ico { width: 18px; height: 18px; }

.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot--yellow { background: var(--yellow); } .dot--green { background: var(--green); } .dot--blue { background: var(--blue); }

.burger { display: none; width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--bg-soft); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 30px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  /* backdrop-filter would make the header the containing block for the fixed drawer */
  .site-header { backdrop-filter: none; background: #fff; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 86px 0 0 0; background: #fff; overflow-y: auto;
    padding: 20px var(--gutter) 40px; transform: translateX(100%); transition: transform .3s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { width: 100%; justify-content: space-between; font-size: 1.15rem; padding: 16px 12px; }
  .nav__link.is-active::after { display: none; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 8px; display: none; min-width: 0; }
  .nav__sub.is-open { display: block; }
  .nav__referral { margin: 16px 0 0; }
  .nav__referral .btn { width: 100%; justify-content: space-between; padding: 18px 22px; font-size: 1rem; }
  .nav__sub--referral { padding: 10px 0 0; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand__text strong { font-size: 1.1rem; }
  .brand img { width: 48px; height: 48px; }
}

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); background: radial-gradient(1200px 500px at 85% -10%, var(--t-blue), transparent 60%), radial-gradient(800px 400px at -10% 110%, var(--t-yellow), transparent 60%); }
.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .line { display: block; }
.hero .lead { max-width: 580px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 600 .9rem var(--font-head); color: var(--ink); }
.hero__badges .b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.hero__badges .b .ico { width: 15px; height: 15px; }

.hero__visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.hero__visual .ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__photo { position: absolute; inset: 17%; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow-lg); border: 8px solid #fff; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 16px; padding: 10px 16px 10px 10px; box-shadow: var(--shadow-lg);
  font: 700 .95rem var(--font-head); color: var(--ink);
  animation: bob 5s ease-in-out infinite;
}
.hero__chip span { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.hero__chip .ico { width: 20px; height: 20px; }
.hero__chip--1 { top: 6%; left: -4%; }
.hero__chip--2 { top: 46%; right: -6%; animation-delay: -1.6s; }
.hero__chip--3 { bottom: 4%; left: 6%; animation-delay: -3.2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.ring__spin { transform-origin: 200px 200px; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.bg-green { background: var(--green); } .bg-orange { background: var(--orange); } .bg-blue { background: var(--blue); }
.bg-red { background: var(--red); } .bg-yellow { background: var(--yellow); } .bg-sky { background: var(--sky); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; order: -1; }
  .hero__chip { font-size: .82rem; padding: 8px 12px 8px 8px; }
  .hero__chip span { width: 30px; height: 30px; }
  .hero__chip--1 { left: 0; } .hero__chip--2 { right: 0; }
}

/* ---------- model ticker ---------- */
.model-ticker { overflow: hidden; background: var(--ink); color: #fff; padding: 18px 0; }
.model-ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ticker 32s linear infinite; }
.model-ticker span { font: 900 clamp(1.4rem, 3vw, 2.2rem)/1 var(--font-head); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.model-ticker .t-dot { color: var(--yellow); }
.t-green { color: #5fe08a; } .t-orange { color: #ffae5c; } .t-blue { color: #6fb3ff; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================================
   Audience doors
   ========================================================================== */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.door {
  --c: var(--blue); --t: var(--t-blue);
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 30px 28px 28px; border-radius: var(--radius); background: #fff; border: 2px solid var(--line);
  text-decoration: none; color: var(--text); overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.door::before { content: ""; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: var(--t); transition: transform .4s var(--ease); }
.door:hover { transform: translateY(-6px); border-color: var(--c); box-shadow: var(--shadow-lg); color: var(--text); }
.door:hover::before { transform: scale(1.6); }
.door > * { position: relative; }
.door__ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--c); color: #fff; }
.door__ico .ico { width: 28px; height: 28px; }
.door__who { font: 700 .8rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--c); margin-top: 8px; }
.door h3 { margin: 0; font-size: 1.45rem; }
.door p { margin: 0; flex: 1; }
.door .textlink { color: var(--c); margin-top: 6px; }
.door--yellow { --c: #c98a00; --t: var(--t-yellow); } .door--yellow .door__ico { background: var(--yellow); color: var(--ink); }
.door--green { --c: var(--green-deep); --t: var(--t-green); } .door--green .door__ico { background: var(--green); }
.door--blue { --c: var(--blue); --t: var(--t-blue); }
@media (max-width: 900px) { .doors { grid-template-columns: 1fr; } }

/* ==========================================================================
   The model (Prevention • Reset • Reintegration)
   ========================================================================== */
.model { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.model__step {
  --c: var(--green); --t: var(--t-green);
  container-type: inline-size; min-width: 0;
  position: relative; padding: 38px 32px 34px; background: var(--t); color: var(--text);
}
.model__step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.model__step:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.model__step--orange { --c: var(--orange); --t: var(--t-orange); }
.model__step--blue { --c: var(--blue); --t: var(--t-blue); }
.model__step:not(:last-child)::after {
  content: ""; position: absolute; right: -22px; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px;
  border-radius: 50%; background: #fff; box-shadow: var(--shadow);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310214a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  background-size: 20px; background-repeat: no-repeat; background-position: center;
}
.model__num { font: 900 4.5rem/1 var(--font-head); color: var(--c); opacity: .25; position: absolute; right: 26px; top: 20px; }
.model__ico { width: 60px; height: 60px; border-radius: 18px; background: var(--c); color: #fff; display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 10px 20px -10px var(--c); }
.model__ico .ico { width: 30px; height: 30px; }
.model__step h3 { font-size: clamp(1.4rem, 9cqi, 2rem); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 8px; }
.model__line { font: 700 1.08rem/1.4 var(--font-head); color: var(--ink); }
.model__step p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .model { grid-template-columns: 1fr; gap: 0; }
  .model__step:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .model__step:last-child { border-radius: 0 0 var(--radius) var(--radius); }
  .model__step:not(:last-child)::after { right: 50%; top: auto; bottom: -22px; margin: 0 -22px 0 0; transform: rotate(90deg); }
}

/* ==========================================================================
   Areas of work
   ========================================================================== */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.area {
  --c: var(--blue); --t: var(--t-blue);
  padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.area__ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--t); color: var(--c); margin-bottom: 18px; transition: transform .35s var(--ease); }
.area:hover .area__ico { transform: rotate(-8deg) scale(1.08); }
.area__ico .ico { width: 26px; height: 26px; }
.area h3 { font-size: 1.15rem; margin-bottom: 8px; }
.area p { font-size: .96rem; color: var(--muted); margin: 0; }
.c-red { --c: var(--red); --t: var(--t-red); }
.c-orange { --c: #e06f00; --t: var(--t-orange); }
.c-yellow { --c: #b07800; --t: var(--t-yellow); }
.c-green { --c: var(--green-deep); --t: var(--t-green); }
.c-blue { --c: var(--blue); --t: var(--t-blue); }
.c-sky { --c: #0c86cc; --t: var(--t-sky); }
@media (max-width: 1000px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }

/* ==========================================================================
   Split feature (image + copy)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.split__media::before, .split__media::after { content: ""; position: absolute; border-radius: 50%; z-index: 0; }
.split__media::before { width: 42%; aspect-ratio: 1; background: var(--yellow); left: -6%; bottom: -8%; }
.split__media::after { width: 22%; aspect-ratio: 1; background: var(--green); right: -4%; top: -6%; }
.split__media--blue::before { background: var(--sky); } .split__media--blue::after { background: var(--red); }
.split__media--orange::before { background: var(--orange); } .split__media--orange::after { background: var(--blue); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks .t { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; margin-top: 1px; }
.ticks .t .ico { width: 16px; height: 16px; stroke-width: 3; }
.ticks strong { color: var(--ink); font-family: var(--font-head); display: block; font-size: 1.05rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }

/* ---------- principle cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.card--tint { border: 0; background: var(--t, var(--bg-soft)); }
.card__ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--c, var(--blue)); color: #fff; margin-bottom: 18px; }
.card__ico .ico { width: 24px; height: 24px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card ul { margin: 12px 0 0; color: var(--muted); font-size: .98rem; }
.card li + li { margin-top: 4px; }
@media (max-width: 1000px) { .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; } }

/* ==========================================================================
   Referral journey steps
   ========================================================================== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 12%; right: 12%; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--line) 0 12px, transparent 12px 20px); }
.steps li { position: relative; text-align: center; padding: 0 8px; counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  font: 900 1.6rem var(--font-head); color: #fff; background: var(--c, var(--blue)); border: 6px solid #fff; box-shadow: var(--shadow); position: relative;
}
.steps li:nth-child(1) { --c: var(--red); } .steps li:nth-child(2) { --c: var(--orange); } .steps li:nth-child(3) { --c: var(--green); } .steps li:nth-child(4) { --c: var(--blue); }
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { left: 31px; right: auto; top: 20px; bottom: 20px; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 12px, transparent 12px 20px); }
  .steps li { text-align: left; padding-left: 88px; min-height: 64px; }
  .steps li::before { position: absolute; left: 0; top: -6px; margin: 0; }
}

/* ==========================================================================
   Referral band
   ========================================================================== */
.ref-band { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 104px) 0; background: var(--blue); color: #fff; }
.ref-band::before, .ref-band::after { content: ""; position: absolute; border-radius: 50%; }
.ref-band::before { width: 520px; height: 520px; right: -160px; top: -220px; background: var(--sky); opacity: .55; }
.ref-band::after { width: 300px; height: 300px; left: -120px; bottom: -160px; background: var(--yellow); opacity: .9; }
.ref-band .wrap { position: relative; z-index: 1; }
.ref-band__head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.ref-band__head h2 { color: #fff; }
.ref-band__head p { font-size: 1.1rem; color: #e3eeff; margin: 0; }
.ref-band__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 0 auto; }
.ref-card {
  --c: var(--yellow);
  display: flex; align-items: center; gap: 20px; padding: 26px; border-radius: var(--radius);
  background: #fff; color: var(--text); text-decoration: none; box-shadow: 0 10px 0 -2px rgba(8, 30, 80, .25);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.ref-card:hover { transform: translateY(-5px); color: var(--text); box-shadow: 0 16px 0 -2px rgba(8, 30, 80, .25); }
.ref-card__ico { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--c); color: var(--ink); }
.ref-card--green { --c: var(--green); } .ref-card--green .ref-card__ico { color: #fff; }
.ref-card__ico .ico { width: 30px; height: 30px; }
.ref-card__body { flex: 1; }
.ref-card__body strong { display: block; font: 800 1.25rem/1.2 var(--font-head); color: var(--ink); margin-bottom: 4px; }
.ref-card__body span { font-size: .96rem; color: var(--muted); }
.ref-card__go { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--red-deep); color: #fff; transition: transform .25s var(--ease); }
.ref-card:hover .ref-card__go { transform: translateX(4px) rotate(-8deg); }
.ref-card__go .ico { width: 20px; height: 20px; }
@media (max-width: 760px) { .ref-band__cards { grid-template-columns: 1fr; } .ref-card { padding: 20px; gap: 14px; } .ref-card__ico { width: 52px; height: 52px; } }

/* ==========================================================================
   Commissioner strip
   ========================================================================== */
.commission { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.commission__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.commission__item { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.commission__item .i { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--t, var(--t-blue)); color: var(--c, var(--blue)); }
.commission__item .i .ico { width: 22px; height: 22px; }
.commission__item strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; margin-bottom: 2px; }
.commission__item span { font-size: .93rem; color: var(--muted); }
@media (max-width: 900px) { .commission { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .commission__list { grid-template-columns: 1fr; } }

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.page-hero { --c: var(--blue); --t: var(--t-blue); position: relative; overflow: hidden; padding: clamp(56px, 8vw, 100px) 0 clamp(56px, 7vw, 88px); background: var(--t); }
.page-hero--green { --c: var(--green); --t: var(--t-green); }
.page-hero--orange { --c: var(--orange); --t: var(--t-orange); }
.page-hero--yellow { --c: var(--yellow); --t: var(--t-yellow); }
.page-hero--red { --c: var(--red); --t: var(--t-red); }
.page-hero__blobs i { position: absolute; border-radius: 50%; opacity: .9; }
.page-hero__blobs i:nth-child(1) { width: 320px; height: 320px; right: -110px; top: -140px; background: var(--c); opacity: .18; }
.page-hero__blobs i:nth-child(2) { width: 90px; height: 90px; right: 18%; bottom: -30px; background: var(--yellow); }
.page-hero__blobs i:nth-child(3) { width: 36px; height: 36px; right: 30%; top: 22%; background: var(--red); animation: bob 6s ease-in-out infinite; }
.page-hero--has-media .page-hero__blobs i:nth-child(2), .page-hero--has-media .page-hero__blobs i:nth-child(3) { display: none; }
.page-hero__inner { position: relative; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.page-hero--has-media .page-hero__inner { grid-template-columns: 1.15fr .85fr; }
.page-hero__copy { max-width: 780px; }
.page-hero .eyebrow { color: var(--ink); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
.page-hero .lead { margin: 0; max-width: 680px; }
.page-hero__media { position: relative; aspect-ratio: 1; max-width: 420px; justify-self: center; width: 100%; }
.page-hero__media .ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero__media img { position: absolute; inset: 17%; width: 66%; height: 66%; object-fit: cover; border-radius: 50%; border: 7px solid #fff; box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .page-hero--has-media .page-hero__inner { grid-template-columns: 1fr; } .page-hero__media { max-width: 300px; } }

/* ==========================================================================
   Model page – deep dive
   ========================================================================== */
.stage { --c: var(--green); --t: var(--t-green); display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(40px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.stage:first-of-type { border-top: 0; }
.stage--orange { --c: var(--orange); --t: var(--t-orange); }
.stage--blue { --c: var(--blue); --t: var(--t-blue); }
.stage__tag { position: sticky; top: 110px; align-self: start; padding: 30px; border-radius: var(--radius); background: var(--t); container-type: inline-size; min-width: 0; }
.stage__tag .model__ico { margin-bottom: 18px; }
.stage__tag small { font: 800 .82rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: .6; }
.stage__tag h2 { font-size: clamp(1.5rem, 10cqi, 2.4rem); font-weight: 900; text-transform: uppercase; margin: 4px 0 8px; color: var(--ink); }
.stage__tag p { margin: 0; font: 700 1.05rem/1.4 var(--font-head); color: var(--ink); }
.stage__body h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c); margin: 28px 0 10px; }
.stage--orange .stage__body h3 { color: #d46a00; }
.stage__body h3:first-child { margin-top: 0; }
.stage__body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.stage__body li { position: relative; padding-left: 26px; }
.stage__body li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
@media (max-width: 860px) { .stage { grid-template-columns: 1fr; } .stage__tag { position: static; } }

/* ---------- prose / notices ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose li + li { margin-top: 6px; }
.notice { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius-sm); background: var(--t-red); color: var(--ink); }
.notice .ico { flex: none; width: 26px; height: 26px; color: var(--red-deep); margin-top: 2px; }
.notice p { margin: 0; }
.notice--blue { background: var(--t-blue); } .notice--blue .ico { color: var(--blue); }
.notice a { font-weight: 700; }

/* ==========================================================================
   Referral forms
   ========================================================================== */
.ref-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ref-path { --c: var(--yellow); --t: var(--t-yellow); display: flex; flex-direction: column; padding: 34px; border-radius: 28px; background: #fff; border: 2px solid var(--line); box-shadow: var(--shadow); }
.ref-path--green { --c: var(--green); --t: var(--t-green); }
.ref-path__ico { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--c); color: var(--ink); margin-bottom: 22px; }
.ref-path--green .ref-path__ico { color: #fff; }
.ref-path__ico .ico { width: 34px; height: 34px; }
.ref-path h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.ref-path ul { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; gap: 10px; flex: 1; }
.ref-path li { display: flex; gap: 10px; }
.ref-path li .ico { width: 20px; height: 20px; color: var(--green-deep); margin-top: 4px; }
.ref-path .btn { align-self: flex-start; }
@media (max-width: 860px) { .ref-choose { grid-template-columns: 1fr; } .ref-path { padding: 26px; } }

.form-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-aside { position: sticky; top: 110px; display: grid; gap: 16px; }
.form-aside__box { padding: 24px; border-radius: var(--radius); background: var(--bg-soft); }
.form-aside__box h2 { font-size: 1.15rem; margin-bottom: 10px; }
.form-aside__box p, .form-aside__box li { font-size: .94rem; }
.form-aside__box ol { padding-left: 1.2em; margin: 0; }
.form-aside__box li + li { margin-top: 6px; }
.form-aside .notice { font-size: .92rem; padding: 18px; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } .form-aside { position: static; } }

.form { display: grid; gap: 26px; }
.fset { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); margin: 0; background: #fff; min-width: 0; }
.fset legend { display: flex; align-items: center; gap: 12px; padding: 0 10px; margin-left: -10px; font: 800 1.3rem var(--font-head); color: var(--ink); }
.fset legend b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--c, var(--blue)); color: #fff; font-size: 1rem; }
.fset:nth-of-type(5n+1) { --c: var(--red); } .fset:nth-of-type(5n+2) { --c: var(--orange); } .fset:nth-of-type(5n+3) { --c: var(--green); } .fset:nth-of-type(5n+4) { --c: var(--blue); } .fset:nth-of-type(5n+5) { --c: var(--sky); }
.fset__intro { color: var(--muted); font-size: .95rem; margin: 4px 0 18px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.grid2 .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field .label { font: 700 .95rem var(--font-head); color: var(--ink); }
.field .req { color: var(--red-deep); }
.field .hint { font-size: .86rem; color: var(--muted); margin-top: -3px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border-radius: 12px; border: 2px solid var(--line); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px var(--t-blue); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea, .field.is-invalid .chips { border-color: var(--red); }
.field__err { display: none; font-size: .86rem; font-weight: 600; color: var(--red-deep); }
.field.is-invalid .field__err { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; border: 2px solid transparent; border-radius: 14px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--line); font-weight: 600; font-size: .95rem; color: var(--ink); background: #fff; transition: all .15s; cursor: pointer; }
.chip span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 2px solid #b8c3da; transition: all .15s; }
.chip input[type="radio"] + span::before { border-radius: 50%; }
.chip input:checked + span { border-color: var(--blue); background: var(--t-blue); }
.chip input:checked + span::before { background: var(--blue); border-color: var(--blue); box-shadow: inset 0 0 0 2px #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--bg-soft); }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--blue); }
.consent label { font-weight: 500; font-family: var(--font-body); font-size: .96rem; color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form__submit p { margin: 0; font-size: .9rem; color: var(--muted); flex: 1; min-width: 220px; }
.form__status { display: none; padding: 18px 22px; border-radius: 14px; font-weight: 600; }
.form__status.is-error { display: block; background: var(--t-red); color: var(--red-deep); }
.form-done { display: none; text-align: center; padding: clamp(36px, 6vw, 64px) 24px; border-radius: 28px; background: var(--t-green); }
.form-done.is-shown { display: block; }
.form-done__ico { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; animation: pop .6s var(--ease); }
.form-done__ico .ico { width: 42px; height: 42px; stroke-width: 3; }
@keyframes pop { 0% { transform: scale(.3); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius-sm); background: var(--bg-soft); }
.contact-list .i { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; }
.contact-list .i .ico { width: 22px; height: 22px; }
.contact-list small { display: block; font: 700 .78rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { font: 700 1.05rem var(--font-head); color: var(--ink); text-decoration: none; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }


/* ---------- how-we-help detail cards ---------- */
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.help { --c: var(--blue); --t: var(--t-blue); position: relative; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--c); scroll-margin-top: 110px; }
.help__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.help__head .area__ico { margin: 0; }
.help__head h3 { margin: 0; font-size: 1.35rem; }
.help > p { color: var(--muted); }
.help ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.help li { position: relative; padding-left: 24px; color: var(--ink); font-weight: 500; }
.help li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 3px; background: var(--c); transform: rotate(45deg); }
.help__stages { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; border-top: 1px dashed var(--line); }
.stage-pill { font: 800 .74rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.stage-pill--green { background: var(--t-green); color: var(--green-deep); }
.stage-pill--orange { background: var(--t-orange); color: #b85a00; }
.stage-pill--blue { background: var(--t-blue); color: var(--blue-deep); }
@media (max-width: 860px) { .help-grid { grid-template-columns: 1fr; } .help { padding: 24px; } }

/* ---------- audience pages ---------- */
.qa { display: grid; gap: 14px; max-width: 860px; }
.qa details { border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); padding: 0 24px; transition: box-shadow .2s; }
.qa details[open] { box-shadow: var(--shadow); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 700 1.1rem var(--font-head); color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--t-blue); color: var(--blue); font-size: 1.4rem; transition: transform .25s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { margin: 0 0 20px; }
.signs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.signs li { padding: 10px 18px; border-radius: 999px; background: #fff; border: 2px solid var(--line); font: 600 .98rem var(--font-head); color: var(--ink); }
.signs li:nth-child(5n+1) { border-color: #f6b4b0; } .signs li:nth-child(5n+2) { border-color: #ffc98f; } .signs li:nth-child(5n+3) { border-color: #ffe08a; } .signs li:nth-child(5n+4) { border-color: #9fe0b2; } .signs li:nth-child(5n+5) { border-color: #a9cbf7; }
.big-quote { font: 800 clamp(1.6rem, 3.2vw, 2.4rem)/1.2 var(--font-head); color: var(--ink); letter-spacing: -.02em; max-width: 900px; }
.big-quote em { font-style: normal; color: var(--blue); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #c7d2ea; font-size: .96rem; }
.model-ticker--footer { background: #0a1838; padding: 22px 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.brand--footer img { width: 64px; height: 64px; background: #fff; border-radius: 18px; padding: 4px; }
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text small { color: #9fb0d4; }
.site-footer__brand p { margin: 20px 0 22px; max-width: 320px; }
.site-footer h2 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #c7d2ea; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .ico { width: 18px; height: 18px; color: var(--yellow); margin-top: 4px; }
.site-footer__safety { display: flex; gap: 14px; align-items: flex-start; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer__safety .ico { width: 22px; height: 22px; color: var(--yellow); margin-top: 2px; }
.site-footer__safety p { margin: 0; font-size: .92rem; }
.site-footer__safety strong { color: #fff; }
.site-footer__safety a { color: #fff; font-weight: 700; text-decoration: underline; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.site-footer__legal p { margin: 0; }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Motion
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ==========================================================================
   Layout hardening (spacing, overflow, small screens)
   ========================================================================== */
/* grid/flex children must be allowed to shrink, long words/emails must wrap */
.split > *, .stage > *, .commission > *, .contact-grid > *, .form-layout > *, .hero__inner > *, .page-hero__inner > *,
.cards > *, .areas > *, .doors > *, .help-grid > *, .ref-band__cards > *, .ref-choose > *, .grid2 > * { min-width: 0; }
h1, h2, h3, p, li, a, span, strong, label, legend { overflow-wrap: break-word; }
.contact-list a, .site-footer__contact a, .prose a { overflow-wrap: anywhere; }
.contact-list li > div { min-width: 0; }

/* decorative blobs never sit on top of text */
.page-hero__copy { position: relative; z-index: 1; }
.page-hero__blobs i:nth-child(2) { right: 8%; bottom: -46px; }
.page-hero__blobs i:nth-child(3) { right: 12%; top: auto; bottom: 34%; }
@media (max-width: 1239px) { .page-hero__blobs i:nth-child(2), .page-hero__blobs i:nth-child(3) { display: none; } }
@media (max-width: 760px) { .page-hero__blobs i:nth-child(1) { width: 200px; height: 200px; right: -120px; top: -110px; } }

/* door cards: keep the decorative circle clear of the icon and heading */
.door::before { right: -80px; top: -80px; }
.door h3 { max-width: 30ch; }

/* phones */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .actions { gap: 12px; }
  .actions .btn { width: 100%; }
  .btn { padding: 14px 22px; }
  .hero { padding-top: 24px; }
  .hero__visual { max-width: 340px; margin: 0 auto; }
  .hero__chip { font-size: .78rem; padding: 6px 10px 6px 6px; border-radius: 12px; gap: 8px; }
  .hero__chip span { width: 26px; height: 26px; border-radius: 8px; }
  .hero__chip .ico { width: 15px; height: 15px; }
  .hero__chip--1 { top: 2%; left: -2%; }
  .hero__chip--2 { right: -2%; }
  .hero__chip--3 { bottom: 0; left: 2%; }
  .hero__badges { gap: 8px; }
  .hero__badges li { font-size: .8rem; padding: 6px 11px 6px 6px; gap: 6px; }
  .hero__badges .b { width: 22px; height: 22px; }
  .hero__badges .b .ico { width: 13px; height: 13px; }
  .btn { text-align: center; line-height: 1.25; }
  .model-ticker { padding: 14px 0; }
  .door, .card, .help { padding: 22px; }
  .areas { gap: 12px; }
  .area { display: grid; grid-template-columns: 46px 1fr; gap: 2px 14px; align-items: start; padding: 18px; }
  .area__ico { grid-row: span 2; width: 46px; height: 46px; border-radius: 13px; margin: 0; }
  .area__ico .ico { width: 22px; height: 22px; }
  .area h3 { font-size: 1.05rem; margin: 2px 0 4px; }
  .area p { font-size: .9rem; line-height: 1.5; }
  .model__step { padding: 30px 22px 28px; }
  .model__num { font-size: 3.4rem; right: 18px; top: 16px; }
  .stage__tag { padding: 24px; }
  .ref-path { padding: 22px; }
  .ref-path .btn { width: 100%; white-space: normal; text-align: center; }
  .ref-card { padding: 18px; gap: 12px; }
  .ref-card__ico { width: 46px; height: 46px; border-radius: 14px; }
  .ref-card__ico .ico { width: 22px; height: 22px; }
  .ref-card__body span { font-size: .88rem; }
  .ref-card__body strong { font-size: 1.08rem; }
  .ref-card__go { width: 40px; height: 40px; }
  .split__media::before { left: -3%; bottom: -5%; }
  .split__media::after { right: -2%; top: -4%; }
  .commission__item { padding: 16px; }
  .fset { padding: 20px 16px; }
  .fset legend { font-size: 1.12rem; }
  .form__submit .btn { width: 100%; }
  .chip span { padding: 9px 14px; font-size: .9rem; }
  .qa details { padding: 0 18px; }
  .qa summary { font-size: 1rem; }
  .signs li { font-size: .9rem; padding: 8px 14px; }
  .notice { padding: 18px; gap: 12px; }
  .site-footer__grid { padding-top: 48px; gap: 32px; }
  .site-footer__legal { flex-direction: column; }
}
@media (max-width: 360px) {
  .brand__text strong { font-size: 1rem; }
  .brand img { width: 42px; height: 42px; }
  .hero__chip--2 { display: none; }
}

/* ---------- crisis information ---------- */
.crisis { padding: 20px 22px; border-radius: var(--radius-sm); background: var(--t-red); color: var(--ink); }
.crisis__title { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 800 1.05rem var(--font-head); color: var(--red-deep); }
.crisis__title .ico { width: 22px; height: 22px; }
.crisis__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; line-height: 1.5; }
.crisis__list li { position: relative; padding-left: 18px; }
.crisis__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.crisis a { font-weight: 800; color: var(--red-deep); }
.site-footer .crisis { background: rgba(255, 255, 255, .06); color: #c7d2ea; }
.site-footer .crisis__title { color: var(--yellow); }
.site-footer .crisis strong, .site-footer .crisis a { color: #fff; }
.site-footer .crisis__list li::before { background: var(--yellow); }
.site-footer__safety { display: block; }
.form-aside .crisis { padding: 18px; }
.form-aside .crisis__list { font-size: .9rem; }

.form-done__ref { display: inline-block; margin: 0 0 24px; padding: 10px 18px; border-radius: 999px; background: #fff; font: 600 1rem var(--font-head); color: var(--ink); }
.form-done__ref[hidden] { display: none; }

.form[hidden] { display: none; }

/* ==========================================================================
   Services (carried over from the original site)
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; min-width: 0; transition: transform .25s var(--ease), box-shadow .25s; }
.svc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c, var(--blue)); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc__num { position: absolute; right: 22px; top: 12px; font: 900 3.6rem/1 var(--font-head); color: var(--c, var(--blue)); opacity: .13; pointer-events: none; }
.svc__ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--t, var(--t-blue)); color: var(--c, var(--blue)); margin-bottom: 6px; transition: transform .35s var(--ease); }
.svc:hover .svc__ico { transform: rotate(-8deg) scale(1.08); }
.svc__ico .ico { width: 28px; height: 28px; }
.svc h3 { font-size: 1.3rem; margin: 0; padding-right: 56px; }
.svc p { margin: 0; color: var(--muted); font-size: .98rem; flex: 1; }
.svc__tag { align-self: flex-start; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: var(--t, var(--t-blue)); color: var(--c, var(--blue)); font: 800 .74rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } .svc { padding: 24px 22px 22px 26px; } .svc__num { font-size: 3rem; right: 16px; } .svc h3 { font-size: 1.15rem; padding-right: 44px; } }

/* compact list of services (home page) */
.svc-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.svc-chip { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font: 700 .98rem/1.3 var(--font-head); transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; height: 100%; }
.svc-chip:hover { transform: translateY(-3px); border-color: var(--c, var(--blue)); box-shadow: var(--shadow); color: var(--ink); }
.svc-chip .i { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--t, var(--t-blue)); color: var(--c, var(--blue)); }
.svc-chip .i .ico { width: 22px; height: 22px; }

/* ==========================================================================
   Reviews slider
   ========================================================================== */
.reviews__stars { display: flex; justify-content: center; gap: 6px; color: var(--yellow); margin-top: 6px; }
.reviews__stars .ico, .rv__stars .ico { fill: currentColor; stroke: currentColor; stroke-width: 1.2; }
.reviews__stars .ico { width: 34px; height: 34px; }
.rv { position: relative; }
.rv__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 10px var(--gutter) 26px; scroll-padding-left: var(--gutter); overscroll-behavior-x: contain; }
.rv__track::-webkit-scrollbar { display: none; }
.rv__card { position: relative; flex: 0 0 min(86%, 380px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 28px 26px 24px; background: #fff; border-radius: var(--radius); border-top: 6px solid var(--c, var(--blue)); box-shadow: var(--shadow); min-width: 0; }
.rv__mark { position: absolute; right: 22px; top: 6px; font: 900 5.5rem/1 var(--font-head); color: var(--c, var(--blue)); opacity: .16; pointer-events: none; }
.rv__stars { display: flex; gap: 3px; color: var(--yellow); }
.rv__stars .ico { width: 20px; height: 20px; }
.rv__text { flex: 1; margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--ink); }
.rv__who { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.rv__av { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--c, var(--blue)); color: #fff; font: 800 1.15rem var(--font-head); }
.rv__who strong { display: block; font: 800 1.05rem var(--font-head); color: var(--ink); line-height: 1.2; }
.rv__who small { color: var(--muted); font-size: .85rem; }
.rv__nav { display: flex; justify-content: center; gap: 12px; margin-top: 4px; }
.rv__btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s; }
.rv__btn:hover:not(:disabled) { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.rv__btn:disabled { opacity: .35; cursor: default; }
.rv__btn .ico { width: 22px; height: 22px; }
@media (min-width: 700px) {
  .rv__track { margin: 0; padding: 10px 0 26px; scroll-padding-left: 0; }
  .rv__card { flex-basis: calc((100% - 20px) / 2); }
}
@media (min-width: 1024px) {
  .rv__card { flex-basis: calc((100% - 40px) / 3); }
}
@media (max-width: 560px) {
  .reviews__stars .ico { width: 28px; height: 28px; }
  .rv__card { padding: 24px 22px 20px; }
}

/* full reviews page: grid on tablet/desktop, swipe slider on phones */
.rv__count { align-self: center; min-width: 64px; text-align: center; font: 800 1rem var(--font-head); color: var(--ink); }
.rv--grid .rv__card { flex-basis: min(86%, 340px); }
@media (min-width: 641px) {
  .rv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
  .rv-grid .rv__card { flex: none; height: 100%; }
  .rv--grid .rv__nav { display: none; }
}
@media (min-width: 1024px) { .rv-grid { grid-template-columns: repeat(3, 1fr); } }
