/* MindCreek — concept "The well-kept board" (dense-tiles). Dealt proportions of "Bottle ink, yellow", with the logo greens
   mapped onto its roles (user decision, equivalent to --keep palette). Type Hanken Grotesk. */
:root {
  /* logo greens: deep #06633A · mid #508038 · olive #689040 · lime #A0B840 · near-white #F0F8F0 */
  --bg: #f0f8f0;          /* near-white from the logo */
  --surface: #e2eee2;     /* one tone step down */
  --paper: #ffffff;       /* white, for statement tiles, captions and the logo */
  --ink: #0b2417;         /* near-black green, all running text */
  --muted: #4a5d50;
  --deep: #06633a;        /* deep green: the dark tiles (was the dealt bottle-ink field) */
  --deep-ink: #ffffff;
  --accent: #a0b840;      /* lime: the action and the one chapter that turns fully lime (was yellow) */
  --accent-strong: #b2c95a;
  --accent-ink: #0b2417;
  /* the light-to-dark run of the right rail: tints and the mid greens */
  --run-1: #e2eee2;
  --run-2: #cfe2c6;
  --run-3: #9fbf8a;
  --run-4: #508038;
  --run-4-ink: #ffffff;
  --pale-ink: #c8dcc4;    /* secondary text on deep green */

  --font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.5rem, 0.9rem + 1.6vw, 2.25rem);
  --step-head: clamp(2.25rem, 1rem + 3.4vw, 4rem);
  --step-display: clamp(6.25rem, 14.4vw, 13.75rem);
  --text-in: calc(var(--m) + var(--pad)); /* the left edge all text shares */

  --m: 10px;          /* outer margin */
  --g: 8px;           /* tile gap */
  --pad: 24px;        /* text inset inside a tile */
  --row: 96px;        /* mosaic row unit */
  --radius: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.45; letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: var(--m); top: var(--m); background: var(--accent); color: var(--accent-ink); padding: 12px 16px; z-index: 10; }

/* one treatment for every picture: greyscale, slight contrast */
.pic { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); background: var(--run-3); }

/* ---------- the board ---------- */
.board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); padding-inline: var(--m); }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); padding: var(--pad); min-width: 0; }
.tile--bare { padding: 0; }
.tile--ink { background: var(--deep); color: var(--deep-ink); }
.tile--yellow { background: var(--accent); color: var(--accent-ink); }
.tile--paper { background: var(--paper); }
.tile--pale { background: var(--run-2); }
.tile figcaption, .caption { position: absolute; left: 0; top: 0; background: var(--paper); color: var(--ink); font-size: var(--step-small); padding: 8px 12px; max-width: 80%; }

.lead { font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.03em; font-weight: 500; }
.head { font-size: var(--step-head); line-height: 0.95; letter-spacing: -0.05em; font-weight: 500; }
.small { font-size: var(--step-small); line-height: 1.45; }
.muted { color: var(--muted); }
.tile--ink .muted { color: var(--pale-ink); }

.button { display: inline-flex; align-items: center; gap: 0.6em; min-height: 52px; padding: 0 22px; background: var(--deep); color: var(--deep-ink); text-decoration: none; font-weight: 500; border-radius: var(--radius); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.arrow { display: inline-block; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--ink); }
  .button:hover .arrow, a:hover > .arrow { transform: translateX(4px); }
}

