@font-face{font-family:"IBM Plex Mono";src:url("../fonts/ibm-plex-mono-regular-latin.woff?v=99dca0fd98") format("woff");font-weight:400;font-style:normal;font-display:swap}
/*
 * Coreflow website (CF-DIG-WEB-001)
 * Identity: Modern Global palette, Archivo, IBM Plex Mono for technical identifiers, Core & Path.
 * One motif runs the system: a path that turns at one radius and ends in a node.
 */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-wght.woff?v=76fa0e9ab6") format("woff");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette */
  --deep: #253C3B;
  --copper: #D5A66C;
  --sage: #68857D;
  --ivory: #F1F3F2;
  --graphite: #263331;
  --sand: #E7E2D5;
  --white: #FFFFFF;
  /* Tints of Deep Petroleum, used for stages and quiet surfaces on dark fields */
  --deep-2: #2D4745;
  --deep-3: #36524F;
  --deep-4: #3F5D59;
  --deep-5: #486864;
  --deep-6: #51736E;
  /* Roles */
  --ink: var(--graphite);
  --muted: #3D4E4A;
  --on-deep: var(--ivory);
  --on-deep-muted: #C6D1CD;
  --field-line: #7C8F8A;
  --danger: #9B2C1F;
  --focus: var(--deep);
  /* Core & Path */
  --module: clamp(14px, calc(100vw / 48), 30px);
  --r: var(--module);
  --r-giant: clamp(48px, 8vw, 120px);
  --r-field: 10px;
  --stroke: 1.5px;
  --line-base: #B4C2BD;
  --node-fill: var(--white);
  --node-stroke: var(--deep);
  --core-fill: var(--deep);
  --flow: var(--copper);
  /* Layout */
  --gutter: clamp(20px, 2.6vw, 32px);
  --max: 1376px;
  --pad: clamp(64px, 8vw, 128px);
  --header-h: 68px;
  /* Type: five working sizes plus the hero display size */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-small: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.1875rem, 1.45vw, 1.375rem);
  --fs-statement: clamp(1.25rem, 0.75rem + 1.2vw, 1.75rem);
  --fs-h2: clamp(1.5rem, 0.95rem + 2.1vw, 2.625rem);
  --fs-h1: clamp(1.875rem, 1rem + 3vw, 3.5rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-tap-highlight-color: rgba(213, 166, 108, 0.3);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.1; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.03em; line-height: 1.04; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.025em; line-height: 1.08; }
h3 { font-size: var(--fs-lead); letter-spacing: -0.01em; line-height: 1.25; }
h4 { font-size: var(--fs-body); line-height: 1.3; }
p { text-wrap: pretty; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

::selection { background: var(--copper); color: var(--deep); }

.mono { font-family: var(--mono); letter-spacing: -0.01em; }
.visually-hidden {
  position: absolute; width: 2px; height: 2px; margin: -2px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; /* taste-skill-ignore */
}

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ivory); color: var(--deep); padding: 12px 18px; border-radius: 999px; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- Buttons: one shape, the half-turn of the path ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px;
  font: inherit; font-size: var(--fs-small); font-weight: 600; line-height: 1.15; letter-spacing: -0.005em;
  text-decoration: none; text-align: center; cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--dark { background: var(--deep); color: var(--ivory); }
.btn--dark:hover { background: var(--deep-4); }
.btn--light { background: var(--ivory); color: var(--deep); }
.btn--light:hover { background: var(--white); }
.btn--tint { background: var(--deep-3); color: var(--ivory); }
.btn--tint:hover { background: var(--deep-5); }
.btn--quiet { background: var(--sand); color: var(--deep); }
.btn--quiet:hover { background: #DAD3C2; }
.sec--sand .btn--quiet { background: var(--ivory); }
.sec--sand .btn--quiet:hover { background: var(--white); }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--deep); color: var(--on-deep);
  --focus: var(--copper);
}
.bar { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: block; flex: none; padding: 13px 0; margin-right: auto; border-radius: 4px; }
.brand img { width: 191px; height: 26px; }

.nav ul { display: flex; gap: clamp(16px, 1.7vw, 28px); }
.nav a, .menu-links a {
  display: block; padding: 10px 0; color: var(--on-deep); text-decoration: none; font-size: var(--fs-small); font-weight: 500; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--copper);
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }

.lang { position: relative; flex: none; }
.lang > summary, .menu > summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px;
  background: var(--deep-3); color: var(--on-deep); font-size: var(--fs-small); font-weight: 500;
  touch-action: manipulation; user-select: none;
  transition: background-color 0.18s var(--ease);
}
.lang > summary:hover, .menu > summary:hover { background: var(--deep-5); }
.lang > summary::after {
  content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform 0.2s var(--ease);
}
.lang[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 8px;
  background: var(--ivory); color: var(--deep); border-radius: 16px; --focus: var(--deep);
}
.lang-list a { display: block; padding: 11px 14px; border-radius: 10px; text-decoration: none; font-size: var(--fs-small); font-weight: 500; }
.lang-list a:hover { background: var(--sand); }
.lang-list a[aria-current="true"] { font-weight: 700; background: var(--white); }

.bar-cta { flex: none; min-height: 44px; padding: 10px 20px; font-size: var(--fs-small); }

.menu { display: none; flex: none; }
.menu[open] > summary { background: var(--ivory); color: var(--deep); }
.menu:not([open]) .menu-close, .menu[open] .menu-open { display: none; }
.menu-panel {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49;
  background: var(--deep); padding: 20px var(--gutter) 40px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  padding-bottom: max(40px, env(safe-area-inset-bottom));
}
.menu-links a { font-size: var(--fs-lead); font-weight: 600; letter-spacing: -0.01em; padding: 13px 0; }
.menu-links a[aria-current="page"] { color: var(--copper); }
.menu-actions { display: grid; gap: 12px; margin-top: 24px; }
.menu-lang-title { margin-top: 32px; color: var(--on-deep-muted); font-size: var(--fs-small); }
.menu-lang { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.menu-lang a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px;
  background: var(--deep-3); text-decoration: none; font-size: var(--fs-small); font-weight: 500;
}
.menu-lang a[aria-current="true"] { background: var(--ivory); color: var(--deep); }

