/* =============================================================================
   CodeFlow · "Neo-Bauhaus Play" design system
   =============================================================================

   ILLUSTRATION FAMILY RULES
   Applies to the hero and to every future service-page illustration
   (websites / online stores / web apps / contact / legal). Draw in a
   viewBox where 1u = 1 SVG unit; the hero uses 640 x 580u.

   1. PALETTE: flat fills only. No gradients, no blur, no transparency washes.
        paper   #F7F0E1  page ground            card    #FFFBF2  device screens
        paper-2 #EFE4CD  UI placeholders        paper-3 #E3D5B8  flat drop shadows
        ink     #1D1B3F  outlines, text bars, cursor, code chips
        cobalt  #2747F0  the "half-moon": primary mass, image blocks
        coral   #FF6B57  the "square": actions, buttons, things you press
        sun     #FFC53D  the "circle": light, highlights, the big sun
        mint    #62D9AE  accent, at most 2 pieces per scene
      Approximate share per scene: 40% paper/card, 25% cobalt, 15% sun,
      12% coral, 8% mint. Two primitives of the same colour never touch.

   2. SHAPE LANGUAGE: only these primitives, snapped to an 8u grid
        circle, half-disc, quarter-disc, square/rectangle, pill/stripe,
        ring, and one triangle (reserved for cursors, fulcrums, "launch").
      Devices (browser, phone, bag, dashboard) = card fill + 3u ink outline,
      corner radius 10-24u, flat shadow offset +8u/+8u (paper-3 on paper,
      ink on coloured stages). Content inside devices = rounded pills for
      text (6-16u tall) plus primitives. No icons from icon sets, no
      lettering except monospace code inside ink "code chips".

   3. STROKES: 3u ink for device outlines and dividers; 1u ink at 22%
      opacity for construction guides (compass circles, base lines,
      diagonals) drawn behind everything; 6-7u ink for handles; 12u for
      rings. Shapes themselves are never outlined.

   4. COMPOSITION: one hero device, one smaller device overlapping it,
      5-7 loose primitives around the edges (a big sun behind, a rocking
      half-disc on the ground line, a ticking square, a rolling ring,
      a bouncing ball), a ground line, construction guides behind.
      Leave 10% of the canvas empty on one side so type can breathe.

   5. MOTION LANGUAGE "snap & spring"
      - enter: guides draw (DrawSVG 1.2-1.4s power2.inOut) -> pieces fall
        with gravity (power2.in, 0.55s, rotating in 45/90 deg steps) ->
        land with a squash (scaleY .8 / scaleX 1.14, 90ms) -> spring back
        (elastic.out(1,.38), 0.8s). Stagger 60-90ms.
      - rotation moves in 90 deg "ticks" with back.out(2.5-3); free spin
        only for rolling objects (rotation = distance / radius).
      - idle loops 1.4-8s, sine.inOut yoyo; every scene keeps 3-5 alive.
      - a cursor (ink arrow) clicks things to show cause -> effect.
      - pointer: layers parallax by depth (8 / 14 / 26u), touched pieces
        "boing" (scale 1.18 -> elastic back).
      - animations are always on (client requirement): no reduced-motion
        branches anywhere in this system.
   ============================================================================= */

:root {
  --paper: #F7F0E1;
  --paper-2: #EFE4CD;
  --paper-3: #E3D5B8;
  --card: #FFFBF2;
  --ink: #1D1B3F;
  --ink-2: #4A4766;
  --line: rgba(29, 27, 63, .14);
  --cobalt: #2747F0;
  --coral: #FF6B57;
  --sun: #FFC53D;
  --mint: #62D9AE;

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-text: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-code: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 84px;
  --sec-pad: clamp(88px, 10vw, 156px);
  --bw: 2.5px; /* border weight */
  --r-s: 14px;
  --r-m: 24px;
  --r-l: clamp(28px, 4vw, 56px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background-color: var(--paper);
  /* static paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .11 0 0 0 0 .1 0 0 0 0 .25 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--ink); }

:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--card); font-weight: 700; text-decoration: none;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip-link:focus-visible { transform: none; }

.text-link {
  color: var(--ink); font-weight: 700; text-decoration: none;
  background: linear-gradient(var(--coral), var(--coral)) 0 100% / 100% 3px no-repeat;
  transition: background-size .35s var(--ease-out), color .2s;
}
.text-link:hover { background-size: 100% 100%; }

/* --------------------------------------------------------------- buttons */
.btn {
  --h: 56px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  min-height: var(--h); padding: 0 7px 0 26px;
  border-radius: 999px; border: 0;
  font: 700 1rem/1 var(--font-text); letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn--ink { background: var(--ink); color: var(--card); }
.btn--ink::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--cobalt);
  transform: translateX(-101%); transition: transform .55s var(--ease-out);
}
.btn--ink:hover::before, .btn--ink:focus-visible::before { transform: none; }
.btn--line {
  padding: 0 26px; color: var(--ink);
  box-shadow: inset 0 0 0 var(--bw) var(--ink);
}
.btn--line::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--sun);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease-out);
}
.btn--line:hover::before, .btn--line:focus-visible::before { transform: none; }
.btn--sm { --h: 46px; padding-left: 20px; gap: 10px; font-size: .92rem; }
.btn--lg { --h: 68px; padding-left: 32px; font-size: 1.12rem; }