/* ---------- hero: name band and rails ---------- */
.hero { height: max(100svh, 760px); grid-template-rows: 170px 64px minmax(0, 1fr); padding-block: var(--m); }
.band { grid-column: 1 / -1; background: var(--surface); padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 0.25em; font-size: var(--step-display); }
.band p { line-height: 0.8; letter-spacing: -0.04em; font-weight: 500; white-space: nowrap; }
.band-side { color: var(--run-4); overflow: hidden; }
.band-name { color: var(--deep); }
.band-l { direction: rtl; }
.band-l span { direction: ltr; unicode-bidi: isolate; }
.links { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--g); }
.links a.logo { background: var(--paper); padding: 0 20px; display: flex; align-items: center; }
.links a.logo img { width: 180px; height: auto; }
@media (hover: hover) and (pointer: fine) { .links a.logo:hover { background: var(--paper); } }
.links a { display: block; background: var(--surface); padding: 14px 20px; text-decoration: none; font-weight: 500; transition: background-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .links a:hover { background: var(--run-2); } }
.links a[aria-current] { background: var(--deep); color: var(--deep-ink); }
.rail-l { grid-column: 1 / 3; display: grid; grid-template-rows: 1.35fr 1fr; gap: var(--g); min-height: 0; }
.centre { grid-column: 3 / 11; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: var(--g); min-height: 0; }
.rail-r { grid-column: 11 / 13; display: grid; grid-template-rows: repeat(5, 1fr); gap: var(--g); min-height: 0; }
.facts li { padding-block: 3px; }
.facts { font-size: var(--step-small); }
.statement { background: var(--paper); }
.statement h1 { font-size: var(--step-lead); margin: 0; line-height: 1.08; letter-spacing: -0.035em; max-width: 26ch; }
.statement p { margin-top: 14px; max-width: 60ch; }
.run { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 16px 18px; }
.run b { font-weight: 500; font-size: var(--step-body); line-height: 1.15; letter-spacing: -0.01em; }
.run p { font-size: var(--step-small); line-height: 1.35; }
.run:nth-child(1) { background: var(--run-1); }
.run:nth-child(2) { background: var(--run-2); }
.run:nth-child(3) { background: var(--run-3); }
.run:nth-child(4) { background: var(--run-4); color: var(--run-4-ink); }
.action-tile { display: flex; flex-direction: column; justify-content: space-between; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 500; padding: 18px; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.action-tile span:first-child { font-size: var(--step-body); line-height: 1.2; }
.action-tile:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .action-tile:hover { background: var(--accent-strong); } .action-tile:hover .arrow { transform: translateX(4px); } }

