/* =============================================
   MAN 10k layer: loads after main.css on every page.
   Visual refresh only. Markup, copy and CMS hooks are unchanged.
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&display=swap');

:root {
  /* navy sampled from the hero footage, so page and film read as one world */
  --navy-900: #0A101F;
  --navy-800: #0F1629;
  --navy-700: #172038;
  --paper: #F7F5F1;
  --paper-2: #EFECE6;
  --card: #FCFBF8;

  /* the logo's own four thread colours */
  --t-magenta: #CB0A7C;
  --t-orange: #FB5100;
  --t-teal: #00A19C;
  --t-grey: #7D838D;

  --color-dark: #0F1629;
  --color-off-white: var(--paper);
  --color-light-grey: var(--paper-2);
  --color-text: #151A2C;
  --color-text-muted: #55596B;
  --color-white: #FFFFFF;

  --font-mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-soft: cubic-bezier(.65, .05, .36, 1);

  --hair-light: rgba(21, 26, 44, .12);
  --hair-dark: rgba(255, 255, 255, .12);

  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-card: 0 1px 2px rgba(15, 22, 41, .05), 0 14px 36px -16px rgba(15, 22, 41, .22);
  --shadow-elevated: 0 2px 4px rgba(15, 22, 41, .06), 0 28px 60px -20px rgba(15, 22, 41, .38);

  --section-padding: 112px 0;
  --tshadow: 0 1px 2px rgba(5, 8, 18, .95), 0 3px 12px rgba(5, 8, 18, .78), 0 10px 44px rgba(5, 8, 18, .8);
}
@media (max-width: 720px) { :root { --section-padding: 76px 0; } }

/* ── Base ─────────────────────────────────── */

html { overflow-x: hidden; overflow-x: clip; }
body {
  overflow-x: hidden; overflow-x: clip;
  background-color: var(--paper);
  animation: m10-page-in .7s var(--ease-out) both;
}
@keyframes m10-page-in { from { opacity: 0; } }

body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }

::selection { background: rgba(203, 10, 124, .18); }

h1, h2, h3, h4 { letter-spacing: -0.012em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.08; }
h3 { line-height: 1.18; }
.accent { font-style: italic; }

.label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .16em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.label::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--t-magenta) 0 25%, var(--t-orange) 25% 50%, var(--t-teal) 50% 75%, var(--t-grey) 75%);
}
.section-header .label { display: inline-flex; }
.section-header--centered .label { justify-content: center; }
.section-header h2 { margin-bottom: 18px; }
.section-header p { font-size: 1.125rem; line-height: 1.7; }

/* labels on dark sections carry inline rgba(.4) colours; lift them to 4.5:1 */
.hard-cases .label, .enquiry-section .label, .page-hero .label { color: rgba(255, 255, 255, .66) !important; }

*:focus-visible { outline: 2px solid var(--t-magenta); outline-offset: 3px; }

/* ── Buttons ──────────────────────────────── */

.btn {
  border-radius: 999px;
  padding: 15px 28px;
  letter-spacing: .005em;
  transition: transform .4s var(--ease-out), background-color .35s var(--ease-out),
              border-color .35s var(--ease-out), box-shadow .4s var(--ease-out), color .35s var(--ease-out);
}
.btn--primary {
  background-color: var(--color-magenta);
  border-color: var(--color-magenta);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}
.btn--primary:hover {
  background-color: #A82068;
  border-color: #A82068;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 14px 30px -10px rgba(198, 42, 126, .6);
}
.btn--ghost { border-color: rgba(255, 255, 255, .38); }
.btn--ghost:hover { background-color: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .85); transform: translateY(-2px); }
.btn--ghost-dark { border-color: rgba(21, 26, 44, .55); color: var(--color-text); }
.btn--ghost-dark:hover { background-color: var(--navy-800); border-color: var(--navy-800); color: #fff; transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; }
@media (pointer: coarse) {
  .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
}

/* ── Navigation ───────────────────────────── */

.nav {
  background-color: rgba(247, 245, 241, .84);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--hair-light);
}
.nav.scrolled { box-shadow: 0 10px 30px -18px rgba(15, 22, 41, .45); }
.nav__link { color: var(--color-text); }
.nav__link:hover { background-color: transparent; color: var(--color-magenta); }
.nav__link:not(.nav__dropdown-toggle)::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--color-magenta);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s var(--ease-out);
}
.nav__link:not(.nav__dropdown-toggle):hover::after { transform: scaleX(1); }
.nav__dropdown {
  background-color: rgba(252, 251, 248, .97);
  border: 1px solid var(--hair-light);
  border-radius: 14px;
}
.nav__dropdown a:hover { background-color: rgba(203, 10, 124, .06); }
.nav__mobile { background-color: var(--paper); }