.btn-knob {
  flex: none; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--sun);
  transition: transform .8s var(--ease-spring);
}
.btn--sm .btn-knob { width: 34px; height: 34px; }
.btn--lg .btn-knob { width: 54px; height: 54px; }
.btn-knob i {
  display: block; width: 32%; height: 64%;
  margin-left: 30%;
  background: var(--ink); border-radius: 0 999px 999px 0; /* right half-disc ◗ */
}
.btn:hover .btn-knob, .btn:focus-visible .btn-knob { transform: rotate(360deg); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .35s, box-shadow .35s;
}
.site-header.is-scrolled {
  background: rgba(247, 240, 225, .9);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.menu-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; text-decoration: none; border-radius: 8px; flex: none; }
.logo { display: block; height: 34px; width: auto; overflow: visible; }
.lg-half { fill: var(--cobalt); }
.lg-sq { fill: var(--coral); }
.lg-ci { fill: var(--sun); }
.lg-word path, .lg-word circle { fill: none; stroke: var(--ink); stroke-width: 5; }

.main-nav ul { display: flex; gap: clamp(18px, 2.2vw, 34px); list-style: none; }
.nl {
  position: relative; display: inline-block; padding: 8px 2px;
  font-weight: 650; font-size: .98rem; text-decoration: none; color: var(--ink);
  transition: transform .4s var(--ease-spring);
}
.nl::after {
  content: ""; position: absolute; left: 50%; bottom: -8px;
  width: 9px; height: 9px; margin-left: -4.5px;
  background: var(--cobalt);
  transform: scale(0) rotate(-90deg);
  transition: transform .5s var(--ease-spring);
}
.nl:hover { transform: translateY(-2px); }
.nl:hover::after, .nl:focus-visible::after { transform: scale(1) rotate(0); }
.nl--circle::after { border-radius: 50%; background: var(--cobalt); }
.nl--square::after { background: var(--coral); }
.nl--half::after { width: 12px; height: 6px; margin-left: -6px; border-radius: 999px 999px 0 0; background: var(--sun); bottom: -6px; }
.nl--quarter::after { border-top-left-radius: 100%; background: var(--mint); }
.nl--tri::after { clip-path: polygon(50% 0, 100% 100%, 0 100%); background: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 14px; }

/* burger */
.burger {
  display: none; position: relative; flex: none;
  width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%;
  background: var(--ink); cursor: pointer;
}
.burger-bar {
  position: absolute; left: 12px; width: 22px; height: 3px; border-radius: 2px;
  background: var(--card); transform-origin: 0 50%;
  transition: transform .55s var(--ease-spring);
}
.burger-bar:nth-child(1) { top: 16px; }
.burger-bar:nth-child(2) { top: 26px; transform: scaleX(.55); }
.burger-dot {
  position: absolute; left: 29px; top: 23px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--sun); transition: transform .45s var(--ease-spring);
}
.burger[aria-expanded="true"] .burger-bar:nth-child(1) { transform: translate(3px, -1px) rotate(45deg) scaleX(1.05); }
.burger[aria-expanded="true"] .burger-bar:nth-child(2) { transform: translate(3px, 1px) rotate(-45deg) scaleX(1.05); }
.burger[aria-expanded="true"] .burger-dot { transform: scale(0); }

/* mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 45; visibility: hidden; display: flex; flex-direction: column; }
.mmenu.is-open { visibility: visible; }
.mmenu-bg { position: absolute; inset: 0; background: var(--paper); overflow: hidden; clip-path: circle(0% at 100% 0%); }
.mm-shape { position: absolute; display: block; }
.mm-shape--a { width: 62vw; aspect-ratio: 1; right: -24vw; bottom: -22vw; border-radius: 50%; background: var(--sun); }
.mm-shape--b { width: 22vw; aspect-ratio: 1 / 2; right: 0; top: 46%; border-radius: 999px 0 0 999px; background: var(--cobalt); }
.mm-shape--c { width: 14vw; aspect-ratio: 1; right: 16vw; bottom: 30vw; background: var(--coral); }
.mmenu-nav { position: relative; padding: calc(var(--header-h) + 20px) var(--gutter) 24px; }
.mmenu-nav ul { list-style: none; }
.mmenu-nav li { overflow: hidden; }
.mmenu-nav a {
  display: flex; align-items: center; gap: 16px; padding: 6px 0;
  font: 800 clamp(2rem, 9.5vw, 3.6rem)/1.12 var(--font-display); letter-spacing: -.04em;
  text-decoration: none; color: var(--ink);
}
.mmi { display: block; flex: none; width: .5em; height: .5em; }
.mmi--circle { border-radius: 50%; background: var(--cobalt); }
.mmi--square { background: var(--coral); }
.mmi--half { height: .25em; border-radius: 999px 999px 0 0; background: var(--sun); }
.mmi--quarter { border-top-left-radius: 100%; background: var(--mint); }
.mmi--tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); background: var(--ink); }
.mmenu-foot { position: relative; margin-top: auto; padding: 0 var(--gutter) 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.mmenu-mail { font-weight: 700; text-decoration: none; }

/* ------------------------------------------- status pill + blink (shared micro-elements) */
.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 15px 6px 7px; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 2px var(--ink);
  font-weight: 650; font-size: .9rem;
}
.status-light { position: relative; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(98, 217, 174, .3); }
.status-light i { width: 10px; height: 10px; border-radius: 50%; background: #2FB886; }
.status-light::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 2px #2FB886; animation: ping 1.8s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(.5); opacity: 1; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
@keyframes blink { 50% { opacity: 0; } }


/* --------------------------------------------------------- section heads */
.section { padding-block: var(--sec-pad); }
.sec-head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end; gap: clamp(20px, 4vw, 72px);
}
.sec-head-main { display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 24px); }
.sec-title {
  --h2: clamp(2.05rem, 4.3vw, 4.1rem);
  font: 800 var(--h2)/1.04 var(--font-display); letter-spacing: -.034em;
  max-width: 15ch;
}
.sec-lead { max-width: 38ch; font-size: clamp(1.04rem, 1.3vw, 1.18rem); color: var(--ink-2); }
.pinwheel { flex: none; width: clamp(44px, 4.6vw, 64px); height: auto; margin-top: .25em; overflow: visible; }