@media (max-width: 1239px) {
  .nav { display: none; }
  .menu { display: block; }
}
@media (max-width: 859px) { .bar-cta { display: none; } }
@media (max-width: 559px) {
  .lang { display: none; }
  .brand img { width: 162px; height: 22px; }
}

/* ---------- Sections ---------- */

.sec { padding-block: var(--pad); position: relative; }
.sec--ivory { background: var(--ivory); }
.sec--white { background: var(--white); }
.sec--sand { background: var(--sand); }
.sec--deep, .hero, .page-hero {
  background: var(--deep); color: var(--on-deep);
  --focus: var(--copper); --line-base: var(--deep-6); --node-fill: var(--deep); --node-stroke: var(--ivory); --core-fill: var(--ivory);
}
/* The page's largest turn: a section rises over the one above with the giant radius. */
.sec--under { padding-bottom: calc(var(--pad) + var(--r-giant)); }
.sec--rise { margin-top: calc(-1 * var(--r-giant)); border-top-left-radius: var(--r-giant); padding-top: clamp(56px, 7vw, 104px); }

.sec-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 16px;
  align-items: end; margin-bottom: clamp(40px, 5vw, 72px);
}
.sec-head h2 { grid-column: 1 / span 7; }
.sec-head p { grid-column: 9 / span 4; font-size: var(--fs-lead); line-height: 1.4; color: var(--muted); }
.sec--deep .sec-head p { color: var(--on-deep-muted); }
.sec-more { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

.lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 60ch; }
.statement { font-size: var(--fs-statement); line-height: 1.25; letter-spacing: -0.015em; font-weight: 500; max-width: 31em; }
.lede { margin-bottom: clamp(40px, 5vw, 72px); }
.lede .statement { margin-top: clamp(20px, 2.4vw, 32px); }
.note { margin-top: clamp(28px, 3vw, 44px); color: var(--muted); max-width: 68ch; padding-left: 26px; position: relative; }
.note::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 11px; height: 11px; border-radius: 50%;
  border: var(--stroke) solid var(--deep); background: var(--white);
}
.note--light { color: var(--on-deep-muted); }
.note--light::before { border-color: var(--ivory); background: var(--deep); }

@media (max-width: 859px) {
  .sec-head h2, .sec-head p { grid-column: 1 / -1; }
}

/* ---------- Core & Path ---------- */

.cp { position: relative; width: 100%; }
.cp-box { position: relative; width: 100%; }
.cp-svg { display: block; width: 100%; height: auto; overflow: visible; }
.cp-trace { fill: none; stroke: #fff; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.cp-line { fill: none; stroke-width: 1.5px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.cp-line--base { stroke: var(--line-base); }
.cp-line--flow { stroke: var(--flow); }
.cp-node { fill: var(--node-fill); stroke: var(--node-stroke); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.cp-node--core { fill: var(--core-fill); stroke: none; }
.cp-label { position: absolute; font-size: var(--fs-small); line-height: 1.2; }
.cp-label--left { transform: translate(-100%, -50%); text-align: right; }
.cp-label--right { transform: translate(0, -50%); }
.cp-label--below { transform: translate(-50%, 0); text-align: center; }
.cp-label--above { transform: translate(-50%, -100%); text-align: center; }

/* ---------- Home hero ---------- */

.hero { padding-top: clamp(40px, 6vw, 88px); overflow: hidden; }
.hero-title {
  --cap: 5.75rem;
  position: relative; display: grid; margin: 0;
  font-size: min(var(--cap), calc((min(100vw, var(--max) + 2 * var(--gutter)) - 2 * var(--gutter)) / var(--fit)));
  line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; text-wrap: nowrap;
}
.hero-line { display: flex; align-items: center; padding-right: 0.52em; white-space: nowrap; }
.hero-words { flex: none; }
.hero-node {
  flex: none; width: 0.2em; height: 0.2em; margin-left: 0.28em; border-radius: 50%;
  border: 2px solid var(--ivory); background: var(--deep);
}
.hero-rule { flex: 1 1 auto; min-width: 0.4em; height: 2px; background: var(--copper); }
/* The turn that joins the two lines: two quarter arcs of the same radius. */
/* The script measures the two rules and sets --cn-top and --cn-h, so the turn meets them exactly in
   every engine (Safari rounds the line boxes differently). The em values are the fallback without script. */
.hero-title::after {
  content: ""; position: absolute; right: 0; top: var(--cn-top, calc(0.52em - 1px)); width: 0.52em; height: var(--cn-h, calc(1.04em + 2px));
  border: 2px solid var(--copper); border-left: 0; border-radius: 0 0.52em 0.52em 0; box-sizing: border-box;
}
.hero-slogan {
  margin-top: clamp(18px, 2vw, 28px); color: var(--copper); font-weight: 500;
  font-size: clamp(1.125rem, 0.9rem + 0.8vw, 1.5rem); line-height: 1.3; letter-spacing: -0.01em;
}
.hero-sub {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 28px;
  align-items: end; margin-top: clamp(20px, 2.4vw, 32px);
}
.hero-sub .lead { grid-column: 1 / span 7; color: var(--on-deep); }
.hero-sub .actions { grid-column: 9 / span 4; justify-content: flex-end; }
.board { margin-top: clamp(56px, 7vw, 104px); }
.cp--board .cp-label { color: var(--on-deep-muted); max-width: 22%; transition: color 0.5s var(--ease); }
.cp--board .cp-label--group { color: var(--on-deep); font-weight: 600; max-width: 23%; }
.cp--board .cp-label.is-on { color: var(--white); }
.cp--board .cp-line--flow { opacity: 0; transition: opacity 0.9s var(--ease); }
.cp--board .cp-line--flow.is-on { opacity: 1; }
.cp--board .cp-node[data-route] { transition: fill 0.5s var(--ease), stroke 0.5s var(--ease); }
.cp--board .cp-node.is-on { fill: var(--copper); stroke: var(--copper); }
html:not(.js) .cp--board .cp-line--flow { opacity: 1; }
.cp--tall { display: none; }
.board { position: relative; }
.hero.sec--under { padding-bottom: calc(clamp(28px, 3.5vw, 48px) + var(--r-giant)); }

@media (max-width: 959px) {
  .hero-sub .lead, .hero-sub .actions { grid-column: 1 / -1; justify-content: flex-start; }
  .cp--wide { display: none; }
  .cp--tall { display: block; max-width: 460px; }
  .cp--board .cp-label, .cp--board .cp-label--group { max-width: 76%; }
}
@media (max-width: 639px) {
  /* Phones: the sentence takes four rows, one per segment. The connector leaves the first row,
     turns once at the right margin and comes back on the last row. Same node, rule and radius. */
  .hero-title {
    display: flex; flex-wrap: wrap; align-items: center; padding-right: 0.52em;
    font-stretch: 80%;
    font-size: min(2.375rem, calc((100vw - 2 * var(--gutter)) / var(--fit-narrow)));
  }
  .hero-line, .hero-words { display: contents; }
  .hero-seg { flex: none; }
  .hero-line:first-child .hero-seg:first-child { order: 1; }
  .hero-line:first-child .hero-node { order: 2; }
  .hero-line:first-child .hero-rule { order: 3; }
  .hero-line:first-child .hero-seg:last-child { order: 4; flex-basis: 100%; }
  .hero-line:last-child .hero-seg:first-child { order: 5; flex-basis: 100%; }
  .hero-line:last-child .hero-seg:last-child { order: 6; }
  .hero-line:last-child .hero-node { order: 7; }
  .hero-line:last-child .hero-rule { order: 8; }
  .hero-title::after { height: var(--cn-h, calc(3.12em + 2px)); }
  .hero-node { border-width: 1.5px; }
}

/* ---------- Inner page hero ---------- */

.page-hero { padding-top: clamp(40px, 5vw, 80px); }
.page-hero.sec--under { padding-bottom: calc(clamp(28px, 3.5vw, 52px) + var(--r-giant)); }
.page-hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.page-hero-text { grid-column: 1 / span 9; }
.page-hero h1 { max-width: 17em; }
.page-hero .lead { margin-top: clamp(20px, 2.4vw, 32px); color: var(--on-deep); }
.page-hero .actions { margin-top: clamp(24px, 3vw, 40px); }
.cp--hero { grid-column: 10 / span 3; align-self: center; max-width: 260px; justify-self: end; }
@media (max-width: 859px) {
  .page-hero-text { grid-column: 1 / -1; }
  .cp--hero { display: none; }
}

/* ---------- Text layouts ---------- */

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 32px; align-items: start; }
.split > :first-child { grid-column: 1 / span 5; }
.split > :last-child { grid-column: 7 / span 6; }
.split--media > :first-child { grid-column: 1 / span 6; }
.split--media > :last-child { grid-column: 8 / span 5; }
.split h2 + .statement, .split h2 + .lead, .split h2 + .block { margin-top: clamp(20px, 2.4vw, 32px); }
.prose p + p { margin-top: 1.1em; }
.prose p { font-size: var(--fs-lead); line-height: 1.5; max-width: 62ch; }
.prose p:has(.btn) { margin-top: 28px; }

.blocks { display: grid; gap: clamp(28px, 3.4vw, 48px) var(--gutter); }
.blocks--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blocks--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blocks--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.block h3 { margin-bottom: 10px; }
.block p { color: var(--muted); max-width: 46ch; }
.block + .block { margin-top: 0; }
.split .block { margin-top: 28px; }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gutter); margin-top: clamp(28px, 3.4vw, 48px); }
.pair h3 { margin-bottom: 16px; }
.pair--wide { margin-top: 0; }

