/* Kalvia — design system, built to the Kalvia Brand Book 2026.
   Type (p32): Parkinsans for everything, headlines Bold, tracking no tighter than −10;
   crayon accent for short emphasis only.
   Palette (p23): Blue 1/2/3, Green 1/2, Yellow, Passion, Orange, with 25% and 7% tints.
   Devices: the Kalvia Access (arch window), the Perforated Wall, the Ripple, filled round icons. */

@font-face {
  font-family: "Parkinsans";
  src: url("/assets/fonts/Parkinsans-Variable.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
/* DK Cool Crayon: the brand's secondary (handwritten) typeface, licensed by Kalvia, self-hosted (client 13 Nov) */
@font-face {
  font-family: "DK Cool Crayon";
  src: url("/assets/fonts/dk-cool-crayon.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --blue-1: #170C79;
  --blue-2: #271CC1;
  --blue-3: #0A0250;
  --blue-ink: #0A0250;
  --green-1: #023903;
  --green-2: #047D06;
  --green: #047D06;
  --yellow: #FFAE00;
  --passion: #DB213A;
  --red: #DB213A;
  --orange: #FF5A00;
  /* Brand-only colours: no off-palette shades. Orange buttons meet WCAG AA as large text
     (bold 19px+); copy on orange panels uses Blue 3. Crayon on light uses Passion. */
  --orange-deep: #DB213A;
  --orange-ui: #FF5A00;
  --orange-ui-deep: #FF5A00;
  --on-orange: #0A0250;
  /* tints (p23): 25% and 7% of the brand colours over white */
  --blue-1-25: color-mix(in srgb, #170C79 25%, #fff);
  --blue-1-7: color-mix(in srgb, #170C79 7%, #fff);
  --blue-2-7: color-mix(in srgb, #271CC1 7%, #fff);
  --yellow-25: color-mix(in srgb, #FFAE00 25%, #fff);
  --yellow-7: color-mix(in srgb, #FFAE00 7%, #fff);
  --orange-7: color-mix(in srgb, #FF5A00 7%, #fff);
  --green-7: color-mix(in srgb, #047D06 7%, #fff);
  --passion-7: color-mix(in srgb, #DB213A 7%, #fff);
  --paper: #FAF9F5;
  --paper-2: var(--yellow-7);
  --white: #FFFFFF;
  --ink: #0A0250;
  --ink-2: #3E3A63;
  --ink-3: #5F5C7D;
  --line: rgba(10, 2, 80, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  --font: "Parkinsans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent: "DK Cool Crayon", "Parkinsans", cursive;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 30px 60px -30px rgba(12, 6, 69, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; line-height: 1.06; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--blue-ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display { font-size: clamp(40px, 6.4vw, 92px); font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.h1 { font-size: clamp(36px, 5vw, 72px); letter-spacing: -0.01em; line-height: 1.03; }
.h2 { font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -0.01em; }
.h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.01em; line-height: 1.15; }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--ink-2); font-weight: 400; max-width: 46ch; }
.on-blue .lead, .on-blue p { color: rgba(255, 255, 255, .78); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-2);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.on-blue .eyebrow { color: var(--yellow); }
.crayon { font-family: var(--font-accent); font-weight: 400; letter-spacing: 0; color: var(--orange-deep); }
.on-blue .crayon { color: var(--yellow); }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--orange-ui); --fg: #fff;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  /* 19px bold = WCAG "large text", so white on brand Orange meets AA (3.1:1) */
  font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: 0;
  cursor: pointer; transition: transform .4s var(--ease), background .3s, box-shadow .4s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(255, 90, 0, .7); }
.btn .arr { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost .arr { background: var(--paper-2); }
.on-blue .btn--ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.on-blue .btn--ghost:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px #fff; }
.on-blue .btn--ghost .arr { background: rgba(255,255,255,.12); }
.btn--blue { --bg: var(--blue-2); }
.btn--blue:hover { background: var(--blue-1); box-shadow: 0 16px 30px -14px rgba(39, 28, 193, .7); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; color: var(--blue-2);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .4s var(--ease);
  padding-bottom: 2px;
}
.link:hover { background-size: 100% 1.5px; }
.on-blue .link { color: var(--yellow); }

/* ---------- header ---------- */
/* Floating Kalvia-blue glass bar, the same on every page */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: 14px; pointer-events: none; }
.site-header .bar {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 68px; padding: 0 10px 0 22px; border-radius: 999px;
  background: linear-gradient(120deg, rgba(39, 28, 193, .78), rgba(23, 12, 121, .72));
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 1px rgba(255,255,255,.1), 0 18px 40px -20px rgba(12, 6, 69, .55);
  transition: background .35s, box-shadow .35s;
}
.site-header.is-solid .bar { background: linear-gradient(120deg, rgba(39, 28, 193, .9), rgba(23, 12, 121, .86)); }
.site-header .bar.wrap { width: min(calc(100% - 2 * var(--gutter)), calc(var(--maxw) - 2 * var(--gutter))); margin: 0 auto; }
@media (max-width: 520px) { .site-header .bar.wrap { width: calc(100% - 24px); } .site-header { padding-top: 10px; } }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.is-light .brand { color: var(--blue-1); }
.brand svg { height: 36px; width: auto; }
.brand .suffix { font-weight: 500; font-size: 19px; letter-spacing: -0.01em; padding-left: 12px; border-left: 1.5px solid currentColor; opacity: .9; line-height: 1; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: rgba(255,255,255,.82); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 10px 14px; border-radius: 999px; transition: background .25s, color .25s;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }
.is-light .nav a { color: var(--ink-2); }
.is-light .nav a:hover, .is-light .nav a[aria-current="page"] { color: var(--ink); background: rgba(18,14,58,.06); }
.nav .btn { margin-left: 10px; padding: 12px 20px; font-size: 15px; color: #fff; }
.nav .btn:hover { background: var(--orange-ui-deep); color: #fff; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; place-items: center; }
.is-light .menu-btn { background: rgba(18,14,58,.06); color: var(--ink); }
.menu-btn span { display: block; width: 18px; height: 1.8px; background: currentColor; position: relative; transition: transform .3s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.8px; background: currentColor; transition: transform .3s; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-btn { display: grid; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: center;
    padding: 96px var(--gutter) 40px; gap: 2px; background: var(--blue-1);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .menu-open .site-header .bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
  .nav a, .is-light .nav a { font-size: 28px; font-weight: 500; color: #fff; padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line-light); letter-spacing: -0.01em; }
  .nav a:hover, .is-light .nav a:hover, .nav a[aria-current="page"], .is-light .nav a[aria-current="page"] { background: none; color: var(--yellow); }
  .nav .btn, .is-light .nav .btn { margin: 24px 0 0; justify-content: center; font-size: 18px; border: 0; padding: 18px; }
  .menu-open .brand, .menu-open .menu-btn { color: #fff; position: relative; z-index: 2; }
  .menu-open .menu-btn { background: rgba(255,255,255,.12); }
}

/* ---------- sections ---------- */
section { position: relative; }
.pad { padding: clamp(64px, 8vw, 120px) 0; }
.pad-sm { padding: clamp(48px, 6vw, 80px) 0; }
.on-blue { background: var(--blue-1); color: #fff; }
.on-blue-2 { background: var(--blue-2); color: #fff; }
.on-white { background: var(--white); }
.on-paper-2 { background: var(--paper-2); }
.on-paper { background: var(--paper); }
/* headings stacked: subtext under the h2, above the content (client 12 Nov) */
.section-head { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; margin-bottom: clamp(40px, 5vw, 64px); max-width: 860px; }
.section-head .lead { justify-self: start; max-width: 62ch; }
.section-head > div + div { max-width: 62ch; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 20px; } .section-head .lead { justify-self: start; } }

/* perforated wall pattern */
.perforated { position: relative; isolation: isolate; }
.perforated::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle at center, rgba(255,255,255,.09) 2.2px, transparent 2.6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(115deg, transparent 30%, #000 75%);
          mask-image: linear-gradient(115deg, transparent 30%, #000 75%);
}
.perforated--ink::before { background-image: radial-gradient(circle at center, rgba(39,28,193,.12) 2.2px, transparent 2.6px); }

/* ripple texture */
.ripple { position: absolute; pointer-events: none; z-index: 0; aspect-ratio: 1; border-radius: 50%;
  background: repeating-radial-gradient(circle at center, transparent 0 34px, rgba(255,255,255,.08) 34px 35.5px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.ripple--ink { background: repeating-radial-gradient(circle at center, transparent 0 34px, rgba(39,28,193,.12) 34px 35.5px); }

/* ---------- Access window (arch) ---------- */
.arch { container-type: inline-size; position: relative; }
.arch > .frame {
  position: relative; overflow: hidden; background: var(--blue-2);
  border-radius: 50cqw 50cqw var(--radius) var(--radius);
  aspect-ratio: 4 / 5;
  transform: translateZ(0);
}
.arch > .frame > img, .arch > .frame > video, .arch > .frame > picture img { width: 100%; height: 100%; object-fit: cover; }
.arch--tall > .frame { aspect-ratio: 3 / 4.2; }
.arch--outline::after {
  content: ""; position: absolute; inset: -14px -14px auto -14px; height: calc(100% + 28px);
  border: 1.5px solid rgba(255,174,0,.65); border-radius: calc(50cqw + 14px) calc(50cqw + 14px) calc(var(--radius) + 14px) calc(var(--radius) + 14px);
  pointer-events: none;
}
.img-frame { border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.img-frame img, .img-frame video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero ---------- */
.hero { padding: 150px 0 0; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero .copy { padding-bottom: clamp(56px, 8vw, 120px); }
.hero .display { margin-bottom: 28px; }
.hero .display .crayon { display: inline-block; font-size: .78em; transform: rotate(-3deg) translateY(-.04em); margin-left: .08em; }
.hero .lead { margin-bottom: 40px; }
.hero .media { position: relative; align-self: end; }
.hero .media .arch { margin-bottom: -1px; }
.hero .media .frame { border-radius: 50cqw 50cqw 0 0; }
.hero-badge {
  position: absolute; left: -28px; bottom: 56px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  background: #fff; color: var(--ink); padding: 14px 20px 14px 14px; border-radius: 999px; box-shadow: var(--shadow);
  font-size: 14px; line-height: 1.3;
}
.hero-badge b { display: block; font-weight: 600; font-size: 15px; }
.hero-badge .dot { width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; color: var(--blue-1); flex: none; }
@media (max-width: 900px) {
  .hero { padding-top: 120px; }
  .hero .grid { grid-template-columns: 1fr; }
  .hero .copy { padding-bottom: 8px; }
  .hero .media { max-width: 440px; width: 88%; margin: 0 auto; }
  .hero-badge { left: -6%; bottom: 32px; }
}

/* sub-page hero */
.page-hero { padding: 160px 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.page-hero .grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero .h1 { margin-bottom: 24px; }
.page-hero .lead { margin-bottom: 32px; }
.page-hero .media .arch { max-width: 420px; margin-left: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 28px; color: rgba(255,255,255,.6); }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }
.crumbs span[aria-hidden] { opacity: .5; }
.is-paper .crumbs, .page-hero.light .crumbs { color: var(--ink-3); }
.page-hero.light .crumbs a { color: var(--ink-2); }
@media (max-width: 900px) {
  .page-hero { padding-top: 120px; }
  .page-hero .grid { grid-template-columns: 1fr; }
  .page-hero .media .arch { max-width: 340px; margin: 12px auto 0; }
}

/* yellow benefit bar */
.benefits { background: var(--yellow); color: var(--blue-ink); position: relative; z-index: 2; }
.benefits ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.benefits li { display: flex; align-items: center; gap: 14px; padding: 26px 24px; font-weight: 500; font-size: 15.5px; line-height: 1.35; border-left: 1px solid rgba(12,6,69,.14); }
.benefits li:first-child { border-left: 0; padding-left: 0; }
.benefits .ico { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-1); color: var(--yellow); display: grid; place-items: center; flex: none; }
.benefits .ico svg { width: 18px; height: 18px; }
@media (max-width: 960px) {
  .benefits ul { grid-template-columns: 1fr 1fr; }
  .benefits li { padding: 20px 16px; border-left: 0; border-top: 1px solid rgba(12,6,69,.14); }
  .benefits li:nth-child(-n+2) { border-top: 0; }
  .benefits li:first-child { padding-left: 16px; }
}
@media (max-width: 520px) {
  .benefits ul { grid-template-columns: 1fr; }
  .benefits li:nth-child(2) { border-top: 1px solid rgba(12,6,69,.14); }
  .benefits li, .benefits li:first-child { padding: 16px 0; }
}

/* round icons */
.ico-round { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-2); color: #fff; flex: none; }
.ico-round svg { width: 24px; height: 24px; }
.ico-round.o { background: var(--orange); }
.ico-round.y { background: var(--yellow); color: var(--blue-1); }
.ico-round.g { background: var(--green); }
.ico-round.l { background: rgba(39,28,193,.08); color: var(--blue-2); }
.on-blue .ico-round.l { background: rgba(255,255,255,.1); color: var(--yellow); }

/* ---------- two doors ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
/* Light, open cards: the photo sits in its own rounded frame, the words sit on the page below it. */
.door { display: flex; flex-direction: column; color: var(--blue-1); text-decoration: none; }
.door picture { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--paper-2, #eeece6); }
.door img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.door:hover img { transform: scale(1.04); }
.door .body { padding: 24px 4px 0; }
.door .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 12px; }
.door .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.door .tag.y::before { background: var(--yellow); }
.door h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.01em; margin-bottom: 10px; max-width: 22ch; }
.door p { color: var(--ink-2); max-width: 46ch; margin-bottom: 18px; }
.door .go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; color: var(--blue-2); }
.door .go .arr { width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--on-orange); display: grid; place-items: center; transition: transform .4s var(--ease); }
.door:hover .go .arr { transform: translateX(6px); }
@media (max-width: 820px) { .doors { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- prosperity chain ---------- */
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.chain li { list-style: none; padding: 32px 28px 8px 0; position: relative; }
.chain li + li { padding-left: 28px; border-left: 1px solid var(--line-light); }
.chain .n { font-family: var(--font-accent); color: var(--yellow); font-size: 30px; line-height: 1; display: block; margin-bottom: 18px; }
.chain h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -0.01em; }
.chain p { font-size: 15.5px; color: rgba(255,255,255,.72); margin: 0; }
.chain-wrap { margin: 0; padding: 0; }
@media (max-width: 900px) {
  .chain { grid-template-columns: 1fr 1fr; }
  .chain li:nth-child(3) { padding-left: 0; border-left: 0; }
  .chain li:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}
@media (max-width: 520px) {
  .chain { grid-template-columns: 1fr; }
  .chain li, .chain li + li { padding: 26px 0 18px; border-left: 0; border-top: 1px solid var(--line-light); }
  .chain li:first-child { border-top: 0; }
}

/* film band */
.film { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; background: var(--blue-ink); margin-top: clamp(48px, 6vw, 80px); }
.film video, .film img { width: 100%; height: 100%; object-fit: cover; }
.film .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 3vw, 40px); background: linear-gradient(transparent, rgba(12,6,69,.7)); font-size: clamp(18px, 2vw, 26px); font-weight: 500; letter-spacing: -0.01em; }
@media (max-width: 700px) { .film { aspect-ratio: 4 / 3; } }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split .h2 { margin-bottom: 24px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* ---------- standard pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { background: var(--white); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line); min-height: 340px; }
.pillar h3 { font-size: 26px; }
.pillar p { color: var(--ink-2); margin: 0; }
.pillar ul { margin: auto 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.pillar li::before { content: "—"; color: var(--orange); margin-right: 10px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillar { min-height: 0; } }

/* ---------- journey ---------- */
.journey { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.journey li { position: relative; padding: 30px 24px 28px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid var(--line-light); }
.journey li::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--yellow); margin-bottom: 44px; }
.journey li:last-child { background: var(--orange-ui); border-color: var(--orange-ui); }
.journey li:last-child::before { color: #fff; }
.journey h3 { font-size: 21px; margin-bottom: 10px; }
.journey p { font-size: 15px; margin: 0; color: rgba(255,255,255,.75); }
.journey li:last-child p { color: rgba(255,255,255,.92); }
@media (max-width: 1100px) { .journey { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .journey { grid-template-columns: 1fr; } .journey li::before { margin-bottom: 18px; } }

/* ---------- programme cards ---------- */
.programmes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.prog { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 18px; }
.prog .arch .frame { aspect-ratio: 3 / 4; }
.prog .arch img { transition: transform 1s var(--ease); }
.prog:hover .arch img { transform: scale(1.05); }
.prog h3 { font-size: 22px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.prog h3 .arr { width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; flex: none; transition: background .3s, color .3s, transform .4s var(--ease); }
.prog:hover h3 .arr { background: var(--orange); color: #fff; transform: translateX(4px); }
.prog p { margin: -8px 0 0; color: var(--ink-2); font-size: 15px; }
.prog .meta { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-2); margin-top: -8px; }
@media (max-width: 1100px) { .programmes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .programmes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .programmes { grid-template-columns: 1fr; } }

/* ---------- audiences grid ---------- */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.aud { background: var(--paper); padding: clamp(26px, 3vw, 40px); text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 14px; min-height: 260px; transition: background .35s; position: relative; }
.aud:hover { background: var(--white); }
.aud .k { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.aud h3 { font-size: 24px; }
.aud p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.aud .go { margin-top: auto; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--blue-2); }
.aud .go .arr { width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease); }
.aud:hover .go .arr { background: var(--blue-2); color: #fff; transform: translateX(4px); }
@media (max-width: 960px) { .audiences { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .audiences { grid-template-columns: 1fr; } .aud { min-height: 0; } }

/* ---------- SOAT seal ---------- */
/* 84% leaves room for the ring, which is 118% of the seal, on any width */
.seal { position: relative; width: min(84%, 420px); aspect-ratio: 1; margin: 0 auto; }
.seal img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
/* ring is 18% larger than the photo and centred on it; max-width:none overrides the global svg cap that skewed it */
.seal .ring { position: absolute; left: -9%; top: -9%; width: 118%; height: 118%; max-width: none; color: var(--yellow); overflow: visible; }
/* spin the text inside the SVG: rotating the SVG box itself widens the page at 45 degrees */
.seal .ring text { transform-box: view-box; transform-origin: 50% 50%; animation: spin 40s linear infinite; }
.on-white .seal .ring, .on-paper .seal .ring { color: var(--blue-2); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal .ring text { animation: none; } }

/* ---------- quote ---------- */
.quote { font-size: clamp(28px, 3.4vw, 50px); letter-spacing: -0.01em; line-height: 1.12; font-weight: 500; max-width: 22ch; margin: 0 0 32px; }
.quote::before { content: "“"; display: block; font-family: var(--font-accent); color: var(--orange); font-size: 1.6em; line-height: .6; margin-bottom: 18px; }
.byline { display: flex; align-items: center; gap: 16px; }
.byline .mono { width: 56px; height: 56px; }
.byline b { display: block; font-weight: 600; }
.byline span { color: var(--ink-3); font-size: 15px; }
.on-blue .byline span { color: rgba(255,255,255,.6); }

/* monogram (used until approved founder photography is supplied) */
.mono { border-radius: 50cqw 50cqw 14px 14px; background: var(--blue-2); color: #fff; display: grid; place-items: center; font-weight: 600; letter-spacing: -0.01em; container-type: inline-size; }
.mono.o { background: var(--orange); }

/* ---------- CTA band ---------- */
.cta-band { border-radius: calc(var(--radius) + 8px); padding: clamp(40px, 6vw, 88px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; overflow: hidden; position: relative; isolation: isolate; }
.cta-band .h2 { margin-bottom: 18px; }
.cta-band .btns { justify-content: flex-end; }
.cta-band .ripple { width: 900px; right: -300px; top: -300px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btns { justify-content: flex-start; } }

/* ---------- facts / specs ---------- */
.specs { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs div { padding: 26px 22px 26px 0; }
.specs div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.specs dt { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.specs dd { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.35; }
.on-blue .specs { border-color: var(--line-light); }
.on-blue .specs div + div { border-color: var(--line-light); }
.on-blue .specs dt { color: rgba(255,255,255,.55); }
@media (max-width: 1000px) { .specs { grid-template-columns: 1fr 1fr; } .specs div, .specs div + div { padding: 20px 16px 20px 0; border-left: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .specs { grid-template-columns: 1fr; } }

/* content lists */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.ticks li::before { content: ""; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: var(--blue-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.on-blue .ticks li::before { background-color: var(--orange); }
.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.module { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px 26px; }
.module h4 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 6px; }
.module p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 700px) { .modules { grid-template-columns: 1fr; } }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.five { grid-template-columns: repeat(5, 1fr); }
.cards.five .card { padding: 24px; }
.cards.five h3 { font-size: 19px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 22px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.on-blue .card { background: rgba(255,255,255,.05); border-color: var(--line-light); }
.on-blue .card p { color: rgba(255,255,255,.72); }
@media (max-width: 1000px) { .cards, .cards.four { grid-template-columns: 1fr 1fr; } .cards.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .cards, .cards.two, .cards.four { grid-template-columns: 1fr; } .cards.five { grid-template-columns: 1fr 1fr; } }

/* flow (marketplace job) */
.flow { list-style: none; margin: 0; padding: 0; position: relative; }
.flow li { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 0 0 40px; position: relative; }
.flow li::after { content: ""; position: absolute; left: 27px; top: 60px; bottom: 6px; width: 2px; background: repeating-linear-gradient(to bottom, rgba(255,255,255,.3) 0 4px, transparent 4px 10px); }
.flow li:last-child { padding-bottom: 0; } .flow li:last-child::after { display: none; }
.flow h3 { font-size: 22px; margin: 12px 0 8px; }
.flow p { margin: 0; color: rgba(255,255,255,.74); max-width: 52ch; }
.on-paper .flow li::after, .on-white .flow li::after { background: repeating-linear-gradient(to bottom, rgba(18,14,58,.2) 0 4px, transparent 4px 10px); }
.on-paper .flow p, .on-white .flow p { color: var(--ink-2); }

/* metric targets */
.targets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.target { border-radius: var(--radius); padding: 32px 28px; background: rgba(255,255,255,.06); border: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 10px; min-height: 280px; }
.target .lbl { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.target .num { font-size: clamp(44px, 4.6vw, 68px); font-weight: 600; letter-spacing: -0.01em; line-height: 1; margin-top: auto; }
.target p { margin: 0; color: rgba(255,255,255,.72); font-size: 15px; }
@media (max-width: 1000px) { .targets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .targets { grid-template-columns: 1fr; } .target { min-height: 0; } }

/* status timeline */
.status { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.status li { padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.status .st { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 26px; }
.status .st::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.status .st.next::before { background: var(--yellow); }
.status .st.later::before { background: var(--ink-3); opacity: .5; }
.status h3 { font-size: 20px; margin-bottom: 8px; }
.status p { margin: 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 1000px) { .status { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .status { grid-template-columns: 1fr; } }

/* founders */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.founder { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 44px); display: grid; grid-template-columns: 120px 1fr; gap: 28px; }
.founder .mono { width: 120px; aspect-ratio: 4 / 5; font-size: 40px; align-self: start; }
.founder h3 { font-size: 26px; margin-bottom: 4px; }
.founder .role { color: var(--blue-2); font-weight: 600; font-size: 15px; margin-bottom: 18px; display: block; }
.founder p { color: var(--ink-2); font-size: 15.5px; }
.founder .brings { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--paper); font-size: 15px; color: var(--ink); }
.founder .brings b { color: var(--orange-deep); font-weight: 600; }
@media (max-width: 1000px) { .founders { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .founder { grid-template-columns: 1fr; } .founder .mono { width: 96px; font-size: 32px; } }

/* values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: v; }
.value { padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line-light); background: rgba(255,255,255,.05); }
.value::before { counter-increment: v; content: counter(v); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--blue-1); font-weight: 600; margin-bottom: 40px; }
.value:first-child { background: var(--orange-ui); border-color: var(--orange-ui); }
.value:first-child::before { background: #fff; color: var(--orange); }
.value h3 { font-size: 21px; margin-bottom: 10px; }
.value p { margin: 0; font-size: 15px; color: rgba(255,255,255,.75); }
.value:first-child p { color: rgba(255,255,255,.92); }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 56px 26px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23120E3A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--yellow); }
.faq .ans { padding: 0 56px 28px 0; color: var(--ink-2); max-width: 70ch; }

/* ---------- forms ---------- */
.form-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.form-card { background: var(--white); border-radius: calc(var(--radius) + 6px); padding: clamp(26px, 4vw, 56px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; }
.field .hint { font-size: 13px; color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: 14px; padding: 15px 16px; width: 100%;
  transition: border-color .25s, background .25s, box-shadow .25s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23120E3A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue-2); background: #fff; box-shadow: 0 0 0 4px rgba(39,28,193,.12); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red); }
.field .err { color: var(--red); font-size: 13px; display: none; }
.field.has-err .err { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--paper); border: 1.5px solid transparent; font-size: 15px; font-weight: 500; transition: all .2s; }
.chip input:checked + span { background: var(--blue-2); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--ink-2); }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue-2); }
.consent.has-err { color: var(--red); }
.consent.has-err input { outline: 2px solid var(--red); outline-offset: 2px; }
.notice { margin-top: 22px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--paper); font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.notice b { color: var(--ink); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.form-ok { display: none; text-align: left; }
.form-ok .ico-round { margin-bottom: 20px; background: var(--green); }
form.is-sent { display: none; }
form.is-sent + .form-ok { display: block; }
@media (max-width: 900px) { .form-shell { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* side info list */
.info-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 4px; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.info-list .ico-round { width: 44px; height: 44px; }
.info-list .ico-round svg { width: 20px; height: 20px; }
.info-list a { font-weight: 600; text-decoration: none; color: var(--blue-2); }

/* prose (legal) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 56px 0 16px; }
.prose h3 { font-size: 20px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--blue-2); font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); background: var(--paper-2); }
.toc { position: sticky; top: 110px; display: grid; gap: 4px; font-size: 15px; }
.toc a { color: var(--ink-2); text-decoration: none; padding: 6px 0; }
.toc a:hover { color: var(--blue-2); }
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 64px; }
@media (max-width: 900px) { .legal-grid { grid-template-columns: 1fr; } .toc { display: none; } }

/* note strip */
.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--radius-sm); background: rgba(255,174,0,.16); border: 1px solid rgba(255,174,0,.4); font-size: 15px; color: var(--ink); }
.note .ico-round { width: 32px; height: 32px; background: var(--yellow); color: var(--blue-1); }
.note .ico-round svg { width: 16px; height: 16px; }
.on-blue .note { background: rgba(255,174,0,.12); color: #fff; border-color: rgba(255,174,0,.3); }

/* pill status */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.12); color: #fff; margin-bottom: 26px; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255,174,0,.25); animation: pulse 2.4s infinite; }
.pill.dark { background: rgba(39,28,193,.08); color: var(--blue-2); }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255,174,0,0); } }

/* ---------- footer ---------- */
.site-footer { background: var(--blue-ink); color: rgba(255,255,255,.72); padding: clamp(64px, 8vw, 110px) 0 32px; position: relative; overflow: hidden; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr; gap: 40px; padding-bottom: 64px; border-bottom: 1px solid var(--line-light); }
.site-footer .brand svg { height: 40px; }
.site-footer .tagline { font-family: var(--font-accent); color: var(--yellow); font-size: 30px; margin: 22px 0 14px; line-height: 1; }
.site-footer p { font-size: 15px; max-width: 34ch; }
.site-footer h2 { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .contact a { color: #fff; font-weight: 500; }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 14px; }
.site-footer .bottom ul { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer .giant { font-weight: 600; letter-spacing: -0.01em; font-size: clamp(80px, 19vw, 300px); line-height: .8; color: rgba(255,255,255,.04); margin: 48px 0 -0.12em; white-space: nowrap; user-select: none; }
@media (max-width: 1100px) { .site-footer .top { grid-template-columns: 1fr 1fr 1fr; } .site-footer .top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .site-footer .top { grid-template-columns: 1fr 1fr; } .site-footer .top > :last-child { grid-column: 1 / -1; } }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-s { margin-top: 24px; } .mt-m { margin-top: 48px; } .mt-l { margin-top: clamp(56px, 7vw, 96px); }
.center { text-align: center; }
.maxw-60 { max-width: 60ch; }

/* ---------- home hero: light, pinned, cut-out technician ---------- */
.hero--light { background: var(--paper); color: var(--ink); padding-top: 120px; min-height: 100vh; min-height: 100svh; display: flex; align-items: stretch; }
.hero--light > .wrap { display: grid; }
.hero--light .grid { align-items: stretch; }
.hero--light .copy { align-self: center; padding: 24px 0 64px; }
.hero--light .lead { color: var(--ink-2); }
.hero--light .crayon { color: var(--orange-deep); }
.hero--light .display { color: var(--blue-1); }
.hero--light .btn--ghost { --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.hero--light .pill.dark::before { background: var(--orange); box-shadow: 0 0 0 4px rgba(255,90,0,.18); }

.stage { position: relative; align-self: end; height: min(78vh, 760px); min-height: 520px; }
.stage-arch {
  position: absolute; left: 6%; right: 6%; bottom: 0; top: 14%;
  border-radius: 999px 999px 0 0; background: var(--blue-2);
  background-image: radial-gradient(circle at center, rgba(255,255,255,.12) 2.2px, transparent 2.6px), linear-gradient(160deg, var(--blue-3), var(--blue-1));
  background-size: 22px 22px, 100% 100%;
  transform-origin: 50% 100%;
}
.stage-arch::after { content: ""; position: absolute; inset: -14px -14px 0 -14px; border: 1.5px solid rgba(255,174,0,.7); border-bottom: 0; border-radius: 999px 999px 0 0; }
.stage-subject { position: absolute; inset: 0; transform-origin: 50% 22%; will-change: transform; }
.stage-poster, .stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
.stage-canvas { opacity: 0; }
.stage.is-live .stage-canvas { opacity: 1; }
.stage.is-live .stage-poster { opacity: 0; }
.hero--light .hero-badge { left: -8px; bottom: 64px; }
/* Phones and tablets: the hero is exactly one screen so it can pin; her stage takes the space the copy leaves */
@media (max-width: 900px) {
  .hero--light { height: 100vh; height: 100svh; min-height: 560px; padding-top: 96px; display: flex; }
  .hero--light > .wrap { display: flex; flex-direction: column; height: 100%; }
  .hero--light .grid { display: flex; flex-direction: column; gap: 12px; flex: 1; min-height: 0; }
  .hero--light .copy { padding: 0; align-self: stretch; }
  .hero--light .pill { margin-bottom: 12px; }
  .hero--light .display { font-size: clamp(30px, 9.4vw, 56px); margin-bottom: 12px; }
  .hero--light .lead { font-size: 15px; margin-bottom: 16px; }
  .hero--light .btns { flex-wrap: wrap; gap: 8px; }
  .hero--light .btns .btn { padding: 12px 16px; font-size: 14px; }
  .hero--light .btns .btn .arr { display: none; }
  .stage { flex: 1; height: auto; min-height: 220px; width: 100%; max-width: 440px; margin: 0 auto; }
  .hero--light .hero-badge { display: none; }
}
@media (max-width: 360px) { .hero--light .lead { display: none; } }
/* soften the frame edge where the source camera's push-in crops her shoulder */
.stage-subject { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }

/* ---------- audit round 2 ---------- */
.lead-short { display: none; }
.hero-facts { margin: 18px 0 0; font-size: 14px; color: var(--ink-3); }
.sub-head { margin: clamp(56px, 6vw, 88px) 0 24px; }
.nav-tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--yellow); color: var(--blue-ink); font-size: 10.5px; font-weight: 600; letter-spacing: .04em; vertical-align: 2px; }
.journey .get { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-light); font-size: 14px; font-weight: 500; color: var(--yellow); line-height: 1.4; }
.journey li:last-child .get { color: #fff; border-color: rgba(255,255,255,.35); }
.journey li::before { margin-bottom: 28px; }
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-2); padding-top: 3px; }
.facts dd { margin: 0; color: var(--ink-2); }
.chain h3 { font-size: 20px; line-height: 1.2; }
.specs--eight { grid-template-columns: repeat(4, 1fr); }
.specs--eight div:nth-child(4n + 1) { padding-left: 0; border-left: 0; }
.specs--eight div:nth-child(n + 5) { border-top: 1px solid var(--line); }
.specs--three { grid-template-columns: repeat(3, 1fr); }
.specs--three div:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.specs--three div:nth-child(n + 4) { border-top: 1px solid var(--line); }
@media (max-width: 1000px) { .specs--three { grid-template-columns: 1fr 1fr; } .specs--three div:nth-child(n) { border-top: 0; } }
@media (max-width: 520px) { .specs--three { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .specs--eight { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .specs--eight { grid-template-columns: 1fr; } .facts div { grid-template-columns: 1fr; gap: 4px; } }
@media (max-width: 900px) {
  .hero--light .lead-long { display: none; }
  .hero--light .lead-short { display: inline; }
  .hero--light .hero-facts { display: none; }
}
@media (max-width: 1080px) { .nav-tag { font-size: 12px; vertical-align: 6px; } }

/* ---------- review round 3 ---------- */
/* Nav: brand | centred links | CTA; equal side padding keeps the links on the page centre */
.site-header .bar { display: grid; grid-template-columns: 1fr auto 1fr; padding: 0 12px 0 16px; }
.site-header .brand { padding-left: 4px; }
.site-header .brand { justify-self: start; }
.site-header .nav { justify-self: center; }
.site-header .nav-cta { justify-self: end; padding: 12px 20px; font-size: 15px; }
.site-header .nav-cta:hover { background: var(--orange-ui-deep); }
@media (min-width: 1081px) { .nav .btn { display: none; } }
@media (max-width: 1080px) {
  .site-header .bar { grid-template-columns: 1fr auto; }
  .site-header .nav-cta { display: none; }
  .menu-btn { justify-self: end; }
}

/* Hero: her head lines up with the top of the headline; she fills the stage from head to waist */
.hero--light > .wrap.grid { grid-template-rows: 1fr; }
.hero--light .copy { align-self: start; padding: clamp(16px, 4vh, 56px) 0 56px; }
.hero--light .stage { align-self: stretch; height: auto; min-height: 480px; margin-top: calc(clamp(16px, 4vh, 56px) + 63px); }
.stage-poster { object-fit: cover; object-position: 50% 0; }
.stage-arch { top: 18%; }
@media (max-width: 900px) {
  .hero--light .stage { margin-top: 4px; min-height: 260px; }
}

/* Home strip on phones: the first item gives its space to the hero */
@media (max-width: 900px) {
  .benefits--home li:first-child { display: none; }
  .benefits--home li:nth-child(3) { border-top: 0; }
}
@media (max-width: 520px) {
  .benefits--home li:nth-child(2) { border-top: 0; }
  .benefits--home li:nth-child(3) { border-top: 1px solid rgba(12,6,69,.14); }
}

/* Footer wordmark: full bleed, touching both edges */
.site-footer .giant { display: block; width: 100%; height: auto; max-width: none; margin: 56px 0 -1px; color: rgba(255,255,255,.05); font-size: inherit; letter-spacing: 0; line-height: 1; white-space: normal; }
.site-footer { padding-bottom: 0; }
.site-footer .bottom { padding-bottom: 8px; }

/* Job-flow timeline: outlined icons that light up as the progress line reaches them */
.flow .ico-round, .flow .ico-round.o, .flow .ico-round.l { background: transparent; color: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); transition: color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease); }
.flow li.is-on .ico-round { color: var(--yellow); box-shadow: inset 0 0 0 2px var(--yellow); transform: scale(1.06); }
.flow { position: relative; }
.flow-progress { position: absolute; left: 27px; width: 2px; background: var(--yellow); transform-origin: top; transform: scaleY(0); z-index: 1; pointer-events: none; }
.flow li { position: relative; z-index: 2; }
/* "no fill" to the eye: icons take the section's own blue so the progress line passes behind them */
.flow li .ico-round, .flow li .ico-round.o, .flow li .ico-round.l { background: var(--blue-1); }
.flow.is-animated li > div { opacity: .4; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.flow.is-animated li.is-on > div { opacity: 1; transform: none; }

/* side heading stays in view beside a long list, on wide screens only */
@media (min-width: 861px) { .sticky-col { position: sticky; top: 120px; } }

/* ---------- review round 4: compact phone hero so she shows to the waist ---------- */
@media (max-width: 900px) {
  .hero--light { padding-top: 86px; }
  .hero--light .pill { font-size: 11.5px; padding: 6px 12px; margin-bottom: 10px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .hero--light .display { font-size: clamp(27px, 8vw, 46px); line-height: 1; margin-bottom: 8px; }
  .hero--light .lead { font-size: 14px; line-height: 1.45; margin-bottom: 14px; }
  .hero--light .btns { flex-wrap: nowrap; gap: 8px; }
  .hero--light .btns .btn { padding: 11px 14px; font-size: 13.5px; white-space: nowrap; }
  .hero--light .stage { min-height: 320px; margin-top: 0; }
}
@media (max-width: 359px) { .hero--light .btns { flex-wrap: wrap; } }
/* spam trap: invisible to people, filled in by bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* founder headshot added in the admin replaces the monogram */
.mono.mono-photo { object-fit: cover; aspect-ratio: 4 / 5; padding: 0; background: var(--paper-2); }

/* =====================================================================
   BRAND V2 — Kalvia Brand Book 2026
   ===================================================================== */

/* ---- official logos (inline SVG; mark and wordmark recoloured only to brand values) ---- */
.logo { display: block; height: 34px; width: auto; }
.logo--sub { height: 58px; margin: -6px 0; }
.logo .lk-mark { fill: #271CC1; }
.logo .lk-word { fill: #000; }
.brand { color: inherit; }

/* ---- nav: white pill with the full-colour lockup (Brand Book p47) ---- */
.site-header .bar {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(10, 2, 80, .35);
}
.site-header.is-solid .bar { background: rgba(255, 255, 255, .98); }
.menu-btn { background: var(--blue-1-7); color: var(--ink); }
@media (min-width: 1081px) {
  .nav a { color: var(--ink-2); }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--blue-2); background: var(--blue-2-7); }
}
/* small orange buttons carry Blue 3 text (AA at any size); 19px bold ones keep white */
.site-header .nav-cta, .nav .btn { color: var(--on-orange); }
@media (max-width: 1080px) {
  .menu-open .logo .lk-mark, .menu-open .logo .lk-word { fill: #fff; }
  .menu-open .menu-btn { color: #fff; }
  .nav .btn { font-size: 19px; }
}

/* ---- footer: all-white lockup; full-width watermark lockup in Blue 1 on Blue 3 ---- */
.site-footer .brand .logo { height: 40px; }
.site-footer .brand .lk-mark, .site-footer .brand .lk-word { fill: #fff; }
.site-footer .giant { display: block; width: 100%; margin: 56px 0 0; line-height: 0; font-size: 0; }
.site-footer .giant .logo { width: 100%; height: auto; }
.site-footer .giant .lk-mark, .site-footer .giant .lk-word { fill: var(--blue-1); }

/* ---- brand patterns: the official Perforated Wall and Ripple artwork, tinted by mask ---- */
.perforated::before {
  inset: auto -3% -8% auto; width: min(34vw, 460px); aspect-ratio: 1836 / 2496;
  background: rgba(255, 255, 255, .08);
  -webkit-mask: url("/assets/brand/patterns/pattern_the_perforated_wall.svg") center / contain no-repeat;
          mask: url("/assets/brand/patterns/pattern_the_perforated_wall.svg") center / contain no-repeat;
}
.perforated--ink::before { background: rgba(39, 28, 193, .08); }
/* the cluster sits partly past the edge; clip (not hidden) keeps sticky children working */
.perforated { overflow-x: clip; }
.ripple {
  aspect-ratio: 2112 / 2628; border-radius: 0; opacity: .9;
  background: var(--orange);
  -webkit-mask: url("/assets/brand/patterns/texture_the_ripple_white_1.svg") center / contain no-repeat;
          mask: url("/assets/brand/patterns/texture_the_ripple_white_1.svg") center / contain no-repeat;
}
.ripple--ink { background: var(--blue-2); opacity: .25; }
.cta-band .ripple { width: 300px; right: -120px; top: auto; bottom: -150px; opacity: .55; z-index: -1; }
.cta-band > div { position: relative; z-index: 1; }

/* ---- home hero inside the Brand Book's blue panel with a yellow Access arch (p47) ---- */
.hero--light.hero--panel { padding-top: 100px; background: var(--paper); color: #fff; }
.hero--panel > .wrap.grid {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--blue-1); border-radius: 32px 32px 0 0;
  padding: clamp(24px, 4vw, 64px) clamp(20px, 4vw, 64px) 0;
  max-width: calc(var(--maxw) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); margin: 0 auto;
}
.hero--panel > .wrap.grid::before {   /* perforated wall cluster, low in the panel */
  content: ""; position: absolute; z-index: -1; left: -6%; bottom: -18%; width: 28%; aspect-ratio: 1836 / 2496;
  background: rgba(255, 255, 255, .06);
  -webkit-mask: url("/assets/brand/patterns/pattern_the_perforated_wall.svg") center / contain no-repeat;
          mask: url("/assets/brand/patterns/pattern_the_perforated_wall.svg") center / contain no-repeat;
}
.hero--light.hero--panel .display { color: #fff; }
.hero--light.hero--panel .crayon { color: var(--yellow); }
.hero--light.hero--panel .lead { color: rgba(255, 255, 255, .82); }
.hero--light.hero--panel .hero-facts { color: rgba(255, 255, 255, .7); }
.hero--light.hero--panel .btn--ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.hero--light.hero--panel .btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.hero--light.hero--panel .btn--ghost .arr { background: rgba(255, 255, 255, .12); }
.hero--light.hero--panel .pill { background: rgba(255, 255, 255, .12); color: #fff; }
.hero--panel .stage-arch { background: var(--yellow); background-image: none; }
.hero--panel .stage-arch::after { border-color: rgba(255, 255, 255, .35); }
.benefits--home { background: transparent; }
.benefits--home > .wrap { padding: 0; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--maxw) - 2 * var(--gutter)); }
.benefits--home ul { background: var(--yellow); border-radius: 0 0 32px 32px; padding: 0 clamp(20px, 4vw, 64px); }
@media (max-width: 900px) {
  .hero--light.hero--panel { padding-top: 84px; }
  .hero--panel > .wrap.grid { border-radius: 24px 24px 0 0; padding: 20px 18px 0; flex: 0 0 calc(100% - 2 * var(--gutter)); }
  .benefits--home ul { border-radius: 0 0 24px 24px; padding: 0 18px; }
  .hero--light .btns .btn:not(.btn--ghost) { color: var(--on-orange); }
}

/* ---- orange panels: copy in Blue 3 ---- */
.journey li:last-child, .journey li:last-child h3, .journey li:last-child p, .journey li:last-child .get,
.journey li:last-child::before { color: var(--on-orange); }
.journey li:last-child .get { border-color: rgba(10, 2, 80, .3); }
.journey li:last-child { background: var(--orange); border-color: var(--orange); }
.value:first-child { background: var(--orange); border-color: var(--orange); }
.value:first-child h3, .value:first-child p { color: var(--on-orange); }
.value:first-child::before { background: var(--blue-ink); color: #fff; }

/* ---- prosperity chain closing line ---- */
.chain-close { margin: 36px 0 0; max-width: 38ch; font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.3; color: var(--yellow); }

/* ---- SOAT crest on an Access arch with the Ripple behind (Brand Book p28) ---- */
.crest-stage { position: relative; width: min(84%, 420px); aspect-ratio: 4 / 5; margin: 0 auto; display: grid; place-items: center;
  background: var(--blue-2-7); border-radius: 50% 50% 28px 28px / 40% 40% 28px 28px; overflow: hidden; }
.crest-stage .ripple-bg { position: absolute; inset: 8% 6% -10%; background: var(--blue-2); opacity: .16;
  -webkit-mask: url("/assets/brand/patterns/texture_the_ripple_white_1.svg") center / contain no-repeat;
          mask: url("/assets/brand/patterns/texture_the_ripple_white_1.svg") center / contain no-repeat; }
.crest-stage img { position: relative; width: 50%; height: auto; filter: drop-shadow(0 18px 24px rgba(10, 2, 80, .18)); }
.soat-lockup { width: min(100%, 520px); height: auto; margin-left: auto; }

/* ---- positioning pills (Brand Book p11) ---- */
.pills { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pill-bar { display: flex; align-items: center; gap: 18px; padding: 18px 28px; border-radius: 999px; font-weight: 600; font-size: clamp(16px, 1.4vw, 19px); color: #fff; }
.pill-bar i { flex: 1; height: 1.5px; background: currentColor; opacity: .55; }
.pill-bar.passion { background: var(--passion); }
.pill-bar.yellow { background: var(--yellow); color: var(--on-orange); }
.pill-bar.blue { background: var(--blue-2); }
.pill-bar.green { background: var(--green-2); }

/* ---- full-bleed colour openers with a large numeral (Brand Book p2, p13, p40) ---- */
.on-green { background: var(--green-2); color: #fff; }
.on-green .lead, .on-green p { color: rgba(255, 255, 255, .86); }
.on-green .eyebrow { color: #fff; }
.on-green .eyebrow::before { background: var(--yellow); }
.on-green .value { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); }
.on-green .value p { color: rgba(255, 255, 255, .86); }
.on-green .value:first-child p { color: var(--on-orange); }
.opener { position: relative; overflow: hidden; }
.opener-num { position: absolute; right: var(--gutter); top: 8px; font-size: clamp(120px, 20vw, 300px); font-weight: 300; line-height: 1;
  letter-spacing: -0.01em; color: rgba(255, 255, 255, .12); pointer-events: none; }
.values { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---- brand film (About) ---- */
.brand-film { border-radius: var(--radius); overflow: hidden; background: var(--blue-ink); aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.brand-film video { width: 100%; height: 100%; object-fit: cover; }
.film-text { margin-top: 18px; color: rgba(255, 255, 255, .82); max-width: 75ch; }
.film-text summary { cursor: pointer; font-weight: 600; color: #fff; }
.film-text p { margin: 12px 0 0; }

/* ---- 3D illustrations (Brand Book p39) ---- */
.pillar .obj { width: 112px; height: 112px; object-fit: contain; margin: -18px 0 -6px -10px; }

/* hero copy sized so the buttons stay above the yellow strip on 900px-tall screens */
.hero--light.hero--panel .display { font-size: clamp(38px, 5vw, 76px); margin-bottom: 18px; }
.hero--light.hero--panel .lead { max-width: 52ch; font-size: clamp(16px, 1.25vw, 19px); margin-bottom: 26px; }
.hero--light.hero--panel .copy { padding-bottom: 40px; }
.hero--light.hero--panel .pill { margin-bottom: 18px; }
@media (min-width: 901px) and (max-height: 820px) {
  .hero--light.hero--panel .display { font-size: clamp(36px, 4.4vw, 64px); }
  .hero--light.hero--panel .hero-facts { display: none; }
}

/* grid/flex children may shrink below their content; long 19px button labels may wrap */
.form-shell > *, .split > *, .section-head > * { min-width: 0; }
.form-actions .btn, .cta-band .btn { white-space: normal; text-align: left; }

/* ---- home hero v3: the learners, cut out, in the blue panel ---- */
.hero--crew { min-height: 0; }
.crew { position: relative; }
@media (min-width: 901px) {
  /* copy on the left; the learners stand at the bottom right of the panel, slightly overlapping it */
  .hero--crew > .wrap.grid { display: block; min-height: clamp(600px, calc(100svh - 160px), 780px); }
  .hero--crew .copy { position: relative; z-index: 2; max-width: min(580px, 46%); padding: clamp(24px, 5vh, 56px) 0 clamp(40px, 6vh, 64px); }
  .crew { position: absolute; right: 0; bottom: 0; width: 54%; }
  .hero--light.hero--crew .display { font-size: clamp(40px, 4.4vw, 68px); }
  .hero--crew .btns { gap: 10px; }
  .hero--crew .btns { flex-wrap: nowrap; }
  .hero--crew .btns .btn { font-size: 17px; padding-left: 20px; padding-right: 8px; gap: 10px; }
  .hero--crew .btns .btn:not(.btn--ghost) { color: var(--on-orange); }   /* Blue 3 on orange: AA at any size */
  .hero--crew .lead-long { display: none; }
  .hero--crew .lead-short { display: inline; }
  .crew-img { width: 100%; margin-left: 0; }
}
.crew-arch {
  position: absolute; left: 31%; right: 27%; top: 6%; bottom: 0; z-index: 0;
  background: var(--yellow); border-radius: 999px 999px 0 0; transform-origin: 50% 100%;
}
.crew-arch::after { content: ""; position: absolute; inset: -14px -14px 0; border: 1.5px solid rgba(255, 255, 255, .35); border-bottom: 0; border-radius: inherit; }
.crew-img {
  position: relative; z-index: 1; display: block; width: 112%; max-width: none; height: auto; margin-left: -12%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%); mask-image: linear-gradient(90deg, transparent 0, #000 9%);
}
.hero--crew .hero-badge { left: auto; right: 3%; top: 2%; bottom: auto; }
@media (max-width: 900px) {
  .hero--light.hero--crew { height: auto; min-height: 0; }
  .hero--crew > .wrap.grid { display: flex; flex-direction: column; }
  .hero--crew .copy { padding: 4px 0 8px; }
  .crew { margin: 8px -18px 0; }
  .crew-img { width: 116%; margin-left: -8%; -webkit-mask-image: none; mask-image: none; }
  .crew-arch { left: 33%; right: 29%; top: 4%; }
  .hero--crew .hero-badge { display: none; }
}

/* Intro: copy rises in line by line, the arch grows, then the learners step up */
@media (prefers-reduced-motion: no-preference) {
  .hero--crew .copy > * { animation: rise .9s var(--ease) both; }
  .hero--crew .copy > :nth-child(2) { animation-delay: .08s; }
  .hero--crew .copy > :nth-child(3) { animation-delay: .16s; }
  .hero--crew .copy > :nth-child(4) { animation-delay: .24s; }
  .hero--crew .copy > :nth-child(5) { animation-delay: .32s; }
  .crew-arch { animation: grow 1.1s var(--ease) .1s both; }
  .crew-img { animation: rise 1.2s var(--ease) .25s both; }
  .hero--crew .hero-badge { animation: rise .9s var(--ease) .7s both, float 7s ease-in-out 1.6s infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes grow { from { transform: scaleY(.2); opacity: 0; } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* "Why Kalvia exists": the scroll-scrubbed technician */
.stage--scrub { align-self: center; height: clamp(460px, 48vw, 640px); min-height: 0; margin: 0; }
.stage--scrub .stage-arch { top: 14%; }
@media (max-width: 860px) { .stage--scrub { height: 480px; width: 100%; max-width: 440px; margin: 0 auto; } }

/* ---- small motion that keeps the page alive ---- */
@media (prefers-reduced-motion: no-preference) {
  /* photos unveil upwards and settle */
  .img-rise.reveal { opacity: 1; transform: none; clip-path: inset(16% 0 0 0); transition: clip-path 1.1s var(--ease); }
  .img-rise.reveal.in { clip-path: inset(0); }
  .img-rise img { transition: transform 1.4s var(--ease); }
  .img-rise:not(.in) img { transform: scale(1.1); }
  /* 3D trade objects bob gently, each on its own beat */
  .pillar .obj { animation: float 6s ease-in-out infinite; }
  .pillar:nth-child(2) .obj { animation-delay: -2s; }
  .pillar:nth-child(3) .obj { animation-delay: -4s; }
  .pillar:hover .obj { animation-play-state: paused; transform: rotate(-6deg) scale(1.06); transition: transform .5s var(--ease); }
  /* the Ripple turns very slowly */
  /* the SOAT crest breathes */
  .crest-stage img { animation: breathe 6s ease-in-out infinite; }
  /* card arrows already nudge on hover; cards also lift a touch */
  .prog { transition: transform .45s var(--ease); }
  .prog:hover { transform: translateY(-4px); }
}
@keyframes breathe { 50% { transform: scale(1.03); } }

/* Two Access arches behind the learners, no outline */
.crew-arch::after { content: none; }
.crew-arch--a { left: 6%;  right: 66%; top: -2%; }
.crew-arch--b { left: 36%; right: 35%; top: -16%; animation-delay: .18s; }
.crew-arch--c { left: 67%; right: 4%;  top: -6%;  animation-delay: .3s; }
@media (max-width: 900px) {
  .crew-arch--a { left: 6%;  right: 66%; top: 0; }
  .crew-arch--b { left: 36%; right: 35%; top: -12%; }
  .crew-arch--c { left: 67%; right: 5%;  top: -4%; }
}

/* Perforated Wall, faint, at the top right of the hero panel */
.hero--crew > .wrap.grid::after {
  content: ""; position: absolute; z-index: -1; top: -12%; right: -5%; width: 34%; aspect-ratio: 1836 / 2496;
  background: rgba(255, 255, 255, .07);
  -webkit-mask: url("/assets/brand/patterns/pattern_the_perforated_wall.svg") center / contain no-repeat;
          mask: url("/assets/brand/patterns/pattern_the_perforated_wall.svg") center / contain no-repeat;
  transform: rotate(180deg);
}
@media (max-width: 900px) { .hero--crew > .wrap.grid::after { width: 62%; top: -8%; right: -18%; } }

/* Badge sits low, by the clipboard, so it never covers a face */
@media (min-width: 901px) {
  .hero--crew .hero-badge { top: auto; right: auto; left: -4%; bottom: 7%; }
}

/* Card photos crop from the top so faces stay in frame */
.door img { object-position: 50% 12%; }

/* Five steps: progress line with a dot over each step (desktop, driven by journey.js) */
.journey-track { display: none; }
@media (min-width: 1101px) {
  .journey-track { display: block; position: relative; height: 2px; margin: 0 10% 30px; background: rgba(255, 255, 255, .16); }
  .journey-fill { position: absolute; inset: 0; background: var(--yellow); transform-origin: 0 50%; }
  .journey-track i { position: absolute; top: -6px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
    background: var(--blue-1); box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); transform: scale(.75); }
}

/* ================= Home hero v4: the brand identity team's layout ================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hk-hero { position: relative; z-index: 1; overflow: hidden; background: var(--blue-1); color: #fff; border-radius: 0 0 40px 40px; padding: 130px 0 0; }
.hk-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; gap: 40px; min-height: calc(100svh - 130px); }
.hk-copy { position: relative; z-index: 2; padding-bottom: clamp(60px, 10vh, 120px); }
.hk-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--yellow); font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.hk-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.hk-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.05; letter-spacing: -0.01em; margin: 0; }
.hk-prof { display: inline; }
.hk-rotator { display: inline-grid; vertical-align: bottom; max-width: 100%; }
.hk-rotator > span { grid-area: 1 / 1; color: var(--yellow); min-width: 0; overflow-wrap: anywhere; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.hk-rotator > span:not(.on) { opacity: 0; transform: translateY(40%); }
.hk-rotator > span.out { opacity: 0; transform: translateY(-40%); }
.hk-lede { max-width: 34em; margin: 24px 0 36px; color: rgba(255, 255, 255, .86); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.hk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hk-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 14px 26px; border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: transform .3s var(--ease), background .3s; }
.hk-btn:hover { transform: translateY(-2px); }
.hk-btn--orange { background: var(--orange); color: var(--on-orange); }
.hk-btn--ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.hk-btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.hk-note { margin: 18px 0 0; color: rgba(255, 255, 255, .78); font-size: .9rem; }
.hk-motion { display: block; min-height: 44px; margin-top: 4px; padding: 10px 4px; border: 0; background: none; color: #fff; font: inherit; font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.hk-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; align-self: stretch; }
.hk-arch { position: absolute; bottom: 0; left: 50%; translate: -50%; width: min(86%, 470px); aspect-ratio: 5 / 6; background: var(--yellow); border-radius: 999px 999px 0 0; }
.hk-ripple { position: absolute; inset: auto 0 0 50%; translate: -50%; width: min(150%, 900px); aspect-ratio: 1; pointer-events: none; }
.hk-ripple path { fill: none; stroke: var(--blue-2); stroke-width: 2; }
.hk-photo { position: relative; z-index: 2; flex-shrink: 0; width: min(130%, 720px); max-width: none; height: auto; object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(10, 2, 80, .35)); transform: translateY(var(--py, 0px)); transition: transform .1s linear; }
.hk-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: #fff; color: var(--blue-1);
  font-size: .85rem; font-weight: 600; box-shadow: 0 14px 30px rgba(10, 2, 80, .25); animation: float 6s ease-in-out infinite; }
.hk-chip .dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; }
.hk-chip--1 { bottom: 56%; left: -2%; }
.hk-chip--2 { bottom: 14%; right: -2%; animation-delay: -3s; }
.hk-tag { position: absolute; z-index: 3; top: 18%; right: 6%; transform: rotate(-8deg); color: var(--yellow); font-family: var(--font-accent); font-size: clamp(1.4rem, 2.4vw, 2rem); }
@media (max-width: 920px) {
  .hk-hero { padding-top: 110px; border-radius: 0 0 28px 28px; }
  .hk-grid { grid-template-columns: 1fr; gap: 0; min-height: calc(100svh - 110px); align-content: space-between; }
  .hk-copy { padding-bottom: 24px; }
  .hk-visual { min-height: clamp(280px, 70vw, 420px); }
  .hk-arch { max-height: 100%; }
  .hk-photo { width: min(115%, 720px); }
  .hk-tag { display: none; }
  .hk-chip--1 { bottom: 34%; left: 0; }
  .hk-chip--2 { right: 0; }
  .hk-rotator > span:not(:first-child) { display: none; }
  .hk-btn--ghost { color: var(--yellow); box-shadow: inset 0 0 0 2px var(--yellow); }
}

/* Yellow promise strip tucked under the hero's rounded corners, then the moving values */
.hk-promise { margin-top: -40px; padding: 76px 0 40px; background: var(--yellow); }
.hk-promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hk-promise-item { display: flex; align-items: flex-start; gap: 14px; color: var(--blue-1); }
.hk-promise-item .ico { display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--blue-1); color: var(--yellow); }
.hk-promise-item h3 { margin: 0 0 4px; font-size: 1.05rem; color: var(--blue-1); }
.hk-promise-item p { margin: 0; color: var(--blue-3); opacity: .85; font-size: .92rem; }
@media (max-width: 820px) { .hk-promise-grid { grid-template-columns: 1fr; gap: 18px; } }
.hk-marquee { overflow: hidden; padding: 26px 0; background: var(--paper); border-bottom: 1px solid rgba(23, 12, 121, .07); }
.hk-marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.hk-marquee:hover .hk-marquee-track { animation-play-state: paused; }
.hk-marquee-track span { display: inline-flex; align-items: center; gap: 48px; color: var(--blue-1); font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 700; white-space: nowrap; }
.hk-marquee-track span::after { content: ""; width: 22px; height: 26px; border-radius: 99px 99px 5px 5px; background: var(--orange); }
.hk-marquee-track span:nth-child(3n+2)::after { background: var(--yellow); }
.hk-marquee-track span:nth-child(3n)::after { background: var(--blue-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* "Pause animations" (and reduced-motion) stop the moving parts */
.motion-paused .hk-chip, .motion-paused .hk-marquee-track, .motion-paused .pillar .obj, .motion-paused .ripple, .motion-paused .crest-stage img { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .hk-chip, .hk-marquee-track { animation: none; } }

/* Mobile menu: a solid full-screen panel (the desktop centring rule was shrinking it to a column) */
@media (max-width: 1080px) {
  .site-header .nav { justify-self: stretch; left: 0; right: 0; top: 0; bottom: 0; width: 100vw; height: 100dvh; z-index: 1;
    background: var(--blue-1); padding: 112px 28px 40px; justify-content: flex-start; overflow-y: auto; }
  .site-header .nav a { font-size: 26px; }
  .menu-open .site-header .bar { background: transparent; box-shadow: none; }
  .menu-open { overflow: hidden; }
}
/* Hero on phones: tighter type so the learners show on the first screen */
@media (max-width: 560px) {
  .hk-hero h1 { font-size: clamp(2rem, 9.4vw, 2.6rem); }
  .hk-lede { margin: 16px 0 22px; font-size: .98rem; }
  .hk-actions { gap: 10px; flex-wrap: nowrap; }
  .hk-btn { padding: 12px 18px; font-size: .74rem; letter-spacing: .1em; }
  .hk-note { display: inline-block; margin-top: 12px; }
  .hk-motion { display: inline-block; margin: 0 0 0 14px; }
  .hk-eyebrow { margin-bottom: 14px; }
}

/* SOAT seal: patch mockup in the centre of concentric Access arches */
.seal-stage { position: relative; width: min(100%, 500px); aspect-ratio: 640 / 760; margin: 0 auto; }
.seal-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.seal-rings path { fill: none; stroke: var(--blue-2); }
.seal-photo { position: absolute; left: 31.25%; top: 27.6%; width: 37.5%; height: 57.9%; overflow: hidden;
  border-radius: 50% 50% 16.7% 16.7% / 27.3% 27.3% 9.1% 9.1%; background: var(--blue-2); box-shadow: 0 24px 40px -18px rgba(10, 2, 80, .45); }
.seal-photo picture, .seal-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
@media (prefers-reduced-motion: no-preference) {
  .seal-rings path { animation: ring 4.8s ease-in-out infinite; animation-delay: calc(var(--i) * -.18s); }
}
@keyframes ring { 50% { opacity: .35; } }
.motion-paused .seal-rings path { animation-play-state: paused; }
.seal-photo img { transform: scale(1.9); transform-origin: 43% 54%; }
/* the outgoing trade word clears quickly so two words never sit muddied on top of each other */
.hk-rotator > span.out { transition-duration: .25s; }
.hk-rotator > span.on { transition-delay: .15s; }
@media (max-width: 1080px) { .site-header .nav .btn { border-radius: 999px; } }

/* Academy = orange, Marketplace = brand green */
.door--academy .tag::before, .aud--academy .k::before { background: var(--orange); }
.door--market .tag::before, .aud--market .k::before { background: var(--green-2); }
.door--market .tag { color: var(--green-2); }
.door--market .go { color: var(--green-2); }
.door--market .go .arr { background: var(--green-2); color: #fff; }
.aud .k { display: inline-flex; align-items: center; gap: 8px; }
.aud .k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.aud--academy:hover .go .arr { background: var(--orange); color: var(--on-orange); }
.aud--market .go { color: var(--green-2); }
.aud--market:hover .go .arr { background: var(--green-2); color: #fff; }

/* hero: the crayon line between the headline and the intro */
.hk-crayon { margin: 14px 0 0; color: var(--yellow); font-family: var(--font-accent); font-size: clamp(1.5rem, 2.4vw, 2.1rem); transform: rotate(-2deg); transform-origin: left center; }
@media (max-width: 560px) { .hk-crayon { font-size: 1.5rem; margin-top: 10px; } }

/* "Join academy" under the five steps */
.journey-cta { margin-top: 36px; justify-content: center; }

/* ===== About: Our Ecosystem of Values (brand team's "two ways in" section) ===== */
.eco-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.eco-tab { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 12px 22px 12px 12px; border: 0; border-radius: 999px;
  background: #fff; color: var(--blue-1); box-shadow: inset 0 0 0 2px rgba(23, 12, 121, .07); font: inherit; font-weight: 700; cursor: pointer;
  transition: background .3s, box-shadow .3s, color .3s; }
.eco-tab .mk { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: rgba(23, 12, 121, .07); transition: background .3s; }
.eco-tab .mk-svg { width: auto; height: 20px; }
.eco-tab .mk-svg .lk-mark { fill: var(--blue-2); }
.eco-tab[aria-selected="true"] { background: var(--blue-1); color: #fff; box-shadow: none; }
.eco-tab[aria-selected="true"] .mk { background: var(--yellow); }
.eco-tab[aria-selected="true"] .mk-svg .lk-mark { fill: var(--blue-1); }
.eco[data-brand="academy"] #eco-tab-academy[aria-selected="true"] .mk { background: var(--orange); }
.eco[data-brand="market"] #eco-tab-market[aria-selected="true"] .mk { background: var(--green-2); }
.eco[data-brand="market"] #eco-tab-market[aria-selected="true"] .mk-svg .lk-mark { fill: #fff; }
.eco-panel { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; transition: opacity .35s, transform .35s var(--ease); }
.eco-panel[hidden] { display: none; }
.eco-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 460px;
  padding: clamp(28px, 4vw, 44px); border-radius: 32px; }
.eco-hero--academy { background: var(--orange); color: var(--blue-3); }
.eco-hero--market { background: var(--green-2); color: #fff; }
.eco-lockup { position: relative; z-index: 2; }
.eco-logo { height: 46px; width: auto; }
.eco-hero--academy .eco-logo .lk-mark, .eco-hero--academy .eco-logo .lk-word { fill: var(--blue-3); }
.eco-hero--market .eco-logo .lk-mark, .eco-hero--market .eco-logo .lk-word { fill: #fff; }
.eco-hero h3 { position: relative; z-index: 2; max-width: 11em; margin: 0; color: inherit; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.eco-hero p { position: relative; z-index: 2; max-width: 26em; margin: 12px 0 0; opacity: .92; }
.eco-hero .bars { position: absolute; z-index: 1; top: 0; bottom: 0; right: -40px; display: flex; flex-direction: column; justify-content: space-around; width: 30%; opacity: .16; }
.eco-hero .bars i { display: block; height: 40px; border-radius: 99px 0 0 99px; background: #fff; transition: transform .8s var(--ease); }
.eco-hero:hover .bars i:nth-child(odd) { transform: translateX(-24px); }
.eco-btn { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 14px 24px; border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: transform .3s var(--ease); }
.eco-btn:hover { transform: translateY(-2px); }
.eco-btn--academy { background: var(--blue-1); color: #fff; }
.eco-btn--market { background: var(--orange); color: var(--blue-3); }
.eco-audience { padding: clamp(24px, 3.5vw, 40px); border-radius: 32px; background: #fff; box-shadow: 0 2px 0 rgba(23, 12, 121, .07); }
.eco-aud-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; border-bottom: 2px solid rgba(23, 12, 121, .07); }
.eco-aud-tab { position: relative; min-height: 44px; padding: 12px 14px; border: 0; background: none; color: var(--ink-2); font: inherit; font-weight: 700; cursor: pointer; }
.eco-aud-tab::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -2px; height: 3px; border-radius: 3px; background: var(--orange); transform: scaleX(0); transition: transform .35s var(--ease); }
.eco-panel--market .eco-aud-tab::after { background: var(--green-2); }
.eco-aud-tab[aria-selected="true"] { color: var(--blue-1); }
.eco-aud-tab[aria-selected="true"]::after { transform: scaleX(1); }
.eco-aud-body { transition: opacity .35s, transform .35s var(--ease); }
.eco-aud-body .who { color: #B23A00; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eco-panel--market .eco-aud-body .who { color: var(--green-2); }
.eco-aud-body h3 { margin: 10px 0 14px; color: var(--blue-1); font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.eco-aud-body p { color: var(--ink-2); }
.eco-aud-body ul { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.eco-aud-body li { display: flex; align-items: flex-start; gap: 12px; }
.eco-aud-body li::before { content: ""; flex: 0 0 auto; width: 14px; height: 16px; margin-top: 6px; border-radius: 99px 99px 3px 3px; background: var(--yellow); }
.eco-pills { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.eco-pills span { padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--yellow) 25%, #fff); color: var(--blue-1); font-size: .85rem; font-weight: 700; }
.is-swapping { opacity: 0; transform: translateY(10px); }
@media (max-width: 900px) { .eco-panel { grid-template-columns: 1fr; } .eco-hero { min-height: 360px; } }
@media (max-width: 560px) { .eco-audience { padding: 24px 20px; } .eco-aud-tab { padding: 12px 10px; } .eco-hero { min-height: 340px; } }

/* rotating trade word: its own line(s); the box height follows the word showing */
@media (min-width: 921px) {
  .hk-rotator { display: grid; align-items: start; }
  .hk-rotator > span { align-self: start; }
}
/* learners sit further right and higher in the panel */
@media (min-width: 921px) {
  .hk-visual { justify-content: flex-end; margin-right: calc(-1 * clamp(0px, 4vw, 80px)); }
  .hk-photo { width: min(138%, 820px); margin-bottom: 2vh; }
  .hk-arch { left: 56%; width: min(80%, 480px); }
  .hk-ripple { inset: auto 0 0 56%; }
  .hk-chip--1 { left: 4%; bottom: 60%; }
}
@media (min-width: 921px) {
  .hk-photo { width: min(112%, 760px); }
}

/* ---- round fixes ---- */
/* the cta band's ripple is decoration, never a grid column */
.cta-band > .ripple { position: absolute; z-index: 0; width: 420px; right: -140px; bottom: -180px; top: auto; opacity: .5; }

/* "Why Kalvia exists": fits one screen on desktop so it can pin from the top without cropping */
@media (min-width: 861px) {
  .scrub-sec { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 96px 0 40px; }
  .scrub-sec > .wrap { width: 100%; }
  .stage--scrub { height: min(72vh, 640px); }
}

/* hero learners: larger, anchored to the right edge of the screen, rising up and to the right */
@media (min-width: 921px) {
  .hk-visual { justify-content: flex-end; margin-right: calc(-1 * max(var(--gutter), (100vw - var(--maxw)) / 2 + var(--gutter))); }
  .hk-photo { width: min(118%, 1040px); margin-bottom: 0; transform-origin: 100% 100%; }
  .hk-arch { left: 58%; width: min(70%, 520px); }
  .hk-ripple { inset: auto 0 0 58%; width: min(160%, 1050px); }
  .hk-chip--1 { left: 6%; bottom: 62%; }
  .hk-chip--2 { right: 8%; bottom: 12%; }
}

/* Hover: boxes lift and pick up a brand accent (pointer devices only) */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .value, .pillar, .card, .target, .journey li, .eco-audience, .hk-promise-item .ico, .facts div {
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .35s, border-color .35s;
  }
  .value:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .12); border-color: var(--yellow); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .45); }
  .value:hover h3 { color: var(--yellow); }
  .pillar:hover, .card:hover { transform: translateY(-6px); border-color: var(--blue-2); box-shadow: 0 26px 44px -28px rgba(10, 2, 80, .4); }
  .target:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); border-color: var(--yellow); }
  .journey li:not(:last-child):hover { background: rgba(255, 255, 255, .12); border-color: var(--yellow); }
  .hk-promise-item:hover .ico { transform: scale(1.1) rotate(-6deg); }
  .eco-audience:hover { box-shadow: 0 26px 44px -30px rgba(10, 2, 80, .35); }
}
@media (min-width: 921px) {
  .hk-photo { width: 100%; max-width: 1000px; }
  .hk-arch { left: 54%; width: min(66%, 500px); }
  .hk-ripple { inset: auto 0 0 54%; }
}

/* Turning technician: no edge fade; whole frame shown, standing on the arch's baseline */
.stage--scrub .stage-subject { -webkit-mask-image: none; mask-image: none; transform-origin: 50% 100%; }
.stage--scrub .stage-poster { object-fit: contain; object-position: 50% 100%; }
.stage--scrub .stage-arch { top: 10%; bottom: 0; transform-origin: 50% 100%; }
.stage--scrub { clip-path: inset(-200px -200px 0 -200px); }
/* rotating word: incoming and outgoing words stay inside the reserved space */
@media (min-width: 921px) { .hk-rotator { overflow: hidden; padding-bottom: .08em; } }

/* narrow screens: the first trade is always the one shown, whatever the rotation state */
@media (max-width: 920px) {
  .hk-rotator { display: inline; }
  .hk-rotator > span:first-child { display: inline; opacity: 1 !important; transform: none !important; }
}
/* desktop chips sit on clothing, never on a face */
@media (min-width: 921px) {
  .hk-chip--1 { left: 2%; bottom: 14%; }
  .hk-chip--2 { right: 6%; bottom: 30%; }
}

/* responsiveness sweep fixes */
.cards > *, .eco-panel > *, .hk-promise-grid > *, .doors > * { min-width: 0; }
.card h3, .pillar h3, .value h3, .target .num { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 400px) { .cards.five { grid-template-columns: 1fr; } }
@media (max-width: 1080px) { .site-header .nav { width: auto; } }

/* Hero figure: photo + chips in one box, so chip positions follow the photo at every width */
.hk-figure { position: relative; z-index: 2; flex-shrink: 0; width: min(130%, 720px); line-height: 0; }
.hk-figure .hk-photo { width: 100%; max-width: none; margin: 0; }
.hk-figure .hk-chip { line-height: 1.2; }
.hk-figure .hk-chip--1 { left: -2%; right: auto; bottom: 16%; top: auto; }   /* over the clipboard */
.hk-figure .hk-chip--2 { right: -1%; left: auto; bottom: 26%; top: auto; }   /* over the drill arm */
@media (min-width: 921px) {
  .hk-figure { width: 100%; max-width: 1000px; }
}
/* tablet landscape / small laptop: larger learners that rise higher */
@media (min-width: 921px) and (max-width: 1280px) {
  .hk-grid { grid-template-columns: .95fr 1.05fr; }
  .hk-figure { width: 122%; max-width: none; }
  .hk-arch { width: min(76%, 520px); }
}
@media (max-width: 920px) {
  .hk-figure { width: min(115%, 720px); }
  .hk-figure .hk-chip--1 { left: 2%; bottom: 14%; }
  .hk-figure .hk-chip--2 { right: 2%; bottom: 4%; }
}
/* phones and tablets: the yellow trade words always sit on their own line */
@media (max-width: 920px) {
  .hk-prof { display: block; }
  .hk-rotator, .hk-rotator > span:first-child { display: block; }
}
@media (min-width: 921px) and (max-width: 1280px) {
  .hk-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hk-lede { max-width: 30ch; }
  .hk-figure { width: 112%; }
}
@media (max-width: 920px) {
  .hk-figure .hk-chip--1 { bottom: 28%; }
  .hk-figure .hk-chip--2 { bottom: 16%; }
}
@media (min-width: 921px) { .hk-figure .hk-chip--2 { right: 7%; } }

/* ===== Academy application (matches the brand team's /apply) ===== */
.apply-hero { padding: 120px 0 28px; background: var(--paper); }
.apply-kicker { display: block; margin: 18px 0 14px; color: var(--blue-2); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.apply-title { margin: 0; color: var(--blue-1); font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.01em; }
.apply-title .crayon { color: var(--blue-1); font-weight: 400; }
.apply-hero .lead { max-width: 36em; margin: 20px 0 18px; color: var(--ink-2); }
.apply-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; color: var(--blue-1); font-size: .9rem; font-weight: 600; }
.apply-facts li { display: inline-flex; align-items: center; gap: 8px; }
.apply-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.apply-section { background: var(--paper); padding-top: 8px; }
.apply-form { max-width: 920px; }
.apply-progress ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.apply-progress li { display: flex; align-items: center; gap: 10px; padding: 10px 6px 12px; border-bottom: 3px solid rgba(23, 12, 121, .1); color: var(--ink-2); font-size: .88rem; font-weight: 600; }
.apply-progress li small { display: block; color: var(--ink-3, #8a87a8); font-size: .72rem; font-weight: 500; }
.apply-progress li[aria-current="step"] { border-color: var(--orange); color: var(--blue-1); }
.apply-progress li.is-done { border-color: var(--blue-2); }
.apply-step-number { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: rgba(23, 12, 121, .08); color: var(--blue-1); font-size: .8rem; font-weight: 700; }
.apply-progress li[aria-current="step"] .apply-step-number, .apply-progress li.is-done .apply-step-number { background: var(--blue-1); color: #fff; }
.apply-card { padding: clamp(22px, 4vw, 44px); border-radius: 28px; background: #fff; box-shadow: 0 2px 0 rgba(23, 12, 121, .07), 0 30px 60px -40px rgba(10, 2, 80, .25); }
.apply-card fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.apply-head { margin-bottom: 26px; }
.apply-eyebrow { margin: 0 0 8px; color: var(--blue-2); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.apply-head h2, .apply-done h2 { margin: 0 0 10px; color: var(--blue-1); font-size: clamp(1.8rem, 3.4vw, 2.6rem); outline: none; }
.apply-head p { margin: 0; color: var(--ink-2); }
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.apply-grid + .apply-grid { margin-top: 18px; }
.apply-field { min-width: 0; }
.apply-field.full, .apply-check.full { grid-column: 1 / -1; }
.apply-field label { display: block; margin-bottom: 6px; color: var(--blue-1); font-size: .9rem; font-weight: 600; }
.apply-field input, .apply-field select, .apply-field textarea {
  width: 100%; min-width: 0; padding: 14px 16px; border: 2px solid rgba(23, 12, 121, .08); border-radius: 14px;
  background: var(--paper); color: var(--ink); font: inherit; transition: border-color .2s, background .2s; }
.apply-field textarea { resize: vertical; min-height: 130px; }
.apply-field input:focus, .apply-field select:focus, .apply-field textarea:focus { outline: none; border-color: var(--blue-2); background: #fff; }
.apply-field [aria-invalid="true"] { border-color: var(--passion, #DB213A); }
.apply-hint { margin: 6px 0 0; color: var(--ink-2); font-size: .8rem; line-height: 1.45; }
.apply-hint:empty { display: none; }
.apply-bad { color: var(--passion, #DB213A); font-weight: 600; }
.apply-check { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--paper); color: var(--ink); font-size: .92rem; line-height: 1.5; cursor: pointer; }
.apply-check input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue-2); }
.apply-check input[aria-invalid="true"] { outline: 2px solid var(--passion, #DB213A); outline-offset: 2px; }
.apply-consents { display: grid; gap: 10px; }
.apply-save-note { margin: 22px 0 0; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--yellow) 18%, #fff); color: var(--blue-3); font-size: .84rem; }
.apply-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(23, 12, 121, .08); }
.apply-actions .apply-next { margin-left: auto; color: var(--on-orange); }
.apply-back { min-height: 44px; padding: 10px 6px; border: 0; background: none; color: var(--blue-2); font: inherit; font-weight: 700; cursor: pointer; }
.apply-error { margin: 18px 0 0; color: var(--passion, #DB213A); font-weight: 600; }
.apply-done { outline: none; }
.apply-done p { color: var(--ink-2); margin: 0 0 22px; }
@media (max-width: 720px) {
  .apply-grid { grid-template-columns: 1fr; }
  .apply-progress ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .apply-progress li > span:last-child { display: none; }
  .apply-progress li { justify-content: center; }
  .apply-hero { padding-top: 104px; }
}

/* hero: original intro (long on desktop, short on phones); floating tagline above the learners */
.hk-lede .lead-short { display: none; }
@media (max-width: 920px) { .hk-lede .lead-long { display: none; } .hk-lede .lead-short { display: inline; } }
.hk-float-tag { position: absolute; z-index: 3; top: -6%; right: 4%; transform: rotate(-6deg); color: var(--yellow);
  font-family: var(--font-accent); font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1.1; white-space: nowrap; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .hk-float-tag { animation: floaty 6s ease-in-out infinite; } }
@keyframes floaty { 50% { transform: rotate(-6deg) translateY(-8px); } }
@media (max-width: 920px) { .hk-float-tag { display: none; } }
.hk-tag { display: none; }
/* brand essence headline: the crayon line sits on its own line */
.own-line { display: block; }
.hk-float-tag { right: auto; left: 34%; top: -9%; }
.hk-float-tag { left: 52%; top: -31%; }

/* application: document upload */
.apply-upload { margin-bottom: 22px; }
.apply-upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.apply-upload-drop { display: grid; gap: 4px; padding: 22px; border: 2px dashed rgba(23, 12, 121, .18); border-radius: 16px; background: var(--paper); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.apply-upload-drop:hover { border-color: var(--blue-2); background: #fff; }
.apply-upload input[type="file"]:focus-visible + .apply-hint, .apply-upload:focus-within .apply-upload-drop { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.apply-upload-title { color: var(--blue-1); font-weight: 700; }
.apply-upload-sub { color: var(--ink-2); font-size: .85rem; }
.apply-files { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.apply-files li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--paper); font-size: .9rem; }
.apply-files li small { color: var(--ink-2); }
.apply-files button { min-height: 36px; border: 0; background: none; color: var(--passion, #DB213A); font: inherit; font-weight: 600; cursor: pointer; }

/* Cloudflare Turnstile (only shows when a check needs the visitor) */
.ts-box { margin: 0 0 14px; }
.ts-box:empty { display: none; }

/* ---- Academy opening date: one of each pair shows (html.apps-open is set from data-open) ---- */
html:not(.apps-open) .when-open, html.apps-open .when-closed { display: none !important; }

/* ---- announcement banner (fixed above the header) ---- */
:root { --ann-h: 38px; }
body { padding-top: var(--ann-h); }
.announce { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--ann-h); display: flex; align-items: center;
  overflow: hidden; background: var(--orange-ui); color: var(--on-orange); text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: .01em; }
.announce:hover { background: var(--orange-ui-deep); }
.announce-track { display: flex; flex: none; white-space: nowrap; animation: announce 48s linear infinite; }
.announce-item { padding: 0 32px; }
.announce-item::after { content: "✦"; margin-left: 64px; opacity: .55; }
.announce:hover .announce-track { animation-play-state: paused; }
@keyframes announce { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announce-track { animation: none; } }
.site-header { top: var(--ann-h); }
@media (max-width: 520px) { :root { --ann-h: 34px; } .announce { font-size: 13px; } .announce-item { padding: 0 20px; } .announce-item::after { margin-left: 40px; } }

/* ---- menu: Academy pages in a dropdown ---- */
.nav-group { position: relative; display: flex; align-items: center; }
.nav-sub-btn { display: grid; place-items: center; width: 24px; height: 32px; margin-left: -10px; border: 0; background: none; color: var(--ink-2); cursor: pointer; border-radius: 8px; }
.nav-sub-btn svg { transition: transform .2s; }
.nav-group.open .nav-sub-btn svg { transform: rotate(180deg); }
.nav-sub { position: absolute; top: calc(100% + 12px); left: 0; min-width: 220px; padding: 8px; display: flex; flex-direction: column; gap: 2px;
  background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--line), 0 22px 44px -22px rgba(10, 2, 80, .4);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub, .nav-group.open .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub a { white-space: nowrap; }
@media (min-width: 1081px) {
  .nav-group.is-section > a { color: var(--blue-2); background: var(--blue-2-7); }
}
@media (max-width: 1080px) {
  .nav-group { display: block; }
  .nav-sub-btn { display: none; }
  .nav-sub { position: static; opacity: 1; visibility: inherit;   /* follows the menu: hidden (and not tappable) while the phone menu is closed */ transform: none; background: none; box-shadow: none; min-width: 0; padding: 4px 0 10px 18px; }
  .nav-sub::before { display: none; }
  .site-header .nav .nav-sub a { font-size: 19px; padding: 8px 0; border-bottom: 0; color: rgba(255,255,255,.78); }
  .site-header .nav .nav-sub a[aria-current="page"] { color: var(--yellow); }
}

/* ---- register: how admission works ---- */
.admit-head { max-width: 760px; }
.admit-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: none; }
.admit-steps li { padding: 26px 24px; border-radius: 22px; background: var(--paper-2, #F4F2EC); }
.admit-steps h3 { margin: 14px 0 8px; font-size: 1.15rem; }
.admit-steps p { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.55; }
.admit-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange-ui); color: var(--on-orange); font-weight: 700; }
.admit-note { margin-top: 22px; }
@media (max-width: 960px) { .admit-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .admit-steps { grid-template-columns: 1fr; } }

/* phones: long buttons wrap instead of pushing the column wider than the screen */
.grid > * { min-width: 0; }
@media (max-width: 560px) { .btns .btn { white-space: normal; max-width: 100%; text-align: center; } }

/* waitlist: choose an information webinar */
.webinar-pick { border: 0; padding: 0; margin: 0; }
.webinar-pick legend { font-weight: 600; margin-bottom: 10px; }
.wb-opts { display: grid; gap: 10px; }
.wb-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; background: #fff; }
.wb-opt:has(input:checked) { border-color: var(--orange-ui); box-shadow: 0 0 0 3px rgba(255, 106, 19, .14); }
.wb-opt input { margin-top: 4px; accent-color: var(--orange-ui); }
.wb-opt > span { display: flex; flex-direction: column; gap: 3px; }
.wb-when { font-size: .92rem; color: var(--ink-2); }
.wb-desc { font-size: .9rem; color: var(--ink-2); }

/* partners and social links (from the admin's Site info) */
.partner-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 28px; }
.partner { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.partner:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 18px 36px -22px rgba(10, 2, 80, .35); }
.pl-logo { height: 64px; display: flex; align-items: center; }
.pl-logo img { max-height: 64px; max-width: 100%; object-fit: contain; }
.pl-text { font-weight: 700; font-size: 1.3rem; color: var(--blue-1); }
.pl-name { font-weight: 700; }
.pl-role { color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.pl-new { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: var(--orange-ui); color: var(--on-orange); font-size: .72rem; font-weight: 700; vertical-align: 2px; }
.site-footer .socials { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 6px; }

/* ---- About hero: Why we exist (old cycle / With Kalvia) ---- */
.cyc-switch { display: inline-flex; gap: 4px; padding: 5px; margin-top: 26px; border-radius: 999px; background: rgba(255,255,255,.12); }
.cyc-switch button { border: 0; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; background: transparent; color: #fff; transition: background .3s, color .3s; }
.cyc-switch button[aria-pressed="true"] { background: #fff; color: var(--blue-1); }
.cyc { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto; }
.cyc-ring { position: absolute; inset: 12%; border-radius: 50%; border: 2px dashed rgba(255,255,255,.35); transition: border-color .5s; }
.cyc.after .cyc-ring { border-color: var(--yellow); border-style: solid; animation: cycspin 18s linear infinite; }
@keyframes cycspin { to { transform: rotate(360deg); } }
.cyc-node { position: absolute; width: 30%; aspect-ratio: 1; border-radius: 50%; background: #fff; color: var(--blue-1); display: grid; place-items: center; text-align: center; box-shadow: 0 22px 44px -22px rgba(0,0,0,.45); transition: transform .5s var(--ease, ease), background .5s; }
.cyc-node b { display: block; font-size: clamp(15px, 1.6vw, 20px); line-height: 1.15; }
.cyc-node small { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2, #4a4672); }
.cyc-node.n1 { left: 35%; top: 0; }
.cyc-node.n2 { left: 0; top: 56%; }
.cyc-node.n3 { right: 0; top: 56%; }
.cyc-center { position: absolute; left: 32%; width: 36%; top: 35%; height: 30%; display: grid; place-items: center; padding: 0 10px; text-align: center; font-weight: 700; font-size: clamp(14px, 1.4vw, 17px); line-height: 1.25; color: var(--blue-1); background: #E7E5F6; border-radius: 999px 999px 10px 10px; transition: background .5s, color .5s; }
.cyc .v-after { display: none; }
.cyc.after .v-before { display: none; }
.cyc.after .v-after { display: block; }
.cyc.after .cyc-center { background: var(--orange); color: var(--on-orange); }
.cyc.after .cyc-node { transform: scale(1.04); }
.cyc.after .cyc-node b { color: var(--blue-2); }
@media (prefers-reduced-motion: reduce) { .cyc.after .cyc-ring { animation: none; } }
@media (max-width: 860px) { .cyc { width: min(100%, 380px); margin-top: 36px; } .cyc-node b { font-size: 15px; } .cyc-node small { font-size: 9.5px; } }

/* ---- About: Chain of Prosperity rings ---- */
.prosper-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ripple-stage { position: relative; width: min(100%, 520px); }
.ripple-stage svg { display: block; width: 100%; height: auto; overflow: visible; }
.ripple-stage .ring { fill: none; stroke-width: 6; opacity: .35; cursor: pointer; pointer-events: stroke; transition: opacity .5s; }
.ripple-stage .ring.lit { opacity: 1; }
.ripple-stage .core { fill: var(--orange); }
.ring-labels { position: absolute; inset: 0; pointer-events: none; }
.ring-label { position: absolute; left: 50%; transform: translate(-50%, -50%); pointer-events: auto; border: 0; border-radius: 999px; padding: 9px 16px; font: inherit; font-weight: 700; font-size: 14px; white-space: nowrap; cursor: pointer; background: #fff; color: var(--blue-1); box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); transition: background .3s, transform .3s; }
.ring-label[aria-pressed="true"] { background: var(--yellow); color: var(--on-orange); transform: translate(-50%, -50%) scale(1.06); }
.prosper-panel .eyebrow { color: var(--yellow); }
.prosper-copy h3 { font-size: clamp(26px, 2.6vw, 36px); margin: 14px 0 12px; color: #fff; }
.prosper-copy p { font-size: 1.1rem; line-height: 1.6; color: rgba(255,255,255,.85); margin: 0; }
.prosper-copy.swap { animation: proswap .45s var(--ease, ease); }
@keyframes proswap { from { opacity: 0; transform: translateY(8px); } }
.prosper-chain { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.prosper-chain span { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.7); transition: background .4s, color .4s; }
.prosper-chain span.lit { background: var(--yellow); color: var(--on-orange); }
.prosper-note { margin-top: 22px; font-size: 1.05rem; color: rgba(255,255,255,.82); }
.prosper-note b { display: block; font-family: var(--font-accent); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; color: var(--yellow); margin-bottom: 6px; }
.prosper-essence { display: flex; align-items: baseline; gap: 16px; margin-top: 26px; }
.prosper-essence .crayon { font-size: 1.6rem; color: var(--yellow); }
.prosper-essence strong { font-size: 1.4rem; color: #fff; }
@media (prefers-reduced-motion: reduce) { .prosper-copy.swap { animation: none; } }
@media (max-width: 860px) { .prosper-grid { grid-template-columns: 1fr; } .ripple-stage { margin: 0 auto; } .ring-label { font-size: 12px; padding: 7px 12px; } }

/* Partners: the open "other ways" card */
.card--other { text-decoration: none; color: inherit; border: 2px dashed var(--orange); background: transparent; display: flex; flex-direction: column; gap: 6px; }
.card--other:hover { background: color-mix(in srgb, var(--orange) 6%, transparent); }
.card--other .link { margin-top: auto; }

/* official social accounts: footer icons and contact list */
.site-footer .socials-link { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; transition: background .25s, color .25s; }
.site-footer .socials-link:hover { background: var(--yellow); color: var(--on-orange); }
.site-footer .socials-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.contact-socials { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px; }
.csoc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: inherit; }
.csoc-link:hover { color: var(--orange-deep, #d14a00); }

/* ---- footer: content sits over the large Kalvia lockup, which is a faint background (no empty band) ---- */
.site-footer { display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(36.75vw + 24px); padding: clamp(64px, 7vw, 96px) 0 clamp(28px, 3vw, 40px); isolation: isolate; }
.site-footer > .wrap { position: relative; z-index: 1; width: min(calc(100% - 2 * var(--gutter)), var(--maxw)); }
.site-footer .giant { position: absolute; left: 0; right: 0; bottom: -1.2vw; margin: 0; z-index: 0; opacity: .5; pointer-events: none; }
.site-footer .top { border-bottom-color: rgba(255,255,255,.14); }
.site-footer .bottom { padding-bottom: 0; }
@media (max-width: 860px) { .site-footer { min-height: 0; } .site-footer .giant { opacity: .35; } }

/* Marketplace card while the Marketplace is hidden: not a link */
.door--soon { cursor: default; }
.door--soon .go { opacity: .75; }

/* About hero: the old-cycle / With-Kalvia switch sits under the graphic it controls */
.cyc-col { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cyc-col .cyc-switch { margin-top: 0; }
/* Chain of Prosperity directly after the hero: a thin divider between the two blue sections */
.prosper--after-hero { border-top: 1px solid rgba(255,255,255,.1); padding-top: clamp(56px, 7vw, 96px); }

/* Footer: left-aligned text in evenly spaced columns (client 12 Nov) */
.site-footer .top { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 64px); text-align: left; }
.site-footer .top ul { justify-items: start; }
.site-footer .socials { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px; }
@media (min-width: 861px) { .site-footer .top > :first-child { grid-column: auto; } }
@media (max-width: 860px) { .site-footer .top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer .top > :first-child { grid-column: 1 / -1; } }
.site-footer { min-height: 0; justify-content: flex-start; padding-top: clamp(40px, 5vw, 64px); }
.site-footer .top { padding-bottom: 40px; }
/* Contact page socials: icons only */
.csoc-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.csoc-link svg { width: 22px; height: 22px; }
/* About: Chain of Prosperity on the brighter royal blue after the deep-blue hero (client 12 Nov) */
/* Home hero: photo stays inside the grid, right edge in line with the nav (client 12 Nov) */
.hk-hero .hk-visual { margin-right: 0; justify-content: flex-end; }
.hk-hero .hk-figure { width: 100%; max-width: none; }
/* tall screens: the hero no longer stretches to the full screen height, which left a big empty band above the heading */
@media (min-width: 921px) { .hk-grid { min-height: min(calc(100svh - 130px), 780px); } }
@media (min-width: 921px) and (max-width: 1280px) { .hk-hero .hk-float-tag { top: -46%; } }
/* Application sent: no Back/Submit, and a "Tell a friend" panel (client 12 Nov) */
.apply-actions[hidden], .apply-back[hidden], .apply-progress[hidden], .apply-share[hidden], .share-btn[hidden] { display: none !important; }
.apply-share { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.apply-share-msg { color: var(--ink-2); margin: 6px 0 16px; max-width: 60ch; }
.apply-share-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.share-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 0; background: var(--paper-2); color: var(--blue-1); font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.share-btn:hover { background: var(--blue-1); color: #fff; }
.share-btn[data-net="whatsapp"] { background: #25D366; color: #08361b; }
.share-btn[data-net="whatsapp"]:hover { background: #1ebe5b; color: #fff; }
.apply-share-note { margin: 10px 0 0; font-size: 14px; color: var(--ink-3); min-height: 1em; }
/* hero photo: the outer sleeves are cut straight at the image edges; fade both sides into the blue (client 12 Nov) */
.hk-hero .hk-photo { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%); }
/* Application documents: one slot per document; trade experience and referral (client 12 Nov) */
.apply-docs { display: grid; gap: 16px; margin-bottom: 24px; }
.apply-doc { position: relative; }
.apply-doc[hidden] { display: none !important; }
.apply-doc input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.apply-doc:focus-within .apply-upload-drop { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.apply-doc .apply-upload-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.apply-doc-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: rgba(23, 12, 121, .07); color: var(--ink-3); }
.apply-doc-tag.req { background: rgba(255, 90, 0, .12); color: #b13e00; }
.apply-doc.has-file .apply-upload-drop { border-style: solid; border-color: rgba(4, 125, 6, .45); background: #fff; }
.apply-doc .apply-hint { margin-top: 8px; }
.apply-field[hidden] { display: none !important; }
#app-referredBy { text-transform: uppercase; letter-spacing: .08em; }
.apply-share-code { margin: 6px 0 4px; color: var(--ink-2); }
.apply-share-code b { font-size: 1.25rem; letter-spacing: .12em; color: var(--blue-1); }
.apply-share-code span { font-size: 14px; color: var(--ink-3); }
.apply-share-code[hidden] { display: none !important; }
/* adults skip the parent / guardian step, so the progress bar shows three steps */
.apply-progress li[hidden] { display: none !important; }
.apply-progress ol { grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-columns: none; }
/* the application page hero is light: dark breadcrumbs so they can be read */
.apply-hero .crumbs { color: var(--ink-3); }
.apply-hero .crumbs a { color: var(--blue-1); }
/* About: every core value in the same colours (client 13 Nov: the first one no longer stands out) */
.values .value:first-child { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); }
.values .value:first-child h3 { color: inherit; }
.values .value:first-child p { color: rgba(255, 255, 255, .86); }
.values .value:first-child::before { background: var(--yellow); color: var(--blue-1); }

/* Home hero badges: larger text, and a pop-up on hover, keyboard focus or tap (client 13 Nov) */
.hk-hero .hk-chip { font-size: 1rem; padding: 12px 20px 12px 12px; gap: 12px; }
.hk-hero .hk-chip .dot { width: 38px; height: 38px; font-size: 1.05rem; }
button.hk-chip { border: 0; font-family: inherit; cursor: pointer; text-align: left; }
.hk-chip.has-tip { z-index: 4; }
.hk-tip { position: absolute; bottom: calc(100% + 12px); left: 0; z-index: 5; width: min(340px, 78vw); padding: 14px 16px;
  border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 18px 40px -12px rgba(10, 2, 80, .45);
  font-size: .9rem; font-weight: 500; line-height: 1.5; white-space: normal; text-align: left;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; pointer-events: none; }
.hk-tip::after { content: ""; position: absolute; top: 100%; left: 26px; border: 8px solid transparent; border-top-color: #fff; }
.hk-chip--2 .hk-tip { left: auto; right: 0; }
.hk-chip--2 .hk-tip::after { left: auto; right: 26px; }
/* pop-up shows on hover, and a click pins it open; the next click closes it even while the mouse is still over the badge (client 13 Nov) */
.hk-chip.has-tip:hover:not(.closed) .hk-tip, .hk-chip.has-tip.open .hk-tip { opacity: 1; visibility: visible; transform: none; }
.hk-chip.has-tip:hover, .hk-chip.has-tip.open { animation-play-state: paused; }
@media (max-width: 920px) { .hk-hero .hk-chip { font-size: .92rem; } .hk-tip { width: min(300px, 82vw); } }
@media (max-width: 920px) {
  .hk-hero .hk-figure .hk-chip--1 { bottom: 38%; left: 2%; }
  .hk-hero .hk-figure .hk-chip--2 { bottom: 8%; right: 2%; }
}
/* only one badge pop-up open at a time, and the open one sits above the other badge */
.hk-chip.has-tip.open, .hk-chip.has-tip:hover { z-index: 6; }
@media (max-width: 560px) { .hk-tip { font-size: .82rem; line-height: 1.45; padding: 12px 14px; } }
/* the first core value lights up on hover like the others */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .values .value:first-child:hover { background: rgba(255, 255, 255, .12); border-color: var(--yellow); }
  .values .value:first-child:hover h3 { color: var(--yellow); }
}
/* About: core values on white instead of green (client 13 Nov) */
.values-light .opener-num { color: rgba(23, 12, 121, .06); }
.values-light .values .value, .values-light .values .value:first-child { background: var(--paper); border-color: var(--line); }
.values-light .values .value h3, .values-light .values .value:first-child h3 { color: var(--blue-1); }
.values-light .values .value p, .values-light .values .value:first-child p { color: var(--ink-2); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .values-light .values .value:hover, .values-light .values .value:first-child:hover { background: #fff; border-color: var(--yellow); }
  .values-light .values .value:hover h3, .values-light .values .value:first-child:hover h3 { color: var(--orange); }
}
/* if a photo fails to load (weak connection), never show its description text on screen; screen readers still read it */
.hk-photo, .arch img, .img-frame img, picture img { color: transparent; }

/* Cookie consent banner (NDPA) */
.k-consent { position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto;
  background: #fff; color: var(--ink); border: 1px solid rgba(0,0,0,.08); border-radius: 16px; padding: 20px 22px;
  box-shadow: 0 18px 50px rgba(10,20,60,.22); font-size: 15px; line-height: 1.55; }
.k-consent p { margin: 0 0 14px; }
.k-consent a { color: var(--blue-2); }
.k-consent-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.k-consent .btn { padding: 10px 18px; font-size: 15px; }
@media (max-width: 520px) { .k-consent { left: 10px; right: 10px; bottom: 10px; padding: 16px; } .k-consent-btns .btn { flex: 1 1 auto; justify-content: center; } }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: inherit; }
.linklike:hover { text-decoration: underline; }
.prose h4 { font-size: 17px; margin: 22px 0 6px; }
.prose .pp-list { padding-left: 1.4em; }
.prose .pp-list li { margin: 6px 0; }
.legal-grid > .prose { min-width: 0; }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; font-size: 14px; } .prose td code { word-break: break-all; } }

/* On-page editor: both badge pop-ups open, stacked so they do not overlap */
.hk-chip.k-editing-tip { animation: none; }
.hk-chip--2.k-editing-tip .hk-tip { bottom: auto; top: calc(100% + 12px); }
.hk-chip--2.k-editing-tip .hk-tip::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #fff; }
.hk-chip.k-editing-tip .hk-tip { pointer-events: auto; cursor: text; }