/* -------------------------------------------------------------- services */
.cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px); margin-top: clamp(44px, 6vw, 84px);
}
.card { display: block; color: var(--ink); text-decoration: none; border-radius: 24px; }
.card:focus-visible { outline: none; }
.card-in {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--card-r); overflow: hidden;
  box-shadow: inset 0 0 0 var(--bw) var(--ink), 0 0 0 0 var(--ink);
  transition: box-shadow .5s var(--ease-out);
  will-change: transform;
}
.card:hover .card-in, .card:focus-visible .card-in { box-shadow: inset 0 0 0 var(--bw) var(--ink), 10px 12px 0 0 var(--ink); }
.card:focus-visible .card-in { outline: 3px solid var(--cobalt); outline-offset: 5px; }
.card-stage {
  position: relative; aspect-ratio: 360 / 220;
  background: var(--stage);
  border-bottom: var(--bw) solid var(--ink);
}
.stage-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.card--web { --stage: var(--cobalt); --accent: var(--cobalt); --card-r: 130px 22px 22px 22px; }
.card--shop { --stage: var(--coral); --accent: var(--coral); --card-r: 50% 50% 22px 22px / 150px 150px 22px 22px; }
.card--app { --stage: var(--sun); --accent: var(--sun); --card-r: 22px 130px 22px 22px; }
.card-stage { margin: var(--bw) var(--bw) 0; border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

.card-body { display: flex; flex-direction: column; flex: 1; padding: 26px clamp(20px, 2.2vw, 30px) 26px; }
.card-title { font: 800 clamp(1.3rem, 1.75vw, 1.6rem)/1.14 var(--font-display); letter-spacing: -.025em; }
.card-pitch { margin-top: 12px; color: var(--ink-2); font-size: 1rem; }
.card-list { list-style: none; margin-top: 20px; display: grid; gap: 10px; font-size: .97rem; line-height: 1.45; }
.card-list li { position: relative; padding-left: 26px; }
.card-list li::before {
  content: ""; position: absolute; left: 2px; top: .3em;
  width: 12px; height: 12px; background: var(--accent);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.card--web .card-list li::before { border-radius: 50%; }
.card--app .card-list li::before { height: 7px; top: .55em; border-radius: 999px 999px 0 0; }
.card-list li.card-list-plus { font-weight: 700; }
.card-list li.card-list-plus::before { background: var(--ink); clip-path: polygon(38% 0, 62% 0, 62% 38%, 100% 38%, 100% 62%, 62% 62%, 62% 100%, 38% 100%, 38% 62%, 0 62%, 0 38%, 38% 38%); box-shadow: none; }
.card-fit { margin-top: 18px; font-size: .93rem; color: var(--ink-2); }
.card-fit b { color: var(--ink); font-weight: 700; }
.card-foot {
  margin-top: auto; padding-top: 24px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.price { display: flex; flex-direction: column; gap: 4px; }
.price-from { font-size: .85rem; font-weight: 650; color: var(--ink-2); }
.price-num { font: 800 clamp(1.6rem, 2.3vw, 2.05rem)/1 var(--font-display); letter-spacing: -.04em; }
.card-go {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 5px 5px 16px; border-radius: 999px;
  box-shadow: inset 0 0 0 2px var(--ink);
  font-weight: 700; font-size: .9rem; white-space: nowrap;
  transition: background-color .35s, color .35s;
}
.card-go .btn-knob { width: 32px; height: 32px; background: var(--accent); }
.card--app .card-go .btn-knob { background: var(--sun); }
.card:hover .card-go, .card:focus-visible .card-go { background: var(--ink); color: var(--card); }
.card:hover .card-go .btn-knob { transform: rotate(360deg); }

/* --------------------------------------------------------------- process */
.process, .section--sheet {
  margin-inline: clamp(8px, 1.4vw, 20px);
  background: var(--card); border-radius: var(--r-l);
  box-shadow: inset 0 0 0 var(--bw) var(--ink);
}
.steps-wrap { position: relative; margin-top: clamp(48px, 6vw, 88px); }
.track { position: absolute; z-index: 2; left: var(--t-start, 36px); top: 34px; width: var(--t-len, 80%); height: 0; }
.track-line, .track-fill { position: absolute; left: 0; right: 0; top: -1.5px; height: 3px; border-radius: 3px; }
.track-line { background: var(--ink); opacity: .14; }
.track-fill { background: var(--cobalt); transform-origin: 0 50%; transform: scaleX(0); }
.track-tick {
  position: absolute; left: var(--p, 0); top: 0; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px;
  border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 2.5px var(--ink);
}
.track-ball {
  position: absolute; left: -17px; top: -17px; z-index: 1;
  width: 34px; height: 34px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(90deg, var(--cobalt) 50%, var(--sun) 50%);
  box-shadow: inset 0 0 0 var(--bw) var(--ink);
}
.track-ball i { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--ink); }
.steps {
  list-style: none; padding-top: 84px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px);
}
.step { position: relative; }
.step-token { display: block; width: 72px; height: 72px; overflow: visible; }
.step-token > * { fill: transparent; stroke: var(--ink); stroke-width: 2.5; transition: fill .45s var(--ease-out); }
.step:nth-child(1) { --tok: var(--cobalt); --tok2: var(--sun); }
.step:nth-child(2) { --tok: var(--coral); --tok2: var(--coral); }
.step:nth-child(3) { --tok: var(--sun); --tok2: var(--coral); }
.step:nth-child(4) { --tok: var(--mint); --tok2: var(--mint); }
.step:nth-child(5) { --tok: var(--cobalt); --tok2: var(--sun); }
.step.is-on .step-token > * { fill: var(--tok); }
.step.is-on .step-token > .tok-detail { fill: var(--tok2); }
.step-num { display: block; margin-top: 22px; font: 700 .82rem/1 var(--font-display); letter-spacing: .02em; color: var(--ink-2); }
.step-title { margin: 10px 0 10px; font: 800 clamp(1.15rem, 1.5vw, 1.4rem)/1.15 var(--font-display); letter-spacing: -.025em; }
.step p { color: var(--ink-2); font-size: .98rem; line-height: 1.55; }

/* -------------------------------------------------------------- approach */
.approach-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
.approach-head { position: sticky; top: calc(var(--header-h) + 24px); }
.approach-head .sec-lead { margin-top: 22px; }
.seesaw { display: block; width: min(100%, 340px); height: auto; margin-top: clamp(28px, 4vw, 52px); overflow: visible; }
.principles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 48px); }
.principle { padding-top: 26px; box-shadow: inset 0 var(--bw) 0 var(--ink); }
.pr-icon { display: block; width: 64px; height: 64px; overflow: visible; }
.pr-title { margin: 20px 0 10px; font: 800 clamp(1.15rem, 1.5vw, 1.35rem)/1.2 var(--font-display); letter-spacing: -.025em; }
.principle p { color: var(--ink-2); }