/* ── Fixed environment layer (behind every dark section) ── */

.m10-env {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--navy-900);
  overflow: hidden;
}
.m10-env::before, .m10-env::after {
  content: "";
  position: absolute;
  width: 70vmax; height: 70vmax;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
}
.m10-env::before {
  left: -20vmax; top: -18vmax;
  background: radial-gradient(circle, rgba(203, 10, 124, .22), rgba(203, 10, 124, 0) 62%);
  animation: m10-drift-a 74s ease-in-out -12s infinite alternate;
}
.m10-env::after {
  right: -24vmax; bottom: -26vmax;
  background: radial-gradient(circle, rgba(0, 161, 156, .2), rgba(0, 161, 156, 0) 62%);
  animation: m10-drift-b 88s ease-in-out -30s infinite alternate;
}
.m10-env i {
  position: absolute;
  left: 0; top: 0;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  box-shadow:
    12vw 18vh 0 rgba(255,255,255,.35), 28vw 64vh 0 rgba(255,255,255,.25), 44vw 30vh 0 rgba(255,255,255,.3),
    61vw 82vh 0 rgba(255,255,255,.22), 73vw 12vh 0 rgba(255,255,255,.3), 86vw 52vh 0 rgba(255,255,255,.25),
    94vw 88vh 0 rgba(255,255,255,.2), 7vw 74vh 0 rgba(255,255,255,.22), 52vw 6vh 0 rgba(255,255,255,.25),
    36vw 92vh 0 rgba(255,255,255,.2), 68vw 40vh 0 rgba(255,255,255,.18), 18vw 42vh 0 rgba(255,255,255,.2);
  animation: m10-float 96s linear -40s infinite;
}
@keyframes m10-drift-a { to { transform: translate(18vmax, 14vmax) scale(1.12); } }
@keyframes m10-drift-b { to { transform: translate(-16vmax, -12vmax) scale(1.08); } }
@keyframes m10-float { to { transform: translateY(-100vh); } }

/* every page section is paper unless a class says otherwise (zero specificity, so any class wins) */
:where(main > section, main > div, main > article) { background-color: var(--paper); }

/* dark sections let the environment show through a deep veil */
.hard-cases, .enquiry-section, .page-hero, .proof-strip--dark {
  background-color: rgba(10, 16, 31, .78);
  position: relative;
  isolation: isolate;
}

/* ── The thread (signature): four logo lines that draw on scroll ── */

.m10-thread {
  display: block;
  width: 100%;
  height: 36px;
  pointer-events: none;
  overflow: visible;
}
.m10-thread path {
  /* no non-scaling-stroke here: with a stretched viewBox it would cut the pathLength-based draw short */
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: var(--draw, 1);
}
.m10-thread path:nth-child(1) { stroke: var(--t-magenta); }
.m10-thread path:nth-child(2) { stroke: var(--t-orange); }
.m10-thread path:nth-child(3) { stroke: var(--t-teal); }
.m10-thread path:nth-child(4) { stroke: var(--t-grey); }
.m10-thread-wrap {
  position: absolute;
  left: 0; right: 0; top: -18px;
  z-index: 2;
  pointer-events: none;
}

/* ── Entrances ────────────────────────────── */

.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.rv.in { opacity: 1; transform: none; }
/* retire the stagger once the entrance has played, so hovers never lag */
.rv.done, .rv.done:nth-child(n) { transition-delay: 0s !important; }
.service-card.rv.done, .team-card.rv.done, .value-card.rv.done, .blog-card.rv.done {
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), opacity .3s;
}

/* ── Proof strip ──────────────────────────── */

.proof-strip {
  background-color: var(--navy-900);
  border-bottom: 0;
  border-top: 1px solid var(--hair-dark);
  padding: 20px 0;
}
.proof-strip__item {
  color: rgba(255, 255, 255, .82);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 400;
}
@media (max-width: 520px) {
  .proof-strip__inner { justify-content: flex-start; }
  .proof-strip__item { white-space: normal; letter-spacing: .05em; font-size: .72rem; }
}
.proof-strip__check {
  background: transparent;
  border: 1.5px solid var(--t-teal);
  color: #5FD6CF;
  width: 22px; height: 22px;
}

