/* Digitaleem — site styles
   Layout concept: a calm paper ground, big grotesque headlines, and one recurring
   "journey line" (the logo's D) that links sections the way the brand links learning to work.
   Boldness lives in the turmeric highlight; everything else stays quiet. */

:root {
  --paper: #F5F6F2;        /* page ground: cool, slightly green paper */
  --surface: #FFFFFF;      /* raised panels, forms */
  --sunk: #ECEEE7;         /* quiet alternate band */
  --ink: #111A33;          /* text, logo top stroke */
  --ink-2: #4A5470;        /* secondary text */
  --line: #D9DDD4;         /* hairlines, borders */
  --green: #0A6E5C;        /* actions, links, logo bottom stroke */
  --green-hover: #08594A;
  --on-green: #FFFFFF;
  --green-soft: #DCEFE8;   /* chips, selected states */
  --turmeric: #F5B82E;     /* the one bold accent: highlight band, logo dot */
  --turmeric-soft: #FBE3A6;
  --band: #111A33;         /* dark statement bands */
  --on-band: #ECEFE8;
  --on-band-2: #A9B1C6;
  --band-accent: #4CC7A6;
  --error: #B42318;

  --font-display: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.4vw, 4.1rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0D1426; --surface: #141D35; --sunk: #10182D; --ink: #ECEFE8; --ink-2: #A9B1C6;
    --line: #27314D; --green: #4CC7A6; --green-hover: #6ED6BA; --on-green: #0D1426; --green-soft: #173A3A;
    --turmeric: #F5B82E; --turmeric-soft: #4A3A12; --band: #070C1A; --on-band: #ECEFE8; --on-band-2: #A9B1C6;
    --band-accent: #4CC7A6; --error: #F97066; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0D1426; --surface: #141D35; --sunk: #10182D; --ink: #ECEFE8; --ink-2: #A9B1C6;
  --line: #27314D; --green: #4CC7A6; --green-hover: #6ED6BA; --on-green: #0D1426; --green-soft: #173A3A;
  --turmeric: #F5B82E; --turmeric-soft: #4A3A12; --band: #070C1A; --on-band: #ECEFE8; --on-band-2: #A9B1C6;
  --band-accent: #4CC7A6; --error: #F97066; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-hover); }
:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 2px; border-radius: 4px; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.25; }
ul, ol { margin: 0; padding: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: grid; gap: 1rem; }
.measure { max-width: 64ch; }
.lead { font-size: var(--step-1); color: var(--ink-2); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--ink-2); }
.eyebrow { font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--green); }
.hl { background: linear-gradient(transparent 58%, var(--turmeric) 58%, var(--turmeric) 92%, transparent 92%); padding-inline: 0.06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.band .hl { background: linear-gradient(transparent 62%, rgba(245,184,46,.55) 62%, rgba(245,184,46,.55) 92%, transparent 92%); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; font: 600 1rem/1 var(--font-body); padding: .9rem 1.25rem; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--green); color: var(--on-green); }
.btn-primary:hover { background: var(--green-hover); color: var(--on-green); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.band .btn-ghost { border-color: var(--on-band); color: var(--on-band); }
.band .btn-ghost:hover { background: var(--on-band); color: var(--band); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.arrow::after { content: "→"; display: inline-block; margin-left: .45rem; transition: transform .15s; }
a:hover > .arrow::after, .arrow:hover::after { transform: translateX(3px); }
.textlink { font-weight: 600; text-decoration: none; display: inline-flex; gap: .35rem; }
.textlink::after { content: "→"; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.logo { display: inline-flex; color: var(--ink); flex: none; }
.logo svg { height: 30px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav > a, .nav > .has-menu > button { font: 500 .95rem/1 var(--font-body); color: var(--ink); text-decoration: none; padding: .6rem .7rem; border-radius: 8px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; }
.nav > a:hover, .nav > .has-menu > button:hover, .nav a[aria-current="page"] { background: var(--sunk); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--green); }
.nav > a.btn { margin-left: .5rem; padding: .7rem 1.1rem; background: var(--green); color: var(--on-green); border-radius: 999px; font-weight: 600; }
.nav > a.btn:hover { background: var(--green-hover); color: var(--on-green); }
.has-menu { position: relative; }
.has-menu > button::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: min(640px, 92vw); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 50px -20px rgba(17,26,51,.35); padding: 1.25rem; display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; }
.mega h4 { font: 600 .82rem/1 var(--font-body); text-transform: none; color: var(--ink-2); margin-bottom: .6rem; }
.mega ul { list-style: none; display: grid; gap: .1rem; }
.mega a { display: block; padding: .45rem .5rem; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.mega a:hover { background: var(--sunk); }
.mega a small { display: block; color: var(--ink-2); font-size: .8rem; line-height: 1.35; }
.mega .all { margin-top: .5rem; font-weight: 600; color: var(--green); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--line); border-radius: 10px; padding: .55rem .7rem; color: var(--ink); font: 600 .9rem var(--font-body); cursor: pointer; }
.drawer { display: none; }
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .drawer:not([hidden]) { display: block; border-top: 1px solid var(--line); background: var(--paper); max-height: calc(100vh - 68px); overflow-y: auto; }
  .drawer .wrap { display: grid; gap: .25rem; padding-block: 1rem 1.5rem; }
  .drawer a { color: var(--ink); text-decoration: none; padding: .7rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
  .drawer .sub { padding-left: 1rem; font-size: .95rem; color: var(--ink-2); }
  .drawer .group { font: 600 .82rem var(--font-body); text-transform: none; color: var(--ink-2); margin-top: .9rem; }
  .drawer .btn { justify-content: center; margin-top: 1rem; border: 0; color: var(--on-green); }
}

/* Sections */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-sunk { background: var(--sunk); }
.band { background: var(--band); color: var(--on-band); }
.band .lead, .band .muted, .band .eyebrow { color: var(--on-band-2); }
.band a:not(.btn) { color: var(--band-accent); }
.section-head { display: grid; gap: .9rem; margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 760px; }
.section-head.split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: .9rem 3rem; }
.section-head.split > .eyebrow, .section-head.split > h2 { grid-column: 1; }
.section-head.split > .lead { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
@media (max-width: 800px) { .section-head.split > .lead { grid-column: 1; grid-row: auto; } }
@media (max-width: 800px) { .section-head.split { grid-template-columns: 1fr; } }

/* Hero */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { display: grid; gap: 1.4rem; min-width: 0; }
.hero h1 { font-size: clamp(2.6rem, 1.5rem + 4.6vw, 5rem); letter-spacing: -0.02em; line-height: 1.05; }
.hero .lead { max-width: 52ch; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }
.page-hero { padding-block: clamp(2.75rem, 6vw, 4.75rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; gap: 1.1rem; }
.page-hero h1 { max-width: 20ch; }
.crumbs { font-size: .875rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs a { color: var(--ink-2); }
.crumbs span[aria-hidden] { opacity: .6; }

/* Journey line (hero visual) */
.journey-vis { width: 100%; min-width: 0; }
.journey-vis svg { width: 100%; height: auto; display: block; overflow: visible; }
.journey-vis .jl-base { stroke: var(--ink); }
.journey-vis .jl-work { stroke: var(--green); }
.journey-vis .jl-node { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5; }
.journey-vis .jl-node.work { stroke: var(--green); }
.journey-vis .jl-start { fill: var(--turmeric); }
.journey-vis text { font-family: var(--font-body); font-size: 18px; fill: var(--ink); font-weight: 600; }
.journey-vis text.n { font-family: var(--font-body); font-size: 13px; fill: var(--ink-2); font-weight: 600; }
.journey-vis a:hover .jl-node, .journey-vis a:focus .jl-node { fill: var(--turmeric); }

/* Cards & grids */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 2.5vw, 1.75rem); display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
a.card { color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--green); transform: translateY(-2px); }
.card p { color: var(--ink-2); }
.card .textlink, .card .more { margin-top: auto; padding-top: .5rem; color: var(--green); font-weight: 600; }
.card .more::after { content: " →"; }
.door { position: relative; padding-top: 1.5rem; }
.door .who { font: 600 .82rem var(--font-body); text-transform: none; color: var(--ink-2); }
.door h3 { font-size: var(--step-2); }
.g4 .door h3 { font-size: var(--step-1); }
.door ul { list-style: none; display: grid; gap: .3rem; font-size: .95rem; color: var(--ink-2); }
.door ul li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: .55rem; vertical-align: middle; }

.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.icon svg { width: 22px; height: 22px; }

.list-check { list-style: none; display: grid; gap: .6rem; }
.list-check li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .6rem; align-items: start; }
.list-check li::before { content: ""; width: 18px; height: 18px; margin-top: .25rem; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%230A6E5C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.cols-2 { columns: 2; column-gap: 2rem; }
.cols-2 li { break-inside: avoid; margin-bottom: .6rem; }
@media (max-width: 640px) { .cols-2 { columns: 1; } }

.tags { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; }
.tag { font-size: .85rem; padding: .3rem .7rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.band .tag { background: transparent; border-color: #2E3958; color: var(--on-band); }

/* Steps: a real sequence */
.steps { list-style: none; display: grid; gap: 0; counter-reset: s; position: relative; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 1rem; padding-bottom: 1.5rem; position: relative; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 600 .95rem var(--font-mono); background: var(--paper); border: 2px solid var(--ink); color: var(--ink); position: relative; z-index: 1; }
.steps li:last-child::before { border-color: var(--green); background: var(--green); color: var(--on-green); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.section-sunk .steps li::before { background: var(--sunk); }
.section-sunk .steps li:last-child::before { background: var(--green); }
.steps h3 { margin-top: .45rem; }
.steps p { color: var(--ink-2); margin-top: .25rem; }
.steps-h { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 1.25rem; counter-reset: s; }
.steps-h li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 1rem; display: grid; gap: .35rem; align-content: start; }
.steps-h li:last-child { border-color: var(--green); }
.steps-h li::before { content: counter(s, decimal-leading-zero); font: 500 .8rem var(--font-mono); color: var(--ink-2); }
.steps-h p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) { .steps-h { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps-h { grid-template-columns: 1fr; } }

/* Starting-point selector */
.starter { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.stage-list { list-style: none; display: grid; gap: .35rem; position: relative; }
.stage-list button { width: 100%; text-align: left; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: .7rem; align-items: center; background: none; border: 1px solid transparent; border-radius: 10px; padding: .65rem .75rem; font: 600 1rem var(--font-body); color: var(--ink); cursor: pointer; }
.stage-list button .num { font: 600 .82rem var(--font-body); color: var(--ink-2); width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; background: var(--surface); }
.stage-list button:hover { background: var(--surface); }
.stage-list button[aria-selected="true"] { background: var(--surface); border-color: var(--ink); }
.stage-list button[aria-selected="true"] .num { background: var(--turmeric); border-color: var(--turmeric); color: #111A33; }
.stage-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; gap: 1.1rem; min-width: 0; }
.stage-panel .if { font-size: var(--step-1); line-height: 1.45; }
.stage-panel h3 { font-size: var(--step-2); }
.stage-panel .next { display: grid; gap: .6rem; }
.stage-panel .next a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.stage-panel .next a:hover { border-color: var(--green); color: var(--green); }
.stage-panel .next a small { display: block; font-weight: 400; color: var(--ink-2); font-size: .88rem; }
.stage-panel .next a::after { content: "→"; color: var(--green); }
@media (max-width: 800px) { .starter { grid-template-columns: 1fr; } .stage-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }

/* Ecosystem diagram */
.eco { width: 100%; max-width: 860px; margin-inline: auto; }
.eco svg { width: 100%; height: auto; display: block; }
.eco .node rect { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.eco .node text { font-family: var(--font-display); font-weight: 700; font-size: 20px; fill: var(--ink); }
.eco .node text.sub { font-family: var(--font-body); font-weight: 400; font-size: 13px; fill: var(--ink-2); }
.eco .hub circle { fill: var(--band); }
.eco .hub text { fill: var(--on-band); font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.eco .link { stroke: var(--ink-2); stroke-width: 1.5; fill: none; stroke-dasharray: 4 5; }
.eco .flow { font-family: var(--font-body); font-size: 12.5px; fill: var(--ink-2); }
.eco-list { display: none; }
@media (max-width: 640px) { .eco svg { display: none; } .eco-list { display: grid; } }

/* FAQ */
.faq { display: grid; gap: .6rem; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.25rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--font-body); color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 1.2rem; color: var(--ink-2); display: grid; gap: .6rem; max-width: 68ch; }

/* CTA band */
.cta-band { background: var(--band); color: var(--on-band); border-radius: calc(var(--radius) + 6px); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: var(--step-3); }
.cta-band p { color: var(--on-band-2); margin-top: .75rem; max-width: 52ch; }
.cta-band .btn-primary { background: var(--turmeric); color: #111A33; }
.cta-band .btn-primary:hover { background: #FFCB57; color: #111A33; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Split feature rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.gap-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.gap-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.gap-list .have { color: var(--ink-2); }
.gap-list .missing { font-weight: 600; }
.gap-list.plain .missing::before { content: none; }
.gap-list .missing::before { content: "but "; font-weight: 400; color: var(--ink-2); }
@media (max-width: 560px) { .gap-list li { grid-template-columns: 1fr; gap: .2rem; } }
.band .gap-list, .band .gap-list li { border-color: #26304C; }
.band .gap-list .have, .band .gap-list .missing::before { color: var(--on-band-2); }

.statement { font-family: var(--font-display); font-weight: 500; font-size: var(--step-3); line-height: 1.2; letter-spacing: -0.015em; max-width: 26ch; text-wrap: balance; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .5rem 1.25rem; font-size: .95rem; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; font-weight: 500; }
.note { border-left: 3px solid var(--turmeric); background: var(--surface); padding: .9rem 1.1rem; border-radius: 0 10px 10px 0; color: var(--ink-2); font-size: .95rem; }

/* Filters & listings */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.5rem; }
.filters .label { font: 600 .82rem var(--font-body); text-transform: none; color: var(--ink-2); margin-right: .25rem; }
.chip { font: 500 .9rem var(--font-body); padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; overflow-x: auto; }
.tabs a { padding: .8rem 1rem; text-decoration: none; color: var(--ink-2); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a[aria-current="page"] { color: var(--ink); border-color: var(--green); }
.listing { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1.5rem; align-items: center; }
.listing .meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .9rem; color: var(--ink-2); }
.listing h3 a { color: var(--ink); text-decoration: none; }
.listing h3 a:hover { color: var(--green); }
.empty { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: .9rem; justify-items: start; background: var(--surface); }
.badge { font: 600 .82rem var(--font-body); text-transform: none; padding: .25rem .55rem; border-radius: 6px; background: var(--green-soft); color: var(--green); }

/* Forms */
.form-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .form-shell { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1.25rem, 3.5vw, 2.25rem); min-width: 0; }
.form-card h2 { font-size: var(--step-2); margin-bottom: .4rem; }
form.enquiry { display: grid; gap: 1.2rem; margin-top: 1.5rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; align-items: end; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label, .field legend { font-weight: 600; font-size: .95rem; padding: 0; }
.field .hint { font-size: .85rem; color: var(--ink-2); margin-top: -.2rem; }
.field .opt { font-weight: 400; color: var(--ink-2); font-size: .85rem; }
fieldset.field { border: 0; margin: 0; padding: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], select, textarea {
  width: 100%; font: 400 1rem var(--font-body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: .75rem .85rem; min-height: 48px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; font-size: .95rem; border: 1.5px solid var(--line); border-radius: 999px; padding: .5rem .9rem; cursor: pointer; background: var(--paper); }
.choices input { accent-color: var(--green); margin: 0; }
.choices label:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field .err { color: var(--error); font-size: .85rem; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.consent input { margin-top: .3rem; accent-color: var(--green); }
.form-done { display: grid; gap: 1rem; }
.form-done .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.form-done .tick svg { width: 28px; color: var(--on-green); }
.picker { display: grid; gap: 1.25rem; margin-bottom: 1.5rem; }
.picker .choices label { font-size: 1rem; padding: .65rem 1.1rem; }
.aside-card { display: grid; gap: 1rem; position: sticky; top: 92px; }
.aside-card .card { gap: .5rem; }

/* Footer */
.site-footer { background: var(--band); color: var(--on-band); margin-top: 0; }
.ikat { height: 14px; background-color: var(--band); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 7l7-7 7 7-7 7z' fill='%23F5B82E'/%3E%3Cpath d='M14 7l7-7 7 7-7 7z' fill='%234CC7A6'/%3E%3Cpath d='M4 7l3-3 3 3-3 3zM18 7l3-3 3 3-3 3z' fill='%23111A33'/%3E%3C/svg%3E"); background-size: 28px 14px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 2rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer-top h4 { font: 600 .82rem var(--font-body); text-transform: none; color: var(--on-band-2); margin-bottom: .9rem; }
.footer-top ul { list-style: none; display: grid; gap: .45rem; }
.footer-top a { color: var(--on-band); text-decoration: none; font-size: .95rem; }
.footer-top a:hover { color: var(--band-accent); text-decoration: underline; }
.footer-brand { display: grid; gap: 1rem; align-content: start; }
.footer-brand .logo { color: var(--on-band); }
.footer-brand .logo svg { height: 34px; }
.footer-brand p { color: var(--on-band-2); font-size: .95rem; max-width: 34ch; }
.footer-contact { display: grid; gap: .3rem; font-size: .95rem; }
.footer-bottom { border-top: 1px solid #26304C; padding-block: 1.25rem 1.75rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .85rem; color: var(--on-band-2); }
.footer-bottom a { color: var(--on-band-2); }
@media (max-width: 960px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* Logo colours (inline SVG) */
.logo .lt { stroke: currentColor; }
.logo .lb { stroke: var(--green); }
.band .logo .lb, .site-footer .logo .lb { stroke: var(--band-accent); }
.logo .ld { fill: var(--turmeric); }
.logo .lw { fill: currentColor; }

/* Prose (legal) */
.prose { max-width: 70ch; display: grid; gap: 1rem; }
.prose h2 { font-size: var(--step-2); margin-top: 1.5rem; }
.prose ul { padding-left: 1.25rem; display: grid; gap: .4rem; }
.prose p, .prose li { color: var(--ink-2); }

.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; justify-items: center; margin-inline: auto; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Illustrations ---------- */
.il { width: 100%; height: auto; display: block; overflow: visible; }
.il * { stroke-linecap: round; stroke-linejoin: round; }
.il .bg { fill: var(--green-soft); }
.il .s { fill: var(--surface); stroke: var(--ink); stroke-width: 3; }
.il .p { fill: var(--paper); }
.il .k { stroke: var(--ink); stroke-width: 3; }
.il .k2 { fill: var(--line); }
.il .k2l { stroke: var(--line); stroke-width: 1.5; }
.il .g { fill: var(--green); }
.il .m { fill: var(--green-soft); }
.il .s.m, .il .m.k { fill: var(--green-soft); }
.il .t { fill: var(--turmeric); }
.il .gk { stroke: var(--green); stroke-width: 6; }
.il .road { stroke: var(--green); stroke-width: 7; stroke-dasharray: 2 14; }
.il .road2 { stroke: var(--turmeric); stroke-width: 5; }
.il .code { font: 700 34px var(--font-mono); fill: var(--green); }
.il .lvl { font: 600 24px var(--font-body); fill: var(--green); }
.il .brace { font: 800 76px var(--font-display); fill: var(--green); }

.page-hero.has-art .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; column-gap: clamp(2rem, 5vw, 4rem); }
.page-hero.has-art .ph-copy { display: grid; gap: 1.1rem; min-width: 0; }
.page-hero.has-art .ph-art { min-width: 0; max-width: 460px; justify-self: end; width: 100%; }
@media (max-width: 860px) { .page-hero.has-art .wrap { grid-template-columns: 1fr; } .page-hero.has-art .ph-art { justify-self: start; max-width: 360px; } }

.art-card { padding-top: 0; overflow: hidden; }
.card-art { margin-inline: calc(-1 * clamp(1.25rem, 2.5vw, 1.75rem)); margin-bottom: .25rem; background: var(--sunk); border-bottom: 1px solid var(--line); padding: 1rem 2rem .5rem; }
.card-art .il { max-height: 170px; }
.card-art .il .bg { fill: transparent; }

/* ---------- Fields ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--surface); padding-block: .9rem; display: grid; gap: .6rem; overflow: hidden; }
.ticker-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: .6rem; width: max-content; animation: tick 70s linear infinite; }
.ticker-row.rev .ticker-track { animation-direction: reverse; animation-duration: 80s; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; font-size: .95rem; font-weight: 500; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); }
.ticker-track span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--green)); }
.ticker .d-it { --dot: var(--green); }
.ticker .d-engineering { --dot: var(--turmeric); }
.ticker .d-business { --dot: var(--ink-2); }
.ticker .d-healthcare { --dot: var(--band-accent); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { flex-wrap: wrap; width: auto; } }
.ticker-key { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; justify-content: center; font-size: .82rem; color: var(--ink-2); }
.ticker-key i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: .4rem; vertical-align: middle; }

/* ---------- Example record of work ---------- */
.record { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: 0 24px 60px -32px rgba(17,26,51,.45); overflow: hidden; min-width: 0; }
.rec-head { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.25rem; background: var(--band); color: var(--on-band); }
.rec-head .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--turmeric); color: #111A33; font: 700 1rem var(--font-display); flex: none; }
.rec-head div { display: grid; min-width: 0; }
.rec-head span:not(.avatar):not(.badge) { color: var(--on-band-2); font-size: .9rem; }
.rec-head .badge { margin-left: auto; background: rgba(255,255,255,.12); color: var(--on-band); }
.rec-row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.rec-row > div { display: grid; gap: .25rem; min-width: 0; }
.rec-k { font: 600 .82rem var(--font-body); text-transform: none; color: var(--ink-2); padding-top: .2rem; }
.rec-row span, .rec-row small { color: var(--ink-2); font-size: .9rem; }
.meter { height: 8px; border-radius: 99px; background: var(--sunk); overflow: hidden; margin-top: .35rem; }
.meter i { display: block; height: 100%; width: var(--v); background: linear-gradient(90deg, var(--green), var(--band-accent)); border-radius: inherit; }
.rec-row > .rec-chips { display: flex; align-content: start; flex-wrap: wrap; gap: .4rem; }
.rec-chips span { font-size: .85rem; padding: .25rem .65rem; border-radius: 999px; background: var(--green-soft); color: var(--ink); font-variant-numeric: tabular-nums; }
.record blockquote { margin: 0; padding: 1.1rem 1.25rem; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.35; border-bottom: 1px solid var(--line); }
.record blockquote cite { display: block; margin-top: .5rem; font: 600 .82rem var(--font-body); text-transform: none; color: var(--ink-2); }
.record figcaption { padding: .8rem 1.25rem; font-size: .82rem; color: var(--ink-2); background: var(--sunk); }
@media (max-width: 480px) { .rec-row { grid-template-columns: 1fr; gap: .35rem; } }

/* ---------- Illustrated split (home) ---------- */
.art-split { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.art-split figure { margin: 0; display: grid; gap: .75rem; }
.art-split figcaption { font-size: .82rem; color: var(--ink-2); }
@media (max-width: 760px) { .art-split { grid-template-columns: 1fr; } .art-split figure { max-width: 240px; } }
.eco .flow { paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; }