.stack { margin-top: clamp(80px, 9vw, 136px); overflow: hidden; overflow: clip; padding-block: 18px 30px; }
.stack-title { margin-bottom: 22px; font: 700 1rem/1.3 var(--font-text); color: var(--ink-2); }
.marquee { position: relative; overflow: hidden; padding-block: 16px; background: var(--paper); box-shadow: inset 0 var(--bw) 0 var(--ink), inset 0 calc(-1 * var(--bw)) 0 var(--ink); transform: rotate(-1.4deg); width: 104%; margin-left: -2%; }
.marquee--alt { background: var(--sun); transform: rotate(1.2deg); margin-top: -6px; }
.mq-track { display: flex; width: max-content; will-change: transform; }
.mq-list { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); padding-right: clamp(20px, 2.6vw, 40px); list-style: none; font: 800 clamp(1.8rem, 4.6vw, 4.2rem)/1.05 var(--font-display); letter-spacing: -.03em; white-space: nowrap; }
.mq-s { display: block; width: .55em; height: .55em; animation: spin90 2.4s var(--ease-spring) infinite; }
.mq-s--c { border-radius: 50%; background: var(--cobalt); }
.mq-s--s { background: var(--coral); }
.mq-s--h { height: .275em; border-radius: 999px 999px 0 0; background: var(--mint); }
.mq-s--q { border-top-left-radius: 100%; background: var(--ink); }
.marquee--alt .mq-s--c { background: var(--card); box-shadow: inset 0 0 0 4px var(--ink); }
@keyframes spin90 { 0%, 30% { transform: rotate(0); } 50%, 80% { transform: rotate(90deg); } 100% { transform: rotate(180deg); } }