/* ── Light sections ───────────────────────── */

.section--light { background-color: var(--paper); }
.section--grey { background-color: var(--paper-2); }
.section, .content-section { position: relative; }
.content-section--alt { background-color: var(--paper-2); }

/* service cards: hairline card, a thread-coloured top line that draws in, a brand M mark */
.service-card {
  background-color: var(--card);
  border: 1px solid var(--hair-light);
  box-shadow: none;
  position: relative;
  overflow: hidden;
  padding: 34px 32px 30px;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--t-magenta);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s var(--ease-out) .25s;
}
.service-card.in::before, .no-m10 .service-card::before { transform: scaleX(1); }
.service-card:has(.service-card__icon--orange)::before { background: var(--t-orange); }
.service-card:has(.service-card__icon--teal)::before { background: var(--t-teal); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.service-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.service-card p { line-height: 1.65; }

/* the icon is the logo mark itself; the card's own colour lives in its top line */
.service-card__icon,
.service-card__icon--magenta,
.service-card__icon--orange,
.service-card__icon--teal {
  font-size: 0;
  width: 46px; height: 44px;
  border-radius: 0;
  background: url("../images/10k/mark.svg") left center / contain no-repeat;
  margin-bottom: 24px;
}
.service-card__link { letter-spacing: .01em; }

/* ── Hard cases (dark) ────────────────────── */

.hard-cases { color: #fff; overflow: hidden; }
.hard-cases::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/10k/tangle.jpg") right center / cover no-repeat;
  opacity: .32;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 75%);
  mask-image: linear-gradient(90deg, transparent 20%, #000 75%);
}
.hard-cases h2 .accent { color: #E2559F; }
.hard-cases .lead { color: rgba(255, 255, 255, .78); }
.hard-cases__stat {
  background-color: rgba(255, 255, 255, .04);
  border: 1px solid var(--hair-dark);
  border-left: 3px solid var(--t-magenta);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color .4s var(--ease-out), border-color .6s var(--ease-out), opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.hard-cases__stat:nth-child(2) { border-left-color: var(--t-orange); }
.hard-cases__stat:nth-child(3) { border-left-color: var(--t-teal); }
.hard-cases__stat-icon { font-size: 0; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--t-magenta); box-shadow: 0 0 0 4px rgba(203, 10, 124, .18); }
.hard-cases__stat:nth-child(2) .hard-cases__stat-icon { background: var(--t-orange); box-shadow: 0 0 0 4px rgba(251, 81, 0, .18); }
.hard-cases__stat:nth-child(3) .hard-cases__stat-icon { background: var(--t-teal); box-shadow: 0 0 0 4px rgba(0, 161, 156, .2); }

/* the one interactive moment: hold to untangle */
.m10-knot {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}
.m10-knot svg { width: 100%; height: 120px; overflow: visible; }
.m10-knot path { fill: none; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.m10-knot path:nth-child(1) { stroke: var(--t-magenta); }
.m10-knot path:nth-child(2) { stroke: var(--t-orange); }
.m10-knot path:nth-child(3) { stroke: var(--t-teal); }
.m10-knot path:nth-child(4) { stroke: #A3A8B1; }
.m10-hold {
  position: relative;
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: grid;
  place-items: center;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out), background-color .35s var(--ease-out);
}
.m10-hold:hover { border-color: rgba(255, 255, 255, .7); }
.m10-hold.holding { transform: scale(.94); background: rgba(203, 10, 124, .14); }
.m10-hold svg { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); transform: rotate(-90deg); }
.m10-hold circle { fill: none; stroke: var(--t-magenta); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--hp-off, 1); }
.m10-knot.done .m10-hold { border-color: var(--t-teal); background: rgba(0, 161, 156, .14); }
.hard-cases.m10-armed .hard-cases__stat { opacity: .62; transform: translateX(10px); }
.hard-cases.m10-armed .hard-cases__stat.lit { opacity: 1; transform: none; background-color: rgba(255, 255, 255, .07); }
.hard-cases.m10-armed .hard-cases__stat:nth-child(2).lit { transition-delay: .15s; }
.hard-cases.m10-armed .hard-cases__stat:nth-child(3).lit { transition-delay: .3s; }

/* ── Team ─────────────────────────────────── */

.team-card {
  background-color: var(--card);
  border: 1px solid var(--hair-light);
  box-shadow: none;
}
.team-card:hover { box-shadow: var(--shadow-elevated); }
.team-card__photo { aspect-ratio: 4 / 4.4; background-color: var(--paper-2); }
.team-card__photo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--t-magenta) 0 25%, var(--t-orange) 25% 50%, var(--t-teal) 50% 75%, var(--t-grey) 75%);
}
.team-card__photo img { transition: transform .8s var(--ease-out); }
.team-card__body { padding: 26px 26px 28px; }
.team-card__name { font-size: 1.6rem; }
.team-card__role { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: #B0126F; }

/* ── Testimonials ─────────────────────────── */

.testimonial-card {
  background-color: var(--card);
  border: 1px solid var(--hair-light);
  box-shadow: none;
  padding: 32px 30px 28px;
  position: relative;
}
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  right: 22px; top: 6px;
  font-family: var(--font-display);
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(203, 10, 124, .14);
  pointer-events: none;
}
.testimonial-card__stars span { color: #D4900A; letter-spacing: 2px; }
.testimonial-card__quote { font-style: normal; font-size: 1rem; line-height: 1.75; color: var(--color-text); }
.testimonial-card__author { font-weight: 600; }
.testimonial-card__context { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.testimonials-btn { border-color: var(--hair-light); background: var(--card); }
.testimonials-dot { background-color: rgba(21, 26, 44, .18); }

/* ── Enquiry (dark, the one call to action) ── */

.enquiry-section { overflow: hidden; }
.enquiry-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/10k/braid.jpg") right -4% center / auto 100% no-repeat;
  opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, transparent 50%, #000 75%);
  mask-image: linear-gradient(90deg, transparent 50%, #000 75%);
}
.enquiry-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 60% 70% at 50% 55%, rgba(10, 16, 31, .2), rgba(10, 16, 31, .85) 100%);
}
.enquiry-section .section-header p { color: rgba(255, 255, 255, .74); }
.enquiry-form-wrap {
  background-color: var(--card);
  border-radius: 22px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
}
/* keep every field inside the card on phones: a grid item's automatic minimum width is its content
   (the longest dropdown option), which pushed the fields 33px past the card at 375px */
