/* Layerwise · site styles
   Depth model in the hero: far (halo + strata, four bands that drift apart) · mid (sheets) · the stack of layers · front (sheets) · copy.
   Elements driven by scroll never carry a transition on transform. */

:root {
  --bg: #0B1220;
  --bg-deep: #070C17;
  --panel: #111B30;
  --panel-2: #17233D;
  --line: rgba(255, 255, 255, .09);
  --ink: #F3EEE6;
  --ink-soft: #A9B2C5;
  --copper: #C8854F;
  --copper-hi: #E3AD7F;
  --copper-deep: #8A4F22;
  --sand: #D9CBB8;
  --paper: #EFE9DF;
  --blue: #22365F;
  --ink-dark: #0E1626;
  --ink-dark-soft: #454C61;
  --r-lg: 28px;
  --r-md: 16px;
  --r-sm: 10px;
  --e1: 0 1px 2px rgba(3, 6, 14, .3), 0 6px 14px -6px rgba(3, 6, 14, .45);
  --e2: 0 2px 4px rgba(3, 6, 14, .3), 0 18px 40px -12px rgba(3, 6, 14, .6);
  --e3: 0 4px 8px rgba(3, 6, 14, .35), 0 50px 90px -30px rgba(3, 6, 14, .85);
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
u { text-decoration: none; }
:focus-visible { outline: 3px solid var(--copper-hi); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

.skip { position: fixed; inset-block-start: -80px; inset-inline-start: 16px; z-index: 100; background: var(--copper); color: var(--ink-dark); padding: 12px 18px; border-radius: 8px; font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { inset-block-start: 16px; }

.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 17px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), translate .2s var(--ease);
}
.btn:active { translate: 0 1px; }
.btn-primary { background: var(--copper); color: var(--ink-dark); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 24px -10px rgba(200, 133, 79, .7); }
.btn-primary:hover { background: var(--copper-hi); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .2); color: var(--ink); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .45); }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: 19px; }