/* ------------------------------------------------------------------- faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-head .sec-lead { margin-top: 22px; }
.qmark { display: block; width: clamp(110px, 12vw, 160px); height: auto; margin-top: clamp(24px, 4vw, 48px); overflow: visible; }
.faq-list { box-shadow: inset 0 calc(-1 * var(--bw)) 0 var(--ink); }
.faq-item { box-shadow: inset 0 var(--bw) 0 var(--ink); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font: 700 clamp(1.08rem, 1.55vw, 1.38rem)/1.3 var(--font-display); letter-spacing: -.02em; color: var(--ink);
}
.faq-q:hover > span:first-child { transform: translateX(6px); }
.faq-q > span:first-child { transition: transform .45s var(--ease-spring); }
.faq-icon {
  position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%;
  box-shadow: inset 0 0 0 var(--bw) var(--ink);
  transition: background-color .4s, transform .7s var(--ease-spring), border-radius .5s var(--ease-out);
}
.faq-icon i { position: absolute; left: 50%; top: 50%; width: 16px; height: 3px; margin: -1.5px 0 0 -8px; border-radius: 2px; background: var(--ink); transition: transform .6s var(--ease-spring); }
.faq-icon i + i { transform: rotate(90deg); }
.faq-q:hover .faq-icon { transform: rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--coral); transform: rotate(180deg); }
.faq-item.is-open .faq-icon i + i { transform: rotate(0); }
.js .faq-a { height: 0; overflow: hidden; }
.faq-a-in { padding: 0 64px 28px 0; }
.faq-a-in p { max-width: 62ch; color: var(--ink-2); }

/* ------------------------------------------------------------------- cta */
.cta-sec { padding-block: clamp(24px, 4vw, 56px) clamp(64px, 8vw, 120px); }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(64px, 9vw, 140px) clamp(24px, 6vw, 96px);
  background: var(--sun); border-radius: var(--r-l);
  box-shadow: inset 0 0 0 var(--bw) var(--ink);
}
.cta-shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cs { position: absolute; display: block; }
.cs-in { display: block; width: 100%; height: 100%; }
.cs--1 { width: clamp(90px, 12vw, 180px); aspect-ratio: 1; right: 7%; top: -5%; }
.cs--1 .cs-in { border-radius: 50%; background: var(--cobalt); }
.cs--2 { width: clamp(120px, 14vw, 220px); aspect-ratio: 2 / 1; left: 5%; bottom: 0; }
.cs--2 .cs-in { border-radius: 999px 999px 0 0; background: var(--coral); }
.cs--3 { width: clamp(40px, 4.6vw, 68px); aspect-ratio: 1; left: 52%; top: 26px; }
.cs--3 .cs-in { background: var(--mint); transform: rotate(14deg); }
.cs--4 { width: clamp(80px, 10vw, 150px); aspect-ratio: 1; right: 0; bottom: 0; }
.cs--4 .cs-in { border-top-left-radius: 100%; background: var(--ink); }
.cs--5 { width: clamp(46px, 5vw, 76px); aspect-ratio: 1; right: 22%; bottom: 13%; }
.cs--5 .cs-in { border-radius: 50%; box-shadow: inset 0 0 0 clamp(9px, 1vw, 14px) var(--cobalt); }
.cs--6 { width: clamp(64px, 7vw, 104px); height: clamp(40px, 4.4vw, 64px); left: 5%; top: 30px; }
.cs--6 .cs-in { display: flex; flex-direction: column; justify-content: space-between; }
.cs--6 b { display: block; height: 22%; border-radius: 999px; background: var(--ink); }
.cs--6 b:nth-child(2) { width: 72%; }
.cs--6 b:nth-child(3) { width: 44%; }
.cs--7 { width: clamp(44px, 5vw, 72px); aspect-ratio: 1; right: 31%; top: 30px; }
.cs--7 .cs-in { clip-path: polygon(50% 0, 100% 100%, 0 100%); background: var(--coral); }
.cs--8 { width: clamp(22px, 2.4vw, 34px); aspect-ratio: 1; left: 42%; bottom: 12%; }
.cs--8 .cs-in { border-radius: 50%; background: var(--ink); }
.cta-content { position: relative; max-width: 980px; }
.cta-title { font: 800 clamp(2.3rem, 5.6vw, 5.3rem)/1 var(--font-display); letter-spacing: -.038em; max-width: 13ch; }
.nw { white-space: nowrap; }
.caret {
  display: inline-block; width: .38em; height: .74em; margin-left: .1em; vertical-align: -.04em;
  background: var(--coral); box-shadow: inset 0 0 0 3px var(--ink);
  animation: blink 1.05s steps(1) infinite;
}
.cta-lead { margin-top: 26px; max-width: 36ch; font-size: clamp(1.08rem, 1.4vw, 1.3rem); color: var(--ink); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 40px; }
.cta-mail { font-weight: 600; }
.cta-panel .btn--ink::before { background: var(--cobalt); }