@media (max-width: 859px) {
  .split > :first-child, .split > :last-child { grid-column: 1 / -1; }
  .blocks--three { grid-template-columns: 1fr; }
}
@media (max-width: 1099px) { .blocks--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .blocks--two, .blocks--four, .pair, .intro-grid > :last-child { grid-template-columns: 1fr; }
}

/* ---------- Lists whose bullet is the node ---------- */

.nodes { display: grid; gap: clamp(28px, 3vw, 40px) clamp(40px, 5vw, 72px); }
.nodes--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nodes > li { position: relative; padding-left: 34px; }
.nodes > li::before {
  content: ""; position: absolute; left: 0; top: 0.36em; width: 14px; height: 14px; border-radius: 50%;
  border: var(--stroke) solid var(--node-stroke); background: var(--node-fill);
}
.nodes h3 { margin-bottom: 6px; }
.nodes p { color: var(--muted); max-width: 44ch; }
.nodes--plain { gap: 12px; }
.nodes--plain > li { padding-left: 28px; }
.nodes--plain > li::before { width: 11px; height: 11px; top: 0.48em; }
.nodes--links { margin-top: 28px; }
.nodes--links a { font-size: var(--fs-lead); font-weight: 500; }
@media (max-width: 759px) { .nodes--two { grid-template-columns: 1fr; } }

.checks { display: grid; gap: 10px; }
.checks > li { position: relative; padding-left: 26px; }
.checks > li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; border-radius: 50%; background: var(--copper);
}
.checks--dark > li::before { background: var(--deep); }

/* ---------- Hard-to-find parts and complete bills of materials ---------- */

.sourcing { background: var(--copper); color: var(--graphite); }
.sourcing-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; align-items: start; }
.sourcing-main { grid-column: 1 / span 7; }
.sourcing-main h2 { max-width: 20em; }
.sourcing-main .lead { margin-top: clamp(18px, 2vw, 26px); color: var(--graphite); }
.sourcing-main .actions { margin-top: clamp(24px, 3vw, 36px); }
.sourcing .btn--quiet { background: var(--ivory); }
.sourcing .btn--quiet:hover { background: var(--white); }
.sourcing-list { grid-column: 9 / span 4; background: var(--ivory); border-radius: var(--r); padding: clamp(22px, 2.4vw, 32px); }
.sourcing-list h3 { margin-bottom: 16px; font-size: var(--fs-body); }
.sourcing-note { margin-top: 18px; font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 959px) { .sourcing-main, .sourcing-list { grid-column: 1 / -1; } }

/* ---------- Photo slots (licensed photograph pending) ---------- */