/* ---------- nav: stays with the reader ---------- */
.nav {
  position: fixed; inset-block-start: 14px; inset-inline: 0; z-index: 50;
  width: min(1120px, 100% - 24px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 8px; padding-inline: 20px 8px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(11, 18, 32, .84);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), var(--e1);
  transition: width .5s var(--ease), padding .5s var(--ease), inset-block-start .5s var(--ease), background-color .5s;
}
.nav-links a, .btn-nav { white-space: nowrap; }
.nav.small { width: min(880px, 100% - 24px); inset-block-start: 8px; padding-block: 4px; background: rgba(11, 18, 32, .95); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand-mark { width: 30px; height: 28px; }
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 10px 14px; border-radius: 999px; font-size: 16px; color: var(--ink-soft); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.btn-nav { min-height: 44px; padding: 0 20px; font-size: 16px; background: var(--ink); color: var(--ink-dark); }
.btn-nav:hover { background: #fff; }

/* ---------- hero: a pinned scene, the stack comes apart with the scroll ---------- */
.hero { position: relative; height: 340vh; height: 340svh; background: var(--bg); }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.plane { position: absolute; pointer-events: none; will-change: transform; max-width: none; }
.plane-halo {
  z-index: 0; width: 90vmax; height: 90vmax; inset-inline-start: -30vmax; inset-block-start: -45vmax;
  background: radial-gradient(closest-side, rgba(200, 133, 79, .34), rgba(200, 133, 79, .1) 45%, transparent 70%);
  filter: blur(20px);
}
/* far planes: strata. Each band is its own sheet with its own drift, and runs on below its box so nothing shows under it as it rises. */
.plane-far { z-index: 1; inset: 0 0 auto 0; width: 100%; height: 118%; overflow: visible; }
.plane-mid { z-index: 2; inset: 0 0 auto 0; width: 100%; height: 136%; }
/* the floor of the scene fades into the ground of the next section, above the planes and under the stack, so no edge shows where the hero ends */
.hero-pin::after { content: ""; position: absolute; z-index: 2; inset-inline: 0; inset-block-end: 0; height: clamp(110px, 18vh, 200px); background: linear-gradient(to bottom, rgba(7, 12, 23, 0), var(--bg-deep)); pointer-events: none; }

.hero-copy {
  position: absolute; z-index: 4; inset-inline: 0; top: clamp(104px, 15vh, 150px); margin-inline: auto;
  width: min(1080px, 100% - 40px); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 24px; will-change: transform, opacity;
}
.hero-title { font-size: clamp(36px, 5.6vw, 80px); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; color: #fff; text-wrap: balance; }
.hero-title em { font-style: normal; color: var(--copper-hi); }
.hero-sub { max-width: 600px; font-size: clamp(17px, 1.55vw, 21px); color: var(--ink-soft); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-partner { display: inline-flex; align-items: center; gap: 9px; margin-top: -4px; font-size: 14px; letter-spacing: .01em; color: var(--ink-soft); }
.hero-partner img { width: 22px; height: 22px; }
.hero-partner[data-rise] { animation-delay: .42s; }
.layer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; }
.layer-partner { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; line-height: 1; color: var(--soft); }
.layer-partner img { width: 18px; height: 18px; }

[data-rise] { opacity: 0; translate: 0 18px; animation: rise .9s var(--ease) forwards; }
.hero-actions[data-rise] { animation-delay: .3s; }
.hero-title[data-rise] { animation-delay: .08s; }
.hero-sub[data-rise] { animation-delay: .18s; }
@keyframes rise { to { opacity: 1; translate: 0 0; } }

/* the scene: --w is the side of one layer, --gf the final distance between layers */
.scene { position: absolute; inset: 0; z-index: 3; --w: min(28vw, 31vh, 310px); --gf: calc(var(--w) * .44); --cy: 57%; }
.scene-head {
  position: absolute; inset-inline: 0; top: clamp(92px, 12vh, 124px); margin-inline: auto;
  width: min(780px, 100% - 40px); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px; opacity: 0; will-change: transform, opacity;
}
.scene-title { max-width: 620px; font-size: clamp(21px, 2.5vw, 34px); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; color: #fff; text-wrap: balance; }

.iso { position: absolute; left: 50%; top: var(--cy); width: var(--w); height: var(--w); margin: calc(var(--w) / -2) 0 0 calc(var(--w) / -2); will-change: transform; direction: ltr; transition: opacity .6s var(--ease); }
/* before the script has measured the copy, the stack would stand open over the opening text. It shows only once it is placed under it. */
html.js:not(.hero-ready) .iso { opacity: 0; }
.iso-stack { position: absolute; inset: 0; transform: rotateX(58deg) rotateZ(45deg); transform-style: preserve-3d; --gap: var(--gf); }
.iso-stack::before { content: ""; position: absolute; inset: -4%; border-radius: 16%; background: rgba(2, 5, 12, .7); filter: blur(26px); transform: translateZ(-46px); }
.slab { position: absolute; inset: 0; transform: translateZ(calc(var(--i) * var(--gap))); transform-style: preserve-3d; will-change: transform; }
.slab::before, .slab::after { content: ""; position: absolute; inset: 0; border-radius: 13%; background: var(--edge); }
.slab::before { transform: translateZ(-5px); }
.slab::after { transform: translateZ(-10px); }
.slab-face { position: absolute; inset: 0; border-radius: 13%; overflow: hidden; background: var(--top); box-shadow: inset 0 0 0 1.5px var(--rim); transition: filter .5s var(--ease), box-shadow .5s var(--ease), translate .5s var(--ease), opacity .45s var(--ease); }
/* the layer being read lifts off the stack. The lift rides on translate, so the scroll driven transform stays free of transitions, and the slab box itself stays put so the pointer never falls off it. */
.slab::before, .slab::after { transition: translate .5s var(--ease), opacity .45s var(--ease), background-color .45s var(--ease), box-shadow .45s var(--ease); }
/* the layers above the one being read become a drawn outline, so its whole picture shows with nothing smeared over it. The slab boxes keep their place, so pointing at an outlined layer brings it back. */
.iso-stack.is-reading .slab.above > .slab-face { opacity: 0; }
.iso-stack.is-reading .slab.above::after { opacity: 0; }
.iso-stack.is-reading .slab.above::before { background: var(--glass); box-shadow: inset 0 0 0 1.5px var(--glass-rim); }
.iso-stack.is-reading .slab.cur > .slab-face, .iso-stack.is-reading .slab.cur::before, .iso-stack.is-reading .slab.cur::after { translate: 0 0 calc(var(--w) * .055); }
.iso-stack.is-open .slab { cursor: pointer; }
.slab-face svg { display: block; width: 100%; height: 100%; }
.slab-1 { --top: #16233F; --edge: #0A1226; --rim: #34497A; }
.slab-2 { --top: #2A4273; --edge: #182849; --rim: #4A65A0; --glass: rgba(74, 101, 160, .08); --glass-rim: rgba(110, 138, 200, .6); }
.slab-3 { --top: #D9CBB8; --edge: #9C8C74; --rim: #F3EADB; --glass: rgba(217, 203, 184, .06); --glass-rim: rgba(217, 203, 184, .5); }
.slab-4 { --top: #C8854F; --edge: #7E4A22; --rim: #E3AD7F; --glass: rgba(200, 133, 79, .07); --glass-rim: rgba(227, 173, 127, .6); }
.iso-stack.is-reading .slab-face { filter: saturate(.6) brightness(.78); }
.iso-stack.is-reading .slab.cur .slab-face { filter: none; box-shadow: inset 0 0 0 3px var(--copper-hi); }
.iso-stack.is-reading .slab-4.cur .slab-face { box-shadow: inset 0 0 0 3px #fff; }

.slab.cur svg [stroke-dasharray] { animation: dash 1.1s linear infinite; }
.slab.cur svg .bl { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .45; } }
.notes { position: absolute; inset: 0; pointer-events: none; }
.note {
  position: absolute; top: var(--cy); width: min(290px, calc(50vw - var(--w) * .707 - 104px));
  --y: calc((1.5 - var(--n)) * var(--gf) * .848);
  transform: translateY(calc(var(--y) - 16px));
  opacity: 0; translate: 0 14px; transition: opacity .5s var(--ease), translate .5s var(--ease);
}
.note[data-note="0"] { --n: 0; } .note[data-note="1"] { --n: 1; } .note[data-note="2"] { --n: 2; } .note[data-note="3"] { --n: 3; }
.note.on { opacity: 1; translate: 0 0; pointer-events: auto; cursor: default; }
.note.cur b { color: var(--copper-hi); }
.note-r { left: calc(50% + var(--w) * .707 + 80px); }
.note-l { right: calc(50% + var(--w) * .707 + 80px); }
.note::before { content: ""; position: absolute; top: 16px; width: 58px; height: 1px; background: var(--copper); }
.note::after { content: ""; position: absolute; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--copper-hi); }
.note-r::before { right: calc(100% + 12px); } .note-r::after { right: calc(100% + 67px); }
.note-l::before { left: calc(100% + 12px); } .note-l::after { left: calc(100% + 67px); }
.note-top { display: flex; align-items: baseline; gap: 10px; }
.note-no { font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--copper-hi); }
.note b { font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; color: #fff; line-height: 1.3; }
.note p { margin-top: 4px; font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }

.plane-front { z-index: 5; inset-inline: 0; inset-block-end: -2px; width: 100%; height: clamp(110px, 17vw, 260px); transform: translateY(101%); }

/* ---------- statement: three lines step across the screen, each one further in ---------- */
.statement { position: relative; z-index: 1; overflow: hidden; background: var(--bg-deep); padding: clamp(96px, 12vw, 170px) max(20px, calc((100vw - var(--wrap)) / 2)) clamp(96px, 11vw, 160px); display: flex; flex-direction: column; gap: clamp(30px, 4.4vw, 60px); }
.statement-line { position: relative; z-index: 1; font-size: clamp(30px, 4.5vw, 64px); line-height: 1.13; font-weight: 800; letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.sl-1 { margin-inline-start: 0; }
.sl-2 { margin-inline-start: 9%; color: var(--copper-hi); }
.sl-3 { margin-inline-start: 18%; }
.statement-line .ph { display: inline-block; }
.statement-line .w { opacity: .14; transition: opacity .25s linear; }
.statement-line .w.on { opacity: 1; }
/* the mark stands on the first line's baseline, in the space that line leaves free */
.statement-row { position: relative; }
.statement-mark { position: absolute; z-index: 0; inset-inline-end: 0; bottom: -6px; width: clamp(150px, 18vw, 250px); height: auto; overflow: visible; will-change: transform; }
/* on a wide screen the first line runs the full width, so the mark sits above the end of the line and not on it */
@media (min-width: 1220px) { .statement-mark { bottom: calc(100% - 14px); width: clamp(150px, 12.5vw, 184px); } }
.statement-mark .st-fill { opacity: 0; transition: opacity .6s var(--ease); }
.statement-mark g.on .st-fill { opacity: 1; }

/* ---------- section heads ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-title { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; color: var(--ink-dark); text-wrap: balance; }
.sec-lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-dark-soft); max-width: 460px; }
/* a title written as two sentences: the second one breaks into even rows, never one short word left alone */
.sec-title .bal { display: inline-block; text-wrap: balance; }
.sec-title.on-dark { color: #fff; } .sec-lead.on-dark { color: var(--ink-soft); }
.cut { position: absolute; inset-inline: 0; inset-block-start: -1px; width: 100%; height: clamp(60px, 9vw, 140px); display: block; pointer-events: none; }

/* ---------- services: stacking layers, each one built as its own component ---------- */
.services { position: relative; background: var(--paper); color: var(--ink-dark); padding: clamp(130px, 17vw, 240px) 0 clamp(80px, 10vw, 140px); }
.stack { display: flex; flex-direction: column; gap: 28px; }
.layer {
  --pad: clamp(28px, 4vw, 52px);
  position: sticky; top: calc(96px + var(--i, 0) * 20px);
  min-height: 480px; padding: var(--pad);
  border-radius: var(--r-lg); overflow: hidden; transform-origin: 50% 0; will-change: transform;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 -10px 30px -18px rgba(14, 22, 38, .35), 0 30px 60px -30px rgba(14, 22, 38, .5);
}
/* a card taller than the room under the sticky line would hide its own bottom, so the script lets the whole stack flow instead */
.stack.is-flow .layer { position: relative; top: auto; }
/* set by the script only when every card really pins: a stretch of free scroll, so a pinned card is read whole and its art plays out before the next one covers it */
/* the room is a top margin on the arriving card, never a bottom margin on the pinned one: a sticky box is held inside its parent by its own margins, and a bottom margin would push the pinned cards out early */
.stack.is-pin .layer + .layer { margin-top: clamp(220px, 46vh, 520px); }
.layer > * { position: relative; }
.layer:nth-child(1) { --i: 0; } .layer:nth-child(2) { --i: 1; } .layer:nth-child(3) { --i: 2; } .layer:nth-child(4) { --i: 3; }
.layer-1 { background: var(--copper); color: var(--ink-dark); --soft: #2B1B0D; --rule: rgba(14, 22, 38, .22); }
.layer-2 { background: var(--sand); color: var(--ink-dark); --soft: #3C4358; --rule: rgba(14, 22, 38, .2); }
.layer-3 { background: var(--blue); color: var(--ink); --soft: #C6CEDF; --rule: rgba(255, 255, 255, .16); }
.layer-4 { background: var(--ink-dark); color: var(--ink); --soft: #B4BCCE; --rule: rgba(255, 255, 255, .14); }
.layer-1, .layer-3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 64px; }
.layer-1 { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.layer-2, .layer-4 { display: flex; flex-direction: column; gap: 30px; }
.layer-text, .layer-head { display: flex; flex-direction: column; gap: 16px; }
.layer-no { font-size: 15px; font-weight: 700; letter-spacing: .08em; opacity: .75; }
.layer h3 { font-size: clamp(26px, 3vw, 42px); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.layer h4 { font-size: clamp(20px, 1.7vw, 23px); line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }

/* ---- 01: rows that open one at a time, beside a map of the business ---- */
.svc { display: flex; flex-direction: column; margin-top: 6px; border-top: 1px solid var(--rule); min-height: 306px; }
.svc-row { border-bottom: 1px solid var(--rule); }
.svc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 10px 0; border: 0; background: none; color: inherit; font: inherit; font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; letter-spacing: -.01em; text-align: start; cursor: pointer; opacity: .8; transition: opacity .3s var(--ease), padding .3s var(--ease); }
.svc-btn:hover, .svc-row.is-on .svc-btn { opacity: 1; }
.svc-row.is-on .svc-btn { padding-inline-start: 14px; }
.svc-dot { flex: none; width: 12px; height: 12px; border-radius: 3px; rotate: 45deg; border: 1.5px solid currentColor; transition: background-color .3s var(--ease), scale .3s var(--ease); }
.svc-row.is-on .svc-dot { background: currentColor; scale: 1.15; }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.svc-row.is-on .svc-body { grid-template-rows: 1fr; }
.svc-body p { overflow: hidden; min-height: 0; max-width: 460px; padding-inline-start: 14px; font-size: 16.5px; line-height: 1.55; color: var(--soft); }
.svc-row.is-on .svc-body p { padding-bottom: 16px; }

/* the map lies on a sheet of paper that is cut on the diagonal and runs off three edges of the card */
.layer-1 .layer-art { align-self: stretch; margin: calc(var(--pad) * -1); margin-inline-start: 0; filter: drop-shadow(14px 0 22px rgba(60, 34, 12, .3)); }
.map-sheet { height: 100%; display: flex; align-items: center; justify-content: center; padding: 18px 84px 18px 22px; background: #F4EADB; clip-path: polygon(0 0, calc(100% - 84px) 0, 100% 100%, 0 100%); }
.art-map { display: block; width: min(520px, 100%); height: auto; overflow: visible; }
.map-links .lk { stroke: #0E1626; stroke-width: 1.8; stroke-dasharray: 5 7; opacity: .5; transition: opacity .45s var(--ease), stroke .45s var(--ease), stroke-width .45s var(--ease); }
.map-table { filter: drop-shadow(0 10px 14px rgba(43, 27, 13, .16)); }
.map-scan { transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; }
@keyframes scan { 0% { scale: 1; opacity: .9; } 100% { scale: 3.4; opacity: 0; } }
.map-core polygon { transition: translate .7s var(--ease); }
.nd { transition: opacity .45s var(--ease); }
.nd > rect { fill: #FFFFFF; filter: drop-shadow(0 8px 10px rgba(43, 27, 13, .16)); transition: fill .45s var(--ease); }
.nd > text { fill: #0E1626; transition: fill .45s var(--ease); }
.bd { opacity: 0; translate: 0 6px; transition: opacity .4s var(--ease), translate .4s var(--ease); }
.bd-t circle { fill: #0E1626; }
.bd-t path { fill: none; stroke: #EFE9DF; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bd-a rect { fill: #8A4F22; }
.bd-a text { fill: #FFFFFF; font-size: 9.5px; font-weight: 700; }
.map-pin, .map-one { opacity: 0; translate: 0 8px; transition: opacity .4s var(--ease), translate .4s var(--ease); }
.map-pin text, .map-one text { font-size: 14.5px; }
/* consulting: look over the whole business, then mark where to start */
.layer-1[data-s="0"] .map-scan { animation: scan 3.2s var(--ease) infinite; }
.layer-1[data-s="0"] .nd2 > rect { fill: #C8854F; }
.layer-1[data-s="0"] .map-pin { opacity: 1; translate: 0 0; transition-delay: .2s; }
/* training: every role gets its own mark */
.layer-1[data-s="1"] .lk { opacity: .2; }
.layer-1[data-s="1"] .bd-t { opacity: 1; translate: 0 0; }
.layer-1[data-s="1"] .nd2 .bd-t { transition-delay: .1s; } .layer-1[data-s="1"] .nd3 .bd-t { transition-delay: .2s; } .layer-1[data-s="1"] .nd4 .bd-t { transition-delay: .3s; } .layer-1[data-s="1"] .nd5 .bd-t { transition-delay: .4s; }
/* implementation: the links go live and carry AI into what already exists */
.layer-1[data-s="2"] .lk { stroke: #8A4F22; stroke-width: 2.6; stroke-dasharray: 10 10; opacity: 1; animation: dash 1s linear infinite; }
.layer-1[data-s="2"] .bd-a { opacity: 1; translate: 0 0; transition-delay: .25s; }
.layer-1[data-s="2"] .map-core polygon:nth-child(1) { translate: 0 9px; }
.layer-1[data-s="2"] .map-core polygon:nth-child(3) { translate: 0 -9px; }
/* personal guidance: one line, one person */
.layer-1[data-s="3"] .lk { opacity: .14; }
.layer-1[data-s="3"] .lk5 { opacity: 1; stroke-width: 3; stroke-dasharray: none; }
.layer-1[data-s="3"] .nd:not(.nd5) { opacity: .5; }
.layer-1[data-s="3"] .nd5 > rect { fill: #0E1626; }
.layer-1[data-s="3"] .nd5 > text { fill: #EFE9DF; }
.layer-1[data-s="3"] .map-one { opacity: 1; translate: 0 0; transition-delay: .15s; }
@keyframes dash { to { stroke-dashoffset: -20; } }

/* ---- 02: one pipeline read from right to left, every service is the caption of its own part ---- */
.pipe { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr); }
.pipe::before { content: ""; position: absolute; inset-inline: calc(var(--pad) * -1); top: -18px; height: 244px; background: rgba(255, 255, 255, .36); border-block: 1px solid rgba(200, 133, 79, .75); }
.pz { position: relative; min-width: 0; display: flex; flex-direction: column; }
.pz-art { position: relative; height: 208px; display: flex; align-items: center; transition: opacity .4s var(--ease); }
.chips { flex: none; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-block: 9px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 0; border-radius: 14px; background: #FFFFFF; color: var(--ink-dark); font: inherit; font-size: 14.5px; font-weight: 600; white-space: nowrap; cursor: pointer; box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 10px 16px -10px rgba(14, 22, 38, .4); }
.chip:hover { translate: 0 -2px; box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 0 0 2px rgba(200, 133, 79, .7), 0 14px 18px -10px rgba(14, 22, 38, .45); }
.chip:active { scale: .97; }
.chip.is-sent, .chip.is-done { background: var(--ink-dark); color: var(--paper); }
.chip.is-sent svg { stroke: var(--copper-hi); }
.chip.is-done em { background: rgba(200, 133, 79, .28); color: var(--copper-hi); }
.chip .ok { position: absolute; inset-block-start: -8px; inset-inline-start: -8px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--copper); stroke: var(--ink-dark); stroke-width: 3; opacity: 0; scale: .4; transition: opacity .3s var(--ease), scale .4s var(--ease); }
.chip.is-done .ok { opacity: 1; scale: 1; }
/* the record that travels a wire. The script walks it along the real path, transform only. */
.tok { position: absolute; top: -6px; left: -6px; width: 12px; height: 12px; border-radius: 3px; rotate: 45deg; background: var(--copper-deep); box-shadow: 0 0 0 4px rgba(200, 133, 79, .35); opacity: 0; pointer-events: none; }
.pipe-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--soft); }
.pipe-hint svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--copper-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.layer-2 .layer-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 24px; }
.layer-2 .layer-top { grid-column: 1 / -1; }
.chip svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--copper-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip em { margin-inline-start: 2px; padding: 2px 9px; border-radius: 999px; background: rgba(200, 133, 79, .18); color: #7A4319; font-style: normal; font-size: 12.5px; font-weight: 600; }
.wires { flex: 1; min-width: 28px; height: 100%; overflow: visible; }
.wires path { fill: none; stroke: #0E1626; stroke-opacity: .5; stroke-width: 1.6; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; animation: dash 1.2s linear infinite; }
.crm { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; border-radius: 18px; background: var(--ink-dark); color: var(--paper); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 22px 30px -18px rgba(14, 22, 38, .7); }
.crm-top { display: flex; align-items: center; gap: 9px; padding-bottom: 9px; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: #B4BCCE; }
.crm-top b { font-weight: 600; }
.crm-log { margin-inline-start: auto; padding: 2px 10px; border-radius: 999px; background: var(--copper); color: var(--ink-dark); font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; translate: 0 4px; transition: opacity .3s var(--ease), translate .3s var(--ease); }
.crm-log.on { opacity: 1; translate: 0 0; }
.crm-row { transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.crm-row.is-hit { background: rgba(200, 133, 79, .26); box-shadow: inset 0 0 0 1.5px var(--copper); }
.crm-row.is-hit i { background: var(--copper-hi); }
.crm-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--copper); }
.crm-row { flex: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: 15px; font-weight: 600; }
.crm-row i { position: relative; width: 10px; height: 10px; border-radius: 2px; rotate: 45deg; background: rgba(255, 255, 255, .22); }
.crm-row i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--copper-hi); opacity: 0; animation: land 3.6s linear infinite; }
.crm-row:nth-child(3) i::after { animation-delay: 1.2s; } .crm-row:nth-child(4) i::after { animation-delay: 2.4s; }
@keyframes land { 0%, 34%, 100% { opacity: 0; } 8%, 22% { opacity: 1; } }
.pz > h4 { margin-top: 36px; margin-inline-end: 24px; font-size: clamp(19px, 1.55vw, 21px); }
.pz:last-child > h4, .pz:last-child > p { margin-inline-end: 0; }
.pz > h4 { display: flex; align-items: baseline; gap: 12px; }
.pz > h4::before { content: ""; flex: none; width: 11px; height: 11px; border-radius: 3px; rotate: 45deg; translate: 0 -1px; border: 1.5px solid currentColor; transition: background-color .3s var(--ease); }
.pz.is-on > h4::before { background: currentColor; }
.pz > p { margin-top: 6px; margin-inline-end: 24px; padding-inline-start: 23px; max-width: 330px; font-size: 16px; line-height: 1.55; color: var(--soft); }
.pz > h4, .pz > p { transition: opacity .4s var(--ease); }
/* pointing at a part marks its caption and draws its own wires in copper. Nothing is dimmed: the record that was sent has to stay readable wherever it lands. */
.wires path { transition: stroke .3s var(--ease), stroke-opacity .3s var(--ease); }
.crm { outline: 2px solid transparent; outline-offset: 3px; }
.pz.is-on .wires path { stroke: var(--copper-deep); stroke-opacity: 1; stroke-width: 2.2; }
.pz-crm.is-on .crm { outline-color: var(--copper); }
/* the parts arrive in reading order */
.js .pipe:not(.in) .chip, .js .pipe:not(.in) .crm { opacity: 0; }
.pipe.in .chip, .pipe.in .crm { animation: part-in .6s var(--ease) backwards; animation-delay: var(--d, 0s); }
@keyframes part-in { from { opacity: 0; translate: 14px 0; } }
.chip, .crm { transition: opacity .5s var(--ease), translate .6s var(--ease), scale .2s var(--ease), background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.pz-in .chip:nth-child(2) { --d: .08s; } .pz-in .chip:nth-child(3) { --d: .16s; }
.crm { --d: .35s; }
.pz-out .chip:nth-child(1) { --d: .6s; } .pz-out .chip:nth-child(2) { --d: .7s; } .pz-out .chip:nth-child(3) { --d: .8s; }

/* ---- 03: three screens in a stack, the chosen service comes to the front ---- */
.layer-3::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, transparent 0 59%, rgba(200, 133, 79, .7) 59% 59.14%, rgba(11, 18, 32, .34) 59.14% 100%); }
.layer-3 .layer-text { order: 2; }
.layer-3 .layer-art { order: 1; align-self: center; }
.modes { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; margin-inline: -14px; }
.mode { width: 100%; display: flex; align-items: flex-start; gap: 16px; padding: 12px 14px; border-radius: 18px; border: 1px solid transparent; background: transparent; color: inherit; font: inherit; text-align: start; cursor: pointer; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.mode:hover { background: rgba(255, 255, 255, .05); }
.mode.is-on { background: rgba(11, 18, 32, .42); border-color: rgba(255, 255, 255, .14); }
.mode-ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.mode-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mode.is-on .mode-ic { background: var(--copper); border-color: var(--copper); color: var(--ink-dark); }
.mode-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mode-tx b { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.mode-tx span { font-size: 16px; line-height: 1.5; color: var(--soft); }

.screens { position: relative; width: min(350px, 100%); height: 424px; margin-inline: auto; }
.screen { position: absolute; inset: 78px 0 0; display: flex; flex-direction: column; gap: 10px; padding: 8px 16px 16px; border-radius: 22px; background: #111B30; border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 26px 40px -22px rgba(3, 6, 14, .9); transform-origin: 50% 0; cursor: pointer; transition: translate .6s var(--ease), scale .6s var(--ease), background-color .6s var(--ease); }
.screen[data-d="0"] { z-index: 3; cursor: default; }
.screen[data-d="1"] { z-index: 2; translate: 0 -39px; scale: .93; background: #1A2950; }
.screen[data-d="2"] { z-index: 1; translate: 0 -78px; scale: .86; background: #1F3160; }
.scr-top { flex: none; display: flex; align-items: center; gap: 10px; height: 36px; font-size: 14.5px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.scr-top b { font-weight: 600; white-space: nowrap; }
.scr-top > svg { flex: none; width: 17px; height: 17px; fill: none; stroke: var(--copper-hi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 0 rgba(200, 133, 79, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(200, 133, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 133, 79, 0); } }
.wave { flex: 1; display: flex; align-items: center; gap: 4px; height: 22px; }
.wave i { flex: 1; border-radius: 3px; background: var(--copper); height: 100%; transform-origin: 50% 50%; scale: 1 .25; animation: wave 1.4s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.7s; } .wave i:nth-child(4n) { animation-delay: -1s; } .wave i:nth-child(5n) { animation-delay: -.5s; }
@keyframes wave { 0%, 100% { scale: 1 .22; } 50% { scale: 1 .95; } }
.bubble { max-width: 88%; padding: 10px 15px; border-radius: 18px; font-size: 15.5px; line-height: 1.45; color: #fff; }
.b-in { align-self: flex-start; background: rgba(255, 255, 255, .13); border-start-start-radius: 6px; }
.b-out { align-self: flex-end; background: var(--copper); color: var(--ink-dark); font-weight: 500; border-start-end-radius: 6px; }
.typing { display: flex; gap: 5px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: .35; animation: typing 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 30% { opacity: 1; translate: 0 -3px; } 60% { opacity: .35; translate: 0 0; } }
.week { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.week span { position: relative; z-index: 1; padding: 7px 0; text-align: center; font-size: 14px; font-weight: 600; color: #fff; }
.week .slot { position: absolute; inset-block: 6px; inset-inline-start: calc(6px + (100% - 12px) * .2); width: calc((100% - 12px) * .2); border-radius: 9px; background: rgba(200, 133, 79, .32); box-shadow: inset 0 0 0 1.5px var(--copper-hi); transition: translate .8s var(--ease); }
.in .screen[data-d="0"] .week .slot { translate: -200% 0; transition-delay: 2.1s; }
.talk-note { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: var(--soft); }
.talk-note svg, .task svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--copper-hi); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.task { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .07); font-size: 15px; line-height: 1.35; color: #fff; }
.task.wait { background: rgba(200, 133, 79, .14); box-shadow: inset 0 0 0 1px rgba(200, 133, 79, .5); color: var(--copper-hi); }
.task.wait svg { stroke-width: 2; }
.perms { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; }
.perms b { margin-inline-end: 4px; font-weight: 600; color: var(--soft); }
.perms span { padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: var(--soft); }
.perms .ok { border-color: rgba(200, 133, 79, .65); color: var(--copper-hi); }
/* only the front screen plays, and it replays every time it comes forward */
.t1, .t2, .t3, .t4 { transition: opacity .5s var(--ease), translate .5s var(--ease); }
.js .screens:not(.in) :is(.t1, .t2, .t3, .t4), .js .screen:not([data-d="0"]) :is(.t1, .t2, .t3, .t4) { opacity: 0; translate: 0 12px; transition-duration: .2s; }
.in .screen[data-d="0"] .t1 { transition-delay: .3s; } .in .screen[data-d="0"] .t2 { transition-delay: .9s; } .in .screen[data-d="0"] .t3 { transition-delay: 1.5s; } .in .screen[data-d="0"] .t4 { transition-delay: 2.5s; }

/* ---- 04: two panels. What happens after the handover, and an assistant that answers from your own sources ---- */
.layer-4::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(242deg, transparent 0 74%, rgba(200, 133, 79, .7) 74% 74.12%, rgba(34, 54, 95, .34) 74.12% 100%); }
.duo { flex: 1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.care, .know { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.care { padding-inline-end: 44px; border-inline-end: 1px solid var(--rule); }
.know { padding-inline-start: 44px; }
.duo section > p { max-width: 430px; font-size: 16.5px; line-height: 1.55; color: var(--soft); }
.duo .know > p { max-width: none; }
/* this card carries the most, so it is kept short enough to pin under its sticky line on an ordinary laptop screen */
.layer-4 { padding-block: clamp(26px, 3.2vw, 40px); gap: 24px; }
.care-line { display: block; width: 100%; max-width: 440px; height: auto; margin-top: auto; padding-top: 22px; overflow: visible; }
.care-line text { font-size: 16px; }
.care-run { animation: care-run 4.2s linear infinite; }
@keyframes care-run { 0% { translate: 0 0; opacity: 0; } 8% { opacity: 1; } 78% { opacity: 1; } 100% { translate: -172px 0; opacity: 0; } }
.care-ticks circle { animation: care-tick 4.2s linear infinite; }
.care-ticks circle:nth-child(1) { animation-delay: 1.37s; } .care-ticks circle:nth-child(2) { animation-delay: 2.49s; } .care-ticks circle:nth-child(3) { animation-delay: 3.61s; }
@keyframes care-tick { 0%, 100% { fill: #0E1626; } 6%, 40% { fill: #C8854F; } }
/* the finished mark is kept as it is, visit after visit: each copy answers the dot that passes under it */
.care-kept use { opacity: .5; animation: care-kept 4.2s linear infinite; }
.care-kept use:nth-child(1) { animation-delay: 1.37s; } .care-kept use:nth-child(2) { animation-delay: 2.49s; } .care-kept use:nth-child(3) { animation-delay: 3.61s; }
@keyframes care-kept { 0%, 100% { opacity: .5; } 6%, 40% { opacity: 1; } }
.care-whole { filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .5)); }
.know-demo { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 26px; margin-top: auto; padding-top: 12px; }
/* the questions are solid, so the diagonal sheet of the card passes behind them and never through the words */
.know-asks { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ask { min-height: 40px; padding: 7px 16px; border-radius: 16px; border-start-start-radius: 6px; border: 1px solid rgba(255, 255, 255, .2); background: var(--ink-dark); color: var(--soft); font: inherit; font-size: 15.5px; line-height: 1.35; font-weight: 600; text-align: start; cursor: pointer; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), translate .3s var(--ease); }
.ask:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }
.ask.is-on { background: var(--copper); border-color: var(--copper); color: var(--ink-dark); translate: -8px 0; }
.docs { position: relative; width: 316px; height: 162px; direction: ltr; --dw: 110px; --dx: 102px; }
.doc { position: absolute; top: 18px; left: 50%; width: var(--dw); height: 134px; margin-left: calc(var(--dw) / -2); padding: 11px 9px 9px; display: flex; flex-direction: column; gap: 6px; direction: rtl; text-align: start; border-radius: 12px; background: #1B2946; border: 1px solid rgba(255, 255, 255, .18); cursor: pointer; box-shadow: 0 14px 24px -14px rgba(0, 0, 0, .8); translate: var(--x) 4px; rotate: var(--r); transition: translate .6s var(--ease), rotate .6s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease); }
.doc b { padding-inline: 5px; margin-bottom: 2px; font-size: 14.5px; font-weight: 700; color: #fff; }
/* the lines of a source are drawn, not written: the page names no entry it cannot stand behind */
.doc span { display: block; flex: none; width: 86%; height: 10px; margin-inline: 5px; border-radius: 5px; background: rgba(255, 255, 255, .1); transition: background-color .4s var(--ease); }
.doc span:nth-child(3) { width: 68%; } .doc span:nth-child(4) { width: 92%; } .doc span:nth-child(6) { width: 52%; }
.d1 { --x: var(--dx); --r: 5deg; z-index: 1; } .d2 { --x: 0px; --r: 0deg; z-index: 2; } .d3 { --x: calc(var(--dx) * -1); --r: -5deg; z-index: 1; }
.doc:hover { border-color: rgba(255, 255, 255, .45); }
.doc.is-on { z-index: 3; translate: var(--x) -10px; rotate: 0deg; background: #22365F; border-color: var(--copper); }
.doc.is-on span.hit { background: var(--copper); transition-delay: .3s; }
.js .know:not(.in) .doc { translate: 0 4px; rotate: 0deg; }
.know-talk { grid-column: 1 / -1; display: grid; }
.know-a { grid-area: 1 / 1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 10px 16px; border-radius: 16px; border-start-end-radius: 6px; background: #2C282D; border: 1px solid rgba(200, 133, 79, .45); color: var(--copper-hi); font-size: 15.5px; font-weight: 600; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
.know[data-k="0"] .know-a[data-set="0"], .know[data-k="1"] .know-a[data-set="1"], .know[data-k="2"] .know-a[data-set="2"] { opacity: 1; visibility: visible; transition: opacity .4s .35s var(--ease), visibility 0s; }
.know-a svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* the source line repeats the copper entry that lit up in the chosen document */
.know-a em { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; font-style: normal; font-size: 14px; font-weight: 500; color: var(--soft); }
.know-a em::before { content: ""; flex: none; width: 22px; height: 5px; border-radius: 3px; background: var(--copper); }

/* ---------- process ---------- */
.process { position: relative; background: var(--bg-deep); padding: clamp(150px, 19vw, 260px) 0 clamp(72px, 8vw, 112px); }
.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px 80px; align-items: start; }
.process-head { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 18px; }
.process-meter { display: flex; align-items: center; gap: 26px; margin-top: 22px; }
.process-mark { flex: none; width: clamp(150px, 16vw, 210px); height: auto; overflow: visible; }
.process-mark polygon { fill: var(--bg-deep); stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; transition: fill .5s var(--ease), stroke .5s var(--ease), translate .6s var(--ease); translate: 0 10px; }
.process-mark polygon.on { translate: 0 0; stroke: transparent; }
.process-mark polygon.on:nth-child(1) { fill: #1B2D52; } .process-mark polygon.on:nth-child(2) { fill: #2A4273; } .process-mark polygon.on:nth-child(3) { fill: #B9A48E; } .process-mark polygon.on:nth-child(4) { fill: #D9CBB8; } .process-mark polygon.on:nth-child(5) { fill: #C8854F; }
.process-mark polygon.cur { translate: 0 -8px; stroke: #fff; }
.process-now { display: flex; flex-direction: column; gap: 2px; opacity: 0; transition: opacity .4s var(--ease); }
.process-now.on { opacity: 1; }
.process-now span { font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--copper-hi); }
.process-now b { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.2; font-weight: 700; color: #fff; }
.steps-wrap { position: relative; }
.steps { display: flex; flex-direction: column; gap: 20px; padding-inline-start: 60px; counter-reset: step; }
.steps-line { position: absolute; inset-inline-start: 19px; inset-block: 24px; width: 2px; background: rgba(255, 255, 255, .1); border-radius: 2px; overflow: hidden; }
.steps-line i { position: absolute; inset: 0; background: var(--copper); transform-origin: 50% 0; transform: scaleY(0); will-change: transform; }
.step { position: relative; counter-increment: step; padding: 26px 30px 28px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); opacity: .7; transition: opacity .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease); }
.step::before { content: counter(step); position: absolute; inset-inline-start: -60px; inset-block-start: 22px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-deep); border: 2px solid rgba(255, 255, 255, .16); color: var(--ink-soft); font-size: 16px; font-weight: 700; transition: background-color .4s, border-color .4s, color .4s, box-shadow .4s; }
.step.on { opacity: 1; border-color: rgba(200, 133, 79, .3); }
.step.on::before { background: var(--copper); border-color: var(--copper); color: var(--ink-dark); }
.step.cur { background: var(--panel-2); border-color: rgba(200, 133, 79, .65); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), var(--e2); }
.step.cur::before { box-shadow: 0 0 0 6px rgba(200, 133, 79, .2); }
.step h3 { font-size: clamp(23px, 2vw, 28px); font-weight: 700; letter-spacing: -.01em; color: #fff; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 16.5px; }
/* what each side brings to the step: a plain two column ledger, no boxes inside the box */
.step-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 28px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.step .step-get { padding-inline-start: 14px; border-inline-start: 2px solid rgba(255, 255, 255, .22); font-size: 15.5px; line-height: 1.5; color: #C6CEDF; }
.step-get b { display: block; margin-bottom: 3px; font-size: 13.5px; font-weight: 700; letter-spacing: .01em; color: var(--ink-soft); }
.step-get.is-get { border-color: var(--copper); color: var(--ink); }
.step-get.is-get b { color: var(--copper-hi); }

/* ---------- faq: questions on one side, the answer locks in on the other ---------- */
/* ---------- voices: five client recommendations. The quote leads, the recording is the proof behind it ---------- */
.voices { background: var(--bg-deep); padding: clamp(40px, 6vw, 90px) 0 clamp(60px, 8vw, 110px); }
.voices-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 40px; margin-bottom: clamp(32px, 4.5vw, 60px); }
.voices-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: clamp(18px, 2.2vw, 28px); }
.voice { position: relative; display: grid; grid-template-columns: clamp(108px, 11vw, 150px) minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: clamp(18px, 2.4vw, 32px); row-gap: 14px; padding: clamp(18px, 2.2vw, 28px); border-radius: 28px; background: var(--panel); border: 1px solid var(--line); }
.voice-lead { grid-row: 1 / span 2; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; background: linear-gradient(160deg, #16233F, #0E1626 70%); }
.voice-media { position: relative; grid-row: 1 / span 2; aspect-ratio: 9 / 16; align-self: start; }
.voice-lead .voice-media { grid-row: auto; width: min(100%, 300px); }
/* two sheets under every recording: the same stack of layers, seen from the front */
.voice-media::before, .voice-media::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.voice-media::before { background: var(--sand); translate: -12px 12px; opacity: .9; }
.voice-media::after { background: var(--copper); translate: -6px 6px; }
.voice-media video { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; background: #070C17; }
.voice-play { position: absolute; z-index: 2; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: rgba(7, 12, 23, .72); border: 1px solid rgba(255, 255, 255, .5); color: #fff; cursor: pointer; transition: scale .25s var(--ease), background .25s var(--ease); }
.voice-play svg { width: 26px; height: 26px; fill: currentColor; }
.voice-play:hover { scale: 1.08; background: var(--copper); color: var(--ink-dark); }
.voice-play:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
.voice.is-playing .voice-play { display: none; }
.voice-quote { align-self: end; }
.voice-quote p { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.35; font-weight: 700; letter-spacing: -.015em; color: #fff; }
.voice-quote p::before, .voice-quote p::after { content: "\05F4"; color: var(--copper); }
.voice-lead .voice-quote p { font-size: clamp(23px, 2.2vw, 32px); line-height: 1.22; font-weight: 800; }
.voice-who { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--ink-soft); }
.voice-who b { font-size: 17px; color: var(--ink); }
.voices-more { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: inherit; }
@media (min-width: 901px) {
  .voice-lead { grid-template-columns: minmax(0, 250px) minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: clamp(26px, 3vw, 44px); padding: clamp(24px, 3vw, 40px); }
  .voice-lead .voice-media { grid-row: 1 / span 2; }
}
@media (max-width: 900px) { .voices-grid { grid-template-columns: minmax(0, 1fr); } .voice-lead { grid-row: auto; } .voices-more { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .voice { grid-template-columns: 96px minmax(0, 1fr); } .voice-lead { grid-template-columns: minmax(0, 1fr); } .voice-lead .voice-media { width: min(100%, 240px); } }

.faq { background: var(--bg-deep); padding: clamp(60px, 8vw, 110px) 0 clamp(72px, 8vw, 112px); }
.faq-title { margin-bottom: clamp(28px, 4vw, 52px); }
.qa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 0 28px; align-items: start; }
.qa-item { display: contents; }
.qa-h { grid-column: 1; }
.qa-h { border-bottom: 1px solid var(--line); }
.qa-item:nth-child(2) .qa-h { border-top: 1px solid var(--line); }
.qa-q {
  width: 100%; display: flex; align-items: center; gap: 18px; min-height: 66px; padding: 12px 6px;
  border: 0; background: transparent; color: var(--ink-soft);
  font: inherit; font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; line-height: 1.3; text-align: start; cursor: pointer;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.qa-q:hover { color: #fff; }
.qa-text { flex: 1; }
.qa-arrow { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); color: var(--ink-soft); transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), translate .35s var(--ease); }
.qa-arrow::before { content: ""; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 2px 0; transition: rotate .35s var(--ease), translate .35s var(--ease); }
.qa-item.is-on .qa-q { color: #fff; padding-inline-start: 16px; }
.qa-item.is-on .qa-arrow { background: var(--copper); border-color: var(--copper); color: var(--ink-dark); translate: -4px 0; }

.qa-stage {
  grid-column: 2; grid-row: 1 / span var(--n, 4); position: sticky; top: 104px; overflow: hidden; height: min(440px, calc(100vh - 140px)); border-radius: 30px;
  background: linear-gradient(160deg, #18264A, #0D1528 62%); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), var(--e2); --s: 0px;
}
.qa-stage::before { content: ""; position: absolute; inset: 0; background: linear-gradient(242deg, transparent 0 52%, rgba(200, 133, 79, .6) 52% 52.16%, rgba(7, 12, 23, .5) 52.16% 100%); }
.qa-stage[data-i="1"] { --s: 14px; } .qa-stage[data-i="2"] { --s: 28px; } .qa-stage[data-i="3"] { --s: 42px; }
.qa-mark { position: absolute; left: 30px; bottom: 8px; width: clamp(130px, 14vw, 190px); height: auto; overflow: visible; filter: drop-shadow(0 22px 24px rgba(3, 6, 14, .6)); }
.qa-mark polygon { transition: translate .8s var(--ease); }
.qa-mark polygon:nth-child(1) { translate: 0 var(--s); }
.qa-mark polygon:nth-child(3) { translate: 0 calc(var(--s) * -1); }
.qa-count { position: absolute; bottom: 22px; right: 30px; direction: ltr; font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.qa-a {
  grid-column: 2; grid-row: 1 / span var(--n, 4); position: sticky; top: 104px; z-index: 1; padding: clamp(28px, 3.6vw, 52px);
  opacity: 0; visibility: hidden; translate: 0 28px; pointer-events: none;
  transition: opacity .3s var(--ease), translate .3s var(--ease), visibility 0s .3s;
}
.qa-item.is-on .qa-a { opacity: 1; visibility: visible; translate: 0 0; pointer-events: auto; transition: opacity .55s .12s var(--ease), translate .7s .12s var(--ease), visibility 0s; }
.qa-a-in { display: flex; flex-direction: column; gap: 16px; }
.qa-echo { font-size: 15px; font-weight: 600; color: var(--copper-hi); }
.qa-a p { max-width: 540px; font-size: clamp(22px, 2.35vw, 33px); line-height: 1.3; font-weight: 600; letter-spacing: -.015em; color: #fff; text-wrap: pretty; }

/* ---------- close ---------- */
.close { position: relative; overflow: hidden; isolation: isolate; background: var(--bg); padding: clamp(96px, 11vw, 160px) max(20px, calc((100vw - var(--wrap)) / 2)) clamp(120px, 15vw, 220px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; }
/* the fade from the section above lies on the ground only, under the mark, so the top layer of the mark is never shaded by it */
.close::before { content: ""; position: absolute; z-index: 0; inset-inline: 0; inset-block-start: 0; height: 160px; background: linear-gradient(to bottom, var(--bg-deep), transparent); pointer-events: none; }
.close-wire { inset: 0; height: 100%; opacity: .6; z-index: 0; }
.close-copy { position: relative; z-index: 2; order: 1; justify-self: start; max-width: 560px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.close-title { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; color: #fff; }
.close-sub { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-soft); text-wrap: balance; }
.close-mark { position: relative; z-index: 1; order: 2; justify-self: end; width: min(440px, 100%); height: auto; overflow: visible; filter: drop-shadow(0 40px 50px rgba(3, 6, 14, .6)); }
.close-mark polygon { will-change: transform; }

/* contact form: sits in the closing section, same quiet panel language as the rest */
.lead { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 14px; margin-top: 6px; text-align: start; }
.lead-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 15px; font-weight: 600; color: var(--ink); }
.field > span i { font-style: normal; font-weight: 400; color: var(--ink-soft); margin-inline-start: 6px; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(7, 12, 23, .72); color: #fff; font: inherit; font-size: 17px; line-height: 1.4;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input[dir="ltr"] { text-align: end; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .38); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(200, 133, 79, .32); }
.field.is-bad input { border-color: #E58A6B; }
.lead-trap { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead .btn { align-self: flex-start; margin-top: 6px; }
.lead .btn[disabled] { opacity: .6; cursor: progress; }
.lead-note { min-height: 1.5em; font-size: 15px; color: var(--ink-soft); }
.lead-note.is-bad { color: #F0A58A; }
.lead-done { width: 100%; max-width: 520px; display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 20px; border: 1px solid rgba(200, 133, 79, .5); background: rgba(7, 12, 23, .72); text-align: start; }
.lead[hidden], .lead-done[hidden] { display: none; }
.lead-done svg { flex: none; width: 52px; height: auto; }
.lead-done p { font-size: 18px; color: var(--ink); }
.lead-done b { display: block; color: #fff; }
.lead-done:focus { outline: none; }
@media (max-width: 520px) { .lead-row { grid-template-columns: minmax(0, 1fr); } .lead .btn { align-self: stretch; } }

/* ---------- link from the home stack to the full page ---------- */
.stack-more { margin-top: clamp(28px, 4vw, 48px); text-align: center; }
.btn-dark { border: 1px solid rgba(14, 22, 38, .28); color: var(--ink-dark); background: rgba(255, 255, 255, .35); }
.btn-dark:hover { border-color: var(--ink-dark); background: #fff; }
.nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- inner pages: a quiet head, then one block per layer ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); padding: clamp(130px, 16vw, 210px) 0 clamp(52px, 7vw, 92px); }
.page-hero::before { content: ""; position: absolute; z-index: -1; width: 80vmax; height: 80vmax; inset-inline-start: -30vmax; inset-block-start: -48vmax; background: radial-gradient(closest-side, rgba(200, 133, 79, .3), rgba(200, 133, 79, .08) 45%, transparent 70%); filter: blur(20px); }
.page-kicker { font-size: 16px; font-weight: 600; color: var(--copper-hi); }
.page-title { margin-top: 14px; max-width: 17ch; font-size: clamp(36px, 5.4vw, 72px); line-height: 1.06; font-weight: 800; letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.page-title em { font-style: normal; color: var(--copper-hi); }
.page-lead { margin-top: 22px; max-width: 620px; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-soft); }
.page-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 3.4vw, 44px); }
.page-jump a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-size: 16px; color: var(--ink); transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.page-jump a:hover { border-color: var(--copper); background: rgba(200, 133, 79, .1); }
.page-jump b { font-weight: 700; color: var(--copper-hi); }

.tier { background: var(--bg-deep); border-top: 1px solid var(--line); padding: clamp(52px, 7vw, 100px) 0; scroll-margin-top: 70px; }
.tier:nth-of-type(odd) { background: var(--bg); }
.tier-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 84px); align-items: start; }
.tier-head { position: sticky; top: 112px; }
.tier-mark { display: block; width: 116px; height: auto; margin-bottom: 24px; overflow: visible; filter: drop-shadow(0 16px 18px rgba(3, 6, 14, .55)); }
.tier-mark polygon { fill: #16233F; stroke: #34497A; stroke-width: 1.2; }
.tier-mark polygon.on { fill: var(--copper); stroke: var(--copper-hi); }
.tier-no { font-size: 15px; font-weight: 600; color: var(--copper-hi); }
.tier-title { margin-top: 10px; font-size: clamp(26px, 3vw, 42px); line-height: 1.14; font-weight: 800; letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.tier-list { display: grid; gap: 18px; }
.offer { padding: clamp(22px, 2.6vw, 34px); border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--e1); }
.offer h3 { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.25; font-weight: 700; color: #fff; }
.offer > p { margin-top: 8px; font-size: 18px; color: var(--ink-soft); }
.offer ul { display: grid; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.offer li { position: relative; padding-inline-start: 24px; line-height: 1.5; }
.offer li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .52em; width: 8px; height: 8px; background: var(--copper); rotate: 45deg; }

.page-cta { background: var(--bg); border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 130px) 0; text-align: center; }
.page-cta h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.page-cta p { max-width: 560px; margin: 18px auto 32px; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); }
@media (max-width: 900px) { .tier-grid { grid-template-columns: minmax(0, 1fr); } .tier-head { position: static; } .tier-mark { width: 92px; margin-bottom: 18px; } }

/* ---------- footer ---------- */
.foot { background: var(--bg-deep); border-top: 1px solid var(--line); padding: clamp(44px, 6vw, 76px) 0 32px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr); gap: 36px clamp(28px, 5vw, 80px); }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.foot-brand .btn { min-height: 46px; padding: 0 22px; font-size: 16px; margin-top: 6px; }
.foot-line { max-width: 340px; font-size: 16px; color: var(--ink-soft); }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.foot-col h2 { margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--copper-hi); }
.foot-col a { padding: 5px 0; font-size: 16px; color: var(--ink); transition: color .2s; }
.foot-col a:hover { color: var(--copper-hi); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(32px, 4vw, 52px); padding-top: 22px; border-top: 1px solid var(--line); }
.foot-social { display: flex; gap: 10px; }
.foot-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease); }
.foot-social a:hover { color: var(--ink-dark); background: var(--copper); border-color: var(--copper); }
.foot-social svg { width: 22px; height: 22px; }
.foot-copy { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 760px) { .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .foot-top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- narrower screens ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
}
@media (max-width: 900px) {
  .sec-head, .process-grid { grid-template-columns: minmax(0, 1fr); }
  .process-head { position: static; }
  .layer { min-height: 0; }
  .layer-1, .layer-3 { grid-template-columns: minmax(0, 1fr); }

  /* 01: the paper sheet drops under the rows and runs off the bottom of the card */
  .layer-1 .layer-art { margin: 6px calc(var(--pad) * -1) calc(var(--pad) * -1); filter: drop-shadow(0 -12px 18px rgba(60, 34, 12, .26)); }
  .map-sheet { padding: 64px 22px 30px; clip-path: polygon(0 44px, 100% 0, 100% 100%, 0 100%); }

  /* 02: the pipeline turns and runs top to bottom, one part and its caption at a time */
  .pipe { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .pipe::before { display: none; }
  .pz-art { position: relative; height: auto; flex-direction: column; align-items: stretch; margin-inline: calc(var(--pad) * -1); padding: 20px var(--pad); background: rgba(255, 255, 255, .36); border-block: 1px solid rgba(200, 133, 79, .75); }
  .pz:not(:last-child) .pz-art::after { content: ""; position: absolute; inset-block-end: -7px; inset-inline-start: calc(50% - 6px); width: 12px; height: 12px; border-radius: 3px; rotate: 45deg; background: var(--copper); }
  .chips { height: auto; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; }
  .wires { display: none; }
  .crm { flex: none; height: 196px; width: min(340px, 100%); margin-inline: auto; }
  .svc { min-height: 0; }
  .pz > h4 { margin-top: 18px; }
  .pz > h4, .pz > p { margin-inline-end: 0; }
  .pz > p { max-width: none; }

  /* 03: rows first, then the screens */
  .layer-3::before { background: linear-gradient(192deg, transparent 0 60%, rgba(200, 133, 79, .7) 60% 60.12%, rgba(11, 18, 32, .34) 60.12% 100%); }
  .layer-3 .layer-text, .layer-3 .layer-art { order: 0; }
  .layer-3 .layer-art { align-self: stretch; }

  /* 04: the two panels stack */
  .duo { grid-template-columns: minmax(0, 1fr); }
  .care { padding-inline-end: 0; padding-bottom: 26px; border-inline-end: 0; border-bottom: 1px solid var(--rule); }
  .know { padding-inline-start: 0; padding-top: 26px; }
  .care-line { max-width: none; }
  .know-demo { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .know-asks { width: 100%; }
  .ask { min-height: 44px; }
  .docs { justify-self: center; max-width: 100%; }
  .know-talk { width: 100%; }
  .layer-2 .layer-head { grid-template-columns: minmax(0, 1fr); }

  .close { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .close-copy { justify-self: center; align-items: center; order: 2; }
  .close-mark { justify-self: center; width: min(260px, 70%); order: 1; }

  /* faq turns into an accordion */
  .qa { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .qa-stage { display: none; }
  .qa-h, .qa-item:nth-child(2) .qa-h { border: 0; }
  .qa-a, .qa-item.is-on .qa-a { position: relative; top: auto; }
  .qa-item { display: block; border-radius: 20px; border: 1px solid var(--line); background: transparent; transition: background-color .35s var(--ease), border-color .35s var(--ease); }
  .qa-item.is-on { background: var(--panel); border-color: rgba(200, 133, 79, .45); }
  .qa-q, .qa-item.is-on .qa-q { min-height: 66px; padding: 12px 20px; border: 0; background: transparent; box-shadow: none; font-size: 18px; }
  .qa-arrow { width: 34px; height: 34px; }
  .qa-arrow::before { rotate: -45deg; translate: 0 -2px; }
  .qa-item.is-on .qa-arrow { translate: 0 0; }
  .qa-item.is-on .qa-arrow::before { rotate: 135deg; translate: 0 2px; }
  .qa-a, .qa-item.is-on .qa-a { display: grid; padding: 0; translate: none; }
  .qa-a { grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease), opacity .3s var(--ease), visibility 0s .45s; }
  .qa-item.is-on .qa-a { grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease), opacity .45s .1s var(--ease), visibility 0s; }
  .qa-a-in { overflow: hidden; min-height: 0; }
  .qa-echo { display: none; }
  .qa-a p { padding: 0 20px 20px; font-size: 17px; line-height: 1.6; font-weight: 400; letter-spacing: 0; color: var(--ink-soft); }
}
@media (max-width: 820px) {
  /* statement on a phone: the mark sits above the lines, never behind them */
  .statement { padding-top: 64px; }
  .statement-row { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: clamp(22px, 4vw, 34px); }
  .statement-mark { position: static; width: 104px; }
  .sl-2, .sl-3 { margin-inline-start: 0; max-width: none; }
  .process-meter { display: none; }
  /* hero on a phone: the stack sits in the middle, one note at a time below it */
  .hero { height: 320vh; height: 320svh; }
  .scene { --w: min(54vw, 26vh); --cy: 49%; }
  .scene-head { top: 84px; gap: 8px; }
  .scene-title { font-size: clamp(19px, 5.2vw, 24px); }
  .note, .note-r, .note-l { top: auto; bottom: 22px; left: 16px; right: 16px; width: auto; transform: none; padding: 16px 18px; border-radius: 18px; background: rgba(17, 27, 48, .9); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--e2); }
  .note::before, .note::after { display: none; }
  .note-no::after { content: " / 04"; opacity: .6; }
  /* one note at a time in the same place: the old one leaves fast, the new one comes in after it, so two texts never show through each other */
  .note { transition: opacity .2s var(--ease), translate .2s var(--ease); }
  .note.on { opacity: 0; translate: 0 14px; pointer-events: none; }
  .note.on.cur { opacity: 1; translate: 0 0; pointer-events: auto; transition: opacity .45s .16s var(--ease), translate .45s .16s var(--ease); }
  .plane-front { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { padding-inline: 14px 6px; }
  .brand-name { font-size: 18px; }
  .btn-nav { padding: 0 14px; font-size: 15px; }
  .hero-copy { top: 108px; gap: 18px; width: calc(100% - 28px); }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  /* phone: a layer is taller than the screen, so sticky would hide its lower half. Flow, with an overlap for depth. */
  .stack { gap: 0; }
  .layer { --pad: 20px; position: relative; top: auto; padding: 26px 20px 46px; border-radius: 22px; }
  .layer + .layer { margin-top: -22px; }
  .layer-no { font-size: 13.5px; letter-spacing: .05em; text-wrap: balance; }
  .layer-1 .layer-art { margin-bottom: -46px; }
  /* the drawings shrink with the phone, so their labels are set larger to stay readable */
  .map-sheet { padding-inline: 10px; padding-bottom: 44px; }
  .map-nodes { font-size: 18px; }
  .map-pin text, .map-one text { font-size: 17.5px; }
  .bd-a { transform-box: fill-box; transform-origin: 50% 50%; scale: 1.6; }
  .bd-a text { font-size: 11px; }
  .care-line text { font-size: 17.5px; }
  .mode { gap: 12px; padding: 12px; }
  .docs { width: 290px; --dw: 98px; --dx: 95px; }
  .doc { padding-inline: 6px; }
  .modes { margin-inline: -12px; }
  .steps { padding-inline-start: 46px; }
  .steps-line { inset-inline-start: 13px; }
  .step { padding: 20px; }
  .step::before { inset-inline-start: -46px; width: 28px; height: 28px; font-size: 13px; }
}
@media (max-width: 350px) {
  /* the smallest phones shrink the drawings further, so their words are enlarged again to stay readable */
  .map-nodes { font-size: 21.5px; }
  .care-line text { font-size: 20px; }
  .map-pin, .map-one { transform-box: fill-box; transform-origin: 50% 100%; scale: 1.22; }
  .bd-a { scale: 1.95; }
}
/* tablet: the handover line stands beside its text and takes the free half of the card */
@media (min-width: 641px) and (max-width: 900px) {
  .care { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 36px; }
  .care h4 { grid-column: 1; align-self: end; }
  .care > p { grid-column: 1; align-self: start; }
  .care-line { grid-column: 2; grid-row: 1 / span 2; padding-top: 0; }
  .know-demo { grid-template-columns: minmax(0, 1fr) auto; }
}
/* very short or zoomed viewports: a card cannot show whole on screen, so the cards flow. Above this the script pins a tall card lower instead */
@media (max-height: 600px), (max-width: 900px) and (max-height: 760px) {
  .layer { position: relative; top: auto; }
}

/* ---------- no motion (reduced motion, or no script): the hero is laid out flat, everything is visible ---------- */
html.still .hero, html:not(.js) .hero { height: auto; }
html.still .hero-pin, html:not(.js) .hero-pin { position: relative; height: auto; padding-top: clamp(116px, 15vh, 156px); display: flex; flex-direction: column; align-items: center; }
html.still .hero-copy, html:not(.js) .hero-copy { position: relative; top: auto; }
html.still .scene, html:not(.js) .scene { position: relative; inset: auto; width: 100%; height: 800px; margin-top: 56px; --w: min(28vw, 280px); --cy: 58%; }
html.still .scene-head, html:not(.js) .scene-head { top: 0; opacity: 1; }
html.still .note, html:not(.js) .note { opacity: 1; translate: 0 0; }
html.still .plane-front, html:not(.js) .plane-front { display: none; }
/* without script nobody lowers the open stack under its title, so the same drop is given here (1.5 gaps of 44% at sin 58deg) */
html:not(.js) .iso { transform: translateY(calc(var(--w) * .56)); }
html.still [data-rise], html:not(.js) [data-rise] { animation: none; opacity: 1; translate: 0 0; }
html.still .statement-line .w { opacity: 1; }
html.still .step, html:not(.js) .step { opacity: 1; }
html.still .steps-line i { transform: none; }
html.still :is(.wave i, .pulse, .typing i, .lk, .map-scan, .wires path, .care-run, .care-ticks circle, .care-kept use, .slab svg *, .chip, .crm), html.still .crm-row i::after { animation: none !important; }
html.still .wave i:nth-child(odd) { scale: 1 .7; }
html.still :is(.slab-face, .doc, .doc span, .ask, .slot, .t1, .t2, .t3, .t4, .screen, .chip, .crm, .crm-log, .crm-row, .bd, .nd, .map-pin, .map-one, .know-a, .st-fill, .qa-a, .qa-mark polygon, .note, .process-mark polygon), html.still .slab::before, html.still .slab::after { transition: none; }
html:not(.js) .svc-body { grid-template-rows: 1fr; }
@media (max-width: 820px) {
  html.still .scene, html:not(.js) .scene { height: auto; padding: 418px 16px 40px; --w: min(46vw, 190px); }
  html.still .iso, html:not(.js) .iso { top: 250px; }
  html.still .notes, html:not(.js) .notes { position: static; display: grid; gap: 10px; }
  html.still .note, html:not(.js) .note { position: static; opacity: 1; translate: 0 0; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- the opening card: the four layers of the mark move apart as it opens, then step aside for the line and a client's words ----------
   --p is how far the card has opened, --o how far the copy has come in (both set by nav.js). The art never sits under the copy. */
.open { position: relative; background: var(--bg-deep); --open-x: -24vw; --gap0: 12px; --gap1: 40px; }
.open-pin { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; overflow: hidden; }
.open-pic { position: absolute; inset: 0; background: linear-gradient(180deg, #0B1324, var(--bg-deep) 70%); }
/* a fine drafting grid, one hairline every 56px, fading out before the edges */
.open-art { position: absolute; inset: 0; background-image: linear-gradient(rgba(169, 178, 197, .075) 1px, transparent 1px), linear-gradient(90deg, rgba(169, 178, 197, .075) 1px, transparent 1px); background-size: 56px 56px; background-position: 50% 50%; -webkit-mask-image: radial-gradient(ellipse 62% 66% at 50% 50%, #000 20%, transparent 78%); mask-image: radial-gradient(ellipse 62% 66% at 50% 50%, #000 20%, transparent 78%); }
.open-stack { position: absolute; left: 50%; top: 50%; width: min(30vw, 54vh, 440px); aspect-ratio: 260 / 300; translate: -50% -50%; transform: translate3d(calc(var(--p, 0) * var(--open-x)), 0, 0) scale(calc(.82 + var(--p, 0) * .18)); will-change: transform; }
/* a soft copper light behind the stack. Its shadow is drawn in the art and moves with the lowest layer */
.open-stack::before { content: ""; position: absolute; inset: -30% -40%; background: radial-gradient(closest-side, rgba(200, 133, 79, .16), rgba(200, 133, 79, .05) 55%, transparent 75%); pointer-events: none; }
.open-stack svg { position: relative; z-index: 1; display: block; width: 100%; height: 100%; overflow: visible; }
.os-plate { transform: translateY(calc((var(--k) - 1.5) * (var(--gap0) + var(--p, 0) * (var(--gap1) - var(--gap0))))); }
.open-copy { position: relative; z-index: 2; grid-column: 1; justify-self: center; width: min(540px, 100% - 64px); text-align: start; }
.open-kicker { font-size: 16px; font-weight: 600; color: var(--copper-hi); }
.open-title { margin-top: 12px; font-size: clamp(32px, 3.5vw, 54px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.open-quote { margin: clamp(24px, 3.6vh, 36px) 0 0; max-width: 40ch; padding-top: clamp(20px, 3vh, 28px); border-top: 1px solid rgba(200, 133, 79, .38); }
.open-quote blockquote p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; font-weight: 500; color: var(--ink); text-wrap: pretty; }
.open-quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 14px; line-height: 1.35; color: var(--ink-soft); }
.open-quote img { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 34%; border: 1px solid rgba(227, 173, 127, .55); }
.open-quote b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .js .open { height: 240vh; }
  .js .open-pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
  .js .open-pic { clip-path: inset(calc((1 - var(--p, 0)) * 20%) calc((1 - var(--p, 0)) * var(--open-h, 26%)) round calc((1 - var(--p, 0)) * 30px)); will-change: clip-path; }
  .js .open-art { transform: scale(calc(1.12 - var(--p, 0) * .12)); }
  .js .open-copy { opacity: var(--o, 0); transform: translateY(calc((1 - var(--o, 0)) * 30px)); }
}
/* one column: the copy is centered, and the stack rises above it and grows smaller as the copy comes in */
@media (max-width: 900px) {
  .open { --open-x: 0px; }
  .open-pin { grid-template-columns: minmax(0, 1fr); }
  .open-copy { justify-self: center; width: min(560px, 100% - 40px); text-align: center; padding-top: clamp(150px, 26vh, 240px); }
  .open-title { font-size: clamp(28px, 7.4vw, 44px); }
  .open-quote { margin-inline: auto; }
  .open-quote figcaption { justify-content: center; text-align: start; }
  .open-stack { width: min(58vw, 36vh, 300px); transform: translate3d(0, calc(var(--o, 0) * -24vh), 0) scale(calc(.82 + var(--p, 0) * .18 - var(--o, 0) * .38)); }
}
@media (max-width: 640px) { .open { --open-h: 9%; } }

/* ---------- client logos: slow marquee ---------- */
.logos { position: relative; z-index: 1; isolation: isolate; padding: clamp(30px, 3.6vw, 54px) 0 clamp(40px, 4.5vw, 68px); text-align: center; }
/* the logos stand in a soft pool of light, where the two lines of the hero point. No box and no edge. */
.logos::before { content: ""; position: absolute; z-index: -1; left: 50%; bottom: 0; width: min(1180px, 100%); height: 100%; transform: translateX(-50%); background: radial-gradient(closest-side at 50% 60%, rgba(64, 98, 168, .34), rgba(64, 98, 168, .13) 50%, rgba(64, 98, 168, 0)); pointer-events: none; }
/* one thin copper line runs across above the logos, and the title breaks it in the middle */
.logos-title { display: flex; align-items: center; justify-content: center; gap: 18px; width: min(820px, 84vw); margin: 0 auto clamp(18px, 2vw, 26px); font-size: 16px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.logos-title::before, .logos-title::after { content: ""; flex: 1; height: 1px; }
.logos-title::before { background: linear-gradient(to left, rgba(200, 133, 79, 0), rgba(200, 133, 79, .6)); }
.logos-title::after { background: linear-gradient(to right, rgba(200, 133, 79, 0), rgba(200, 133, 79, .6)); }
.mq { direction: ltr; overflow: hidden; padding-block: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.mq div { display: flex; align-items: center; width: max-content; animation: mq 80s linear infinite; }
.mq .lg { position: relative; flex: none; display: block; height: calc(var(--h) * 1.78); margin-right: clamp(78px, 8.5vw, 138px); }
.mq .lg img { position: relative; display: block; height: 100%; width: auto; transition: opacity .3s var(--ease); }
.mq .lg img.lg-mono { opacity: var(--o, .5); }
.mq .lg img.lg-color { position: absolute; inset: 0; opacity: 0; }
.mq .lg:hover img.lg-mono { opacity: 0; }
.mq .lg:hover img.lg-color { opacity: 1; }
.mq:hover div { animation-play-state: paused; }
@media (max-width: 760px) { .mq .lg { height: calc(var(--h) * .85); margin-right: 52px; } .logos { padding: 26px 0 30px; } .logos-title { font-size: 14px; gap: 14px; margin-bottom: 10px; } }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq div { animation: none; } }

/* ---------- phones: lighter scenes, so the scroll stays smooth ----------
   The pinned scenes are shorter, and the layers that cost the most to repaint on a phone (blurs behind moving content, the grain sheet) are dropped. */
@media (max-width: 820px) {
  .hero { height: 250vh; height: 250svh; }
  .grain { display: none; }
  .plane-halo { filter: none; }
  .iso-stack::before { filter: none; background: radial-gradient(closest-side, rgba(2, 5, 12, .7), rgba(2, 5, 12, 0)); inset: -18%; }
  .nav, .note, .note-r, .note-l { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav { background: rgba(11, 18, 32, .96); }
  .note, .note-r, .note-l { background: rgba(17, 27, 48, .97); }
}
@media (max-width: 820px) and (prefers-reduced-motion: no-preference) {
  .js .open { height: 180vh; height: 180svh; }
}

/* ---------- phones: the opening scrolls with the finger ----------
   Nothing holds the whole screen. The stack opens as it comes up, then rides under the nav while the four notes
   scroll past below it. The note right under the stack is the one being read, and it lights its layer. */
@media (max-width: 820px) {
  html.flat .hero { height: auto; }
  html.flat .hero-pin { position: relative; height: auto; overflow: visible; padding-top: clamp(104px, 14vh, 140px); padding-bottom: 206px; }
  @supports (overflow: clip) { html.flat .hero-pin { overflow: clip; } }
  html.flat .hero-copy { position: relative; top: auto; }
  html.flat .scene { position: relative; inset: auto; width: 100%; height: auto; margin-top: 56px; padding: 0 16px 28px; --w: min(42vw, 21vh, 190px); }
  html.flat .scene-head { position: relative; top: auto; opacity: 1; }
  html.flat .iso { position: sticky; z-index: 2; left: auto; top: calc(74px + var(--w) * .45); margin: calc(var(--w) * .52) auto; }
  /* the list runs on below the box the stack rides in, so the stack lets go while the last note is still being read and the two leave together */
  html.flat .notes { position: relative; inset: auto; display: grid; gap: clamp(130px, 24vh, 200px); margin: clamp(170px, 30vh, 260px) 0 -180px; pointer-events: auto; }
  html.flat .note, html.flat .note.on, html.flat .note.on.cur { position: relative; inset: auto; opacity: .42; translate: 0 0; pointer-events: auto; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
  html.flat .note.cur { border-color: rgba(227, 173, 127, .7); background: rgba(23, 35, 61, .98); }
  html.flat .plane-front { display: none; }
}

/* ---------- the form: marketing consent and the privacy notice ---------- */
.lead-check { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); cursor: pointer; }
.lead-check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--copper); cursor: pointer; }
.lead-legal { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.lead-legal a, .legal-body a, .consent a, .foot-legal a { color: var(--copper-hi); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- footer: legal links ---------- */
.foot-bottom { flex-wrap: wrap; }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 14px; }
.foot-legal a, .foot-legal button { color: var(--ink-soft); text-decoration: none; }
.foot-legal a:hover, .foot-legal button:hover { color: var(--copper-hi); }
.foot-legal button { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.foot-legal button[hidden] { display: none; }
.foot-id { margin-top: 6px; font-size: 13px; color: var(--ink-soft); }

/* ---------- legal pages: one quiet reading column ---------- */
.legal { background: var(--bg-deep); border-top: 1px solid var(--line); padding: clamp(44px, 6vw, 84px) 0 clamp(64px, 8vw, 110px); }
.legal-body { max-width: 760px; font-size: 17px; line-height: 1.75; color: var(--ink-soft); }
.legal-body h2 { margin: 44px 0 12px; font-size: clamp(21px, 2vw, 25px); line-height: 1.3; font-weight: 700; color: #fff; scroll-margin-top: 90px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin: 24px 0 8px; font-size: 18px; font-weight: 700; color: var(--ink); }
.legal-body p + p, .legal-body p + ul, .legal-body ul + p { margin-top: 12px; }
.legal-body ul { display: flex; flex-direction: column; gap: 8px; padding-inline-start: 22px; }
.legal-body li::marker { color: var(--copper); }
.legal-body b { color: var(--ink); font-weight: 600; }
.legal-meta { margin-top: 18px; font-size: 15px; color: var(--ink-soft); }
.legal-table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 15px; }
.legal-table th, .legal-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.legal-table th { color: var(--ink); font-weight: 600; }
.legal-table td[lang="en"], .legal-table td:first-child, .legal-table td:last-child { white-space: nowrap; }
.legal-card { margin-top: 14px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .03); }
.fill { color: var(--copper-hi); font-weight: 600; }
@media (max-width: 600px) { .legal-table { display: block; overflow-x: auto; } }

/* ---------- cookie consent bar ---------- */
.consent { position: fixed; z-index: 90; inset-inline: 16px; inset-block-end: 16px; max-width: 760px; margin-inline: auto; display: flex; align-items: center; gap: 18px 26px; padding: 18px 22px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; background: rgba(11, 18, 32, .96); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); }
.consent[hidden] { display: none; }
.consent h2 { font-size: 16px; font-weight: 700; color: #fff; }
.consent p { margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.consent-actions { flex: none; display: flex; gap: 10px; }
.consent .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
@media (max-width: 640px) { .consent { flex-direction: column; align-items: stretch; } .consent-actions .btn { flex: 1; } }
.lead-check i { font-style: normal; opacity: .8; }

/* legal pages: a plain, quiet head. These pages inform, they do not sell. */
.legal-hero { padding: clamp(118px, 12vw, 150px) 0 clamp(30px, 3.5vw, 44px); }
.legal-hero::before { opacity: .45; }
.legal-hero .page-title { margin-top: 0; max-width: none; font-size: clamp(30px, 3.2vw, 42px); font-weight: 700; letter-spacing: -.02em; }
.legal-hero .page-lead { margin-top: 12px; font-size: clamp(16px, 1.25vw, 18px); }
.legal-hero .legal-meta { margin-top: 10px; font-size: 14px; }

/* ---------- the site's own "no motion" switch (accessibility panel) does what the system setting does ---------- */
html.still .mq div { animation: none; }
html.still { scroll-behavior: auto; }
html.still .open { height: auto; --p: 1; --o: 1; }
html.still .open-pin { position: relative; top: auto; height: auto; min-height: 100vh; min-height: 100svh; }
html.still .open-pic { clip-path: none; }
html.still .open-art { transform: none; }

/* ---------- accessibility choices ---------- */
html.a11y-contrast { --ink-soft: #E4E9F2; --line: rgba(255, 255, 255, .32); --ink-dark-soft: #1A2030; }
html.a11y-contrast .grain { display: none; }
html.a11y-links a:not(.btn):not(.brand) { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 2px; }
html.a11y-links a.btn { outline: 2px solid currentColor; outline-offset: 2px; }

/* ---------- accessibility button and panel ---------- */
.a11y-btn { position: fixed; z-index: 85; inset-inline-end: 16px; inset-block-end: 16px; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: #1B2D52; color: #fff; cursor: pointer; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .8); transition: background-color .2s; }
.a11y-btn:hover, .a11y-btn[aria-expanded="true"] { background: #2A4273; }
.a11y-btn svg { width: 26px; height: 26px; fill: currentColor; }
.a11y-panel { position: fixed; z-index: 95; inset-inline-end: 16px; inset-block-end: 74px; width: min(320px, calc(100vw - 32px)); padding: 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; background: #0E1626; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .85); color: var(--ink); }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.a11y-head h2 { font-size: 18px; font-weight: 700; color: #fff; }
.a11y-close { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink-soft); cursor: pointer; }
.a11y-close:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.a11y-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.a11y-opts { display: flex; flex-direction: column; gap: 8px; }
.a11y-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .03); color: var(--ink); font: inherit; font-size: 15.5px; text-align: start; cursor: pointer; }
.a11y-opt:hover { border-color: rgba(255, 255, 255, .3); }
.a11y-opt i { position: relative; flex: none; width: 38px; height: 22px; border-radius: 999px; background: rgba(255, 255, 255, .18); transition: background-color .2s; }
.a11y-opt i::after { content: ""; position: absolute; inset-block-start: 3px; inset-inline-start: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: inset-inline-start .2s; }
.a11y-opt[aria-pressed="true"] { border-color: var(--copper); }
.a11y-opt[aria-pressed="true"] i { background: var(--copper); }
.a11y-opt[aria-pressed="true"] i::after { inset-inline-start: 19px; }
.a11y-tip { margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.a11y-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.a11y-reset { padding: 6px 0; border: 0; background: none; color: var(--ink-soft); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.a11y-foot a { color: var(--copper-hi); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .a11y-opt i, .a11y-opt i::after { transition: none; } }