.form-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-grid > *, .two-col > * { min-width: 0; }
.form-group input, .form-group select, .form-group textarea { width: 100%; min-width: 0; max-width: 100%; }
.form-group select { text-overflow: ellipsis; }
/* the text-field padding was also landing on the consent checkbox and stretching it to 34x26 */
.form-group--checkbox input[type="checkbox"] {
  padding: 0;
  width: 22px; height: 22px; min-width: 22px; max-width: 22px;
  border: 1.5px solid rgba(21, 26, 44, .32);
  border-radius: 6px;
  background-color: #fff;
}
.form-group label { font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  border: 1px solid rgba(21, 26, 44, .18);
  border-radius: 12px;
  background-color: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--color-magenta);
  box-shadow: 0 0 0 4px rgba(203, 10, 124, .12);
}

/* ── Inner page heroes ────────────────────── */

.page-hero {
  padding: 120px 0 96px;
  min-height: 62vh;
  display: flex;
  align-items: center;
}
.page-hero > .container { width: 100%; }
.page-hero__bg {
  background-image: none;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  opacity: .9;
}
.page-hero[data-thread] .page-hero__bg {
  -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 18%, #000 70%);
}
.page-hero[data-thread="magenta"] .page-hero__bg { background-image: url("../images/10k/banner-magenta.jpg"); }
.page-hero[data-thread="teal"] .page-hero__bg { background-image: url("../images/10k/banner-teal.jpg"); }
.page-hero[data-thread="orange"] .page-hero__bg { background-image: url("../images/10k/banner-orange.jpg"); }
.page-hero h1 { text-shadow: 0 2px 30px rgba(5, 8, 18, .6); }
.page-hero h1 .accent, .page-hero h2 .accent { color: #E2559F; }
.page-hero__subhead { color: rgba(255, 255, 255, .78); }
.page-hero__risk { border-width: 1.5px; border-radius: 12px; background: rgba(10, 16, 31, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.page-hero__risk p { color: rgba(255, 255, 255, .8); }
.breadcrumb { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; color: rgba(255, 255, 255, .62); }
.breadcrumb a, .breadcrumb span { color: rgba(255, 255, 255, .62); }

/* ── Inner page content ───────────────────── */

.content-block h2 { margin-bottom: 18px; }
.content-block p { line-height: 1.75; }
.content-block .label { margin-bottom: 14px; }
.checklist__item::before {
  content: "";
  width: 20px; height: 20px;
  background: transparent;
  border: 1.5px solid var(--t-teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23008C88' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.6 2.6L12 5.5'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.faq-list { border: 1px solid var(--hair-light); border-radius: 18px; background: var(--card); }
.faq-item { border-bottom: 1px solid var(--hair-light); }
.faq-question { background-color: var(--card); font-size: 1.04rem; padding: 22px 26px; }
.faq-answer__inner { background-color: var(--card); padding: 0 26px 22px; }
.faq-icon { border-color: var(--hair-light); }
.case-study {
  background: var(--navy-800);
  border: 1px solid var(--hair-dark);
  border-radius: 20px;
}
.case-study::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--t-magenta), var(--t-orange), var(--t-teal), var(--t-grey));
}
.cta-banner {
  background: radial-gradient(ellipse 80% 120% at 85% 10%, rgba(203, 10, 124, .55), rgba(203, 10, 124, 0) 60%), var(--navy-800);
  border: 1px solid var(--hair-dark);
  border-radius: 22px;
}
.stat-item__number { color: var(--color-magenta); }
.value-card { background: var(--card); border: 1px solid var(--hair-light); box-shadow: none; padding: 32px 30px; }
.value-card__icon { font-size: 0; width: 34px; height: 3px; border-radius: 2px; margin-bottom: 22px; background: var(--t-magenta); }
.value-card:nth-child(4n+2) .value-card__icon { background: var(--t-orange); }
.value-card:nth-child(4n+3) .value-card__icon { background: var(--t-teal); }
.value-card:nth-child(4n+4) .value-card__icon { background: var(--t-grey); }
.value-card h3 { font-size: 1.35rem; }
.blog-card { background: var(--card); border: 1px solid var(--hair-light); box-shadow: none; }
.repossession-warning { border-radius: 12px; }

/* ── Footer ───────────────────────────────── */

.footer {
  background-color: var(--navy-900);
  position: relative;
  padding-top: 84px;
}
.footer__col h4 { font-family: var(--font-mono); font-weight: 500; letter-spacing: .16em; color: rgba(255, 255, 255, .5); }
.footer__col ul a { color: rgba(255, 255, 255, .72); }
.footer__tagline { color: rgba(255, 255, 255, .66); }
.footer__regulatory p { color: rgba(255, 255, 255, .55); }
.footer__bottom p, .footer__bottom a { color: rgba(255, 255, 255, .55); }
.footer__social a { border-radius: 50%; background-color: rgba(255, 255, 255, .06); border: 1px solid var(--hair-dark); }
.footer__ai-note { flex-basis: 100%; font-size: .78rem; }

/* ── Cookie banner ────────────────────────── */

.cookie-banner {
  background-color: rgba(10, 16, 31, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--hair-dark);
}
.cookie-banner p { color: rgba(255, 255, 255, .8); }
.cookie-banner p a { color: #5FD6CF; }

/* ── Reduced motion: everything in its final state ── */

@media (prefers-reduced-motion: reduce) {
  body, .rv, .service-card::before, .m10-env::before, .m10-env::after, .m10-env i {
    animation: none !important;
    transition: none !important;
  }
  .rv { opacity: 1 !important; transform: none !important; }
  .service-card::before { transform: scaleX(1) !important; }
  .m10-thread path { stroke-dashoffset: 0 !important; }
  .hard-cases.m10-armed .hard-cases__stat { opacity: 1; transform: none; }
  *, *::before, *::after { transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}

/* =============================================
   HOMEPAGE HERO: the scroll-scrubbed film
   Default (no JS, phones, reduced motion) is the static hero.
   .scrub.armed is added by js/hero-scrub.js only when all five gates pass.
   ============================================= */

:root { --nav-h: 73px; }

.scrub {
  position: relative;
  background: var(--navy-900);
  color: #fff;
}
.scrub__stage { position: relative; overflow: hidden; }
.scrub__poster {
  position: absolute;
  inset: 0;
  background-color: var(--navy-900);
  background-size: cover;
  background-position: 68% center;
  background-repeat: no-repeat;
}
.scrub__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  opacity: 0;
  transform: translateZ(0);
  will-change: transform;
  transition: opacity .9s var(--ease-out);
  display: none;
}
.scrub__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 16, 31, .55) 0%, rgba(10, 16, 31, .25) 45%, rgba(10, 16, 31, 0) 70%),
    radial-gradient(ellipse 120% 90% at 50% 45%, rgba(10, 16, 31, 0) 40%, rgba(10, 16, 31, .62) 100%);
}