.slot { position: relative; }
.slot .cp { border-radius: 0 var(--r-giant) 0 0; overflow: hidden; }
.slot--sage .cp { background: var(--sage); --flow: var(--deep); --node-stroke: var(--deep); --node-fill: var(--ivory); }
.slot--sand .cp { background: var(--sand); --node-stroke: var(--deep); --node-fill: var(--white); }
.slot--deep .cp { background: var(--deep-3); }
.slot--map { background: var(--deep); color: var(--on-deep); border-radius: 0 var(--r-giant) 0 0; padding: clamp(18px, 3vw, 36px) clamp(14px, 2.4vw, 28px); }
.slot--map .cp { overflow: visible; border-radius: 0; --line-base: var(--deep-6); --node-fill: var(--deep); --node-stroke: var(--ivory); --core-fill: var(--ivory); --flow: var(--copper); }
.slot--map .cp-label { color: var(--on-deep-muted); max-width: 25%; }
.slot--map .cp-label--group { color: var(--ivory); font-weight: 600; }
.slot--map .cp-label--core { color: var(--ivory); font-weight: 600; }
.slot figcaption { margin-top: 12px; font-size: var(--fs-small); color: var(--muted); }
.slot--photo picture { display: block; }
.slot--photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0 var(--r-giant) 0 0; background: var(--sage); }
.sec--deep .slot figcaption, .panel .slot figcaption { color: var(--on-deep-muted); }

/* ---------- Home: intro ---------- */

.intro-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; align-items: center; }
.intro-text { grid-column: 1 / span 7; }
.intro-grid > .slot { grid-column: 8 / span 5; }
.intro .statement { margin-top: clamp(18px, 2vw, 28px); }
.intro-blocks { margin-top: clamp(28px, 3vw, 40px); }
.intro .btn { margin-top: clamp(28px, 3vw, 40px); }
@media (max-width: 959px) { .intro-text, .intro-grid > .slot { grid-column: 1 / -1; } .intro-grid > .slot { max-width: 560px; } }
@media (max-width: 639px) { .intro-blocks { grid-template-columns: 1fr; } }

/* Home: what we source, in one compact section */
.source-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 36px; }
.source-grid > :first-child { grid-column: 1 / span 7; }
.source-grid > :last-child { grid-column: 9 / span 4; }
.source-grid h3 { font-size: var(--fs-body); margin-bottom: 16px; }
.source-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px var(--gutter); }
.source-list a { display: block; padding: 9px 0; font-size: var(--fs-lead); font-weight: 500; text-decoration: none; letter-spacing: -0.01em; }
.source-list a:hover { text-decoration: underline; text-decoration-color: var(--copper); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 859px) { .source-grid > :first-child, .source-grid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 559px) { .source-list { grid-template-columns: 1fr; } }
.nodes--cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px var(--gutter); }
@media (max-width: 859px) { .nodes--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .nodes--cols { grid-template-columns: 1fr; } }
.blocks--stack { grid-template-columns: 1fr; }
@media (max-width: 959px) {
  .intro-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 639px) { .intro-grid > :last-child { grid-template-columns: 1fr; } }

/* ---------- Home: the three models on colour tiles ---------- */

.models-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 16px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.models-head h2 { grid-column: 1 / span 7; }
.models-head p { grid-column: 9 / span 4; font-size: var(--fs-lead); line-height: 1.4; color: var(--muted); }
.models-head .btn { grid-column: 9 / span 4; justify-self: start; }
.tiles { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 12px; }
.tile { border-radius: var(--r); overflow: hidden; display: grid; place-items: center; padding: clamp(12px, 1.6vw, 24px); }
.tile .cp, .tile .cp-box { width: auto; }
.tile .cp-svg { height: clamp(140px, 12vw, 180px); width: auto; max-width: 100%; }
.tile--0 { background: var(--sand); }
.tile--1 { background: var(--deep); --node-fill: var(--deep); --node-stroke: var(--ivory); --core-fill: var(--ivory); }
.tile--2 { background: var(--ivory); }
.tile-item h3 { margin-top: 18px; }
.tile-item p { margin-top: 8px; color: var(--muted); max-width: 40ch; }
@media (max-width: 859px) {
  .models-head h2, .models-head p, .models-head .btn { grid-column: 1 / -1; }
  .tiles { grid-template-columns: 1fr; gap: 28px; }
  .tile { justify-items: start; }
}

/* ---------- Category picker (the live part) ---------- */

.picker { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 24px; align-items: start; }
.picker-tabs { grid-column: 1 / span 5; display: grid; gap: 2px; }
.picker-tab {
  position: relative; display: block; padding: 11px 12px 11px 34px; border-radius: 12px;
  color: var(--muted); text-decoration: none; font-size: var(--fs-lead); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em;
  transition: background-color 0.18s var(--ease);
}
.picker-tab::before {
  content: ""; position: absolute; left: 8px; top: 50%; width: 13px; height: 13px; margin-top: -6.5px; border-radius: 50%;
  border: var(--stroke) solid var(--deep); background: var(--white);
  transition: transform 0.25s var(--ease);
}
.picker-tab:hover { background: var(--ivory); color: var(--ink); }
.picker-tab[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.picker-tab[aria-selected="true"]::before { background: var(--copper); border-color: var(--copper); transform: scale(1.25); }
.picker-panels { grid-column: 6 / span 7; display: grid; gap: 12px; }
.picker-panel {
  background: var(--deep); color: var(--on-deep); padding: clamp(28px, 4vw, 56px);
  border-radius: 0 var(--r-giant) 0 0; --focus: var(--copper);
}
.picker-panel h3 { font-size: var(--fs-statement); letter-spacing: -0.02em; line-height: 1.12; }
.picker-desc { margin-top: 14px; color: var(--on-deep-muted); font-size: var(--fs-lead); line-height: 1.4; max-width: 44ch; }
.picker-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px var(--gutter); margin: clamp(28px, 3.4vw, 44px) 0; }
.picker-cols h4 { margin-bottom: 14px; color: var(--on-deep-muted); font-weight: 500; }
.picker-note { grid-column: 6 / span 7; grid-row: 1; color: var(--muted); font-size: var(--fs-small); max-width: 62ch; }
.picker-tabs { grid-row: 1 / span 2; }
.picker-panels { grid-row: 2; }
.picker-select-wrap { display: none; grid-column: 1 / -1; }
.picker-select-wrap label { display: block; font-weight: 600; margin-bottom: 8px; }
.js .picker-panel[hidden] { display: none; }
.js .picker-panel { animation: panel-in 0.35s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 959px) {
  .picker-tabs, .picker-panels, .picker-note { grid-column: 1 / -1; grid-row: auto; }
  .js .picker-tabs { display: none; }
  .js .picker-select-wrap { display: block; }
}
@media (max-width: 639px) { .picker-cols { grid-template-columns: 1fr; } }