/* ---------------------------------------------------------------- footer */
.site-footer { padding-top: clamp(64px, 8vw, 112px); background: var(--paper-2); box-shadow: inset 0 var(--bw) 0 var(--ink); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px clamp(24px, 3vw, 48px); }
.brand--foot img { display: block; height: 32px; width: auto; }
.foot-tagline { margin-top: 20px; max-width: 26ch; font: 700 1.12rem/1.4 var(--font-text); }
.foot-founded { margin-top: 10px; color: var(--ink-2); font-size: .95rem; }
.foot-h { margin-bottom: 16px; font: 700 .95rem/1.2 var(--font-display); letter-spacing: -.01em; }
.foot-col ul { list-style: none; display: grid; gap: 8px; }
.foot-col a:not(.text-link) { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.foot-col a:not(.text-link):hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.foot-address { display: grid; gap: 4px; font-style: normal; color: var(--ink-2); }
.foot-address .text-link { margin-top: 8px; justify-self: start; }
.foot-word { margin-top: clamp(56px, 7vw, 104px); }
.fw { display: block; width: 100%; height: auto; overflow: visible; }
.fw-l { cursor: default; }
.fw-l path, .fw-l circle { fill: none; stroke: var(--fw-c, var(--ink)); stroke-width: 5; transition: stroke .5s; }
.fw-hit { fill: transparent; stroke: none; }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px;
  margin-top: clamp(28px, 4vw, 48px); padding-block: 26px 30px; box-shadow: inset 0 var(--bw) 0 var(--ink);
}
.foot-copy { display: inline-flex; align-items: center; gap: 10px; font-size: .93rem; color: var(--ink-2); }
.tick-clock { width: 22px; height: 22px; flex: none; overflow: visible; }
.to-top { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: .93rem; text-decoration: none; }
.to-top-ball { position: relative; width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); }
.to-top-ball i { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--coral); transition: transform .55s var(--ease-spring); }
.to-top:hover .to-top-ball i { transform: translateY(-9px) scale(1.1); }