/* the caption bands */
.band { position: relative; text-shadow: var(--tshadow); }
.band .btn { text-shadow: none; }
.band__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.chip {
  background: rgba(8, 10, 22, .55);
  border: 1px solid rgba(150, 156, 190, .28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-shadow: 0 1px 3px rgba(5, 8, 18, .85);
}
.band__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.band--magenta .band__tag { color: #F3A3CB; }
.band--orange .band__tag { color: #F8B48F; }
.band--teal .band__tag { color: #7FE0D4; }
.band--magenta .accent { color: #E9529D; }
.band--orange .accent { color: #F7773F; }
.band--teal .accent { color: #2CC4B3; }
.band__title {
  color: #fff;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 1.04;
  margin-bottom: 22px;
  max-width: 13ch;
}
.band__sub {
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.65;
  max-width: 44ch;
  margin-bottom: 30px;
}
.band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.band--orange .btn--primary { background-color: #E85F2B; border-color: #E85F2B; }
.band--orange .btn--primary:hover { background-color: #CC4E1F; border-color: #CC4E1F; box-shadow: 0 14px 30px -10px rgba(232, 95, 43, .6); }
.band--teal .btn--primary { background-color: #00877A; border-color: #00877A; }
.band--teal .btn--primary:hover { background-color: #006F64; border-color: #006F64; box-shadow: 0 14px 30px -10px rgba(0, 154, 136, .6); }

/* split text (built once by JS) */
.split { display: inline; }
.split .w { display: inline-block; white-space: nowrap; }
.split .c { display: inline-block; }
.split--soft { display: none; }

.scrub__hud, .scrub__ring, .scrub__cue { display: none; }

/* ── Static hero (default) ── */
.scrub:not(.armed) .scrub__stage { padding: 112px 0 84px; }
.scrub:not(.armed) .scrub__poster {
  background-image: linear-gradient(90deg, rgba(10, 16, 31, .9) 0%, rgba(10, 16, 31, .55) 55%, rgba(10, 16, 31, .2) 100%), url("../images/10k/hero-ending.jpg");
}
.scrub:not(.armed) .scrub__bands { position: relative; z-index: 1; }
.scrub:not(.armed) .scrub__bands > .band:first-child { max-width: 640px; margin-bottom: 56px; }
.scrub:not(.armed) .band__rest {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 82%);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}
.scrub:not(.armed) .band__rest .band {
  scroll-snap-align: start;
  padding: 26px 24px;
  border-radius: 18px;
  background: rgba(8, 10, 22, .62);
  border: 1px solid rgba(150, 156, 190, .22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-shadow: none;
}
.scrub:not(.armed) .band__rest .band__title { font-size: clamp(1.6rem, 2.4vw, 2rem); max-width: none; }
.scrub:not(.armed) .band__rest .band__sub { font-size: .98rem; }
.scrub:not(.armed) .band__rest .btn { white-space: normal; text-align: center; line-height: 1.25; }
@media (min-width: 1025px) {
  .scrub:not(.armed) .band__rest { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
}

/* ── Scrub mode ── */
.scrub.armed { height: 760vh; }
.scrub.armed .scrub__stage {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
}
.scrub.armed .scrub__video { display: block; }
.scrub.armed.video-ready .scrub__video { opacity: 1; }
.scrub.armed .scrub__bands { position: absolute; inset: 0; max-width: none; margin: 0; padding: 0; }
.scrub.armed .band__rest { display: contents; }
.scrub.armed .band {
  position: absolute;
  left: max(20px, calc((100vw - 1200px) / 2 + 40px));
  top: 50%;
  width: min(600px, 46vw);
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}
.scrub.armed .band.live { pointer-events: auto; }
/* each band is its own layer, so its ::before backing paints above the film, not behind it */
.scrub.armed .band { z-index: 1; isolation: isolate; }
.scrub.armed .band::before {
  content: "";
  position: absolute;
  inset: -30% -40% -30% -60%;
  z-index: -1;
  pointer-events: none;
  opacity: calc(.25 + .75 * var(--k, 1));
  background: radial-gradient(ellipse 62% 56% at 42% 50%, rgba(5, 8, 18, .62) 0%, rgba(5, 8, 18, .4) 46%, rgba(5, 8, 18, 0) 76%);
}
.scrub.armed .band:first-child::before { background: radial-gradient(ellipse 62% 56% at 42% 50%, rgba(5, 8, 18, .7) 0%, rgba(5, 8, 18, .45) 46%, rgba(5, 8, 18, 0) 76%); }

/* staged arrivals inside every band: tag, then title, then subline, then buttons */
.scrub.armed .band__tag { opacity: clamp(0, calc(var(--k, 1) * 3), 1); }
.scrub.armed .band__sub {
  --ks: clamp(0, calc((var(--k, 1) - .5) * 3), 1);
  opacity: var(--ks);
  transform: translateY(calc((1 - var(--ks)) * 14px));
}
.scrub.armed .band__btns {
  --kb: clamp(0, calc((var(--k, 1) - .72) * 4), 1);
  opacity: var(--kb);
  transform: translateY(calc((1 - var(--kb)) * 12px));
}

/* entrance personalities, each echoing what the film does in that band */
/* 1 drift-down: the ribbons fall */
.scrub.armed [data-entrance="drift"] .w {
  --kc: clamp(0, calc((var(--k, 1) - var(--th, 0)) * 2.8), 1);
  opacity: var(--kc);
  transform: translateY(calc((1 - var(--kc)) * -26px));
}
/* 2 weave: the ribbons cross, characters arrive alternately from above and below */
.scrub.armed [data-entrance="weave"] .c {
  --kc: clamp(0, calc((var(--k, 1) - var(--th, 0)) * 2.6), 1);
  opacity: var(--kc);
  transform: translateY(calc((1 - var(--kc)) * var(--jy, 0px)));
}
/* 3 blur-to-sharp: the quiet beat, focus arrives (blur is static, only opacity moves) */
.scrub.armed [data-entrance="blur"] .band__title { position: relative; }
.scrub.armed [data-entrance="blur"] .split--soft {
  display: inline;
  position: absolute;
  left: 0; top: 0;
  filter: blur(10px);
  opacity: calc(1 - var(--k, 1));
}
.scrub.armed [data-entrance="blur"] .split--sharp { opacity: var(--k, 1); }
/* 4 grid snap-align: the ribbons fan out into many paths, characters slide into line */
.scrub.armed [data-entrance="grid"] .c {
  --kc: clamp(0, calc((var(--k, 1) - var(--th, 0)) * 2.6), 1);
  opacity: var(--kc);
  transform: translateX(calc((1 - var(--kc)) * var(--jx, 0px)));
}
/* 5 rise into a staged settle: the weave comes to rest */
.scrub.armed [data-entrance="rise"] .w {
  --kc: clamp(0, calc((var(--k, 1) - var(--th, 0)) * 2.6), 1);
  opacity: var(--kc);
  transform: translateY(calc((1 - var(--kc)) * 28px));
}

/* small furniture: loading ring, slide counter, scroll cue */
.scrub.armed .scrub__ring {
  display: block;
  position: absolute;
  right: 28px; bottom: 26px;
  width: 40px; height: 40px;
  color: rgba(255, 255, 255, .75);
  transform: rotate(-90deg);
  transition: opacity .6s var(--ease-out);
}
.scrub.armed.video-ready .scrub__ring { opacity: 0; }
.scrub__ring circle { stroke-dasharray: 126; stroke-dashoffset: var(--ld, 126); }
.scrub.armed .scrub__hud {
  display: inline-flex;
  position: absolute;
  left: max(20px, calc((100vw - 1200px) / 2 + 40px));
  bottom: 26px;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .8);
}
.scrub.armed .scrub__cue {
  display: block;
  position: absolute;
  left: 50%; bottom: 24px;
  width: 22px; height: 34px;
  margin-left: -11px;
  border: 1.5px solid rgba(255, 255, 255, .5);
  border-radius: 12px;
  transition: opacity .5s var(--ease-out);
}
.scrub__cue::after {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 2px; height: 7px;
  margin-left: -1px;
  border-radius: 2px;
  background: #fff;
  animation: m10-cue 2.4s var(--ease-soft) -0.6s infinite;
}
@keyframes m10-cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
.scrub.scrolled .scrub__cue { opacity: 0; }
@media (max-height: 560px) { .scrub__hud, .scrub__cue { display: none !important; } }

/* ── Portrait scrub (phones, portrait tablets): the tall cut, ribbons above, captions on a dark band below ──
   The tall cut is pre-cropped around the ribbons, so it simply covers the stage. */
@media (orientation: portrait) {
  /* phones move through the slides faster: about 0.6 of a screen per slide (desktop keeps 760vh) */
  .scrub.armed { height: 400vh; }
  .scrub.armed .scrub__stage {
    height: calc(100vh - var(--nav-h));
    height: calc(100svh - var(--nav-h));     /* the visible height, so phone toolbars never cover the buttons */
  }
  .scrub.armed .scrub__video { object-position: 50% center; }
  .scrub.armed .scrub__poster { background-position: 50% center; }
  /* the ribbons run down behind the words: only a light veil here, the band backing below does the rest */
  .scrub.armed .scrub__scrim {
    background: linear-gradient(to top, rgba(10, 16, 31, .45) 0%, rgba(10, 16, 31, .3) 40%, rgba(10, 16, 31, 0) 66%);
  }
  .scrub.armed .band { --tshadow: 0 1px 2px rgba(5, 8, 18, .95), 0 2px 10px rgba(5, 8, 18, .85), 0 6px 28px rgba(5, 8, 18, .85); }
  /* lighter tints of the three accent colours, so they hold their contrast with ribbons behind them */
  .scrub.armed .band--magenta .accent { color: #F79AC9; }
  .scrub.armed .band--orange .accent { color: #FFAF7E; }
  .scrub.armed .band--teal .accent { color: #74EBD9; }
  .scrub.armed .band {
    left: 20px; right: 20px;
    top: auto; bottom: 26px;
    width: auto;
    transform: none;
  }
  /* each slide carries its own backing sized to its text, so a long headline on a short phone never
     climbs above the dark band onto bright ribbons */
  .scrub.armed .band::before,
  .scrub.armed .band:first-child::before {
    inset: -96px -20px -26px -20px;
    opacity: 1;   /* full strength from the first frame of each slide, not faded in with the words */
    /* a veil, not a wall: the ribbons stay visible through it (tuned against the worst-frame audit) */
    background: linear-gradient(to top, rgba(6, 9, 20, .66) 0%, rgba(6, 9, 20, .58) calc(100% - 96px), rgba(6, 9, 20, 0) 100%);
  }
  .scrub.armed .band__tag { margin-bottom: 14px; }
  .scrub.armed .band__title { font-size: clamp(2rem, 8.4vw, 3rem); max-width: 16ch; margin-bottom: 14px; }
  .scrub.armed .band__sub { font-size: clamp(.95rem, 2.4vw, 1.1rem); line-height: 1.6; margin-bottom: 20px; max-width: 46ch; }
  .scrub.armed .band__btns { gap: 10px; }
  .scrub.armed .band__btns .btn { padding: 12px 20px; font-size: .95rem; }
  .scrub.armed .scrub__hud { top: 16px; bottom: auto; left: 20px; }
  .scrub.armed .scrub__ring { top: 12px; right: 14px; bottom: auto; width: 34px; height: 34px; }
  .scrub.armed .scrub__cue { display: none; }
}
/* short phones (iPhone SE and the like): tighten so every slide's full text and both buttons fit */
@media (orientation: portrait) and (max-height: 700px) {
  .scrub.armed .band { bottom: 18px; }
  .scrub.armed .band__tag { margin-bottom: 10px; padding: 5px 12px; }
  .scrub.armed .band__title { font-size: clamp(1.7rem, 7.4vw, 2.1rem); margin-bottom: 10px; }
  .scrub.armed .band__sub { font-size: .9rem; line-height: 1.5; margin-bottom: 14px; }
  .scrub.armed .band__btns .btn { padding: 10px 16px; font-size: .88rem; }
}

/* one swipe, one slide on phones: the swipe pager lives in js/hero-scrub.js (no CSS snapping) */

/* the static-hero gates, character-for-character the same strings as js/hero-scrub.js */
@media (orientation: landscape) and (pointer: coarse) and (max-height: 560px),
       (prefers-reduced-motion: reduce) {
  .scrub.armed { height: auto; }
  .scrub .scrub__video, .scrub .scrub__ring, .scrub .scrub__hud, .scrub .scrub__cue { display: none !important; }
}
@media (max-width: 720px) {
  .scrub:not(.armed) .scrub__stage { padding: 72px 0 56px; }
  .scrub:not(.armed) .scrub__poster { background-position: 72% center; }
  .band__title { font-size: clamp(2.2rem, 9vw, 2.8rem); }
}
