/* combination.se — one stylesheet. Tokens from Design handoff (D2), direction 4b. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched Arial while Inter loads (values computed by tools/prepare-assets.py). */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107.50%;
  ascent-override: 90.12%;
  descent-override: 22.44%;
  line-gap-override: 0%;
}

:root {
  --navy: #165469;
  --navy-dark: #124556;
  --text: #161616;
  --muted: #5c6166;
  --white: #ffffff;
  --grey: #f2f4f6;
  --rule: #e2e6ea;
  --link: #0076BA;
  --accent: #047A72;
  --gutter: 48px;
  --max: 1280px;
  --header-h: 72px;   /* same as the solid bar, so the row sits at the same height on every page (Jonas, 2026-09-16) */
  --header-solid-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-family: "Inter", "Inter Fallback", Arial, Helvetica, sans-serif; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-size: 18px; line-height: 1.5; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1.5em; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.2; color: var(--navy); text-wrap: pretty; overflow-wrap: anywhere; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--navy-dark); }
.on-grey a:not(.btn), .band--grey a:not(.btn), .closer a:not(.btn), .who a:not(.btn), .testimonials a:not(.btn) { color: var(--navy); }
.on-navy, .on-navy a { color: var(--white); }
.on-navy a:hover { color: var(--white); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.on-navy :focus-visible, .site-header :focus-visible, .footer-band :focus-visible, .hero :focus-visible, .cost-band__text :focus-visible { outline-color: var(--white); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -100px; z-index: 100; background: var(--white); color: var(--navy); padding: 12px 16px; border-radius: 6px; }
.skip-link:focus { top: 8px; }
main:focus { outline: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.prose { max-width: 65ch; }
.prose h2 { font-size: 24px; margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.2em; margin: 0 0 1.5em; }
.lede { font-size: 20px; font-weight: 600; margin-bottom: 1.2em; }

/* Buttons — 52 px, radius 6 (D2 deviation 3) */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; border-radius: 6px; border: 0; font: inherit; font-size: 18px; font-weight: 600; line-height: 1.3; text-decoration: none; cursor: pointer; text-align: center; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-dark); color: var(--white); }
.btn--inverse { background: var(--white); color: var(--navy); }
.btn--inverse:hover { background: #ebebeb; color: var(--navy); }
.btn--outline { background: var(--white); color: var(--navy); border: 2px solid var(--navy); }
.btn--outline:hover { background: var(--grey); color: var(--navy); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.arrow-link { font-size: 18px; }
.closer .arrow-link { white-space: nowrap; }   /* a link in running text moves to the next line whole */

/* Header */
.site-header { position: sticky; top: 0; left: 0; right: 0; z-index: 20; color: var(--white); background: var(--navy); height: var(--header-solid-h); }
.site-header--overlay { position: absolute; background: linear-gradient(180deg, rgba(22,84,105,.85) 0%, rgba(22,84,105,0) 100%); height: var(--header-h); }
.site-header--overlay.is-stuck { position: fixed; background: var(--navy); height: var(--header-solid-h); }
.site-header__row { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: block; flex-shrink: 0; }
.wordmark__word { width: 122px; height: 36px; }
.wordmark__icon { display: none; width: auto; height: 30px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav { display: flex; gap: 28px; font-size: 16px; }
.nav--main, .nav--more { display: none; }
.nav a { color: var(--white); text-decoration: none; white-space: nowrap; padding: 6px 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
/* "More" — the word label, bordered, 44 px tap target; opens the rest of the row on mobile */
.menu-btn { display: none; font: inherit; font-size: 16px; color: var(--white); background: none; border: 1px solid rgba(255,255,255,.7); border-radius: 0; min-width: 44px; min-height: 44px; padding: 8px 6px; cursor: pointer; }
.menu-btn[aria-expanded="true"] { background: var(--white); color: var(--navy); }
@media (max-width: 1279px) { .nav, .site-nav { gap: 20px; } }
@media (max-width: 999px) {
  :root { --gutter: 20px; --header-h: 56px; --header-solid-h: 56px; }
  .wordmark__word { display: none; }
  .wordmark__icon { display: block; }      /* the C symbol on mobile (Jonas, 2026-09-11); the wordmark on desktop */
  .nav--desktop { display: none; }
  .site-nav { gap: 16px; }
  .nav--main { display: flex; gap: 16px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav--more { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--navy); border-top: 1px solid rgba(255,255,255,.25); }
  .nav--more.is-open { display: flex; }
  .nav--more li { border-bottom: 1px solid rgba(255,255,255,.25); }
  .nav--more a { display: flex; align-items: center; min-height: 48px; padding: 0 var(--gutter); }
  .site-header { transition: transform .2s; }
  .site-header.is-hidden { transform: translateY(-100%); }
  .site-header--overlay.is-stuck { position: fixed; }
}
@media (max-width: 349px) { .site-nav, .nav--main { gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }

/* Landing hero — photo band, navy scrim, header floats over it */
.hero { position: relative; background: var(--navy); color: var(--white); min-height: 680px; display: flex; align-items: flex-end; }
.hero__img, .hero__scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img { object-fit: cover; }
.hero__scrim { background: linear-gradient(180deg, rgba(22,84,105,0) 0%, rgba(22,84,105,.30) 38%, rgba(22,84,105,.86) 70%, rgba(22,84,105,.93) 100%); }
.hero__body { position: relative; width: 100%; padding-top: calc(var(--header-h) + 48px); padding-bottom: 72px; }
.hero h1 { font-size: 52px; line-height: 1.1; color: var(--white); max-width: 20ch; }
.hero__sub { font-size: 20px; margin: 28px 0 0; max-width: 56ch; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; margin-top: 36px; }
.hero__actions a:not(.btn) { color: var(--white); }

/* Five tiles */
.tiles { padding-top: 80px; padding-bottom: 80px; }
.tiles h2 { font-size: 24px; margin-bottom: 24px; }
.cost-band { display: grid; grid-template-columns: 7fr 5fr; min-height: 400px; }
.cost-band__text { position: relative; background: var(--navy); color: var(--white); padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; }
.cost-band__text h3 { font-size: 32px; color: var(--white); }
.cost-band__text h3 a { color: inherit; text-decoration: none; }
.cost-band__text h3 a::after { content: ""; position: absolute; inset: 0; }
.cost-band__text h3 a:hover { text-decoration: underline; }
.cost-band__text p { margin: 0; max-width: 60ch; }
.cost-band__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 8px; }
.cost-band__actions a:not(.btn) { color: var(--white); }
.cost-band__shot { position: relative; background: var(--grey); border-top: 3px solid var(--accent); display: flex; flex-direction: column; }
.shot-placeholder { flex: 1; min-height: 220px; margin: 24px 24px 0; border: 1px dashed #9aa3aa; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--muted); font-size: 16px; }
.cost-band__shot .shot { flex: 1; width: 100%; height: 100%; object-fit: contain; padding: 24px 24px 0; min-height: 0; }
.shot-caption { margin: 0; padding: 12px 16px; font-size: 16px; color: var(--muted); }
/* Overcast panels drawn in HTML/SVG instead of screenshots (Jonas, 2026-09-18): sharp at any size. Figures from a test environment, as in the source screenshots in img/source/, converted from SEK to EUR at the ECB reference rate of 2026-09-17 (11.2715 SEK per EUR); sums unchanged. */
.oc-panel { background: #fcfcfb; padding: 20px 22px 22px; color: var(--text); text-align: left; }
.oc-panel p { margin: 0; max-width: none; }
.oc-panel__title { font-size: 15px; font-weight: 600; }
.oc-panel__n { font-size: 40px; font-weight: 600; line-height: 1.1; color: #0b6b1d; margin-top: 14px !important; }
.oc-panel__n span { font-size: 15px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.oc-panel__sub { font-size: 13px; color: var(--muted); border-top: 1px solid var(--rule); margin-top: 20px !important; padding-top: 14px; }
.oc-panel__bar { display: flex; gap: 2px; margin-top: 12px; }
.oc-panel__seg { display: block; min-width: 0; padding: 7px 0; border-radius: 3px; font-size: 12px; font-weight: 600; line-height: 1.3; text-align: center; color: var(--white); white-space: nowrap; }
.oc-panel__seg--high { flex: 72; background: #16376b; }
.oc-panel__seg--med { flex: 15; background: #2a6bbf; }
.oc-panel__seg--low { flex: 13; background: #6fa8ea; color: #10233f; }
.oc-panel__legend, .prose .oc-panel__legend { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; margin: 12px 0 0; padding: 0; font-size: 13px; }
.oc-panel__legend li { list-style: none; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.oc-panel__legend li::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: #16376b; }
.oc-panel__legend .oc-panel__key--med::before { background: #2a6bbf; }
.oc-panel__legend .oc-panel__key--low::before { background: #6fa8ea; }
.oc-panel__legend span { color: var(--muted); }
.oc-panel--band { margin: auto 24px; }
.split__figure .oc-panel, .oc-waterfall-wrap { border: 1px solid var(--rule); }
.act--grey .split__figure .oc-panel, .act--grey .oc-waterfall-wrap, .page-body .oc-waterfall-wrap { border-color: #d5dbe0; }
.split > * { min-width: 0; }   /* a wide child (the chart) scrolls inside its own box instead of stretching the column */
.oc-waterfall-wrap { overflow-x: auto; max-width: 100%; background: #fcfcfb; }
.oc-waterfall { display: block; width: 100%; height: auto; font-family: inherit; }
@media (max-width: 999px) { .oc-waterfall { min-width: 560px; } }   /* single column: keep the labels readable on phones, the chart scrolls in its box; side by side (1000 px up) it scales with its column, no scrollbar */
.oc-wf__title { font-size: 18px; font-weight: 600; fill: var(--text); }
.oc-wf__axis, .oc-wf__cat { font-size: 13px; fill: var(--muted); }
.oc-wf__val { font-size: 15px; font-weight: 600; fill: var(--text); }
.oc-wf__grid { stroke: var(--rule); stroke-width: 1; }
.oc-wf__link { stroke: #b9c0c7; stroke-width: 1; }
.oc-wf__bar--start { fill: #2a6fd6; }
.oc-wf__bar--step { fill: #f07a4f; }
.oc-wf__bar--end { fill: #1fae78; }
.tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.tile { position: relative; background: var(--grey); padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.tile h3 { font-size: 20px; }
.tile p { margin: 0; }
.tile a { color: var(--navy); margin-top: auto; }
.tile a::after { content: ""; position: absolute; inset: 0; }
.tile:hover a { color: var(--navy-dark); }

/* Who we are — two-panel band */

.who__grid { display: grid; grid-template-columns: 5fr 7fr; min-height: 420px; max-width: var(--max); margin: 0 auto; }
.who__photo { background: var(--rule); position: relative; }
.who__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.who__text { padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.who__text h2 { font-size: 28px; max-width: 24ch; }
.who__text p { margin: 0; max-width: 60ch; }

/* Contact + footer band (photo on landing and contact; solid navy elsewhere) */
.footer-band { position: relative; background: var(--navy); color: var(--white); }
.footer-band a { color: var(--white); }
.footer-band__img, .footer-band__scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.footer-band__img { object-fit: cover; }
.footer-band__scrim { background: linear-gradient(180deg, rgba(22,84,105,.72) 0%, rgba(22,84,105,.90) 60%, rgba(22,84,105,.96) 100%); }
.footer-band--solid .footer-band__img, .footer-band--solid .footer-band__scrim { display: none; }
.footer-band__inner { position: relative; max-width: var(--max); margin: 0 auto; }
.contact { padding: 80px var(--gutter); }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.contact__intro { display: flex; flex-direction: column; gap: 20px; }
.contact__intro p { margin: 0; }
.contact__heading { font-size: 28px; color: var(--white); }
.contact__person { display: flex; align-items: center; gap: 20px; }
.contact__links { overflow-wrap: anywhere; }
.contact__links a { white-space: nowrap; }
.portrait { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.form-card { background: var(--white); color: var(--text); border-radius: 16px; padding: 40px; max-width: 560px; display: flex; flex-direction: column; gap: 20px; justify-self: start; width: 100%; }
.form-card a { color: var(--navy); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 18px; }
.field input, .field textarea { font: inherit; font-size: 18px; color: var(--text); background: var(--white); border: 1px solid var(--muted); border-radius: 6px; padding: 12px 14px; min-height: 52px; width: 100%; }
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--link); outline-offset: 2px; }
.field ::placeholder { color: var(--muted); opacity: 1; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { align-self: flex-start; }
.form-consent { margin: 0; font-size: 16px; color: var(--muted); }
.form-msg { display: none; margin: 0; padding: 12px 16px; border-radius: 6px; font-size: 18px; }
.form-msg:target { display: block; }
.form-msg--ok { background: #e6f2f1; color: #063f3b; }
.form-msg--err { background: #fbeaea; color: #7a1d1d; }
.form-msg--err a { color: #7a1d1d; }

.footer { border-top: 1px solid rgba(255,255,255,.25); padding: 56px var(--gutter) 40px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; font-size: 16px; line-height: 1.6; }
.footer-band--solid .footer { border-top: 0; }
.footer p { margin: 0 0 12px; overflow-wrap: anywhere; }
.footer__list li { padding: 2px 0; }
.footer__sub { padding-left: 16px; }
.footer__copy { margin-top: 24px; }

/* Inner pages */
.page-head { padding: 64px 0 24px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.75rem); max-width: 22ch; margin-bottom: 24px; }
.page-body { padding: 8px 0 64px; }
.closer { padding: 56px 0; }
.closer h2 { font-size: 24px; margin-bottom: 16px; }
.closer p { margin: 0 0 16px; }
.closer p:last-child { margin-bottom: 0; }
.closer .btn { margin-right: 20px; }
.closer__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.closer__line { color: var(--muted); font-size: 16px; }
.principle { margin-bottom: 1.2em; }
.principle strong { color: var(--navy); }

/* Stat tiles — typographic, no charts (trial, Jonas 2026-09-14) */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 12px; padding: 0; list-style: none; }
.stat { background: var(--grey); padding: 24px 20px; display: flex; flex-direction: column; gap: 8px; }
.stat__n { font-size: 52px; line-height: 1.05; font-weight: 600; color: var(--navy); overflow-wrap: normal; }
.stat__t { font-size: 16px; line-height: 1.5; }
.stat__pre { font-size: 22px; font-weight: 600; margin-right: 2px; }   /* on the figure's own line, at its own size (Jonas, 2026-09-21) */
.stat__n:has(.stat__pre) { white-space: nowrap; }
@media (max-width: 799px) { .stats { grid-template-columns: 1fr; gap: 12px; } .stat__n { font-size: 40px; } }
@media (min-width: 800px) and (max-width: 999px) { .stat__n { font-size: 32px; } }

/* Structure pieces from the 2026-09-15 review: eyebrows, acts with a chevron divider, split sections,
   box-diagrams (stack, flow), the comparison table, claim spine. Text and boxes only — no icons, no illustration. */
.eyebrow { display: block; font-size: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.act { padding-bottom: 56px; background: var(--act-bg); }
.act--grey { --act-bg: var(--grey); --act-prev: var(--white); }
.act--white { --act-bg: var(--white); --act-prev: var(--grey); }
/* Inverted band: navy with white text. Only for acts whose content is a heading and a diagram — never paragraph text (D1 polarity). */
.act--navy { --act-bg: var(--navy); --act-prev: var(--grey); color: var(--white); padding-bottom: 8px; }
.act--navy .act__head h2 { color: var(--white); }
.act--navy .eyebrow { color: rgba(255,255,255,.85); }
.act--navy :focus-visible { outline-color: var(--white); }
.act--plain .act__divider { margin-bottom: 8px; }
/* The chevron is the section above pointing into this one: a triangle in the previous background colour */
/* Divider: the wide chevron of the first version (the section above pointing into this one), set at the text column's left edge (Jonas, 2026-09-15) */
.act__divider { position: relative; height: 44px; }
.act__divider::before, .page-body::before, .closer::before, .who::before { content: ""; position: absolute; top: 0; left: max(var(--gutter), calc(50% - 640px + var(--gutter))); width: 150px; height: 44px; background: var(--act-prev); clip-path: polygon(0 0, 100% 0, 50% 100%); }
/* The same rhythm on every page without touching the fragments: page body grey after the white head, closer white after grey */
.page-body { position: relative; background: var(--grey); --act-prev: var(--white); padding-top: 72px; }
.page-body .stat, .page-body .flow__steps li { background: var(--white); }
.page-body .split__figure img { border-color: #d5dbe0; }
.closer { position: relative; background: var(--white); --act-prev: var(--grey); padding-top: 96px; }
.closer--grey { background: var(--grey); --act-prev: var(--white); }
.closer--grey a:not(.btn) { color: var(--navy); }
.who { position: relative; background: var(--white); --act-prev: var(--white); padding-top: 0; }   /* follows the white tiles section since the testimonials band left (2026-09-18): no notch, no gap */
.who__text { background: var(--grey); }
.act--grey .stat, .act--grey .flow__steps li { background: var(--white); }
.act--white .cells li { background: var(--grey); }
.act--grey .split__figure img { border-color: #d5dbe0; }
.act--grey .compare th, .act--grey .compare td { border-bottom-color: #d5dbe0; }
.act__head { text-align: center; padding: 64px var(--gutter) 24px; max-width: 800px; margin: 0 auto; }
.act__head h2 { font-size: 32px; }
.act__head p { font-size: 20px; color: var(--muted); margin: 12px 0 0; }
.act .prose { margin: 0 auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; }
.split--img-left .split__text { order: 2; }
.split--img-left .split__figure { order: 1; }
.split__text h2 { font-size: 28px; margin: 0 0 16px; }
.split__text p { max-width: 52ch; }
.split__text p:last-child { margin-bottom: 0; }
.split__figure { margin: 0; }
.split__figure img { width: 100%; height: auto; border: 1px solid var(--rule); }
.split__figure figcaption { font-size: 16px; color: var(--muted); margin-top: 8px; }
.split__figure .flow { margin: 0; }
 /* The phases, top to bottom, colour-coded (Jonas 2026-09-15): assessment white, cut the waste grey, the two parallel phases navy;
   the same colours mark the phase sections (.eyebrow--phase). Connectors are text arrows, as in .flow. */
.stack { margin: 8px auto 40px; max-width: 760px; }
.stack__layers { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.stack__layer { width: 100%; padding: 20px 24px; text-align: center; position: relative; }
.stack__layer + .stack__layer { margin-top: 40px; }
.stack__layer + .stack__layer::before, .stack__layer--split > div::before { content: "↓"; position: absolute; top: -36px; left: 50%; transform: translateX(-50%); color: var(--navy); font-size: 26px; line-height: 1; }
.stack__layer + .stack__layer--split::before { content: none; }
.stack__layer--assess { background: var(--white); color: var(--navy); border: 2px solid var(--navy); }
.stack__layer--cut { background: var(--grey); color: var(--navy); border: 2px solid var(--grey); }
.stack__layer--split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; }
.stack__layer--split > div { position: relative; background: var(--navy); color: var(--white); padding: 20px 24px; }
.stack__label { display: block; font-weight: 600; font-size: 20px; line-height: 1.25; }
.stack__note { display: block; font-size: 16px; margin-top: 4px; }
/* Phase blocks (Jonas 2026-09-15: full background blocks in the phase's colour, so a section reads as its box in the figure).
   The navy phases carry the colour in a header band and keep the body white — paragraph text never sits on navy (D1 polarity). */
.phase { margin: 24px 0; }
.phase__head { padding: 10px 24px; }
.phase__head .eyebrow { margin: 0; }
.phase__body { padding: 28px 24px; }
.phase__body h2 { font-size: 26px; margin: 0 0 16px; }
.phase__body p { max-width: 52ch; }
.phase__body > p:last-child { margin-bottom: 0; }
.phase--assess { background: var(--white); border: 2px solid var(--navy); }
.phase--assess .phase__head { border-bottom: 2px solid var(--navy); }
.phase--assess .phase__head .eyebrow { color: var(--navy); }
.phase--cut { background: var(--grey); }
.phase--cut .phase__head { background: var(--rule); }
.phase--cut .phase__head .eyebrow { color: var(--navy); }
.phase--navy { background: var(--navy); }
.phase--navy .phase__head { padding-top: 14px; }
.phase--navy .phase__head .eyebrow { color: var(--white); }
.phase--navy .phase__body { background: var(--white); margin: 0 12px 12px; }
/* The same arrows as the figure: one into each of the two parallel blocks */
.tracks .phase { position: relative; }
.tracks .phase::before { content: "↓"; position: absolute; top: -39px; left: 50%; transform: translateX(-50%); color: var(--navy); font-size: 26px; line-height: 1; }
.phase .split { padding: 28px 24px; }
.phase--assess .flow__steps li { background: var(--grey); }
.choice { margin: 36px auto 0; }
/* Two tracks side by side, mirroring the split layer; the case sits inside the rebuild block */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.tracks .phase { margin: 28px 0 0; }   /* 28 + the 24 below the block above = a 52 px gap with the arrow centred in it; a plain margin: 0 here used to cancel the gap and the arrows printed over the block above */
.case-in { margin-top: 28px; padding-top: 24px; border-top: 2px solid var(--navy); }
.case-in .eyebrow { margin: 0 0 6px; }
.case-in h3 { font-size: 22px; margin: 0 0 12px; }
.case-in .stats { grid-template-columns: 1fr; gap: 10px; margin: 16px 0 12px; }
.case-in .stat { background: var(--grey); padding: 16px 18px; }
.case-in .stat__n { font-size: 36px; }
/* Carousel (Bespoke cases; Jonas 2026-09-15 — the one exception to the no-motion token): auto-advances one card at a time,
   pauses on hover and focus, stops under prefers-reduced-motion; the dots are buttons and show the position. */
.carousel { margin: 16px 0 28px; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; transition: transform .6s ease; }
/* One case at a time (Jonas, 2026-09-18, on Sebbe's R012): each gets the full width and more weight */
.carousel__track li { flex: 0 0 100%; display: flex; align-items: center; background: var(--white); border-top: 3px solid var(--navy); padding: 28px 32px; font-size: 22px; font-weight: 600; line-height: 1.35; color: var(--navy); min-height: 104px; list-style: none; }
.prose .carousel__track { padding-left: 0; }
.carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.carousel__dots button { width: 10px; height: 10px; padding: 0; border: 2px solid var(--navy); background: transparent; cursor: pointer; }
.carousel__dots button[aria-current="true"] { background: var(--navy); }
.carousel__dots button:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
@media (max-width: 599px) { .carousel__track li { padding: 20px; font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .carousel__track { transition: none; } }
.flow { margin: 24px 0; }
.flow__steps { display: flex; gap: 28px; align-items: stretch; list-style: none; margin: 0; padding: 0; }
.flow__steps li { flex: 1; position: relative; background: var(--grey); border-top: 3px solid var(--navy); padding: 16px; }
.flow__steps li + li::before { content: "→"; position: absolute; left: -24px; top: 50%; transform: translateY(-50%); color: var(--navy); font-size: 22px; line-height: 1; }
.flow__k { display: block; font-weight: 600; color: var(--navy); }
.flow__v { display: block; font-size: 16px; margin-top: 4px; }
.flow__note { font-size: 16px; color: var(--muted); margin: 12px 0 0; }
.compare-wrap { overflow-x: auto; margin: 24px 0; position: relative; }   /* relative: the sr-only cells are absolutely positioned and must not escape the scroll box */
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.compare thead th { color: var(--navy); border-bottom: 2px solid var(--navy); white-space: nowrap; }
.compare thead th:not(:first-child), .compare td { text-align: center; }
.compare td.yes { color: var(--navy); font-weight: 600; font-size: 20px; }
.compare td.no { color: var(--muted); }
/* Overcast's rule list, drawn after the application's own screen (Jonas, 2026-09-18): off-white card, header strip, small grey column labels, rule id under the name, green savings, confidence pills */
.oc-rules-card { margin: 24px 0 0; background: #fcfcfb; border: 1px solid #d5dbe0; color: var(--text); }
.oc-rules__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding: 14px 18px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.oc-rules__total { font-weight: 600; color: #0b6b1d; }
.oc-rules__total span { font-weight: 400; }
.oc-rules__scroll { overflow-x: auto; position: relative; }
.oc-rules { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.4; }
.oc-rules th, .oc-rules td { padding: 11px 18px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: middle; }
.oc-rules thead th { font-size: 12px; font-weight: 400; color: var(--muted); white-space: nowrap; padding-top: 10px; padding-bottom: 8px; }
.oc-rules tbody tr:last-child th, .oc-rules tbody tr:last-child td { border-bottom: 0; }
.oc-rules tbody th { font-weight: 400; }
.oc-rules__name { display: block; font-weight: 600; }
.oc-rules__id { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; color: var(--muted); }
.oc-rules .oc-rules__num { text-align: right; white-space: nowrap; }
.oc-rules td:last-child { white-space: nowrap; }
.oc-rules__sum { font-weight: 600; color: #0b6b1d; }
.oc-rules__sum span { font-weight: 400; color: var(--muted); }
.oc-pill { display: inline-block; margin: 1px 4px 1px 0; padding: 1px 9px; border: 1px solid #e0e0dc; border-radius: 12px; background: #f1f1ef; font-size: 12px; white-space: nowrap; }
.oc-pill span { color: var(--muted); }
.oc-rules__caption { font-size: 16px; color: var(--muted); margin: 8px 0 28px; }   /* sits under the card like a figcaption */
.cost-band__eyebrow { color: rgba(255,255,255,.85); margin: 0; }
.cost-band__spine { margin: 0; font-size: 16px; }
/* Testimonials band on the landing (Jonas 2026-09-15: three client references, placeholders until real quotes are cleared) */
.testimonials { background: var(--grey); padding: 0 0 64px; }
.testimonials { --act-prev: var(--white); }
.testimonials .act__divider { margin-bottom: 32px; }
.testimonials h2 { font-size: 28px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.quote { background: var(--white); padding: 24px 20px; display: flex; flex-direction: column; gap: 12px; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; }
.quote__who { margin: 0; font-size: 16px; color: var(--muted); }
@media (max-width: 799px) { .quotes { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 999px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split--img-left .split__text { order: 1; }
  .split--img-left .split__figure { order: 2; }
  .flow__steps { flex-direction: column; gap: 28px; }
  .flow__steps li + li::before { content: "↓"; left: 50%; top: -26px; transform: translateX(-50%); }
}
@media (max-width: 799px) {
  .act__head { padding: 40px var(--gutter) 16px; }
  .act__divider { height: 30px; }
  .act__divider::before, .page-body::before, .closer::before, .who::before { width: 100px; height: 30px; }
  .page-body { padding-top: 48px; }
  .closer { padding-top: 72px; }
  .act__head h2 { font-size: 26px; }
  .split__text h2 { font-size: 24px; }
  .stack__layer--split { grid-template-columns: 1fr; gap: 40px; }
  .tracks { grid-template-columns: 1fr; gap: 24px; }
  .phase__body { padding: 20px 16px; }
  .phase__head { padding: 8px 16px; }
  .testimonials { padding: 40px 0 48px; }
}

/* Cells: a row of labelled text boxes with no sequence (places, what you get); .flow is the sequenced version */
.cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; margin: 16px 0 28px; padding: 0; }
.cells--2 { grid-template-columns: repeat(2, 1fr); }
.cells--4 { grid-template-columns: repeat(4, 1fr); }
.prose .cells, .prose .stats, .prose .flow__steps { list-style: none; padding-left: 0; }
.cells li, .stats li, .flow__steps li { list-style: none; }
.cells li { background: var(--white); border-top: 3px solid var(--navy); padding: 16px; font-size: 16px; line-height: 1.5; }
.cells .k { display: block; font-weight: 600; color: var(--navy); }
.cells .k:not(:only-child) { margin-bottom: 4px; }
.prose .cells + .flow__note { margin: -16px 0 28px; }
.prose .eyebrow, .closer .eyebrow { margin: 48px 0 4px; }
.prose .eyebrow + h2, .closer .eyebrow + h2 { margin-top: 0; }
.prose .eyebrow:first-child, .closer .eyebrow:first-child { margin-top: 0; }
.prose .flow { margin: 16px 0 28px; }
@media (max-width: 999px) { .cells--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 799px) { .cells, .cells--2, .cells--4 { grid-template-columns: 1fr; } }

/* Checklist: the standard part muted, the part that is ours emphasised (CSP, Jonas 2026-09-15) */
.checklist { margin: 16px 0 28px; }
.checklist__label { font-size: 16px; color: var(--muted); margin: 16px 0 8px; }
.checklist__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.prose .checklist__list { padding-left: 0; }
.checklist__list li { list-style: none; padding: 10px 14px 10px 36px; position: relative; font-size: 16px; line-height: 1.5; }
.checklist__list li::before { content: "✓"; position: absolute; left: 12px; top: 10px; font-weight: 600; }
.checklist__list--std li { color: var(--muted); background: var(--white); }
.checklist__list--std li::before { color: #9aa3aa; }
.checklist__list--usp li { background: var(--white); border-left: 4px solid var(--navy); padding: 14px 14px 14px 40px; color: var(--text); }
.checklist--spine { margin: 28px 0 0; }
.checklist--spine .checklist__list--usp li { background: var(--grey); font-size: 18px; }
.checklist--spine a { color: var(--navy); font-weight: 600; text-decoration: none; }
.checklist--spine a:hover { text-decoration: underline; }
/* Places (AI Adoption): the key cell and its paragraph are one row, so the box and the text tie without matching by eye */
/* AI page, "Three places it lands": all three in the cost page's "cut the waste" block style (Jonas, 2026-09-21, after trying the three phase colours). The page body is grey, so the blocks are white under the grey strip instead of grey on grey. */
.places { margin: 16px 0 28px; }
.places .phase { margin: 16px 0; }
.places .phase--cut { background: var(--white); }
.places .phase__body h3 { font-size: 22px; margin: 0 0 12px; }
.places .phase__body p { max-width: none; }

.checklist__list--usp li::before { color: var(--navy); left: 16px; top: 14px; }
.checklist .k { display: block; font-weight: 600; color: var(--navy); }

/* Overcast product shots — user-switched, no auto-advance */
.shots { margin: 40px 0; max-width: 65ch; }
.shots__list li { display: none; }
.shots__list li.is-active { display: block; }
.shots__list img { border: 1px solid var(--rule); }
.shots__list .shot-placeholder { min-height: 280px; margin: 0; background: var(--grey); }
.shots__caption { font-size: 16px; color: var(--muted); margin: 8px 0 0; }
.shots__dots { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.shots__dots button { font: inherit; font-size: 16px; color: var(--navy); background: none; border: 0; padding: 8px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.shots__dots button::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--navy); background: transparent; }
.shots__dots button[aria-pressed="true"] { font-weight: 600; }
.shots__dots button[aria-pressed="true"]::before { background: var(--navy); }

/* Consent banner */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--white); border-top: 1px solid var(--rule); box-shadow: 0 -2px 12px rgba(0,0,0,.08); }
.consent__inner { max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.consent__text { margin: 0; max-width: 60ch; font-size: 16px; }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.consent__link { color: var(--navy); font-size: 16px; }
.consent .btn { min-height: 44px; font-size: 16px; padding: 8px 18px; }

/* 404 */
.notfound { padding: 96px 0; }

/* Mobile */
@media (max-width: 799px) {
  .hero { min-height: 560px; }
  .hero h1 { font-size: 32px; line-height: 1.15; }
  .hero__sub { font-size: 18px; margin-top: 20px; }
  .hero__actions { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .hero__actions .btn { width: 100%; }
  .tiles { padding-top: 48px; padding-bottom: 48px; }
  .cost-band { grid-template-columns: 1fr; }
  .oc-panel--band { margin: 20px 20px 0; }
  .cost-band__text { padding: 24px 20px; }
  .cost-band__text h3 { font-size: 26px; }
  .cost-band__actions { flex-direction: column; align-items: stretch; }
  .cost-band__actions .btn { width: 100%; }
  .tile-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
  .tile { padding: 24px 20px; }
  .who__grid { grid-template-columns: 1fr; }
  .who__photo { min-height: 220px; }
  .who__text { padding: 40px 20px; }
  .who__text h2 { font-size: 24px; }
  .contact { padding: 48px var(--gutter); }
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .contact__heading { font-size: 24px; }
  .contact__links a { display: block; }
  .form-card { padding: 24px; max-width: none; }
  .form-card .btn { align-self: stretch; }
  .footer { grid-template-columns: 1fr; gap: 28px; padding: 40px var(--gutter) 32px; }
  .page-head { padding: 40px 0 16px; }
  .closer { padding-bottom: 40px; }
  .closer .btn { width: 100%; margin-right: 0; }
  .consent__actions .btn { flex: 1 1 auto; }
}
@media (max-width: 999px) and (min-width: 800px) {
  .who__text { padding: 48px 32px; }
}