/* ------------------------------------------------------ page transition */
.ptrans { position: fixed; inset: 0; z-index: 120; pointer-events: none; visibility: hidden; overflow: hidden; }
.pt {
  position: absolute; left: var(--px, 50%); top: var(--py, 50%);
  width: 300vmax; height: 300vmax; margin: -150vmax 0 0 -150vmax; border-radius: 50%;
  transform: scale(0);
}
.pt--1 { background: var(--sun); }
.pt--2 { background: var(--ink); }
.pt--3 { background: var(--pt-color, var(--cobalt)); }
.pt-mark { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; opacity: 0; overflow: visible; }
.pt-mark * { fill: var(--pt-mark, #FFFBF2); }

/* ---------------------------------------------------------------- cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 110; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor-in {
  position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--cobalt); box-shadow: inset 0 0 0 0 var(--cobalt);
  transition: transform .5s var(--ease-spring), border-radius .4s var(--ease-out), background-color .3s, box-shadow .3s;
}
.cursor[data-state="link"] .cursor-in { transform: scale(2.6); background: transparent; box-shadow: inset 0 0 0 1.2px var(--cobalt); }
.cursor[data-state="card"] .cursor-in { transform: scale(3.6) rotate(45deg); border-radius: 2px; background: var(--coral); }
.cursor[data-state="hit"] .cursor-in { transform: scale(2); background: var(--sun); box-shadow: inset 0 0 0 1.5px var(--ink); }
.cursor[data-state="text"] .cursor-in { transform: scale(.5); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .burger { display: block; }
}

@media (max-width: 1100px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card-in { flex-direction: row; }
  .card-stage { flex: 0 0 42%; aspect-ratio: auto; min-height: 300px; border-bottom: 0; border-right: var(--bw) solid var(--ink); margin: var(--bw) 0 var(--bw) var(--bw); border-radius: inherit; border-top-right-radius: 0; border-bottom-right-radius: 0; }
  .stage-art { inset: 50% auto auto 50%; width: 100%; height: auto; aspect-ratio: 360 / 220; transform: translate(-50%, -50%); }
  .card--web { --card-r: 130px 22px 22px 22px; }
  .card--shop { --card-r: 50% 22px 22px 50% / 50% 22px 22px 50%; }
  .card--shop .card-stage { border-radius: 999px 0 0 999px / 50% 0 0 50%; }
  .card--app { --card-r: 22px 130px 22px 22px; }
  .card-body { padding: 30px clamp(22px, 3vw, 36px); }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .approach-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .approach-head, .faq-head { position: static; }
  .seesaw { width: min(80%, 300px); }
  .faq-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; }
  .faq-head .sec-title, .faq-head .sec-lead { grid-column: 1; }
  .qmark { grid-column: 2; grid-row: 1 / span 2; align-self: end; width: clamp(80px, 16vw, 130px); margin-top: 0; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 0 0 0 58px; }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; align-items: start; }
  .step-token { width: 56px; height: 56px; grid-row: 1 / span 3; }
  .step-num { margin-top: 2px; }
  .step-title { margin-top: 8px; }
  .track { left: 17px; top: var(--t-start, 28px); width: 0; height: var(--t-len, 80%); }
  .track-line, .track-fill { left: -1.5px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .track-fill { transform-origin: 50% 0; transform: scaleY(0); }
  .track-tick { left: 0; top: var(--p, 0); }

  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs--6 { display: none; }
  .cs--5 { right: 26%; bottom: 5%; }
  .cs--3 { left: 58%; top: 18px; }
  .cs--7 { right: 30%; top: 20px; }
}

@media (max-width: 720px) {
  .card-in { flex-direction: column; }
  .card-stage { flex: none; min-height: 0; aspect-ratio: 360 / 220; border-right: 0; border-bottom: var(--bw) solid var(--ink); margin: var(--bw) var(--bw) 0; border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .stage-art { inset: 0; transform: none; height: 100%; }
  .card--web { --card-r: 96px 20px 20px 20px; }
  .card--shop { --card-r: 50% 50% 20px 20px / 120px 120px 20px 20px; }
  .card--shop .card-stage { border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .card--app { --card-r: 20px 96px 20px 20px; }
  .principles { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .header-cta { display: none; }
  .logo { height: 28px; }
  .faq-a-in { padding-right: 0; }
  .faq-q { padding: 22px 0; }
  .faq-icon { width: 40px; height: 40px; }
  .cta-panel { padding: 64px 22px 120px; }
  .cs--3, .cs--7 { display: none; }
  .cs--1 { right: -6%; top: -4%; }
  .cs--5 { right: 30%; bottom: 6%; }
  .cs--8 { left: auto; right: 12%; bottom: 40%; }
  .cs--6 { left: auto; right: 8%; top: auto; bottom: 18%; display: none; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand, .foot-top > .foot-col:last-child { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .steps { padding-left: 46px; gap: 30px; }
  .step { grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; }
  .step-token { width: 46px; height: 46px; }
  .track { left: 13px; }
  .card-foot { align-items: center; }
}

/* misc */
[tabindex="-1"]:focus { outline: none; }
.mmenu.is-static .mmenu-bg { clip-path: none; }

/* =============================================================================
   MULTI-PAGE ADDITIONS (shared by every page)
   ============================================================================= */

/* ------------------------------------------------------- nav active state */
.nl.is-active::after { transform: scale(1) rotate(0); }
.nl.is-active { font-weight: 750; }
.mmenu-nav a.is-active span { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: .08em; text-underline-offset: .14em; }

/* ----------------------------------------------------- page-enter wipe */
/* set by the inline <head> script when the previous page left through the wipe */
.js.pt-enter .ptrans { visibility: visible; }
.js.pt-enter .pt--3 { transform: scale(1); }
.js.pt-enter .pt-mark { opacity: 1; }

/* ------------------------------------------------------------- utilities */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.btn--xs { --h: 40px; padding: 0 20px; gap: 8px; font-size: .9rem; }
.foot-btn {
  padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  font: inherit; color: var(--ink-2); transition: color .2s;
}
.foot-btn:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* primitive shapes as inline micro-elements:
   <i class="shape shape--circle is-coral"></i>   size via --s, colour via is-* or --c
   motion add-ons: .shape--tick (90deg ticks) .shape--hop (bounces) .shape--sway (rocks) */
.shape { display: inline-block; flex: none; width: var(--s, 22px); height: var(--s, 22px); background: var(--c, var(--cobalt)); vertical-align: middle; }
.shape--circle { border-radius: 50%; }
.shape--half { height: calc(var(--s, 22px) / 2); border-radius: 999px 999px 0 0; }
.shape--quarter { border-top-left-radius: 100%; }
.shape--tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.shape--ring { background: transparent; border-radius: 50%; box-shadow: inset 0 0 0 calc(var(--s, 22px) * .24) var(--c, var(--cobalt)); }
.is-cobalt { --c: var(--cobalt); }
.is-coral { --c: var(--coral); }
.is-sun { --c: var(--sun); }
.is-mint { --c: var(--mint); }
.is-ink { --c: var(--ink); }
.shape--tick { animation: spin90 2.4s var(--ease-spring) infinite; }
.shape--hop { transform-origin: 50% 100%; animation: hop 1.9s var(--ease-out) infinite; }
.shape--sway { transform-origin: 50% 100%; animation: sway 2.6s ease-in-out infinite alternate; }
@keyframes hop { 0%, 55%, 100% { transform: translateY(0) scale(1, 1); } 20% { transform: translateY(-55%) scale(.94, 1.06); } 45% { transform: translateY(0) scale(1.16, .82); } }
@keyframes sway { from { transform: rotate(-10deg); } to { transform: rotate(10deg); } }

/* ------------------------------------------------------------ page intro */
/* generic animated intro for sub-pages (see _template.html; main.js handles [data-intro]) */
.page-intro { position: relative; padding: calc(var(--header-h) + clamp(36px, 6vw, 88px)) 0 clamp(48px, 7vw, 104px); overflow: hidden; overflow: clip; }
.page-intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: clamp(28px, 5vw, 80px); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; list-style: none; font-size: .9rem; font-weight: 650; color: var(--ink-2); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 7px; height: 7px; background: var(--coral); transform: rotate(45deg); }
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.page-title { margin-top: 22px; font: 800 clamp(2.5rem, 6vw, 5.4rem)/.98 var(--font-display); letter-spacing: -.038em; max-width: 14ch; }
.page-lead { margin-top: 24px; max-width: 40rem; font-size: clamp(1.05rem, 1.3vw, 1.22rem); color: var(--ink-2); }
.page-intro-art { position: relative; width: 100%; max-width: 460px; aspect-ratio: 460 / 280; justify-self: end; }
.pi { position: absolute; display: block; }
.pi--ground { left: 0; right: 0; bottom: 0; height: 3px; background: var(--ink); transform-origin: 0 50%; }
.pi--guide { width: 60%; aspect-ratio: 1; left: 16%; top: -26%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(29, 27, 63, .22); }
.pi--half { width: 44%; aspect-ratio: 2 / 1; left: 2%; bottom: 3px; border-radius: 999px 999px 0 0; background: var(--cobalt); transform-origin: 50% 100%; }
.pi--square { width: 24%; aspect-ratio: 1; left: 50%; bottom: 3px; background: var(--coral); }
.pi--circle { width: 19%; aspect-ratio: 1; left: 52.5%; bottom: calc(39.4% + 3px); border-radius: 50%; background: var(--sun); transform-origin: 50% 100%; }
.pi--quarter { width: 22%; aspect-ratio: 1; right: 0; bottom: 3px; border-top-left-radius: 100%; background: var(--mint); transform-origin: 100% 100%; }
.pi--ring { width: 10%; aspect-ratio: 1; left: 28%; top: 4%; border-radius: 50%; box-shadow: inset 0 0 0 clamp(5px, .8vw, 9px) var(--ink); }
.js [data-intro] .crumbs, .js [data-intro-title], .js [data-intro-fade], .js [data-intro-art] { visibility: hidden; }

/* ---------------------------------------------------------------- consent */
.consent {
  position: fixed; z-index: 70; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px);
  width: min(430px, calc(100vw - 24px));
  display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 18px 22px 18px 16px; border-radius: 46px 22px 22px 22px;
  background: var(--card); color: var(--ink);
  box-shadow: inset 0 0 0 var(--bw) var(--ink), 8px 8px 0 0 var(--ink);
  visibility: hidden;
}
.consent.is-on { visibility: visible; }
.menu-open .consent, .menu-open .consent-panel { visibility: hidden !important; }
.consent-cookie { display: block; width: 60px; height: 60px; overflow: visible; }
.consent-text { font-size: .93rem; line-height: 1.5; }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 14px; }
.consent-link {
  padding: 4px 0; border: 0; background: none; cursor: pointer;
  font: 700 .9rem/1.2 var(--font-text); color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.consent-link:hover { text-decoration-color: var(--cobalt); }

.consent-panel {
  position: fixed; z-index: 71; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px);
  width: min(470px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; overscroll-behavior: contain;
  padding: 24px 24px 22px; border-radius: 22px 46px 22px 22px;
  background: var(--card); color: var(--ink);
  box-shadow: inset 0 0 0 var(--bw) var(--ink), 10px 10px 0 0 var(--ink);
  visibility: hidden;
}
.consent-panel.is-open { visibility: visible; }
.cp-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cp-title { display: flex; align-items: center; gap: 12px; font: 800 1.3rem/1.15 var(--font-display); letter-spacing: -.02em; }
.cp-title:focus { outline: none; }
.cp-close {
  position: relative; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: transparent; box-shadow: inset 0 0 0 2px var(--ink);
  transition: transform .5s var(--ease-spring), background-color .3s;
}
.cp-close i { position: absolute; left: 50%; top: 50%; width: 16px; height: 3px; margin: -1.5px 0 0 -8px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); }
.cp-close i + i { transform: rotate(-45deg); }
.cp-close:hover { transform: rotate(90deg); background: var(--sun); }
.cp-intro { margin-top: 8px; font-size: .95rem; color: var(--ink-2); }
.cp-list { list-style: none; margin-top: 16px; }
.cp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 16px 0; box-shadow: inset 0 2px 0 var(--line); }
.cp-row h3 { font: 800 1rem/1.2 var(--font-display); letter-spacing: -.01em; }
.cp-row p { margin-top: 6px; font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.toggle { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-track { position: relative; display: block; width: 54px; height: 30px; border-radius: 999px; background: var(--paper-2); box-shadow: inset 0 0 0 2px var(--ink); }
.toggle-knob { position: absolute; left: 5px; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); transition: transform .5s var(--ease-spring), background-color .3s; }
.toggle input:checked + .toggle-track { background: var(--cobalt); }
.toggle input:checked + .toggle-track .toggle-knob { transform: translateX(24px); background: var(--sun); }
.toggle input:disabled:not(:checked) + .toggle-track { background: repeating-linear-gradient(-45deg, var(--paper-2) 0 5px, var(--paper-3) 5px 10px); }
.toggle input:focus-visible + .toggle-track { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.toggle-state { font-size: .76rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.cp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: 4px; padding-top: 18px; box-shadow: inset 0 2px 0 var(--line); }

@media (max-width: 960px) {
  .page-intro-grid { grid-template-columns: minmax(0, 1fr); }
  .page-intro-art { justify-self: start; max-width: 360px; }
}
@media (max-width: 600px) {
  .consent { left: 10px; right: 10px; bottom: 10px; width: auto; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; padding: 16px 16px 16px 12px; border-radius: 34px 18px 18px 18px; box-shadow: inset 0 0 0 var(--bw) var(--ink), 6px 6px 0 0 var(--ink); }
  .consent-cookie { width: 46px; height: 46px; }
  .consent-panel { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 20px 18px; }
}