/* ---------- intro: lead line over four columns ---------- */
.intro { padding: 120px var(--text-in); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.intro .lead { grid-column: 1 / -1; max-width: 62ch; font-weight: 400; line-height: 1.2; }
.intro .cols { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 72px; align-items: start; }
.intro .cols p { font-size: var(--step-body); color: var(--muted); }
.intro .cols b { color: var(--ink); font-weight: 500; }
.intro .cols a { color: var(--ink); }

/* ---------- features: mosaic of unlike tiles ---------- */
.mosaic { grid-auto-rows: var(--row); }
.mosaic .tile { display: flex; flex-direction: column; }
.mosaic .tile .arrow { margin-top: auto; }
.cap { display: flex; flex-direction: column; text-decoration: none; }
.cap h3 { font-size: var(--step-lead); line-height: 1; letter-spacing: -0.04em; }
.cap p { margin-top: 10px; max-width: 34ch; }
.cap .arrow { margin-top: auto; padding-top: 12px; font-size: var(--step-lead); line-height: 1; }
.m-ai .cap, .m-dash .cap { height: 100%; }
.own-note { margin-top: auto; }
.m-head { grid-column: 1 / 7; grid-row: span 3; background: var(--surface); }
.m-head p { margin-top: 18px; max-width: 44ch; }
.m-apps { grid-column: 7 / 10; grid-row: span 3; }
.m-auto { grid-column: 10 / 13; grid-row: span 3; }
.m-photo { grid-column: 1 / 7; grid-row: span 5; }
.m-int { grid-column: 7 / 10; grid-row: span 3; }
.m-ai { grid-column: 10 / 13; grid-row: span 3; }
.m-mod { grid-column: 10 / 13; grid-row: span 3; }
.m-fig { grid-column: 7 / 10; grid-row: span 2; }
.m-own { grid-column: 10 / 13; grid-row: span 2; }
.m-ai { grid-column: 1 / 7; grid-row: span 3; display: grid !important; grid-template-columns: 1fr 1.15fr; gap: var(--pad); align-items: start; }
.m-dash { grid-column: 7 / 13; grid-row: span 3; display: grid !important; grid-template-columns: 1fr 1.4fr; gap: var(--pad); align-items: start; }
.m-ai [data-ui], .m-dash [data-ui] { margin-top: 0; }
.say { font-size: var(--step-lead); line-height: 1.08; letter-spacing: -0.035em; font-weight: 500; text-decoration: none; }
a.tile.cap, .m-ai a.cap, .m-dash a.cap { transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  a.tile--paper.cap:hover, a.tile--pale.cap:hover { background: var(--accent); }
  a.tile--ink.cap:hover { background: var(--accent); color: var(--accent-ink); }
  .m-ai a.cap:hover h3, .m-dash a.cap:hover h3 { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.12em; }
  a.cap:hover .arrow { transform: translateX(6px); }
}
.figure { font-size: var(--step-head); line-height: 0.9; letter-spacing: -0.05em; font-weight: 500; }
.figure + p { margin-top: auto; }

/* real interface fragments (data-ui): the product's own conventions apply inside */
[data-ui] { font-size: 13px; line-height: 1.35; background: #ffffff; color: #0b2417; border-radius: 4px; margin-top: auto; }
[data-ui] .ui-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-bottom: 1px solid #e3e6e4; font-weight: 500; }
[data-ui] .ui-bar span:last-child { color: #5f6b64; font-weight: 400; }
[data-ui] table { width: 100%; border-collapse: collapse; }
[data-ui] th, [data-ui] td { text-align: left; padding: 6px 10px; border-bottom: 1px solid #eef0ef; white-space: nowrap; }
[data-ui] th { color: #5f6b64; font-weight: 400; }
[data-ui] td.n, [data-ui] th.n { text-align: right; font-variant-numeric: tabular-nums; }
[data-ui] .ok { display: inline-block; padding: 1px 6px; border-radius: 3px; background: #e2f0e6; color: #14532d; }
[data-ui] .wait { display: inline-block; padding: 1px 6px; border-radius: 3px; background: #e8ece9; color: #3b4a40; }
[data-ui] .sel td { background: #f4f7f5; }
[data-ui] .kpis { display: grid; grid-template-columns: repeat(3, 1fr); }
[data-ui] .kpi { padding: 8px 10px; border-right: 1px solid #eef0ef; }
[data-ui] .kpi:last-child { border-right: 0; }
[data-ui] .kpi b { display: block; font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
[data-ui] .kpi span { color: #5f6b64; }
[data-ui] .bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding: 6px 10px 8px; }
[data-ui] .bars i { flex: 1; background: #9fbf8a; display: block; }
[data-ui] .bars i.now { background: #06633a; }
[data-ui] .fields { display: grid; grid-template-columns: auto 1fr; gap: 0; }
[data-ui] .fields dt, [data-ui] .fields dd { padding: 5px 10px; border-bottom: 1px solid #eef0ef; margin: 0; }
[data-ui] .fields dt { color: #5f6b64; }

/* ---------- proof: large marks on tiles ---------- */
.proof { margin-top: var(--g); }
.proof .tile { aspect-ratio: 3 / 2; overflow: visible; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.proof .p-head { grid-column: span 6; aspect-ratio: auto; }
.proof .p-head p { max-width: 46ch; }
.proof .t { grid-column: span 3; }
.proof .t p { max-width: 30ch; }
.proof .name { font-size: var(--step-lead); line-height: 1.08; letter-spacing: -0.035em; font-weight: 500; }

/* ---------- marquee ---------- */
.marquee { grid-column: 1 / -1; background: var(--deep); color: var(--deep-ink); padding: 20px 0 32px; overflow: hidden; }
.marquee__track { display: flex; width: max-content; }
.marquee__track p { font-size: var(--step-display); line-height: 1; letter-spacing: -0.05em; font-weight: 500; white-space: nowrap; padding-right: 0.4em; }
.marquee__track .dot { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- how it works: many into one ---------- */
.how { padding-top: 140px; }
.how-head { grid-column: 1 / 6; padding-inline: var(--pad); }
.how-head p { margin-top: 20px; max-width: 38ch; }
.how-sub { grid-column: 7 / 13; align-self: end; display: flex; justify-content: flex-end; }
.flow-tile { grid-column: 1 / -1; background: var(--deep); padding: 32px var(--pad); margin-top: 40px; }
.flow rect.a { fill: #3f8a5a; }
.flow rect.b { fill: #9fbf8a; }
.flow rect.c { fill: #f0f8f0; }
.flow rect.d { fill: var(--accent); }
.flow--tall { display: none; }
.stages { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--g); }
.stages { margin-top: 28px; }
.stages > div { padding-inline: var(--pad); }
.stages h3 { font-size: var(--step-lead); line-height: 1; letter-spacing: -0.04em; }
.stages p { margin-top: 12px; max-width: 40ch; }

/* ---------- about: wide photo, colour tile, facts ---------- */
.about { padding-top: 140px; }
.about-head { grid-column: 1 / 8; padding-inline: var(--pad); }
.about-head .lead { margin-top: 24px; font-weight: 400; max-width: 44ch; }
.about-pic { grid-column: 1 / 9; aspect-ratio: 16 / 10; margin-top: 48px; padding: 0; }
.about-pic video, .about-pic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.tile figcaption.about-note { position: absolute; top: 0; right: 0; left: auto; bottom: auto; width: 340px; max-width: none; background: var(--paper); padding: 20px; font-size: var(--step-body); }
.about-side { grid-column: 9 / 13; margin-top: 48px; display: grid; grid-template-rows: 1fr auto; gap: var(--g); }
.region { background: var(--deep); color: var(--deep-ink); padding: var(--pad); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.region p { font-weight: 500; }
.states { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; align-self: center; width: min(100%, 340px); }
.states span { aspect-ratio: 1; display: flex; align-items: flex-end; padding: 6px; font-size: var(--step-small); font-weight: 500; background: var(--run-4); color: var(--run-4-ink); }
.states span.gap { background: none; }
.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); align-content: start; }
.pairs div { background: var(--surface); padding: 16px 18px; }
.pairs dt { font-size: var(--step-small); color: var(--muted); }
.pairs dd { font-weight: 500; }
.pairs dt, .pairs dd { margin: 0; }

/* ---------- cta: the action tile ---------- */
.cta { padding-top: 140px; overflow: hidden; padding-bottom: 0; }
.cta .flank { height: auto; min-height: 420px; padding: 0; }
.cta .flank-l { grid-column: 1 / 3; margin-left: calc(var(--m) * -1); }
.cta .flank-r { grid-column: 11 / 13; margin-right: calc(var(--m) * -1); background: var(--deep); }
.cta .flank video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06); }
.cta .core { grid-column: 3 / 11; background: var(--accent); color: var(--accent-ink); padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.cta .core h2 { font-size: var(--step-lead); line-height: 1; letter-spacing: -0.04em; }
.cta .core > p { max-width: 56ch; }
.cta .core .button { background: var(--ink); }
.choices { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.choices legend { font-weight: 500; margin-bottom: 10px; padding: 0; }
.choices label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; background: #d3e09d; cursor: pointer; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.choices input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choices label:has(input:checked) { background: var(--ink); color: #ffffff; }
.choices label:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.choices label:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .choices label:hover { background: #ecf2d4; } .choices label:has(input:checked):hover { background: var(--ink); } }
.answer { min-height: 3em; font-weight: 500; max-width: 52ch; }
.answer a { font-weight: 500; }
.reach { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.reach .tel { font-weight: 500; }

/* ---------- footer: the mark, built large ---------- */
.foot { margin-top: var(--g); background: var(--deep); color: var(--deep-ink); padding: 40px var(--text-in) 24px; }
.blocks { display: flex; gap: 4px; height: 26svh; min-height: 200px; align-items: flex-end; }
.blocks span { flex: 1 1 0; display: flex; align-items: flex-end; justify-content: center; color: var(--deep); font-size: clamp(3.5rem, 11vw, 10rem); line-height: 0.72; letter-spacing: -0.04em; font-weight: 500; padding-bottom: 0.06em; overflow: hidden; }
.blocks span:nth-child(9n+1) { background: var(--accent); height: 100%; }
.blocks span:nth-child(9n+2) { background: var(--run-2); height: 74%; }
.blocks span:nth-child(9n+3) { background: var(--paper); height: 88%; }
.blocks span:nth-child(9n+4) { background: var(--run-3); height: 66%; }
.blocks span:nth-child(9n+5) { background: var(--run-2); height: 94%; }
.blocks span:nth-child(9n+6) { background: var(--paper); height: 62%; }
.blocks span:nth-child(9n+7) { background: var(--run-2); height: 82%; }
.blocks span:nth-child(9n+8) { background: var(--run-3); height: 70%; }
.blocks span:nth-child(9n+9) { background: var(--paper); height: 96%; }
.foot-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.foot-links { grid-column: 1 / 9; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot-links h2 { font-size: var(--step-small); color: var(--pale-ink); font-weight: 400; margin-bottom: 8px; }
.foot-links li { font-size: var(--step-small); padding-block: 3px; }
.foot-links a, .foot-contact a { text-decoration: none; }
.foot-links a:hover, .foot-contact a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.foot-contact { grid-column: 9 / 13; font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.03em; font-weight: 500; }
.foot-contact p + p { margin-top: 8px; }
.foot-contact .small { font-weight: 400; letter-spacing: 0; color: var(--pale-ink); margin-top: 16px; }
.foot-logo { display: inline-block; background: var(--paper); padding: 14px 18px; margin-bottom: 20px; }
.foot-logo img { width: 180px; height: auto; }
.credits { margin-top: 56px; font-size: var(--step-small); color: var(--pale-ink); max-width: 75ch; }
.credits a { color: inherit; }
.foot-last { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; font-size: var(--step-small); color: var(--pale-ink); }
.foot-last .button { background: var(--accent); color: var(--accent-ink); min-height: 44px; font-size: var(--step-small); }

/* ---------- motion layer ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-load] { opacity: 0; transform: translateY(16px); animation: rise 700ms var(--ease-out) forwards; animation-delay: calc(80ms + var(--i, 0) * 70ms); }
  .js .hero .band p { animation: band-in 1100ms var(--ease-expo) both; }
  .js [data-open] { clip-path: inset(0 0 100% 0); animation: open 1100ms var(--ease-in-out) 200ms forwards; }
  .js [data-open] img { transform: scale(1.12); animation: settle 1500ms var(--ease-soft) 150ms forwards; }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .flow rect { transition: transform 1400ms var(--ease-expo), opacity 900ms ease; }
  .js .flow:not(.is-in) rect.c, .js .flow:not(.is-in) rect.d { opacity: 0; transform: translateX(-40px); }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes band-in { from { transform: translateX(6%); } to { transform: translateY(0.02em); } }
@keyframes open { to { clip-path: inset(0); } }
@keyframes settle { to { transform: none; } }

/* ---------- tablet and phone: the board in two columns ---------- */
@media (max-width: 960px) {
  :root { --m: 8px; --g: 6px; --pad: 18px; --row: 84px; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { height: auto; min-height: 0; grid-template-rows: none; }
  .band { height: 110px; font-size: min(19vw, 8.5rem); }
  .links { grid-template-columns: 1fr 1fr; }
  .links a.logo { grid-column: 1 / -1; min-height: 72px; }
  .run { min-height: 96px; }
  .centre, .rail-l, .rail-r { grid-column: 1 / -1; }
  .centre { order: 3; grid-template-rows: auto auto; }
  .centre .tile--bare { aspect-ratio: 4 / 3; }
  .statement h1 { font-size: clamp(1.5rem, 6vw, 2.25rem); }
  .rail-r { order: 4; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .rail-r .action-tile { grid-column: 1 / -1; min-height: 88px; }
  .rail-l { order: 5; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .rail-l .tile--bare { aspect-ratio: 4 / 5; }
  .intro { padding: 80px var(--text-in); grid-template-columns: 1fr; }
  .intro .cols { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .mosaic { grid-auto-rows: auto; }
  .mosaic .tile { grid-column: 1 / -1; grid-row: auto; min-height: 150px; }
  .m-photo { aspect-ratio: 4 / 3; min-height: 0; }
  .m-fig, .m-own { grid-column: span 1 !important; aspect-ratio: 1; }
  .m-ai, .m-dash { grid-template-columns: 1fr; }
  .m-head { order: 1; } .m-photo { order: 2; } .m-fig { order: 3; } .m-own { order: 4; }
  .m-apps { order: 5; } .m-auto { order: 6; } .m-int { order: 7; } .m-mod { order: 8; } .m-ai { order: 9; } .m-dash { order: 10; }
  .proof .p-head { grid-column: 1 / -1; }
  .proof .t { grid-column: span 1; aspect-ratio: auto; min-height: 150px; }
  .proof .p-head p { margin-top: 16px; }
  .how-head, .how-sub, .flow-tile, .stages { grid-column: 1 / -1; }
  .how-sub { justify-content: flex-start; margin-top: 20px; }
  .flow-tile { padding: 24px; display: flex; justify-content: center; }
  .flow--tall { width: min(100%, 300px); }
  .how-head, .about-head { padding-inline: var(--pad); }
  .flow--wide { display: none; }
  .flow--tall { display: block; }
  .stages { grid-template-columns: 1fr; gap: 28px; }
  .how, .about, .cta { padding-top: 96px; }
  .about-head, .about-pic, .about-side { grid-column: 1 / -1; }
  .about-pic { aspect-ratio: 4 / 3; overflow: visible; margin-bottom: 0; }
  .tile figcaption.about-note { position: static; width: auto; padding: 18px var(--pad) 0; background: none; }
  .about-pic { aspect-ratio: auto; }
  .about-pic video { aspect-ratio: 4 / 3; height: auto; }
  .about-side { margin-top: 24px; }
  .cta .core { grid-column: 1 / -1; padding: 28px 20px; }
  .cta .core h2 { font-size: 1.75rem; }
  .cta .flank { min-height: 120px; grid-row: 2; }
  .cta .flank-l { grid-column: 1; margin-left: 0; }
  .cta .flank-r { grid-column: 2; margin-right: 0; }
  .blocks { height: 22svh; min-height: 140px; gap: 3px; }
  .blocks span { font-size: 12.5vw; }
  .foot-row { grid-template-columns: 1fr; gap: 40px; }
  .foot-links { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .foot-contact { grid-column: 1 / -1; }
}
@media (min-width: 640px) and (max-width: 960px) {
  .stages { grid-template-columns: repeat(3, 1fr); }
  .links { grid-template-columns: 1.4fr repeat(4, 1fr); }
  .links a.logo { grid-column: auto; }
  .links a.logo img { width: 130px; }
  .rail-r { grid-template-columns: repeat(4, 1fr); }
  .mosaic a.tile.cap, .mosaic .m-fig, .mosaic .m-own, .mosaic .s-a, .mosaic .s-list { grid-column: span 1 !important; }
  .mosaic .m-head, .mosaic .m-photo { grid-column: 1 / -1; }
  .others { grid-template-columns: repeat(5, 1fr); }
  .others .tile:last-child { grid-column: auto; }
  .mosaic--svc .s-a { order: 3; } .mosaic--svc .s-list { order: 4; } .mosaic--svc .s-frag { order: 5; grid-column: 1 / -1 !important; } .mosaic--svc .s-b, .mosaic--svc .s-c { order: 6; }
  .proof { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .proof .p-head { grid-column: 1 / -1; }
  .proof .t { grid-column: span 2; }
  .rail-l .tile--bare { aspect-ratio: 1; }
  .about-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .m-fig, .m-own { aspect-ratio: auto !important; min-height: 220px; }
  .intro .cols { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}

/* ---------- service page ---------- */
.s-head { grid-column: 1 / 7; grid-row: span 3; }
.s-head p { margin-top: 18px; max-width: 44ch; }
.s-frag { grid-column: 7 / 13; grid-row: span 3; justify-content: center; }
.s-frag [data-ui] { margin-top: 0; }
.s-photo { grid-column: 1 / 7; grid-row: span 5; }
.s-a { grid-column: 7 / 10; grid-row: span 3; }
.s-list { grid-column: 10 / 13; grid-row: span 3; }
.s-b { grid-column: 7 / 10; grid-row: span 2; }
.s-c { grid-column: 10 / 13; grid-row: span 2; }
.list-h { font-size: var(--step-body); }
.list { margin-top: 12px; }
.list li { font-size: var(--step-body); line-height: 1.3; padding-block: 6px; }
.others { margin-top: var(--g); grid-template-columns: repeat(5, minmax(0, 1fr)); }
.others .tile { min-height: 150px; }
.others .tile:nth-child(odd) { background: var(--run-2); }
@media (hover: hover) and (pointer: fine) { .others a.tile:hover { background: var(--accent); } }
@media (max-width: 960px) {
  .mosaic--svc .tile { grid-column: 1 / -1; }
  .s-photo { aspect-ratio: 4 / 3; min-height: 0; order: 2; }
  .s-head { order: 1; } .s-a { order: 3; } .s-frag { order: 4; overflow-x: auto; } .s-list { order: 5; }
  .s-b, .s-c { grid-column: span 1 !important; order: 6; min-height: 200px; }
  .others { grid-template-columns: 1fr 1fr; }
  .others .tile { min-height: 110px; }
  .others .tile:last-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) { [data-ui] .hide-sm { display: none; } }
.proof .t--wide { grid-column: span 6; aspect-ratio: auto; min-height: 200px; }
@media (max-width: 960px) { .proof .t--wide { grid-column: 1 / -1; } }
.s-b .own-note, .s-c .own-note { margin-top: 12px; }
@media (max-width: 639px) { .proof .t--full-sm { grid-column: 1 / -1; } }
