/* Just Imagine Software — site styles
   Display: Archivo. Body: Inter. Technical labels: Lexend.
   All three load from Google Fonts in each page head. */

:root {
  --ink: #0e1621;
  --ink-soft: #3f4a57;
  --faint: #667180;
  --navy: #0a2b47;
  --navy-2: #0c3a5e;
  --paper: #ffffff;
  --mist: #f4f7fa;
  --mist-2: #e9eff5;
  --line: #e1e7ee;
  --line-strong: #cfd8e2;
  --blue: #0b6aa6;
  --blue-dark: #08507f;
  --green: #5f9e25;
  --green-text: #477a1c;   /* darker green for small text — meets 4.5:1 on white */
  --green-bright: #9dd857;
  --shadow: 0 20px 50px rgba(10, 43, 71, 0.10);
  --wrap: 1400px;
  --display: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --label: "Lexend", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Fluid spacing scale — one rhythm system for the whole site.
     Fixed steps for component internals; clamp() steps breathe with the viewport. */
  --space-2xs: 8px;
  --space-xs: 12px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: clamp(28px, 3.4vw, 40px);   /* group separation */
  --space-xl: clamp(36px, 4.6vw, 56px);   /* section-head → content */
  --space-section-tight: clamp(46px, 6vw, 74px);
  --space-section: clamp(66px, 8.6vw, 112px);
  --space-hero-top: clamp(78px, 10vw, 116px);
  --space-hero-bottom: clamp(66px, 8vw, 100px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Keep in-page anchor targets clear of the sticky header */
:where([id]) { scroll-margin-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
p { margin: 0 0 1.05rem; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(40px, 5.4vw, 66px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 700; }
h4 { font-size: 18px; font-weight: 600; }
/* Greedy line-fill on headings: fill the available width before wrapping,
   rather than balancing into shorter even lines. */
:where(h1, h2, h3) { text-wrap: pretty; }
p { text-wrap: pretty; }

.wrap { width: min(100% - clamp(44px, 5vw, 100px), var(--wrap)); margin: 0 auto; }
.section { padding: var(--space-section) 0; }
.section-tight { padding: var(--space-section-tight) 0; }

/* Technical micro-label — the Lexend label voice, used for kickers and small tags */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-family: var(--label);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}
.kicker.on-dark { color: #9fdcff; }

.lead { color: var(--ink-soft); font-size: 19px; max-width: 66ch; margin-top: 18px; }
.muted { color: var(--ink-soft); }
.small { color: var(--faint); font-size: 14px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); transition-duration: .05s; }
.btn .arr { width: 15px; height: 15px; transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--green-bright); color: var(--ink); box-shadow: 0 6px 18px rgba(95, 158, 37, .32); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--green-bright); color: var(--ink); box-shadow: 0 6px 18px rgba(95, 158, 37, .32); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--green-bright); color: var(--ink); border-color: var(--green-bright); box-shadow: 0 6px 18px rgba(95, 158, 37, .32); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 3px; }
.btn-light:focus-visible, .btn-outline-light:focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
  .btn:hover .arr { transform: none; }
  html { scroll-behavior: auto; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(10px);
}
.header-inner { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; flex-direction: column; line-height: 1; color: var(--ink); }
.brand strong { font-size: 20px; letter-spacing: -0.02em; font-weight: 800; }
.brand span span { color: var(--green); }
.brand em { margin-top: 4px; color: var(--faint); font-family: var(--label); font-size: 10px; font-style: normal; font-weight: 400; letter-spacing: .3em; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a { color: var(--ink-soft); font-size: 15px; font-weight: 500; padding: 9px 13px; border-radius: 8px; }
.main-nav a:hover { color: var(--ink); background: var(--mist); }
.main-nav a[aria-current="page"] { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: #fff; color: var(--ink); cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; display: block; width: 19px; height: 2px; background: currentColor; position: relative;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: var(--space-hero-top) 0 var(--space-hero-bottom);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(54% 82% at 84% 4%, rgba(33,150,220,.26), transparent 64%),
    radial-gradient(50% 90% at 2% 104%, rgba(95,158,37,.07), transparent 62%),
    linear-gradient(160deg, #08243c 0%, #0a2b47 55%, #0c3a5e 100%);
}
/* Centered hero */
.hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center; }
.hero .kicker {
  justify-content: center; margin-bottom: 18px;
  color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero .kicker::before { display: none; }
.hero .kicker b { color: var(--green-bright); font-weight: 600; }
.hero h1 { color: #fff; max-width: 19ch; margin: 0 auto; letter-spacing: -0.03em; line-height: 1.04; font-size: clamp(44px, 5.6vw, 80px); text-wrap: balance; }
.hero .sub { margin: 26px auto 0; max-width: 54ch; color: #d3e2ef; font-size: clamp(19px, 1.55vw, 24px); line-height: 1.5; text-wrap: balance; }
.hero .note { margin: 14px auto 0; max-width: 64ch; color: #9fc0da; font-size: 16px; }
.hero .btn-row { margin-top: 36px; justify-content: center; }
.hero-assure {
  display: inline-flex; align-items: center; gap: 10px;
  position: relative; z-index: 1; margin: 24px 0 0;
  color: #d3e2ef; font-size: 15px; font-weight: 500; text-align: left;
}
.hero-assure svg { width: 19px; height: 19px; color: var(--green-bright); flex: 0 0 auto; }
.hero-assure strong { color: #fff; font-weight: 600; }
.proof-strip {
  position: relative; z-index: 1;
  max-width: 900px; margin: 54px auto 0; padding-top: 26px; text-align: center;
  border-top: 1px solid rgba(255,255,255,.16);
}
.proof-strip .label { margin-bottom: 15px; color: #a7c4dc; font-family: var(--label); font-size: 13px; font-weight: 500; letter-spacing: .005em; }
.proof-items { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.proof-item { display: inline-flex; align-items: center; gap: 10px; color: #e7f0f8; font-size: 15px; font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 2px; background: var(--green-bright); flex: 0 0 auto; }

/* Page hero (interior) */
.page-hero { padding: var(--space-section) 0 var(--space-section-tight); background: var(--mist); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 58px); max-width: none; }
.page-hero .lead { max-width: 70ch; }

/* Section heads — two-column: heading left, supporting text right (fills the width) */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  column-gap: clamp(28px, 2.6vw, 52px);
  row-gap: 14px;
  align-items: start;
  max-width: 1120px;
  margin-bottom: var(--space-xl);
}
.section-head .kicker { grid-column: 1; grid-row: 1; margin: 0; }
.section-head h2 { grid-column: 1; grid-row: 2; }
.section-head .lead { grid-column: 2; grid-row: 2; margin: 0; max-width: 46ch; }

/* Tinted bands get a centered head instead — alternating left / centered rhythm */
.band-tint .section-head {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.band-tint .section-head .kicker,
.band-tint .section-head h2 { grid-column: 1; grid-row: auto; }
.band-tint .section-head .lead { grid-column: 1; grid-row: auto; margin: 0 auto; max-width: 62ch; }

/* Section-label variants under evaluation */
/* 7 — label folded into the heading as a colored lead-in */
.section-head.sh-inside h2 { grid-row: 1; }
.section-head.sh-inside .lead { grid-row: 1; }
.band-tint .section-head.sh-inside h2, .band-tint .section-head.sh-inside .lead { grid-row: auto; }
.lead-in { color: var(--green); font-weight: 700; }
/* 8 — oversized faded word behind the heading */
.section-head.sh-ghost { position: relative; grid-template-columns: max-content minmax(0, 44ch); column-gap: clamp(36px, 3.5vw, 64px); }
.section-head.sh-ghost h2 { max-width: 22ch; }
.section-head.sh-ghost h2, .section-head.sh-ghost .lead { grid-row: 1; position: relative; z-index: 1; }
/* Plain section heads (no ghost, no lead-in) hug the heading too */
.section-head:not(.sh-ghost):not(.sh-inside):not(.centered) { grid-template-columns: max-content minmax(0, 46ch); column-gap: clamp(36px, 3.5vw, 64px); }
.section-head:not(.sh-ghost):not(.sh-inside):not(.centered) h2 { max-width: 15ch; }
/* Centered green lead-in head (same as the pricing "Start with a blueprint" head) */
.section-head.centered { grid-template-columns: 1fr; justify-items: center; text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.section-head.centered h2 { grid-column: 1; grid-row: auto; max-width: none; }
.section-head.centered .lead { grid-column: 1; grid-row: auto; margin: 14px auto 0; max-width: 64ch; }
.ghost-word {
  position: absolute; left: -2px; top: -0.52em; z-index: 0;
  font-family: var(--display); font-weight: 800; font-size: clamp(56px, 7.5vw, 104px);
  line-height: 1; letter-spacing: -0.04em; color: rgba(11, 106, 166, .07);
  pointer-events: none; white-space: nowrap;
}
/* Ghost word on interior page heros */
.page-hero .wrap { position: relative; }
.page-hero .kicker, .page-hero h1, .page-hero .lead { position: relative; z-index: 1; }
.page-hero.has-ghost h1, .page-hero.has-ghost .lead { grid-row: 1; }

/* Interior page heros: same two-column treatment for the big title + intro */
.page-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  column-gap: clamp(32px, 4vw, 72px);
  row-gap: 14px;
  align-items: start;
}
.page-hero .kicker { grid-column: 1; grid-row: 1; margin: 0; }
.page-hero h1 { grid-column: 1; grid-row: 2; }
.page-hero .lead { grid-column: 2; grid-row: 2; align-self: end; margin: 0; max-width: none; }

/* Grids + cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: 14px; padding: 30px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.card:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.card .card-tag { color: var(--green-text); font-family: var(--label); font-size: 13px; font-weight: 600; letter-spacing: .005em; }
.card h3 { margin: 12px 0 10px; }
.card p { color: var(--ink-soft); font-size: 16px; margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-weight: 600; font-size: 15px; }

/* Feature blocks — three colored "which one are you facing" option panels */
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 30px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.feature:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.feature h3 { margin: 0 0 10px; color: var(--ink); line-height: 1.18; min-height: 2.36em; }
.feature p { color: var(--ink-soft); font-size: 16px; margin: 0; }

/* Split panels */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: 16px; background: var(--mist); padding: 40px; }
.panel.white { background: #fff; }
.panel.dark { position: relative; overflow: hidden; background: var(--navy); color: #fff; border: 0; }
.panel.dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 150% at 100% 0%, rgba(33,150,220,.28), transparent 60%);
}
.panel.dark > * { position: relative; z-index: 1; }
.panel.dark h2, .panel.dark h3 { color: #fff; }
.panel.dark p, .panel.dark li { color: #c4d4e2; }
.check-list { display: grid; gap: 12px; padding: 0; margin: 22px 0 0; list-style: none; }
.check-list li { display: flex; gap: 12px; color: var(--ink-soft); font-size: 16px; }
.check-list li::before { content: ""; margin-top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--green); flex: 0 0 auto; }
.panel.dark .check-list li::before { background: var(--green-bright); }

/* Services list */
.service-row { display: grid; grid-template-columns: .8fr 2fr; gap: 48px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.service-row .service-label { color: var(--blue-dark); font-family: var(--label); font-size: 13px; font-weight: 600; letter-spacing: .005em; }
.service-row h2 { font-size: clamp(24px, 2.8vw, 32px); margin-top: 12px; }
.service-details { max-width: 64ch; }
.service-details p { margin: 0 0 15px; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.service-details p:last-child { margin-bottom: 0; }
.service-note { font-size: 15px; }
.service-note strong { color: var(--blue-dark); font-weight: 600; }

/* Case cards */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card { border: 1px solid var(--line); border-radius: 14px; padding: 32px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.case-card:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.case-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.case-industry { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-dark); font-family: var(--label); font-size: 13px; font-weight: 600; letter-spacing: .005em; }
.status { border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 11px; color: var(--ink-soft); background: var(--mist); font-family: var(--label); font-size: 11px; font-weight: 400; white-space: nowrap; }
.status.live { background: #edf6e2; border-color: #cbe4ab; color: #3d6710; }
.status.progress { background: #fdf3df; border-color: #e6c777; color: #755100; }
.case-card h2, .case-card h3 { margin-bottom: 18px; font-size: 22px; }
.case-card dl { display: grid; grid-template-columns: 92px 1fr; gap: 10px 18px; margin: 0; }
.case-card dt { color: var(--faint); font-family: var(--label); font-size: 12px; font-weight: 500; letter-spacing: .005em; padding-top: 4px; }
.case-card dd { margin: 0; color: var(--ink-soft); font-size: 15px; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.chip { display: inline-flex; border: 1px solid var(--line); border-radius: 7px; background: var(--mist); color: var(--ink-soft); font-family: var(--label); padding: 5px 10px; font-size: 12px; font-weight: 400; }

/* Stack cards (technology) */
.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stack-card { border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: #fff; }
.stack-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 18px; }
.stack-card h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--green); flex: 0 0 auto; }
.stack-card p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.stack-card strong { color: var(--ink); font-weight: 600; }

/* Process rows — editorial "how we work" layout (label + heading | prose) */
.process-list { display: block; }
.process-row {
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 52px;
  padding: clamp(34px, 4vw, 54px) 0; border-top: 1px solid var(--line);
}
.process-row:first-child { border-top: 0; padding-top: 0; }
.process-head { align-self: start; }
.process-head .kicker { margin-bottom: 14px; }
.process-head h2 { font-size: clamp(23px, 2.3vw, 31px); }
.process-body p { color: var(--ink-soft); font-size: 17px; max-width: 68ch; }
.process-body p:last-child { margin-bottom: 0; }
.process-body .check-list { margin-top: 20px; }

/* Section color bands — subtle white / light-gray alternation (Qulix-style) */
.band-tint { background: var(--mist); }
.band-tint + .band-tint { border-top: 1px solid var(--line); }

/* Pricing (blueprint first step) */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 32px 30px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.price-card:hover { box-shadow: var(--shadow); border-color: var(--line-strong); transform: translateY(-2px); }
.price-card.featured { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.price-card.featured:hover { box-shadow: 0 0 0 1px var(--green), var(--shadow); }
.price-badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  margin: 0; padding: 6px 14px; border-radius: 999px; white-space: nowrap;
  background: var(--green); color: #fff; box-shadow: 0 4px 12px rgba(95,158,37,.32);
  font-family: var(--label); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
}
.price-hours { font-family: var(--display); color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.price-hours strong { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; margin-right: 4px; }
.price-for { margin: 6px 0 20px; color: var(--blue); font-weight: 600; font-size: 15px; }
.price-card .check-list { margin: 0 0 24px; }
.price-card .check-list li { font-size: 15px; }
.price-amount { margin-top: auto; font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.03em; color: var(--ink); }
.price-note { margin-top: 4px; color: var(--faint); font-size: 14px; }
.price-footnote { margin: 28px 0 0; color: var(--ink-soft); font-size: 15px; }
.price-note-link { color: var(--blue-dark); font-weight: 600; white-space: nowrap; }
.price-note-link:hover { color: var(--blue); }
.price-cta { margin-top: 22px; width: 100%; }

/* Selected-plan banner on the contact form */
.plan-banner {
  display: none; align-items: flex-start; gap: 14px;
  margin-bottom: 24px; padding: 16px 18px; border-radius: 12px;
  background: #edf6e2; border: 1px solid #cbe4ab;
}
.plan-banner.is-shown { display: flex; }
.plan-banner .dot { margin-top: 7px; background: var(--green); }
.plan-banner strong { color: var(--ink); font-weight: 600; }
.plan-banner p { margin: 2px 0 0; color: var(--ink-soft); font-size: 14px; }
.plan-banner .change { margin-left: auto; align-self: center; font-size: 13px; font-weight: 600; white-space: nowrap; background: none; border: 0; color: var(--blue-dark); cursor: pointer; padding: 4px; }
.field input[type="file"] { padding: 10px 12px; background: var(--mist); cursor: pointer; }
.field .field-hint { margin-top: 6px; color: var(--faint); font-size: 12px; }

/* What-happens-next expectation list */
.expect { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.expect h3 { font-size: 17px; margin-bottom: 6px; }
.expect .small-lead { color: var(--ink-soft); font-size: 15px; margin-bottom: 16px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; color: var(--ink-soft); font-size: 15px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--blue); color: #fff; font-family: var(--display); font-weight: 700; font-size: 14px;
}
.steps li strong { color: var(--ink); font-weight: 600; }
.steps .when { color: var(--blue-dark); font-weight: 600; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 18px; padding: 56px; background: var(--navy); color: #fff; text-align: center; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 150% at 100% 0%, rgba(33,150,220,.30), transparent 58%), radial-gradient(60% 140% at 0% 100%, rgba(95,158,37,.14), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 720px; margin: 0 auto; }
.cta-band p { color: #c4d4e2; max-width: 680px; font-size: 17px; margin: 0 auto 1.05rem; }
.cta-band .btn-row { margin-top: 26px; justify-content: center; }

/* "What we believe" — light band (same gray as the other tinted bands) + values grid */
.band-belief { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 52px; margin-top: 6px; }
.value-item h4 { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; }
.value-item h4::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--green); flex: 0 0 auto; }
.value-item p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; margin: 0; }

/* Forms */
.form-card { border: 1px solid var(--line); border-radius: 16px; padding: 38px; background: #fff; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 13px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 10px;
  background: #fff; color: var(--ink); padding: 13px 14px; font: inherit; font-size: 15px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); opacity: 1; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,106,166,.15);
}
.honeypot { position: absolute !important; left: -10000px !important; opacity: 0 !important; pointer-events: none !important; }
.form-note { margin-top: 14px; color: var(--faint); font-size: 13px; }
.field-error { display: block; margin-top: 6px; color: #b3261e; font-size: 12.5px; font-weight: 500; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: #d3453b; box-shadow: 0 0 0 3px rgba(211, 69, 59, .14);
}
.form-error { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #fdeceb; border: 1px solid #f2c3c0; color: #8a1f18; font-size: 14px; }

/* Footer — balanced single row: brand · link row · actions, over a legal bar */
.site-footer { background: var(--navy); color: #9fb4c6; padding: 56px 0 30px; }
.footer-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: clamp(24px, 4vw, 48px); flex-wrap: wrap;
  padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-links { display: flex; flex-wrap: wrap; gap: clamp(16px, 2vw, 28px); }
.footer-links a { color: #b7c8d6; font-size: 14.5px; }
.footer-links a:hover { color: #fff; }
/* Footer action links: subtle colored links (no heading, no buttons). */
.footer-actions { display: flex; gap: 22px; }
.footer-actions a { font-size: 15px; font-weight: 600; }
.footer-actions a.fl-white { color: #fff; }
.footer-actions a.fl-white:hover { color: #cfe0ee; }
.footer-actions a.fl-green { color: #9dd857; }
.footer-actions a.fl-green:hover { color: #b7e57e; }
.site-footer .brand strong { color: #fff; }
.site-footer .brand span span { color: var(--green-bright); }
.site-footer .brand em { color: #7c92a6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; color: #7c92a6; font-size: 13px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .main-nav, .header-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.is-open .main-nav {
    display: flex; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 22px 22px; background: #fff; border-bottom: 1px solid var(--line);
  }
  .site-header.is-open .main-nav a { padding: 14px 10px; font-size: 17px; }
  .grid-3, .grid-2, .feature-row, .split, .service-row, .case-grid, .stack-grid, .price-grid, .process-row, .values-grid { grid-template-columns: 1fr; }
  .process-row { gap: 16px; }
  .section-head, .page-hero .wrap { display: block; }
  .section-head h2, .page-hero h1 { margin-bottom: 14px; }
  .section-head h2, .process-head h2 { max-width: none; }
  .section-head .lead, .page-hero .lead { max-width: 68ch; }
  .band-tint .section-head { max-width: none; }
  .service-row { gap: 22px; }
  .meta-row { grid-template-columns: 1fr; gap: 5px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 36px, var(--wrap)); }
  .ghost-word { display: none; }
  .btn-row .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .case-card dl { grid-template-columns: 1fr; gap: 4px; }
  .cta-band, .panel, .form-card { padding: 28px; }
  .proof-items { gap: 14px; }
}

/* ============================================================
   Services + How-we-work — dynamic layout upgrade
   Adds: brand-duotone imagery, a scroll-spy service index,
   watermark numerals, deliverable highlight panels, a
   full-bleed photo band, and editorial process rows.
   ============================================================ */

/* --- Duotone photo treatment: unifies stock imagery to the brand ---
   Grayscale base + translucent navy/blue tint so every photo reads
   as one art-directed set instead of clashing stock. */
.ph { position: relative; overflow: hidden; background: var(--navy); }
.ph > img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(.99);
}
.ph::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(155deg, rgba(8,36,60,.60), rgba(11,106,166,.26) 58%, rgba(12,58,94,.5)),
    radial-gradient(72% 88% at 86% 8%, rgba(157,216,87,.14), transparent 62%);
}
/* Lighter variant for standalone imagery with no overlaid text */
.ph--soft::after {
  background:
    linear-gradient(155deg, rgba(10,43,71,.40), rgba(11,106,166,.14) 60%, rgba(12,58,94,.30)),
    radial-gradient(72% 88% at 86% 8%, rgba(157,216,87,.12), transparent 62%);
}
/* Heavier variant for photos that carry overlaid copy */
.ph--bloom::after {
  background:
    linear-gradient(155deg, rgba(8,36,60,.82), rgba(10,43,71,.6) 52%, rgba(8,36,60,.78)),
    radial-gradient(60% 82% at 84% 10%, rgba(157,216,87,.18), transparent 62%);
}

/* --- Services hero: text + framed engineer photo --- */
.svc-hero .wrap {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  column-gap: clamp(32px, 4vw, 68px);
  align-items: center;
  row-gap: 28px;
}
.svc-hero-text { position: relative; grid-column: 1; }
.svc-hero-media { grid-column: 2; }
.svc-hero .ghost-word { top: -0.46em; }
.svc-hero-text .lead { max-width: 52ch; }
.svc-hero-meta {
  display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 26px;
}
.svc-hero-meta span { color: var(--ink-soft); font-size: 15px; }
.svc-hero-meta strong {
  display: inline-block; margin-right: 7px; color: var(--blue);
  font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em;
}
.svc-hero-meta span:nth-child(2) strong { color: var(--ink); }
.svc-hero-meta span:nth-child(3) strong { color: var(--green); }
.svc-hero-media {
  position: relative; margin: 0; border-radius: 16px; overflow: hidden;
  aspect-ratio: 4 / 3.4; box-shadow: var(--shadow);
}
/* Cinematic side-scrim caption, anchored high, with a way-in link */
.svc-hero-media figcaption {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
  gap: 15px; margin: 0;
  padding: clamp(28px, 3.4vw, 44px) clamp(24px, 2.8vw, 34px);
  background: linear-gradient(96deg, rgba(6, 20, 34, .72) 0%, rgba(6, 20, 34, .32) 45%, transparent 74%);
  color: #fff;
}
.svc-hero-media figcaption .cap-line {
  margin: 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(23px, 2.5vw, 32px); line-height: 1.1; letter-spacing: -0.02em;
  max-width: 15ch; text-wrap: balance;
  text-shadow: 0 1px 14px rgba(6, 20, 34, .5);
}
.svc-hero-media figcaption b { color: var(--green-bright); font-weight: 700; }
.svc-hero-media figcaption .cap-go {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-family: var(--label); font-size: 14.5px; font-weight: 600;
  text-shadow: 0 1px 12px rgba(6, 20, 34, .5);
}
.svc-hero-media figcaption .cap-go svg { width: 15px; height: 15px; transition: transform .18s ease; }
.svc-hero-media figcaption .cap-go:hover { color: var(--green-bright); }
.svc-hero-media figcaption .cap-go:hover svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .svc-hero-media figcaption .cap-go:hover svg { transform: none; } }

/* --- Sticky scroll-spy service index --- */
.svc-nav {
  position: sticky; top: 73px; z-index: 70;
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(10px);
}
.svc-nav ul {
  display: flex; gap: 6px; margin: 0; padding: 11px 0; list-style: none;
  overflow-x: auto; scrollbar-width: none;
}
.svc-nav ul::-webkit-scrollbar { display: none; }
.svc-nav a {
  display: inline-block; white-space: nowrap; padding: 8px 15px; border-radius: 999px;
  color: var(--ink-soft); font-family: var(--label); font-size: 14px; font-weight: 500;
  border: 1px solid transparent; transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.svc-nav a:hover { background: var(--mist); color: var(--ink); }
.svc-nav a.is-active { background: var(--mist-2); color: var(--ink); border-color: var(--line-strong); font-weight: 600; }

/* --- Redesigned service rows: watermark numeral + highlight panel --- */
/* Sits directly under the sticky sub-nav, so it needs less top padding than a standalone section */
.svc-section { padding-top: clamp(28px, 4vw, 52px); }
.svc-list { display: grid; gap: 0; }
.svc-item {
  position: relative;
  display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  gap: clamp(24px, 2.4vw, 44px);
  padding: clamp(38px, 4.6vw, 60px) 0;
  padding-left: clamp(0px, 3.6vw, 68px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 148px;
}
.svc-item:first-child { border-top: 0; padding-top: 0; }
.svc-item:nth-child(even) { background:
  linear-gradient(180deg, transparent, rgba(244,247,250,.55) 12% 88%, transparent);
}
.svc-aside {
  position: relative; align-self: start;
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px; row-gap: 16px; align-items: center;
}
.svc-icon {
  grid-column: 1; grid-row: 1;
  display: grid; place-items: center; width: 50px; height: 50px;
  border-radius: 13px; background: #e9f2f8; color: var(--blue);
}
.svc-icon svg { width: 26px; height: 26px; }
.svc-aside .service-label { grid-column: 2; grid-row: 1; margin: 0; }
.svc-aside h2 { grid-column: 1 / -1; grid-row: 2; font-size: clamp(23px, 2.5vw, 31px); max-width: 16ch; }
.svc-main { max-width: 66ch; }
.svc-lead { color: var(--ink-soft); font-size: 17px; line-height: 1.6; margin: 0 0 22px; }
.svc-highlights { display: grid; gap: 16px; }
.svc-bestfor {
  margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55;
}
.svc-bestfor span {
  color: var(--blue-dark); font-family: var(--label); font-weight: 600; font-size: 13px;
  margin-right: 8px;
}
.svc-deliverable {
  padding: 16px 18px; border-radius: 12px;
  background: var(--mist); border: 1px solid var(--line);
}
.svc-deliverable-label {
  display: flex; align-items: center; gap: 8px; margin-bottom: 5px; color: var(--ink);
  font-family: var(--label); font-size: 12.5px; font-weight: 600; letter-spacing: .01em;
}
.svc-deliverable-label::before {
  content: ""; flex: 0 0 auto; width: 16px; height: 16px; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13 4.5 6.5 11 3 7.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13 4.5 6.5 11 3 7.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.svc-deliverable p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }

/* --- Full-bleed photo band with overlaid statement --- */
.photo-band { position: relative; margin: clamp(8px, 2vw, 20px) 0; }
.photo-band > .ph {
  position: absolute; inset: 0; z-index: 0;
}
.photo-band-inner {
  position: relative; z-index: 1;
  padding-block: clamp(64px, 10vw, 132px);
  padding-inline-start: clamp(24px, 5vw, 96px);
  display: flex; align-items: center; min-height: 320px;
}
.photo-band-quote {
  margin: 0; max-width: 20ch;
  color: #fff; font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -0.02em;
  text-wrap: balance;
}
.photo-band-quote b { color: var(--green-bright); font-weight: 700; }
.photo-band-sub {
  margin: 18px 0 0; max-width: 46ch; color: #cfe0ee; font-size: 16px;
}

/* --- Fit / not-for panels: matched white panels; markers signal yes vs no --- */
/* Equal-height fit / not-for panels; shared note centered beneath both */
.fit-split { align-items: stretch; }
.fit-note {
  margin: 0 0 clamp(24px, 3.4vw, 40px);
  color: var(--ink-soft); font-size: 15.5px; line-height: 1.5;
}
.fit-note a { color: var(--blue-dark); font-weight: 600; text-underline-offset: 2px; }
.fit-note a:hover { color: var(--blue); text-decoration: underline; }
.fit-yes, .fit-no { background: #fff; }
.fit-yes h2, .fit-no h2 { color: var(--ink); }
/* strong-fit uses green check marks (mirrors the red crosses on the not-for side) */
.fit-yes .check-list li::before {
  width: 16px; height: 16px; margin-top: 3px; border-radius: 0; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13 4.5 6.5 11 3 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13 4.5 6.5 11 3 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.x-list { display: grid; gap: 12px; padding: 0; margin: 22px 0 0; list-style: none; }
.x-list li { display: flex; gap: 12px; color: var(--ink-soft); font-size: 16px; }
.x-list li::before {
  content: ""; margin-top: 3px; flex: 0 0 auto; width: 16px; height: 16px; background: #c15a48;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 4.5l7 7M11.5 4.5l-7 7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 4.5l7 7M11.5 4.5l-7 7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* --- Editorial process rows (How we work): text + duotone photo --- */
.proc-list { display: grid; gap: clamp(40px, 6vw, 86px); }
.proc-item {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
.proc-item:nth-child(even) .proc-text { order: 2; }
.proc-text { position: relative; min-width: 0; }
.proc-watermark {
  position: absolute; left: -4px; top: -0.62em; z-index: 0;
  font-family: var(--display); font-weight: 800; font-size: clamp(58px, 8vw, 116px);
  line-height: 1; letter-spacing: -0.045em; color: rgba(11,106,166,.06);
  pointer-events: none; white-space: nowrap;
}
.proc-text > :not(.proc-watermark) { position: relative; z-index: 1; }
.proc-text .kicker { margin-bottom: 12px; }
.proc-text h2 { font-size: clamp(24px, 2.5vw, 33px); max-width: 18ch; }
.proc-text p { color: var(--ink-soft); font-size: 17px; line-height: 1.62; max-width: 60ch; margin: 16px 0 0; }
.proc-media {
  border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3.1;
  box-shadow: var(--shadow); align-self: stretch;
}
.compliance-chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 0; padding: 0; list-style: none; }
.compliance-chips li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--mist); border: 1px solid var(--line-strong);
  color: var(--ink-soft); font-family: var(--label); font-size: 13.5px; font-weight: 500;
}
.compliance-chips li::before {
  content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--green); flex: 0 0 auto;
}
.proc-own {
  display: flex; align-items: flex-start; gap: 13px;
  margin-top: 24px; padding: 15px 18px; border-radius: 12px;
  background: var(--mist); border: 1px solid var(--line);
  color: var(--ink-soft); font-size: 16px; font-weight: 400; line-height: 1.5;
}
.proc-own svg { flex: 0 0 auto; width: 21px; height: 21px; margin-top: 1px; color: var(--green); }
.proc-own strong { color: var(--ink); font-weight: 600; }

/* --- Staggered reveal within the new lists --- */
.svc-item.reveal, .proc-item.reveal { transition-duration: .6s; }
.svc-item.reveal:nth-child(2) { transition-delay: .05s; }
.svc-item.reveal:nth-child(3) { transition-delay: .1s; }
.proc-item.reveal:nth-child(2) { transition-delay: .06s; }
.proc-item.reveal:nth-child(3) { transition-delay: .12s; }
.proc-media, .svc-hero-media { transition: transform .6s cubic-bezier(.16,1,.3,1); }
.reveal .proc-media, .reveal.svc-hero-media { transform: scale(1.02); }
.reveal.is-visible .proc-media, .reveal.is-visible.svc-hero-media { transform: none; }

/* --- Responsive (appended last so it wins over shared media queries) --- */
@media (max-width: 960px) {
  .svc-hero .wrap { display: block; }
  .svc-hero-media { margin-top: 28px; aspect-ratio: 16 / 9; }
  .svc-item { grid-template-columns: 1fr; gap: 18px; padding-left: 0; scroll-margin-top: 120px; }
  .svc-icon { margin-bottom: 0; }
  .svc-aside h2 { max-width: none; }
  .proc-item { grid-template-columns: 1fr; gap: 22px; }
  .proc-item:nth-child(even) .proc-text { order: 0; }
  .proc-media { order: -1; aspect-ratio: 16 / 9; }
  .proc-text h2 { max-width: none; }
  .photo-band-inner { padding-block: clamp(52px, 13vw, 96px); min-height: 0; }
}
@media (max-width: 620px) {
  .proc-watermark { font-size: 46px; }
  .svc-deliverable { padding: 14px 16px; }
  .photo-band-quote { max-width: none; font-size: clamp(24px, 7vw, 32px); }
  .photo-band-sub { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal .proc-media, .reveal.svc-hero-media,
  .reveal.is-visible .proc-media, .reveal.is-visible.svc-hero-media { transform: none; transition: none; }
}

/* ============================================================
   AI Governance Readiness Checklist (lead magnet)
   ============================================================ */
.ck-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(30px, 4vw, 60px); align-items: start; }
.ck-groups { display: grid; gap: clamp(30px, 4vw, 46px); }
.ck-group-head { display: flex; gap: 14px; align-items: baseline; margin-bottom: 16px; }
.ck-group-head .ck-num { font-family: var(--label); font-size: 13px; font-weight: 600; color: var(--blue-dark); }
.ck-group-head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.02em; line-height: 1.15; }
.ck-group-head p { margin: 3px 0 0; color: var(--faint); font-size: 15px; }
.ck-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ck-item {
  display: flex; gap: 14px; align-items: flex-start; cursor: pointer;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .15s ease, background .15s ease;
}
.ck-item:hover { border-color: var(--line-strong); background: var(--mist); }
.ck-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.ck-box {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px;
  border: 1.5px solid var(--line-strong); background: #fff; display: grid; place-items: center;
  transition: background .15s ease, border-color .15s ease;
}
.ck-box svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .15s ease; }
.ck-item input:checked + .ck-box { background: var(--green); border-color: var(--green); }
.ck-item input:checked + .ck-box svg { opacity: 1; transform: none; }
.ck-item input:focus-visible + .ck-box { outline: 2px solid var(--blue); outline-offset: 2px; }
.ck-item span.ck-text { color: var(--ink); font-size: 15.5px; line-height: 1.5; }
.ck-item input:checked ~ span.ck-text { color: var(--ink-soft); }

.ck-score { position: sticky; top: 90px; border: 1px solid var(--line); border-radius: 16px; background: var(--mist); padding: 26px 24px; }
.ck-score-label { font-family: var(--label); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-dark); }
.ck-score-num { margin: 8px 0 14px; font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); font-size: 24px; }
.ck-score-num strong { font-size: 46px; }
.ck-meter { height: 10px; border-radius: 999px; background: var(--mist-2); overflow: hidden; }
.ck-meter span { display: block; height: 100%; width: 0%; border-radius: 999px; background: var(--green); transition: width .3s cubic-bezier(.16,1,.3,1); }
.ck-band { margin: 16px 0 4px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
.ck-band-desc { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
.ck-score-cta { width: 100%; margin-top: 20px; }

.ck-form-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.ck-form-pitch h2 { font-size: clamp(24px, 3vw, 34px); }
.ck-form-pitch .lead { margin-top: 14px; }
.ck-form-card form { border: 1px solid var(--line); border-radius: 16px; padding: 30px; background: #fff; box-shadow: var(--shadow); }
.ck-form-card .form-note { margin-top: 12px; }

@media (max-width: 900px) {
  .ck-wrap { grid-template-columns: 1fr; }
  .ck-score { position: relative; top: 0; order: -1; }
  .ck-form-card { grid-template-columns: 1fr; }
}