/* ---------- Home: global reach, an inset panel ---------- */

.reach { padding-inline: clamp(10px, 1.4vw, 20px); }
.panel {
  background: var(--deep); color: var(--on-deep); border-radius: var(--r); overflow: hidden;
  padding: clamp(32px, 4.5vw, 64px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px;
  --focus: var(--copper);
}
.panel-main { grid-column: 1 / span 7; }
.panel-main h2 { max-width: 13em; }
.panel-main .slot { margin-top: clamp(32px, 4vw, 56px); max-width: 560px; }
.panel .blocks { grid-column: 9 / span 4; align-content: start; padding-top: 8px; }
.panel .block p { color: var(--on-deep-muted); }
@media (max-width: 959px) {
  .panel-main, .panel .blocks { grid-column: 1 / -1; }
}

/* ---------- Stages: an accordion of tinted panels, dark to light ---------- */

.stages { display: grid; gap: 4px; }
.stage { position: relative; color: var(--on-deep); border-radius: 6px; --focus: var(--copper); }
.stage:nth-child(1) { background: var(--deep); }
.stage:nth-child(2) { background: var(--deep-2); }
.stage:nth-child(3) { background: var(--deep-3); }
.stage:nth-child(4) { background: var(--deep-4); }
.stage:nth-child(5) { background: var(--deep-5); }
.stage:nth-child(6) { background: var(--deep-6); }
.stage:first-child { border-top-left-radius: var(--r); }
.stage:last-child { border-bottom-right-radius: var(--r); }
.stage-name { font-size: var(--fs-lead); }
.stage-tab {
  all: unset; box-sizing: border-box; display: block; width: 100%; padding: 20px 24px; cursor: default; font: inherit; color: inherit; letter-spacing: inherit;
}
.stage-tab:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
.stage-body { padding: 0 24px 22px; margin-top: -8px; max-width: calc(46ch + 48px); color: var(--on-deep); }
.js .stage-tab { cursor: pointer; touch-action: manipulation; }
.js .stage:not([data-open]) .stage-body { display: none; }
.js .stage[data-open] .stage-body { animation: panel-in 0.4s var(--ease) 0.1s both; }
.js .stage:not([data-open]):hover { filter: brightness(1.12); }

@media (min-width: 960px) {
  .js .stages { display: flex; gap: 4px; height: 460px; }
  .js .stage { flex: 1 1 0; min-width: 0; padding: 0; overflow: hidden; }
  .js .stage[data-open] { flex-grow: 9; padding: 36px 40px; display: flex; flex-direction: column; justify-content: space-between; }
  .js .stage[data-open] .stage-name { font-size: var(--fs-statement); letter-spacing: -0.02em; }
  .js .stage[data-open] .stage-tab { padding: 0; }
  .js .stage[data-open] .stage-body { font-size: var(--fs-lead); line-height: 1.45; max-width: 36ch; margin: 0; padding: 0; }
  .js .stage:not([data-open]) .stage-name { position: absolute; inset: 0; }
  .js .stage:not([data-open]) .stage-tab {
    position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px 0 24px 0;
  }
  .js .stage:not([data-open]) .stage-tab span {
    writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-size: var(--fs-lead); font-weight: 600; margin-inline: auto;
  }
}

/* ---------- Home: two ways in ---------- */

.paths { padding-inline: 0; }
.path-row { display: grid; grid-template-columns: minmax(28px, 1fr) minmax(0, 610px) minmax(0, 610px) minmax(28px, 1fr); gap: 12px; }
.path-tile { border-radius: var(--r); padding: clamp(28px, 3.4vw, 48px); min-height: 300px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.path-tile h3 { font-size: var(--fs-statement); letter-spacing: -0.02em; line-height: 1.14; max-width: 15em; }
.path-tile p { max-width: 40ch; }
.path-tile .btn { margin-top: auto; }
.path-tile--buyers { background: var(--deep); color: var(--on-deep); --focus: var(--copper); }
.path-tile--buyers p { color: var(--on-deep-muted); }
.path-tile--makers { background: var(--sand); }
.path-tile--makers p { color: var(--muted); }
.path-flank--a { background: var(--sage); border-radius: 0 var(--r) var(--r) 0; }
.path-flank--b { background: var(--copper); border-radius: var(--r) 0 0 var(--r); }
@media (max-width: 859px) {
  .path-row { grid-template-columns: 1fr 1fr; padding-inline: var(--gutter); }
  .path-tile { grid-column: 1 / -1; min-height: 0; }
  .path-flank { display: none; }
}

/* ---------- Closing band ---------- */

.closing-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 32px; align-items: end; }
.closing-grid > :first-child { grid-column: 1 / span 7; }
.closing-grid > .actions { grid-column: 8 / span 5; justify-content: flex-end; }
.closing .lead { margin-top: 16px; color: var(--muted); }
@media (max-width: 959px) {
  .closing-grid > :first-child, .closing-grid > .actions { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ---------- Solutions ---------- */

/* Solutions: three complete model cards */
.model-cards-sec { padding-bottom: clamp(48px, 6vw, 96px); }
.model-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.model-card { display: flex; flex-direction: column; gap: 0; border-radius: var(--r); padding: clamp(24px, 2.6vw, 40px); }
.model-card--0 { background: var(--sand); }
.model-card--1 { background: var(--deep); color: var(--on-deep); --node-fill: var(--deep); --node-stroke: var(--ivory); --focus: var(--copper); }
.model-card--2 { background: var(--white); }
.model-card h2 { font-size: clamp(1.375rem, 1rem + 1vw, 1.875rem); letter-spacing: -0.02em; line-height: 1.12; }
.model-what { margin-top: 14px; font-size: var(--fs-lead); line-height: 1.4; }
.model-facts { display: grid; gap: 14px; margin-top: 24px; }
.model-facts dt, .model-contract span { display: block; font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.model-facts dd { margin-top: 2px; }
.model-card h3 { margin: 26px 0 12px; font-size: var(--fs-body); }
.model-contract { margin-top: 24px; font-size: var(--fs-small); line-height: 1.45; }
.model-contract span { margin-bottom: 2px; }
.model-action { margin-top: auto; padding-top: 28px; }
.model-card--1 .model-facts dt, .model-card--1 .model-contract span { color: var(--on-deep-muted); }
.model-note { margin-top: clamp(28px, 3vw, 40px); max-width: 68ch; }
@media (max-width: 1099px) { .model-cards { grid-template-columns: 1fr; } .model-card { max-width: 720px; } }


/* ---------- Supply categories ---------- */

.catalog-wrap { position: relative; }
.catalog-head .sec-head { margin-bottom: 0; }
.catalog-band:first-child { padding-top: clamp(28px, 3.5vw, 48px); }
/* Ten full-width bands that step in tone: the separation is a change of ground, never a line or a card. */
.catalog-band { padding-block: clamp(40px, 5vw, 72px); scroll-margin-top: var(--header-h); }
.catalog-band:nth-child(even) { background: var(--white); }
.catalog-item { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 20px; }
.catalog-name { grid-column: 1 / span 5; }
.catalog-band .btn--quiet { background: var(--sand); }
.catalog-name h3 { font-size: var(--fs-statement); letter-spacing: -0.02em; line-height: 1.14; }
.catalog-name p { margin-top: 12px; color: var(--muted); max-width: 40ch; }
.catalog-body { grid-column: 7 / span 6; }
.catalog-body h4 { color: var(--muted); font-weight: 500; margin: 0 0 10px; }
.catalog-body p + h4 { margin-top: 24px; }
.catalog-body .btn { margin-top: 24px; }
@media (max-width: 859px) {
  .catalog-name, .catalog-body { grid-column: 1 / -1; }
}

/* ---------- For manufacturers ---------- */

.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.options > li { background: var(--deep-3); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); }
.options > li:nth-child(2) { background: var(--deep-4); }
.options > li:nth-child(3) { background: var(--deep-4); }
.options h3 { font-size: var(--fs-statement); letter-spacing: -0.02em; line-height: 1.14; }
.options p { margin-top: 14px; color: var(--on-deep); max-width: 44ch; }
@media (max-width: 759px) { .options { grid-template-columns: 1fr; } .options > li:nth-child(3) { background: var(--deep-3); } .options > li:nth-child(4) { background: var(--deep-4); } }

/* An ordered route: the list itself is the path, each step a node on it. */
.route { margin-top: clamp(24px, 3vw, 40px); position: relative; display: grid; gap: 28px; }
.route > li { position: relative; padding-left: 40px; }
.route > li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 15px; height: 15px; border-radius: 50%;
  border: var(--stroke) solid var(--deep); background: var(--white); z-index: 1;
}
.route > li::after { content: ""; position: absolute; left: 6.75px; top: calc(0.3em + 15px); bottom: calc(-28px - 0.3em); width: 1.5px; background: var(--copper); }
.route > li:last-child::after { display: none; }
.route h3 { margin-bottom: 6px; }
.route p { color: var(--muted); max-width: 46ch; }
.route--small { gap: 18px; margin-top: 16px; }
.route--small > li { padding-left: 30px; }
.route--small > li::before { width: 11px; height: 11px; top: 0.42em; }
.route--small > li::after { left: 4.75px; top: calc(0.42em + 11px); bottom: calc(-18px - 0.42em); }
.route--small p { color: var(--ink); }

/* ---------- Contact ---------- */

.channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.channels > li { background: var(--white); border-radius: var(--r); padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.channels > li:first-child { background: var(--deep); color: var(--on-deep); --focus: var(--copper); }
.channels > li > p:last-child { margin-top: auto; padding-top: 12px; }
.channels .email { font-size: var(--fs-small); overflow-wrap: anywhere; }
.channels--paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.channels--paths > li { padding: clamp(28px, 3.4vw, 48px); gap: 14px; }
.channels--paths p:not(.channel-link) { max-width: 46ch; }
@media (max-width: 1099px) { .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .channels, .channels--paths { grid-template-columns: 1fr; } }

/* ---------- Partnership journey (For Manufacturers) ---------- */
/* Wide: one route climbs through the steps; each step's text starts under its own node.
   The module is 1/48 of the journey's width, so text and drawing share one grid (100cqw = width). */
.journey { position: relative; container-type: inline-size; margin-top: clamp(28px, 4vw, 52px); }
.journey > .cp--journey { position: absolute; left: 0; right: 0; top: 0; pointer-events: none; }
.cp--journey .cp-label { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0; color: var(--muted); }
.journey-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.journey-steps > li { padding: calc((var(--y) + 1.15) * 100cqw / 48) clamp(16px, 2.2vw, 36px) 0 0; }
.journey-steps h3 { margin-bottom: 8px; }
.journey-steps p { color: var(--muted); max-width: 34ch; }
.cp--rail { display: none; }
.js .journey .cp-trace { stroke-dasharray: 1 2; stroke-dashoffset: 1; }
.js .journey.go .cp-trace { animation: trace 1.8s var(--ease) 0.15s forwards; }
.js .journey .cp--journey .cp-node, .js .journey .cp--rail .cp-node { opacity: 0; }
.js .journey.go .cp-node { animation: appear 0.35s linear forwards; }
.js .journey.go .cp-node:nth-of-type(2) { animation-delay: 0.45s; }
.js .journey.go .cp-node:nth-of-type(3) { animation-delay: 0.9s; }
.js .journey.go .cp-node:nth-of-type(4) { animation-delay: 1.35s; }
@media (max-width: 959px) {
  .journey > .cp--journey { display: none; }
  .journey-steps { grid-template-columns: 1fr; }
  .journey-steps > li { position: relative; padding: 0 0 30px 52px; }
  .journey-steps > li:last-child { padding-bottom: 0; }
  .cp--rail { display: block; position: absolute; left: 0; right: 0; top: 0; pointer-events: none; }
  /* Without the script: a plain node beside each title. */
  .journey:not([data-drawn]) .journey-steps > li::before {
    content: ""; position: absolute; left: 24.5px; top: calc(var(--fs-lead) * 0.625 - 5.5px); width: 11px; height: 11px; box-sizing: border-box;
    border-radius: 50%; border: var(--stroke) solid var(--deep); background: var(--white);
  }
}

/* ---------- Forms ---------- */

.form-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 48px; align-items: start; }
.form-main { grid-column: 1 / span 8; min-width: 0; }
.form-main > h2 { margin-bottom: 28px; }
.form-aside { grid-column: 10 / span 3; }
.form-aside h2 { font-size: var(--fs-lead); letter-spacing: -0.01em; line-height: 1.25; margin-top: 36px; }
.form-aside h2:first-child { margin-top: 0; }
.form-aside p { margin-top: 12px; }
.form-aside .email, .form-result .email { overflow-wrap: anywhere; }
@media (max-width: 959px) {
  .form-main, .form-aside { grid-column: 1 / -1; }
}

.form-note { font-size: var(--fs-small); color: var(--muted); margin-bottom: 24px; max-width: 68ch; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px var(--gutter); }
.field { grid-column: 1 / -1; min-width: 0; }
.field--half { grid-column: span 1; display: flex; flex-direction: column; }
.field--half > .field-hint { order: 2; margin: 8px 0 0; }
.field--half > .field-error { order: 3; }
@media (max-width: 639px) { .field--half { grid-column: 1 / -1; } }
.field > label, .field > legend { display: block; font-weight: 600; margin-bottom: 6px; padding: 0; }
.field-opt { font-weight: 400; font-size: var(--fs-small); color: var(--muted); margin-left: 6px; }
.field-hint { font-size: var(--fs-small); color: var(--muted); margin-bottom: 8px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field input[type="date"], .field select, .field textarea, .picker-select {
  display: block; width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: var(--fs-body); color: var(--ink); background-color: var(--white);
  border: 1.5px solid var(--field-line); border-radius: var(--r-field);
  transition: border-color 0.15s var(--ease);
}
.field textarea { resize: vertical; line-height: 1.5; min-height: 120px; }
.field select, .picker-select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23253C3B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input::placeholder, .field textarea::placeholder { color: #5C6C68; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--deep); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible, .picker-select:focus-visible { outline: 2px solid var(--deep); outline-offset: 2px; border-color: var(--deep); border-radius: var(--r-field); }
.field[data-invalid] input:not([type="checkbox"]), .field[data-invalid] select, .field[data-invalid] textarea { border-color: var(--danger); border-width: 2px; }
.field-error { margin-top: 8px; font-size: var(--fs-small); font-weight: 500; color: var(--danger); }
.field-link { margin-top: 8px; padding-left: 34px; font-size: var(--fs-small); }

.checks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px var(--gutter); }
@media (max-width: 639px) { .checks-grid { grid-template-columns: 1fr; } }
.check { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; cursor: pointer; font-weight: 400; touch-action: manipulation; }
.check input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--deep); cursor: pointer; }
.field > label.check { display: flex; font-weight: 400; margin-bottom: 0; }
.field--consent .check { line-height: 1.5; max-width: 68ch; }

.trap { position: absolute; left: -9999px; width: 2px; height: 2px; overflow: hidden; }

.form-reassure { flex-basis: 100%; order: 3; font-size: var(--fs-small); color: var(--muted); max-width: 62ch; }
.form-foot { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-status { font-size: var(--fs-small); color: var(--muted); min-height: 1.5em; }
.form-alert, .form-result {
  border-radius: var(--r); padding: clamp(20px, 2.6vw, 32px); margin-bottom: 28px;
}
.form-alert { background: #F6E4DF; color: #5C1A12; }
.form-alert h3, .form-result h3 { font-size: var(--fs-lead); margin-bottom: 8px; }
.form-alert a { font-weight: 600; }
.form-result { background: var(--deep); color: var(--on-deep); --focus: var(--copper); border-radius: 0 var(--r-giant) 0 0; padding: clamp(28px, 4vw, 56px); }
.form-result h3 { font-size: var(--fs-statement); letter-spacing: -0.02em; }
.form-result p { margin-top: 12px; max-width: 52ch; }
.form-result .ref { margin-top: 24px; }
.form-result .ref span { display: block; color: var(--on-deep-muted); font-size: var(--fs-small); }
.form-result .ref strong { font-family: var(--mono); font-size: var(--fs-lead); font-weight: 400; letter-spacing: 0; user-select: all; }
.form-result .btn { margin-top: 28px; }
.form-alert:focus, .form-result:focus { outline: none; }

/* ---------- Legal ---------- */

.legal section { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 12px; }
.legal section + section { margin-top: clamp(36px, 4.5vw, 64px); }
.legal h2 { grid-column: 1 / span 4; font-size: var(--fs-statement); letter-spacing: -0.015em; line-height: 1.2; }
.legal section > div { grid-column: 6 / span 7; }
.legal section p { max-width: 68ch; }
.legal p + p { margin-top: 1em; }
.legal-meta { margin-top: clamp(40px, 5vw, 72px); font-size: var(--fs-small); color: var(--muted); }
.legal-links { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 859px) { .legal h2, .legal section > div { grid-column: 1 / -1; } }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--deep); color: var(--on-deep); padding: clamp(40px, 5vw, 72px) 0 32px;
  --focus: var(--copper); --node-fill: var(--deep); --node-stroke: var(--ivory);
}
.cp--foot { margin-bottom: clamp(24px, 3vw, 40px); }
.foot-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 48px; }
.foot-brand { grid-column: 1 / span 4; }
.foot-brand img { width: 260px; height: auto; }
.foot-tagline { margin-top: 22px; color: var(--ivory); font-size: var(--fs-lead); font-weight: 500; line-height: 1.35; max-width: 18em; }
.foot-nav { grid-column: 5 / span 8; display: grid; grid-template-columns: 1fr 1fr 1.25fr 1fr; gap: 40px var(--gutter); }
.foot-nav h2 { font-size: var(--fs-small); font-weight: 600; letter-spacing: 0; color: var(--on-deep-muted); margin-bottom: 14px; line-height: 1.3; }
.foot-nav li + li { margin-top: 4px; }
.foot-nav a { display: inline-block; padding: 5px 0; text-decoration: none; font-size: var(--fs-small); }
.foot-nav a:hover { text-decoration: underline; text-decoration-color: var(--copper); text-decoration-thickness: 2px; }
.channel-link a { font-weight: 600; }
.foot-team { display: block; color: var(--on-deep-muted); font-size: var(--fs-small); }
.foot-mail a { padding: 2px 0; overflow-wrap: anywhere; font-size: var(--fs-small); }
.foot-bottom {
  margin-top: clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  font-size: var(--fs-small); color: var(--on-deep-muted);
}
.foot-lang-list { display: flex; gap: 6px; }
.foot-lang-list a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; text-decoration: none; color: var(--on-deep); }
.foot-lang-list a:hover { background: var(--deep-3); }
.foot-lang-list a[aria-current="true"] { background: var(--deep-3); font-weight: 600; }
.foot-review { margin-top: 20px; font-size: var(--fs-small); color: var(--on-deep-muted); }
@media (max-width: 1099px) {
  .foot-brand, .foot-nav { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .foot-nav { grid-template-columns: 1fr 1fr; }
  .foot-nav > div:nth-child(3) { grid-column: 1 / -1; grid-row: 3; }
  .cp--foot { display: none; }
}

/* ---------- Motion ---------- */

/* One orchestrated moment on load: the headline's path draws from the first line to the second. */
.js .hero-rule { transform: scaleX(0); animation: draw 0.7s var(--ease) forwards; }
.js .hero-line:nth-child(1) .hero-rule { transform-origin: left; animation-delay: 0.25s; }
.js .hero-line:nth-child(2) .hero-rule { transform-origin: right; animation-delay: 1.15s; }
.js .hero-title::after { opacity: 0; animation: appear 0.3s linear 0.9s forwards; }
.js .hero-node { transform: scale(0.6); opacity: 0; animation: pop 0.35s var(--ease) forwards; }
.js .hero-line:nth-child(1) .hero-node { animation-delay: 0.1s; }
.js .hero-line:nth-child(2) .hero-node { animation-delay: 1.8s; }
.js .hero-sub, .js .board, .js .page-hero-text > * { opacity: 0; transform: translateY(18px); animation: rise 0.7s var(--ease) forwards; }
.js .page-hero-text > :nth-child(1) { animation-delay: 0.05s; }
.js .page-hero-text > :nth-child(2) { animation-delay: 0.18s; }
.js .page-hero-text > :nth-child(3) { animation-delay: 0.31s; }
.js .cp--hero .cp-trace { stroke-dasharray: 1 2; stroke-dashoffset: 1; animation: trace 1.1s var(--ease) 0.3s forwards; }
.js .cp--hero .cp-node { opacity: 0; animation: appear 0.3s linear 1.3s forwards; }
.js .hero-sub { animation-delay: 0.35s; }
.js .board { animation-delay: 0.6s; }
@keyframes draw { to { transform: scaleX(1); } }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@keyframes pop { to { transform: scale(1); opacity: 1; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/*
 * Entrances. Parts wait hidden from the first paint (the inline boot script has already set .js) and
 * rise as they come into view; groups stagger their items. If the main script never runs, the
 * failsafe below shows everything after three seconds, so content can never stay hidden.
 */
.js [data-reveal]:not(.in) { opacity: 0; transform: translateY(22px); }
.js [data-reveal] { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js [data-reveal]:is(.nodes, .blocks, .tiles, .options, .channels, .stages, .fields, .model-cards, .source-grid) { opacity: 1; transform: none; transition: none; }
.js [data-reveal]:is(.nodes, .blocks, .tiles, .options, .channels, .stages, .fields, .model-cards, .source-grid) > * {
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); transition-delay: calc(var(--n, 0) * 70ms);
}
.js [data-reveal]:is(.nodes, .blocks, .tiles, .options, .channels, .stages, .fields, .model-cards, .source-grid):not(.in) > * { opacity: 0; transform: translateY(18px); }
.js:not(.reveal-ready) [data-reveal], .js:not(.reveal-ready) [data-reveal]:is(.nodes, .blocks, .tiles, .options, .channels, .stages, .fields, .model-cards, .source-grid) > * { animation: failsafe 0.4s var(--ease) 3s forwards; }
@keyframes failsafe { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .hero-rule, .js .hero-node, .js .hero-sub, .js .board, .js .page-hero-text > *, .js .cp--hero .cp-node { transform: none; opacity: 1; }
  .js .cp--hero .cp-trace { stroke-dashoffset: 0; }
  .js .hero-title::after { opacity: 1; }
  .js .journey .cp-trace { stroke-dashoffset: 0; }
  .js .journey .cp--journey .cp-node, .js .journey .cp--rail .cp-node { opacity: 1; }
  .js [data-reveal], .js [data-reveal] > * { opacity: 1 !important; transform: none !important; }
}

@media print {
  .site-header, .skip, .menu, .cp--foot { display: none; }
  .sec--deep, .hero, .page-hero, .site-footer { background: #fff; color: #000; }
}

/* Home: what Coreflow coordinates */
.caps-title { margin-top: clamp(26px, 3vw, 36px); margin-bottom: 14px; font-size: var(--fs-body); }
.caps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px var(--gutter); }
.caps-lead { margin-top: 22px; color: var(--muted); max-width: 60ch; }
@media (max-width: 639px) { .caps-list { grid-template-columns: 1fr; } }
.markets-sub { margin: clamp(24px, 3vw, 32px) 0 12px; font-size: var(--fs-body); }
.band-link { margin-top: 20px; }
.band-link a { font-weight: 600; text-decoration-color: var(--copper); text-decoration-thickness: 2px; text-underline-offset: 4px; }
