@font-face {
  font-family: "GhostByte";
  src: url("../font/GhostByte/GhostByte-Regular.woff2") format("woff2"), url("../font/GhostByte/GhostByte-Regular.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
    /* ==========================================================
       THE DIGITAL ALCHEMIST
       cinematic prototype
       ========================================================== */

    :root {
      --ink: #11100d;
      --ink-soft: #26231d;
      --paper: #e8dfca;
      --paper-2: #d5cab0;
      --gold: #b49455;
      --acid: #bff5ff;
      --red: #8b271e;
      --white: #f3eee3;

      --sans:
        Inter,
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

      --mono:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;

      --serif:
        "Times New Roman",
        Times,
        serif;

      --edge: clamp(18px, 2.5vw, 42px);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: auto;
      background: var(--ink);
      /* clip (not hidden) so wide decorations never widen the mobile layout
         viewport, and sticky/pinned sections keep working */
      overflow-x: clip;
    }

    body {
      margin: 0;
      background: var(--ink);
      color: var(--paper);
      font-family: var(--sans);
      overflow-x: clip;
    }

    body.loading {
      overflow: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button {
      font: inherit;
    }

    ::selection {
      background: var(--acid);
      color: var(--ink);
    }

    /* ==========================================================
       grain
       ========================================================== */

    /* Grain tile (assets/img/grain.png) is 192 *physical* px, so one grain
       cell = one device pixel on every display; background-size is the
       tile size divided by the DPR. */
    .grain {
      position: fixed;
      inset: -64px;
      pointer-events: none;
      z-index: 999;
      opacity: 0.045;
      background-image: url("../img/grain.png");
      background-size: 192px 192px;
      animation: grainMove 0.5s steps(1) infinite;
    }
    @media (min-resolution: 1.5dppx) {
      .grain {
        opacity: 0.035;
        background-size: 96px 96px;
      }
    }
    @media (min-resolution: 2.5dppx) {
      .grain {
        opacity: 0.03;
        background-size: 64px 64px;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .grain {
        animation: none;
      }
    }
    @keyframes grainMove {
      0% {
        transform: translate(0, 0);
      }
      20% {
        transform: translate(-23px, 17px);
      }
      40% {
        transform: translate(31px, -29px);
      }
      60% {
        transform: translate(-37px, -11px);
      }
      80% {
        transform: translate(19px, 41px);
      }
    }
    /* ==========================================================
       loader
       ========================================================== */

    .loader {
      position: fixed;
      inset: 0;
      z-index: 2000;
      background: #0c0b09;
      display: grid;
      place-items: center;
    }

    /* When arriving via the in-site language switch, skip the preloader
       entirely so swapping SK <-> EN feels instant (no 2.7s intro). The
       .skip-loader class is set on <html> by an inline head script before
       first paint, so the loader never flashes. */
    html.skip-loader .loader {
      display: none !important;
    }

    html.skip-loader body.loading {
      overflow: auto;
    }

    .loader-inner {
      width: min(550px, calc(100vw - 50px));
    }

    .loader-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 14px;
    }

    .loader-num {
      font-size: clamp(52px, 10vw, 110px);
      line-height: 0.75;
      letter-spacing: -0.07em;
    }

    .loader-line {
      height: 1px;
      background: rgba(255,255,255,.14);
      position: relative;
      overflow: hidden;
    }

    .loader-progress {
      position: absolute;
      inset: 0;
      transform-origin: left;
      transform: scaleX(0);
      background: var(--paper);
    }

    /* ==========================================================
       navbar
       ========================================================== */

    .nav {
      position: fixed;
      left: var(--edge);
      right: var(--edge);
      top: 20px;
      z-index: 500;

      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;

      color: #f5f0e4;
      /* whole nav blends with the background so all text auto-contrasts
         on light + dark sections. the green status dot is rendered as a
         SEPARATE overlay element outside this blend (see .nav-status),
         so it is never inverted. */
      mix-blend-mode: difference;

      font-family: var(--mono);
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: .09em;
    }

    .nav-logo {
      justify-self: start;
      font-weight: 700;
      font-size: 20px;
    }

    /* subline under the logo, kept at the original small nav size.
       Rendered as an <a> (external link to eightythree.eu): inherit the
       nav colour, no underline, and lift opacity on hover. */
    .nav-logo .nav-home {
      color: inherit;
      text-decoration: none;
      transition: opacity .25s;
    }
    .nav-logo .nav-home:hover,
    .nav-logo .nav-home:focus-visible {
      opacity: .72;
    }
    .nav-logo .nav-by {
      display: block;
      font-size: 10px;
      font-weight: 400;
      letter-spacing: .14em;
      opacity: .7;
      margin-top: 4px;
      color: inherit;
      text-decoration: none;
      transition: opacity .25s;
    }

    a.nav-by:hover,
    a.nav-by:focus-visible {
      opacity: 1;
    }

    .nav-middle {
      display: flex;
      gap: 7px;
      align-items: center;
      color: #f5f0e4;
      cursor: pointer;
      pointer-events: auto;
      transition: opacity .25s;
    }

    .nav-middle:hover {
      opacity: .72;
    }

    /* transparent in-flow spacer inside the (blended) nav so the label
       keeps room for the dot; the real coloured dot is .nav-status-dot,
       a sibling of .nav OUTSIDE the blend, so it stays truly green. */
    .nav-status {
      width: 7px;
      height: 7px;
      flex: 0 0 auto;
      border-radius: 50%;
      background: transparent;
    }

    /* real status dot — lives outside the nav's difference blend */
    .nav-status-dot {
      position: fixed;
      top: 20px;
      left: 50%;
      z-index: 501;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #3ddc7f;
      box-shadow: 0 0 8px rgba(61, 220, 127, .8);
      pointer-events: none;
      animation: blink 1.8s ease-in-out infinite;
    }

    @keyframes blink {
      50% {
        opacity: .25;
      }
    }

    .nav-right {
      justify-self: end;
      display: flex;
      gap: 22px;
      align-items: center;
      /* auto-contrast against whatever is behind the nav */
      mix-blend-mode: difference;
    }

    /* SK / CZ / EN language switch — reuses the mono/uppercase nav styling */
    .lang-switch {
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }

    .lang-switch .lang-opt {
      font: inherit;
      text-transform: uppercase;
      letter-spacing: .09em;
      color: inherit;
      background: none;
      border: 0;
      padding: 0;
      cursor: pointer;
      opacity: .55;
      transition: opacity .25s;
    }

    .lang-switch .lang-opt:hover {
      opacity: .85;
    }

    .lang-switch .lang-opt.is-active {
      opacity: 1;
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .lang-switch .lang-sep {
      opacity: .4;
    }

    .progress {
      position: fixed;
      top: 0;
      left: 0;
      height: 2px;
      width: 100%;
      transform: scaleX(0);
      transform-origin: left;
      background: var(--acid);
      z-index: 1000;
    }

    /* ==========================================================
       HERO
       ========================================================== */

    .hero {
      height: 480vh;
      position: relative;
      background: #100e0a;
    }

    .hero-sticky {
      position: sticky;
      top: 0;
      height: 100vh;
      height: 100svh;
      overflow: hidden;
      perspective: 1200px;
    }

    .hero-stage {
      position: absolute;
      inset: 0;
      transform-style: preserve-3d;
      will-change: transform;
      overflow: hidden;
    }

    /* ---- parallax depth layers (fake 2.5D from one image) ---- */

    /* ---- real 3-layer parallax (true cut-out PNG layers) ----
       all layers share identical sizing + object-position so the
       cut-out figure and globe stay perfectly registered over bg */

    .hero-parallax {
      position: absolute;
      inset: 0;
      transform-style: preserve-3d;
      will-change: transform;
    }

    .hero-layer {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: 50% 50%;
      will-change: transform;
      backface-visibility: hidden;
    }

    /* both bg images share the same grade so the reveal reads as one
       continuous image; classic is clipped away left -> right */
    .hero-bg-modern,
    .hero-bg-classic {
      filter:
        saturate(.74)
        contrast(1.13)
        brightness(.76);
      transform: scale(1);
    }

    .hero-bg-modern {
      z-index: 1;
    }

    .hero-bg-classic {
      z-index: 2;
      clip-path: inset(0 0 0 0);   /* JS shrinks the right side */
      will-change: clip-path;
    }

    /* thin pale-blue glowing line that rides the reveal edge */
    .hero-bg-seam {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      width: 3px;
      margin-left: -1px;       /* centre the line on the edge */
      z-index: 3;
      background: #ffffff;
      box-shadow:
        0 0 8px 2px #bff5ff,
        0 0 22px 6px rgba(191,245,255,.85),
        0 0 60px 16px rgba(191,245,255,.5),
        0 0 120px 30px rgba(191,245,255,.25);
      opacity: 0;              /* shown only during phase 2 */
      will-change: left, opacity;
      pointer-events: none;
    }

    .hero-copy-layer {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(
          circle at 56% 48%,
          transparent 0%,
          transparent 20%,
          rgba(8,7,5,.2) 54%,
          rgba(8,7,5,.9) 100%
        );
    }

    .hero-vignette {
      position: absolute;
      inset: 0;
      box-shadow:
        inset 0 0 220px rgba(0,0,0,.85),
        inset 0 -160px 200px rgba(0,0,0,.65);
      pointer-events: none;
    }

    .hero-glow {
      position: absolute;
      width: 43vw;
      aspect-ratio: 1;
      border-radius: 50%;
      left: 50%;
      top: 52%;
      transform: translate(-50%, -50%);
      background: rgba(255, 188, 89, .08);
      filter: blur(60px);
      mix-blend-mode: screen;
      pointer-events: none;
    }

    /* ---- golden ratio overlay (full-screen φ construction) ---- */

    .golden-ratio {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 4;
      pointer-events: none;
      overflow: visible;
      opacity: .9;
    }

    .golden-ratio .gr-frame {
      fill: none;
      stroke: rgba(226,201,138,.4);
      stroke-width: 1.4;
      vector-effect: non-scaling-stroke;
    }

    .golden-ratio .gr-rects rect {
      fill: none;
      stroke: rgba(226,201,138,.26);
      stroke-width: 1.4;
      vector-effect: non-scaling-stroke;
    }

    .golden-ratio .gr-spiral {
      fill: none;
      stroke: url(#gr-gold);
      stroke-width: 2.4;
      vector-effect: non-scaling-stroke;
      filter: drop-shadow(0 0 6px rgba(199,160,78,.5));
    }

    .golden-ratio .gr-beads circle {
      mix-blend-mode: screen;
    }

    .floating-tag {
      position: absolute;
      z-index: 15;
      font: 9px/1 var(--mono);
      letter-spacing: .09em;
      text-transform: uppercase;
      color: rgba(246,239,219,.8);
      padding: 8px 10px;
      border: 1px solid rgba(246,239,219,.24);
      backdrop-filter: blur(7px);
      background: rgba(17,14,9,.16);
    }

    .tag-a {
      left: 11%;
      top: 25%;
    }

    .tag-b {
      right: 8%;
      top: 30%;
    }

    .tag-c {
      right: 19%;
      bottom: 24%;
    }

    .hero-header {
      position: absolute;
      inset: 0;
      z-index: 20;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: var(--edge);
      /* leave room at the bottom for the fixed slide-counter so the
         scroll-cue / footer never overlaps it */
      padding-bottom: calc(var(--edge) + 46px);
      pointer-events: none;
    }

    .hero-kicker {
      display: flex;
      align-items: center;
      gap: 15px;
      font-family: var(--mono);
      font-size: 20px;
      letter-spacing: .12em;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .hero-kicker::before {
      content: "";
      width: 42px;
      height: 1px;
      background: currentColor;
    }

    .hero-title {
      font-family: "GhostByte", var(--sans, sans-serif);
      margin: 0;
      font-size: clamp(66px, 13.5vw, 220px);
      font-weight: 580;
      letter-spacing: -.087em;
      line-height: .73;
      text-transform: uppercase;
    }

    .hero-title span {
      display: block;
      transform-origin: left center;
    }

    /* THE and ALCHEMIST are set in serif (italic) and stay that way */
    .hero-title .serif-swap {
      display: inline-block;
      font-family: var(--serif);
      font-weight: 500;
      font-style: italic;
      letter-spacing: -.02em;
    }

    /* ---- digital glitch on the word "Digital" ----
       Fabio Wallner style (RGB-split + horizontal slice shift),
       slowed down for a calmer, cinematic cadence */

    /* before it fills in, the word shows only as a thin golden
       outline (same gold as the golden-ratio line) at half opacity;
       the glitch "ghost" pseudo-layers flicker on top */
    .hero-title .glitch {
      display: inline-block;
      position: relative;
      color: transparent;
      -webkit-text-stroke: 1px rgba(180, 148, 85, .5);
      text-stroke: 1px rgba(180, 148, 85, .5);
    }

    .hero-title .glitch::before,
    .hero-title .glitch::after {
      content: attr(data-text);
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: transparent;
      overflow: hidden;
      pointer-events: none;
    }

    /* the solid word that FILLS IN left -> right during hero phase 2.
       starts fully clipped (invisible); JS drives its clip-path in
       lockstep with the background dissolve. sits above the glitch. */
    .hero-title .glitch-fill {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      color: var(--paper);
      -webkit-text-stroke: 0;
      text-stroke: 0;
      clip-path: inset(0 100% 0 0);
      pointer-events: none;
      z-index: 2;
    }

    /* clip-path uses % of the element height, so the slices scale
       correctly with the responsive clamp() font-size instead of
       breaking at small / huge sizes like fixed-px rect() would.
       the pseudo layers are themselves coloured (not just a shadow)
       so the fragments remain visible even though the word is hidden */
    .hero-title .glitch::before {
      left: 2px;
      color: var(--paper);
      text-shadow: 1px 0 var(--paper);
      clip-path: inset(50% 0 50% 0);
    }

    /* glitch only runs once DIGITAL has fully filled in (JS adds
       .is-glitching when the fill/dissolve reaches the end) */
    .hero-title .glitch.is-glitching::before {
      animation: glitch-anim-1 5s infinite linear alternate-reverse;
    }

    .hero-title .glitch::after {
      left: -2px;
      color: #bff5ff;
      text-shadow: -1px 0 #bff5ff;
      clip-path: inset(50% 0 50% 0);
    }

    .hero-title .glitch.is-glitching::after {
      animation: glitch-anim-2 7s infinite linear alternate-reverse;
    }

    /* slices are spread across the FULL height (top, middle, bottom) */
    @keyframes glitch-anim-1 {
      0%   { clip-path: inset(4% 0 86% 0);   transform: translate(0); }
      9%   { clip-path: inset(50% 0 50% 0); }
      18%  { clip-path: inset(70% 0 22% 0);  transform: translate(-2px); }
      22%  { clip-path: inset(50% 0 50% 0); }
      38%  { clip-path: inset(34% 0 56% 0);  transform: translate(2px); }
      42%  { clip-path: inset(50% 0 50% 0); }
      58%  { clip-path: inset(88% 0 4% 0);   transform: translate(-1px); }
      62%  { clip-path: inset(50% 0 50% 0); }
      80%  { clip-path: inset(18% 0 70% 0);  transform: translate(2px); }
      84%  { clip-path: inset(50% 0 50% 0); }
      100% { clip-path: inset(50% 0 50% 0);  transform: translate(0); }
    }

    @keyframes glitch-anim-2 {
      0%   { clip-path: inset(50% 0 50% 0);  transform: translate(0); }
      12%  { clip-path: inset(60% 0 32% 0);  transform: translate(2px); }
      16%  { clip-path: inset(50% 0 50% 0); }
      32%  { clip-path: inset(10% 0 80% 0);  transform: translate(-2px); }
      36%  { clip-path: inset(50% 0 50% 0); }
      52%  { clip-path: inset(44% 0 44% 0);  transform: translate(1px); }
      56%  { clip-path: inset(50% 0 50% 0); }
      72%  { clip-path: inset(80% 0 10% 0);  transform: translate(-2px); }
      76%  { clip-path: inset(50% 0 50% 0); }
      92%  { clip-path: inset(26% 0 62% 0);  transform: translate(2px); }
      96%  { clip-path: inset(50% 0 50% 0); }
      100% { clip-path: inset(50% 0 50% 0);  transform: translate(0); }
    }

    .hero-footer {
      margin-top: 28px;
      display: grid;
      grid-template-columns: 1fr;
      gap: 30px;
      align-items: end;
    }

    .hero-desc {
      max-width: 390px;
      font-size: 14px;
      line-height: 1.4;
    }

    /* services list moved to the right-centre (where the index was) */
    .hero-services {
      position: absolute;
      right: var(--edge);
      top: 50%;
      transform: translateY(-50%);
      z-index: 30;
      font-family: var(--mono);
      font-size: 10px;
      line-height: 1.8;
      text-transform: uppercase;
      letter-spacing: .08em;
      text-align: right;
    }

    /* scroll cue moved to the bottom-centre + clickable + arrow */
    .scroll-cue {
      position: absolute;
      left: 50%;
      bottom: calc(var(--edge) + 46px);
      transform: translateX(-50%);
      z-index: 30;
      font: 10px/1 var(--mono);
      text-transform: uppercase;
      letter-spacing: .09em;
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: center;
      color: inherit;
      background: none;
      border: 0;
      padding: 6px 10px;
      cursor: pointer;
      pointer-events: auto;
      transition: opacity .25s, transform .25s;
    }

    .scroll-cue:hover {
      opacity: .7;
    }

    .scroll-cue-arrow {
      font-size: 16px;
      line-height: 1;
      animation: scroll-bounce 1.8s ease-in-out infinite;
    }

    @keyframes scroll-bounce {
      0%, 100% { transform: translateY(0); opacity: .9; }
      50%      { transform: translateY(5px); opacity: .5; }
    }

    .hero-index {
      position: absolute;
      right: var(--edge);
      top: 50%;
      z-index: 30;
      transform: translateY(-50%);
      display: grid;
      gap: 10px;
      font: 9px/1 var(--mono);
      letter-spacing: .08em;
    }

    .hero-index div {
      display: flex;
      align-items: center;
      gap: 8px;
      opacity: .45;
    }

    .hero-index i {
      height: 1px;
      width: 18px;
      display: block;
      background: currentColor;
    }

    .hero-index .active {
      opacity: 1;
    }

    .hero-index .active i {
      width: 40px;
    }

    /* ==========================================================
       why — "the alchemy of the next growth" (azure)
       ========================================================== */

    .why {
      /* tall scroll runway creates the pin duration (same pattern as
         .transform); the sticky child pins for the sequence */
      height: 420vh;
      background: var(--acid);
      color: var(--ink);
      position: relative;
    }

    /* full-screen viewport that GSAP pins (same as .transform-sticky);
       no CSS sticky here — ScrollTrigger handles the pinning */
    .why-sticky {
      position: relative;
      height: 100vh;
      height: 100svh;
      padding: clamp(70px, 10vh, 130px) var(--edge) clamp(50px, 7vh, 90px);
      display: flex;
      flex-direction: column;
      justify-content: center;
      overflow: hidden;
    }

    .why-cols {
      position: relative;
      z-index: 1;
    }
    /* ---- three columns, proportioned + typed like the manifesto:
       the title column takes ~half the row (like .manifesto-split's
       1fr | points), the two content columns mirror the mp-grid ---- */
    .why-cols {
      display: grid;
      /* title ≈ half the row (like .manifesto-split), the two content
         columns share the other half (like the mp-grid) */
      grid-template-columns: 2fr 1fr 1fr;
      column-gap: 3vw;
      row-gap: 48px;
      align-items: start;
    }

    /* title column: scale the big heading to THIS column's width (cqi),
       exactly like .manifesto-left / .manifesto h2 */
    .why-col-title {
      container-type: inline-size;
    }

    /* prevent grid blow-out: columns may shrink below content width */
    .why-col {
      min-width: 0;
    }

    .why-eyebrow {
      font: 10px/1.4 var(--mono);
      text-transform: uppercase;
      letter-spacing: .1em;
      opacity: .7;
      margin-bottom: clamp(20px, 3vh, 36px);
    }

    /* heading: same scale/weight language as .manifesto h2 */
    .why-title {
      margin: 0;
      font-size: clamp(34px, 14.5cqi, 155px);
      line-height: .87;
      letter-spacing: -.07em;
      font-weight: 500;
    }

    .why-title .why-stone {
      display: inline-block;
      height: .9em;
      width: auto;
      vertical-align: baseline;
      margin: 0 -.03em;
      letter-spacing: normal;
    }
    .why-title .serif {
      display: block;
      margin-top: .12em;
      font-family: var(--serif);
      font-style: italic;
      font-weight: 400;
      letter-spacing: -.055em;
    }

    /* intro paragraph: identical to the manifesto body paragraph
       (.manifesto-foot p) — same size, line-height, colour, font.
       scoped with .why-col to beat the generic ".why-col p" rule
       below (which otherwise shrinks it to 13px). */
    .why-col .why-intro {
      margin: clamp(22px, 3vh, 36px) 0 0;
      max-width: none;          /* span the full column (= heading width) */
      font: 400 clamp(17px, 2vw, 28px)/1.2 var(--sans);
      color: var(--ink);
      opacity: 1;
    }

    /* column eyebrow: same as .manifesto-points .mp-eyebrow */
    .why-col-eyebrow {
      font: 10px/1.4 var(--mono);
      text-transform: uppercase;
      letter-spacing: .1em;
      opacity: .6;
      margin-bottom: 16px;
    }

    /* content-column heading: same as .manifesto-points .mp-item h3 */
    .why-col h3 {
      margin: 0 0 16px;
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(24px, 2.6vw, 38px);
      line-height: 1;
      letter-spacing: -.02em;
    }

    /* content-column body: same as .manifesto-points .mp-item p */
    .why-col p {
      margin: 0;
      max-width: 430px;
      font: 13px/1.6 var(--sans);
      opacity: .85;
      color: var(--ink);
    }

    /* three steps stacked under the guide column */
    .why-steps {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: clamp(24px, 3.5vh, 44px);
      padding-top: clamp(16px, 2vh, 24px);
      border-top: 1px solid rgba(17, 16, 13, .25);
      font: 10px/1.4 var(--mono);
      text-transform: uppercase;
      letter-spacing: .12em;
    }

    .why-steps span {
      position: relative;
      padding-left: 22px;
    }

    .why-steps span::before {
      content: "→";
      position: absolute;
      left: 0;
      opacity: .55;
    }

    @media (max-width: 900px) {
      .why-cols {
        grid-template-columns: 1fr;
        gap: clamp(32px, 5vh, 56px);
      }
    }

    /* ==========================================================
       manifesto
       ========================================================== */

    .manifesto {
      background: var(--paper);
      color: var(--ink);
      position: relative;
    }

    /* the pinned viewport box: stays put while its inner content
       scrolls through (driven by GSAP), then releases to next slide */
    .manifesto-pin {
      height: 100vh;
      height: 100svh;
      position: relative;
      /* clip top + sides but let the BOTTOM overflow, so the solar
         system can poke below the pin and be covered by the next
         screen rather than being hard-cut by overflow:hidden */
      overflow: visible;
      clip-path: inset(0 0 -120vh 0);
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }

    .manifesto-inner {
      position: relative;
      z-index: 1;              /* text sits above the solar system */
      padding: 26vh var(--edge) 12vh;
      will-change: transform;
    }

    .section-meta {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      border-top: 1px solid rgba(20,18,14,.33);
      padding-top: 10px;
      margin-bottom: 70px;
      font: 10px/1.4 var(--mono);
      text-transform: uppercase;
      letter-spacing: .1em;
    }

    .section-meta span:last-child {
      text-align: right;
    }

    .manifesto h2 {
      /* scales with the COLUMN width (cqi), so the longest word always
         fits the half-width left column at any resolution */
      font-size: clamp(34px, 14.5cqi, 155px);
      line-height: .87;
      letter-spacing: -.07em;
      font-weight: 500;
      max-width: 1300px;
      margin: 0;
    }

    .manifesto h2 .serif {
      font-family: var(--serif);
      font-style: italic;
      font-weight: 400;
      letter-spacing: -.055em;
    }

    .manifesto-foot {
      margin-top: 70px;
      display: grid;
      grid-template-columns: 1fr;  /* single column so the paragraph
                                      spans the full heading width */
      gap: 10vw;
    }

    .manifesto-foot p {
      max-width: none;          /* span the full column (= heading width) */
      font-size: clamp(17px, 2vw, 28px);
      line-height: 1.2;
      margin: 0;
    }

    .manifesto-foot .small {
      max-width: 430px;
      font: 11px/1.65 var(--mono);
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    /* split the manifesto body: left = title + intro, right = the
       numbered collaboration points (two columns of their own) */
    .manifesto-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8vw;
      align-items: start;
    }

    .manifesto-left {
      position: relative;
      /* size the big heading relative to THIS column's width (not the
         viewport), so it stays proportional and never overflows the
         half-width column — see the cqi-based .manifesto h2 below */
      container-type: inline-size;
    }

    /* collaboration points — reuses the manifesto design language
       (mono eyebrow + serif title + mono body, ink on paper) */
    .manifesto-points {
      margin-top: 0;
    }

    .manifesto-points .mp-head {
      border-top: 1px solid rgba(20,18,14,.33);
      padding-top: 10px;
      margin-bottom: 48px;
      font: 10px/1.4 var(--mono);
      text-transform: uppercase;
      letter-spacing: .1em;
    }

    .manifesto-points .mp-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      column-gap: 3vw;
      row-gap: 48px;
    }

    .manifesto-points .mp-eyebrow {
      font: 10px/1.4 var(--mono);
      text-transform: uppercase;
      letter-spacing: .1em;
      opacity: .6;
      margin-bottom: 16px;
    }

    .manifesto-points .mp-item h3 {
      font-family: var(--serif);
      font-weight: 400;
      font-size: clamp(24px, 2.6vw, 38px);
      line-height: 1;
      letter-spacing: -.02em;
      margin: 0 0 16px;
    }

    .manifesto-points .mp-item p {
      max-width: 430px;
      font: 13px/1.6 var(--sans);
      margin: 0;
      opacity: .85;
    }

    /* ---- button system (primary + secondary) ---- */
    .manifesto-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-top: 32px;
    }

    .btn {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 20px 40px;
      border-radius: 16px;
      font: 600 16px/1 var(--mono);
      letter-spacing: .01em;
      white-space: nowrap;
      cursor: pointer;
      border: 1.5px solid var(--ink);
      transition:
        transform .28s cubic-bezier(.2,.8,.2,1),
        box-shadow .28s,
        background .25s,
        color .25s;
    }

    /* PRIMARY — acid-blue fill, dark text, dark outline */
    .btn-primary {
      background: var(--acid);
      color: var(--ink);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
    }

    /* SECONDARY — outlined, transparent fill, fills on hover */
    .btn-secondary {
      background: transparent;
      color: var(--ink);
    }

    .btn-secondary:hover {
      background: var(--ink);
      color: var(--paper);
    }

    /* orbital "solar system" illustration — half-page, overscanned */
    .manifesto-symbol {
      position: absolute;
      right: -16vw;
      bottom: -8vh;
      width: 55vw;
      min-width: 520px;
      aspect-ratio: 1;
      pointer-events: none;
      z-index: 0;
    }

    .manifesto-symbol .solar {
      width: 100%;
      height: 100%;
      overflow: visible;
    }

    /* thin, evenly-spaced orbit rings */
    .manifesto-symbol .solar-orbits circle {
      fill: none;
      stroke: rgba(20, 18, 14, .14);
      stroke-width: 1;
      vector-effect: non-scaling-stroke;
    }

    /* sun + planets match the lighter orbit-ring tone */
    .manifesto-symbol .solar-sun {
      fill: rgba(20, 18, 14, .14);
    }

    /* planets share the sun's tone; the 3rd (Earth) is acid-blue */
    .manifesto-symbol .planet-dot {
      fill: rgba(20, 18, 14, .14);
    }

    .manifesto-symbol .planet-earth .planet-dot {
      fill: var(--acid);
    }

    /* planet rotation is driven by GSAP (svgOrigin); no CSS origin */

    /* the sun that grows to fill the screen (manifesto -> transform).
       starts as a small dot on the real sun; JS positions it on the
       sun's screen centre and scales it up on scroll. filled with the
       NEXT section's background colour so it bridges the two blocks. */
    /* full-pin overlay; a growing CIRCLE clip reveals the fill. the
       circle radius is driven by JS (0 -> covers the screen), so the
       fill reliably grows gradually from the sun outward. */
    /* acid layer that wipes in from the BOTTOM up over the dark fill,
       behind the title. --wipe: 100 = fully hidden, 0 = fully acid */
    .sun-grow .sun-grow-acid {
      position: absolute;
      inset: 0;
      background: var(--acid);
      --wipe: 100;
      clip-path: inset(calc(var(--wipe) * 1%) 0 0 0);
      -webkit-clip-path: inset(calc(var(--wipe) * 1%) 0 0 0);
      z-index: 1;
    }

    .sun-grow .sun-grow-preview {
      z-index: 2;                  /* title stays above the acid wipe */
    }

    /* phyllotaxis bloom: grows from a point to full screen behind the
       title, in sync with the fill (JS sets --bloom 0 -> 1). azure. */
    .sun-grow .sgp-bloom {
      position: absolute;
      left: 50%;
      top: 50%;
      /* big enough to cover the screen at full scale */
      width: 170vmax;
      height: auto;
      transform: translate(-50%, -50%) scale(var(--bloom, 0));
      transform-origin: center center;
      z-index: 1;                  /* above dark fill, behind the title */
      opacity: .5;
      pointer-events: none;
      /* recolour the light-grey SVG strokes to azure (--acid #bff5ff) */
      filter: brightness(0) saturate(100%)
              invert(85%) sepia(30%) saturate(600%) hue-rotate(150deg)
              brightness(103%);
    }

    .sun-grow {
      position: absolute;
      inset: 0;
      background: #100f0c;         /* dark fill the sun grows into */
      clip-path: circle(0px at 50% 50%);
      -webkit-clip-path: circle(0px at 50% 50%);
      will-change: clip-path;
      pointer-events: none;
      z-index: 5;                  /* above text + solar system */
      overflow: hidden;
    }

    /* content shown INSIDE the growing sun. no image — just the dark
       sun fill with a full-width title that starts as a white OUTLINE
       and fills solid white as you keep scrolling. */
    .sun-grow-preview {
      position: absolute;
      inset: 0;
      /* the white title blends against whatever is behind it: on the
         dark fill it reads white, on the acid wipe it inverts to a
         dark readable tone — auto-adapting like the nav logo */
      mix-blend-mode: difference;
      /* no clipping here — the .sun-grow circle clip already contains
         everything; clipping here would cut off wide title lines */
      display: grid;
      place-items: center;
      --fill: 0;                  /* 0 = outline only, 1 = fully white */
    }

    /* full-width title. the WHITE OUTLINE is drawn by the base element
       (text-stroke + transparent fill). the SOLID WHITE fill is painted
       on the ::after via a sliding gradient clipped to the text
       (background-clip: text) — this is bulletproof across engines,
       unlike clip-path on stroked text. */
    .sun-grow-preview .sgp-title {
      position: relative;
      margin: 0;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      /* shared type metrics for BOTH layers so they register exactly */
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: -.04em;
      line-height: .88;
      /* sized so the longest word ("TRANSFORMATION", ~14 chars) fits
         the viewport width edge-to-edge; wraps to two centred lines */
      /* capped so "TRANSFORMATION" (measured 8.91em wide at this weight /
         letter-spacing; 9.1 leaves room for the stroke) always fits
         inside 100vw - 2*edge */
      font-size: min(clamp(40px, 6.4vw, 150px), calc((100vw - 2 * var(--edge)) / 9.1));
    }

    /* both layers occupy the same box; outline is in normal flow and
       sets the title height, the white fill overlays it absolutely */
    .sun-grow-preview .sgp-layer {
      display: block;
      padding: 0 var(--edge);
      box-sizing: border-box;
      width: 100%;
      text-align: center;
      font: inherit;
      letter-spacing: inherit;
      text-transform: inherit;
    }

    .sun-grow-preview .sgp-fill {
      position: absolute;
      inset: 0;
    }

    /* "THE" in serif, italic for an alchemical feel */
    .sun-grow-preview .sgp-serif {
      font-family: var(--serif);
      font-style: italic;
      font-weight: 400;
      letter-spacing: -.02em;
    }

    /* base layer = WHITE OUTLINE (transparent fill) */
    .sun-grow-preview .sgp-outline {
      color: transparent;
      -webkit-text-stroke: 1.5px rgba(243,238,227,.92);
      text-stroke: 1.5px rgba(243,238,227,.92);
    }

    /* fill layer = SOLID WHITE revealed left->right by a sliding
       gradient clipped to the glyphs (background-clip: text) */
    .sun-grow-preview .sgp-fill {
      color: transparent;
      -webkit-text-stroke: 0;
      text-stroke: 0;
      background-image: linear-gradient(
        90deg,
        var(--white) 0 50%,
        transparent 50% 100%
      );
      background-size: 200% 100%;
      background-repeat: no-repeat;
      /* --fill-pos written by JS: 100% = nothing, 0% = fully white */
      background-position-x: var(--fill-pos, 100%);
      -webkit-background-clip: text;
      background-clip: text;
    }

    /* ==========================================================
       about — split: scrolling bio (left) + fixed photo (right)
       ========================================================== */

    .about {
      background: var(--acid);
      color: var(--ink);
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: start;
    }

    /* left column scrolls normally; right column photo is sticky and
       stays in view while the bio scrolls past */
    .about-left {
      padding: 16vh var(--edge);
      /* headings scale with this column's width (cqi) so they stay
         proportional and never overflow at smaller resolutions */
      container-type: inline-size;
      position: relative;
      /* no overflow:hidden here — it would break the sticky decoration
         and clip it; the img is sized to stay within half the column */
    }

    /* thin-line circle decoration — single layer in the LEFT column.
       sticky so it stays vertically centred in the viewport while the
       bio scrolls; zero height so it doesn't push the text; biased to
       the right edge (toward the screen centre) and at most half the
       left column wide. */
    .about-chaos-left {
      position: sticky;
      top: 50vh;
      height: 0;                 /* no flow space — pure decoration */
      z-index: 0;                /* behind the scrolling text */
      pointer-events: none;
    }

    .about-chaos-circle {
      position: absolute;
      /* centre the circle on the column seam (≈ screen centre):
         its CENTRE sits at the left column's right edge, so the right
         half slides under the photo and only the left half shows. */
      left: 100%;
      top: 0;
      width: 90%;                /* spans toward the screen centre */
      height: auto;
      transform: translate(-50%, -50%);
      overflow: visible;
    }
    /* hairline rings, same tone as the manifesto orbit rings */
    .about-chaos-circle circle {
      fill: none;
      stroke: rgba(20, 18, 14, .22);
      stroke-width: 1;
      vector-effect: non-scaling-stroke;
    }
    .about-chaos-circle .about-chaos-dot {
      fill: rgba(20, 18, 14, .22);
      stroke: none;
    }
    /* keep the left column's text/content above the decoration */
    .about-left > *:not(.about-chaos-left) {
      position: relative;
      z-index: 1;
    }

    /* the copied manifesto intro: mirror the manifesto typography
       (it no longer carries the .manifesto class, which collided with
       the manifesto's own ScrollTrigger / gsap targets) */
    .about-intro {
      background: transparent;
      padding: 0;
      min-height: 0;
      margin-bottom: 1vh;
    }

    .about-intro h2 {
      /* scales with the column width (cqi) */
      font-size: clamp(32px, 11cqi, 92px);
      line-height: .9;
      letter-spacing: -.06em;
      font-weight: 500;
      margin: 0;
    }

    .about-intro h2 .serif {
      font-family: var(--serif);
      font-style: italic;
      font-weight: 400;
      letter-spacing: -.055em;
    }

    .about-intro .manifesto-foot {
      margin-top: 32px;
      display: block;
    }

    .about-intro .manifesto-foot p {
      max-width: none;
      font-size: clamp(16px, 1.6vw, 22px);
      line-height: 1.3;
      margin: 0;
    }

    .about-intro .manifesto-actions {
      margin-top: 32px;
    }

    .about-inner {
      max-width: 560px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .about-eyebrow {
      font: 10px/1 var(--mono);
      text-transform: uppercase;
      letter-spacing: .14em;
      opacity: .6;
    }

    .about-title {
      margin: 0;
      /* scales with the column width (cqi) */
      font-size: clamp(32px, 11cqi, 92px);
      line-height: .95;
      letter-spacing: -.05em;
      font-weight: 560;
    }

    .about-title .serif {
      font-family: var(--serif);
      font-style: italic;
      font-weight: 400;
    }

    .about-lead {
      margin: 0;
      font-size: clamp(18px, 1.8vw, 24px);
      line-height: 1.35;
    }

    .about-left p {
      margin: 0;
      font: 15px/1.65 var(--sans);
      opacity: .82;
    }

    .about-facts {
      list-style: none;
      margin: 20px 0 0;
      padding: 24px 0 0;
      border-top: 1px solid rgba(0,0,0,.3);
      display: grid;
      gap: 12px;
      font: 13px/1.4 var(--mono);
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .about-facts strong {
      font-weight: 700;
    }

    /* long-form bio formatting */
    .about-inner strong {
      font-weight: 700;
      opacity: 1;
    }

    .about-inner h3 {
      margin: 28px 0 0;
      font-size: clamp(22px, 2.4vw, 34px);
      line-height: 1.05;
      letter-spacing: -.03em;
      font-weight: 560;
    }

    .about-quote {
      /* start flush at the LEFT of the text column, bleed further into
         the RIGHT width; no box — the highlight is per text line */
      position: relative;
      margin: 22px -24% 34px 0;
      /* leave room for the big opening quote mark on the left */
      padding: 44px 0 0 .35em;
      border: 0;
      background: none;
      max-width: none;
      font-family: var(--serif);
      font-style: italic;
      font-size: clamp(20px, 2.1vw, 26px);
      line-height: 1.75;      /* room so the per-line strips don't touch */
    }

    /* big decorative opening quotation mark */
    .about-quote::before {
      position: absolute;
      font-family: var(--serif);
      font-style: normal;
      line-height: 1;
      color: var(--ink);
      opacity: .22;
      pointer-events: none;
      content: "\201C";          /* “ */
      left: -.12em;
      top: -.08em;
      font-size: clamp(74px, 8vw, 130px);
    }

    /* highlighter effect: a white strip sits behind the text and hugs
       each wrapped line (ragged right), like a marker drawn over the
       words — not a full rectangular fill. box-decoration-break: clone
       makes the padding/background repeat on every line fragment. */
    .about-quote-mark {
      display: inline;
      background: var(--white);
      color: var(--ink);
      padding: .08em .18em;
      /* slightly loosen so successive lines overlap into clean strips */
      -webkit-box-decoration-break: clone;
      box-decoration-break: clone;
      box-shadow:
        .18em 0 0 var(--white),
        -.18em 0 0 var(--white);   /* round off the line-start/-end gaps */
    }

    .about-list {
      list-style: none;
      margin: 4px 0;
      padding: 0;
      display: grid;
      gap: 12px;
      font: 15px/1.5 var(--sans);
      opacity: .82;
    }

    .about-list li {
      position: relative;
      padding-left: 20px;
    }

    .about-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: .55em;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--ink);
    }

    .about-list strong { opacity: 1; }

    .about-rule {
      border: 0;
      border-top: 1px solid rgba(0,0,0,.3);
      margin: 24px 0;
      width: 100%;
    }

    .about-right {
      position: sticky;
      top: 0;
      height: 100vh;
      height: 100svh;
      overflow: hidden;
      z-index: 2;               /* photo covers the illustration's right half */
    }

    .about-right img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    /* RIGHT: azure lines, above the photo */
    @media (max-width: 800px) {
      .about-grid {
        grid-template-columns: 1fr;
      }
      .about-right {
        position: relative;
        height: 70svh;
        order: -1;              /* photo on top on mobile */
      }
      .about-left {
        padding: 10vh var(--edge);
      }
      .about-quote {
        margin: 16px 0;        /* no bleed on stacked mobile layout */
      }
    }

    /* ==========================================================
       transformation
       ========================================================== */

    .transform {
      height: 520vh;              /* scroll track for 6 word pairs */
      position: relative;
      background: var(--acid);     /* acid-blue background */
      color: var(--ink);
    }

    .transform-sticky {
      position: sticky;
      height: 100vh;
      height: 100svh;
      top: 0;
      overflow: hidden;
      background: var(--acid);
    }

    /* full-screen noise-landscape background */
    .tp-rings {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }

    .tp-landscape {
      position: absolute;
      /* oversized so there's room to drift with the mouse without
         exposing the edges */
      width: 120%;
      height: 120%;
      left: -10%;
      top: -10%;
      object-fit: cover;
      display: block;
      opacity: .5;
      /* match the dark ink tone used on the other illustrations
         (the SVG strokes are light grey #ccc) */
      filter: brightness(0) saturate(100%)
              invert(9%) sepia(10%) saturate(600%) brightness(95%);
      will-change: transform;
    }

    .tp-stage {
      position: absolute;
      inset: 0;
      z-index: 1;              /* text/arrows above the background rings */
      padding: 7vh var(--edge);
      display: flex;
      flex-direction: column;
      justify-content: space-between;  /* fill full height: gap top+bottom */
      gap: 0;
    }

    /* all pairs listed at once: from-word (left) ... arrow ... to-word
       (right). the arrow travels from the left word to the right. */
    .tp-row {
      position: relative;
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: baseline;
      column-gap: clamp(180px, 22vw, 420px);  /* arrow lane */
    }

    .tp-row .tp-from,
    .tp-row .tp-to {
      /* sized to fill the row height so the 6 rows span the screen */
      font-size: clamp(40px, 11vh, 150px);
      line-height: 1;
      letter-spacing: -.05em;
      font-weight: 560;
      text-transform: uppercase;
      color: var(--ink);
      white-space: nowrap;
    }

    /* left word in serif italic; a strike line grows across it from
       the left (width driven by --strike: 0 -> 1) as the arrow passes.
       starts hidden + lifted — revealed one-by-one as you scroll into
       the section, before the pin engages. */
    .tp-row .tp-from {
      position: relative;
      display: inline-block;
      justify-self: start;
      font-family: var(--serif);
      font-style: italic;
      font-weight: 400;
      letter-spacing: -.02em;
      text-transform: none;
      --strike: 0;
      opacity: 0;
      transform: translateY(28px);
    }

    .tp-row .tp-from::after {
      content: "";
      position: absolute;
      left: 0;
      top: 52%;
      height: .06em;
      width: calc(var(--strike) * 100%);
      background: var(--ink);
      transform: translateY(-50%);
      pointer-events: none;
    }

    /* right word starts hidden; appears WHOLE once the arrow arrives
       (opacity driven by --reveal). left-aligned so all right words
       and all arrows line up on the same axis. */
    .tp-row .tp-to {
      justify-self: start;
      text-align: left;
      --reveal: 0;
      opacity: var(--reveal);
    }

    /* per-row arrow: absolutely positioned, JS moves its left% from
       just after the from-word to just before the to-word */
    .tp-row .tp-arrow {
      position: absolute;
      top: 50%;
      left: 0;
      transform: translate(-50%, -50%);
      font-size: clamp(40px, 9vh, 130px);
      line-height: 1;
      color: var(--ink);
      /* bolder than the right-hand heading (which is 560) */
      font-weight: 800;
      -webkit-text-stroke: 1.5px var(--ink);  /* extra visual weight */
      opacity: 0;
      pointer-events: none;
      will-change: left, opacity;
    }

    @media (max-width: 800px) {
      .tp-row {
        grid-template-columns: 1fr;
        row-gap: 2px;
      }
      .tp-row .tp-to {
        text-align: left;
        font-size: clamp(40px, min(11vh, 15vw), 150px);
      }
      .tp-row .tp-from {
        font-size: clamp(40px, min(11vh, 12vw), 150px);
      }
      .tp-row .tp-arrow {
        display: none;
      }
    }

    /* ==========================================================
       capabilities
       ========================================================== */

    .capabilities {
      background: var(--acid);
      color: var(--ink);
      overflow: hidden;
    }

    .caps-intro {
      min-height: 82vh;
      padding: 130px var(--edge) 70px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
    }

    /* wavy-fabric background filling the intro, gently undulating */
    .caps-fabric {
      position: absolute;
      inset: 0;
      z-index: 0;                /* behind the text */
      /* oversized so the wave motion never exposes the edges */
      width: 120%;
      height: 120%;
      left: -10%;
      top: -10%;
      object-fit: cover;
      pointer-events: none;
      opacity: .4;
      /* dark ink tint, like the other illustrations on the acid bg */
      filter: brightness(0) saturate(100%)
              invert(9%) sepia(10%) saturate(600%) brightness(95%);
      transform-origin: center center;
      will-change: transform;
      /* sinusoidal undulation is driven by JS (real Math.sin) */
    }

    /* keep heading + copy above the fabric */
    .caps-intro h2,
    .caps-intro-bottom {
      position: relative;
      z-index: 1;
    }

    .caps-intro h2 {
      font-size: clamp(70px, 13vw, 200px);
      line-height: .74;
      letter-spacing: -.09em;
      font-weight: 570;
      text-transform: uppercase;
      margin: 0;
    }

    .caps-intro-bottom {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 15vw;
      align-items: end;
    }

    .caps-intro-bottom p {
      max-width: 520px;
      font-size: 21px;
      line-height: 1.15;
      margin: 0;
    }

    .caps-intro-bottom div {
      font: 10px/1.6 var(--mono);
      text-transform: uppercase;
    }

    .caps-horizontal {
      height: 100vh;
      height: 100svh;
      overflow: hidden;
      position: relative;
    }

    .caps-track {
      height: 100%;
      display: flex;
      width: 400vw;
    }

    .cap-card {
      width: 100vw;
      height: 100%;
      flex-shrink: 0;
      padding: var(--edge);
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;      /* text group centred vertically */
      border-top: 1px solid rgba(0,0,0,.35);
      border-right: 1px solid rgba(0,0,0,.35);
      overflow: hidden;
      /* default white; the most-visible card turns acid (JS adds
         .is-active) and switches as you scroll between them */
      background: var(--white);
      transition: background .4s ease;
    }

    .cap-card.is-active {
      background: var(--acid);
    }

    .cap-number {
      font: 10px/1 var(--mono);
      letter-spacing: .1em;
      text-transform: uppercase;
      margin-bottom: 14px;     /* tight just above the title */
    }

    .cap-title {
      font-size: clamp(92px, 16vw, 255px);
      line-height: .7;
      letter-spacing: -.09em;
      text-transform: uppercase;
      font-weight: 560;
      margin: 0;
      z-index: 5;
      pointer-events: none;
    }

    .cap-desc {
      width: min(400px, 34vw);
      margin-left: auto;
      margin-top: 40px;
      font-size: clamp(17px, 1.8vw, 26px);
      line-height: 1.16;
      z-index: 5;
    }

    .cap-art {
      position: absolute;
      right: 10%;
      top: 8%;
      height: 65%;
      width: 43%;
      overflow: hidden;
      border-radius: 50% 50% 3% 3%;
      transform: rotate(5deg);
      box-shadow: 0 30px 90px rgba(0,0,0,.14);
    }

    .cap-art img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter:
        grayscale(.35)
        sepia(.2)
        contrast(1.1);
    }

    .cap-card:nth-child(even) .cap-art {
      border-radius: 5%;
      transform: rotate(-4deg);
      right: 14%;
    }

    .cap-circle {
      position: absolute;
      width: 30vw;
      aspect-ratio: 1;
      right: 8%;
      top: calc(50% - 15vw);     /* vertically centred (height = 30vw) */
      transform-origin: center center;
      will-change: transform;
      overflow: visible;
    }

    /* line-art symbols drawn inside each card's cap-circle svg */
    .cap-circle line,
    .cap-circle circle,
    .cap-circle rect,
    .cap-circle polyline,
    .cap-circle path {
      fill: none;
      stroke: rgba(0, 0, 0, .3);
      /* constant hairline: non-scaling-stroke keeps it the same on-screen
         width at every zoom level (the svg is scaled by GSAP) */
      stroke-width: 0.8px;
      stroke-linecap: round;
      stroke-linejoin: round;
      vector-effect: non-scaling-stroke;
    }

    /* ==========================================================
       process
       ========================================================== */

    .process {
      background: #e7dfcc;
      color: var(--ink);
      padding: 130px var(--edge);
      position: relative;
    }

    .process-head {
      display: grid;
      grid-template-columns: 1fr 2fr;
      gap: 40px;
      align-items: end;
      margin-bottom: 100px;
    }

    .process-head .eyebrow {
      font: 10px/1.5 var(--mono);
      text-transform: uppercase;
    }

    .process-head h2 {
      /* sits in the right 2/3 (the left 1/3 used to hold the eyebrow);
         the --swap variant below resets this to auto */
      grid-column: 2;
      margin: 0;
      font-size: clamp(55px, 8vw, 125px);
      line-height: .86;
      letter-spacing: -.07em;
      font-weight: 500;
    }

    /* swapped variant: big title on the LEFT, eyebrow sits just to its
       RIGHT (close to the title, not pushed to the far edge) */
    .process-head--swap {
      grid-template-columns: auto 1fr;
      gap: 60px;
      align-items: end;        /* eyebrow sits at the baseline of "pomôcť" */
    }

    /* Help slide: no big top padding so the header is at the very top
       of the section and freezes as soon as the SECTION reaches the
       top; the steps table then scrolls underneath its bottom line */
    #slide-03.process {
      padding-top: 0;
    }

    #slide-03 .process-head--swap {
      position: sticky;
      top: 0;
      z-index: 5;
      margin-bottom: 0;
      /* keep the original space above the text, but inside the sticky
         header so it still freezes the moment the section hits the top */
      padding: 130px 0 24px;
      background: #e7dfcc;              /* = .process bg, hides rows behind */
      border-bottom: 1px solid rgba(0,0,0,.3);
    }

    .process-head--swap h2 {
      grid-column: auto;
    }

    .process-head--swap .eyebrow {
      align-self: end;
    }

    .steps {
      border-top: 1px solid rgba(0,0,0,.3);
    }

    /* 4-column variant (Help slide): num | name | desc | desc copy */
    .steps--4col {
      border-top: none;        /* the sticky header's bottom line serves */
      margin-top: 130px;       /* same breathing room as above the header */
    }

    .steps--4col .step {
      grid-template-columns: 80px 1.1fr 1.5fr 1.5fr;
    }

    .step {
      min-height: 205px;
      border-bottom: 1px solid rgba(0,0,0,.3);
      display: grid;
      grid-template-columns: 80px 1.1fr 1.5fr;
      align-items: center;
      gap: 30px;
      position: relative;
      overflow: hidden;
    }

    .step-num {
      font: 10px/1 var(--mono);
    }

    .step-name {
      font-size: clamp(35px, 5vw, 72px);
      letter-spacing: -.055em;
      line-height: .9;
    }

    .step-desc {
      max-width: 540px;
      font: 11px/1.55 var(--mono);
      text-transform: uppercase;
    }

    /* ---- Help slide (4-col) step content ---- */
    .steps--4col .step {
      align-items: start;
      min-height: 0;
      padding: 40px 0;
      overflow: visible;
    }

    /* typography matched to the manifesto collaboration points so the
       whole site stays consistent: serif num, serif title clamp,
       13px sans body + list */
    .steps--4col .step-num {
      font-family: var(--serif);
      font-style: italic;
      font-size: 18px;
      padding-top: 4px;
    }

    .steps--4col .step-name {
      font-size: clamp(30px, 3.4vw, 52px);
      line-height: 1;
      letter-spacing: -.03em;
      font-weight: 500;
    }

    .steps--4col .step-name .serif {
      font-family: var(--serif);
      font-style: italic;
      font-weight: 400;
      letter-spacing: -.02em;
      color: #2b47d6;              /* blue accent like the mock */
    }

    /* readable paragraph (matches .mp-item p) */
    .steps--4col .step-desc {
      max-width: none;
      font: 13px/1.6 var(--sans);
      text-transform: none;
      letter-spacing: 0;
      opacity: .85;
    }

    .steps--4col .step-list {
      margin: 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 10px;
      font: 13px/1.6 var(--sans);
      opacity: .85;
    }

    .steps--4col .step-list li {
      position: relative;
      padding-left: 18px;
    }

    .steps--4col .step-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: .5em;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: currentColor;   /* same colour as the text */
    }

    /* hover a row -> acid-blue background sweeps in */
    .steps--4col .step {
      transition: background .3s ease;
    }

    .steps--4col .step:hover {
      background: var(--acid);
    }

    /* ==========================================================
       archive/cases
       ========================================================== */

    /* ==========================================================
       painpoints — FIXED overlay window on the transform↔partners
       boundary (no section / no extra scroll space)
       ========================================================== */

    .pains-overlay {
      position: fixed;
      inset: 0;
      z-index: 600;              /* above sections, below nav/cursor */
      display: grid;
      place-items: center;
      pointer-events: none;      /* never blocks scroll */
      color: #eee6d6;
      visibility: hidden;        /* fully hidden until active */
      overflow: hidden;          /* mask the window while it's rolled
                                    below / above the viewport */
    }

    .pains-overlay.is-visible {
      visibility: visible;
    }

    /* dimmed + blurred backdrop behind the window (modal-style). JS
       fades it in via opacity as the window opens. */
    .pains-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(8, 7, 5, .55);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      opacity: 0;
      pointer-events: none;
    }

    /* the central line the window grows from (fades out as it opens) */
    .pains-line {
      position: absolute;
      left: 50%;
      top: 50%;
      width: min(1100px, calc(100vw - 2 * var(--edge)));
      height: 1px;
      transform: translate(-50%, -50%);
      background: rgba(238, 230, 214, .35);
      opacity: 1;
      pointer-events: none;
      z-index: 2;
    }

    /* the centred floating WINDOW: clipped to the central line, opens
       top + bottom (JS drives the clip-path). border + shadow make it
       read as a panel above the blurred backdrop. */
    .pains-window {
      position: relative;
      z-index: 3;
      width: min(1100px, calc(100vw - 2 * var(--edge)));
      max-height: calc(100vh - 2 * var(--edge));
      max-height: calc(100svh - 2 * var(--edge));
      overflow: hidden;
      background: var(--ink);          /* solid opaque black (heading ink) */
      /* neon frame — matches the hero image-reveal seam line */
      border: 1.5px solid #ffffff;
      box-shadow:
        0 0 8px 2px #E24667,
        0 0 22px 6px rgba(226,70,103,.85),
        0 0 60px 16px rgba(226,70,103,.5),
        0 0 120px 30px rgba(226,70,103,.25),
        inset 0 0 24px rgba(226,70,103,.35);
      /* starts parked below the viewport; JS rolls it up into place
         (translateY 100% -> 0) and out through the top on close */
      transform: translateY(100%);
      will-change: transform;
    }

    .pains-inner {
      padding: clamp(32px, 5vh, 70px) clamp(28px, 4vw, 70px);
      opacity: 0;                      /* JS fades it in as it opens */
    }

    .pains-title {
      margin: 0;
      font-size: clamp(30px, 4vw, 60px);
      line-height: .95;
      letter-spacing: -.04em;
      font-weight: 560;
    }

    /* "familiar?" — serif italic BOLD, solid #E24667 fill (no outline) */
    .pains-title .serif {
      font-family: var(--serif);
      font-style: italic;
      font-weight: 700;
      letter-spacing: -.02em;
      color: #E24667;
    }

    .pains-lead {
      margin: clamp(16px, 2vh, 24px) 0 clamp(24px, 3.5vh, 40px);
      max-width: 760px;
      font-size: clamp(14px, 1.4vw, 19px);
      line-height: 1.4;
      color: rgba(238,230,214,.7);
    }

    .pains-grid {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      grid-template-columns: 1fr 1fr;
      /* gaps both ways — between columns AND between rows */
      column-gap: clamp(24px, 4vw, 64px);
      row-gap: clamp(16px, 2.5vh, 32px);
    }

    .pains-grid li {
      position: relative;
      /* only 4 items — bigger, generous even padding (no dash marker) */
      padding: clamp(22px, 3.2vh, 40px) clamp(22px, 2.2vw, 40px);
      font-size: clamp(15px, 1.25vw, 20px);
      line-height: 1.4;
      color: rgba(238,230,214,.72);
      transform-origin: center center;
      transition: background .25s, color .2s;
      will-change: transform;
    }

    .pains-grid strong {
      display: block;
      font-weight: 600;
      font-size: clamp(18px, 1.7vw, 28px);
      color: var(--paper);
      margin-bottom: 6px;
      transition: color .2s;
    }

    /* each item lights up #E24667 as its beat is reached; text colour
       stays the same as in the unlit state */
    .pains-grid li.is-lit {
      background: #E24667;
    }

    /* ==========================================================
       partners — "Sme partneri"
       ========================================================== */

    .partners {
      background: #0e0d0b;              /* same dark tone as .cases */
      color: #eee6d6;
      min-height: 100vh;
      min-height: 100svh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: clamp(90px, 12vh, 160px) var(--edge);
      position: relative;
      /* clip zoomed glyphs so a scaled symbol never spills past the
         right edge and creates a horizontal scrollbar — that scrollbar
         vanishing on pin-release was causing the page to jump left */
      overflow: hidden;
    }

    /* two large thin light background circles (mouse-reactive) */
    .partners-rings {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }

    .partners-ring {
      position: absolute;
      border-radius: 50%;
      border: 1px solid rgba(238, 230, 214, .16);
      aspect-ratio: 1;
      will-change: transform;
    }

    .partners-ring-a {
      width: 95vh;
      left: -24vh;
      top: -22vh;
    }

    .partners-ring-b {
      width: 125vh;
      right: -36vh;
      bottom: -42vh;
    }

    /* left intro (manifesto-sized) + right 3-column grid. the left
       column is ~half the row (like the manifesto split) so the cqi
       heading renders at the SAME scale as the manifesto h2 */
    .partners-layout {
      position: relative;
      z-index: 1;               /* content above the background rings */
      display: grid;
      /* left ≈ manifesto half-column width so the cqi heading matches
         the manifesto h2 scale; right keeps a bit more room for cards */
      grid-template-columns: 44fr 56fr;
      gap: clamp(40px, 5vw, 90px);
      align-items: start;
    }

    .partners-inner {
      position: sticky;
      top: clamp(90px, 14vh, 160px);
      /* size the big heading relative to THIS column's width (cqi),
         exactly like .manifesto-left, so both headings match */
      container-type: inline-size;
    }

    /* heading uses the SAME rules as .manifesto h2 (light on dark) */
    .partners-title {
      margin: 0;
      font-size: clamp(34px, 14.5cqi, 155px);
      line-height: .87;
      letter-spacing: -.07em;
      font-weight: 500;
      text-transform: uppercase;
      color: var(--paper);
    }

    .partners-title .serif {
      font-family: var(--serif);
      font-style: italic;
      font-weight: 400;
      text-transform: none;
      letter-spacing: -.055em;
      /* same light colour as the rest of the heading (not gold) */
      color: var(--paper);
    }

    /* same size as the manifesto body paragraph */
    .partners-lead {
      margin: clamp(40px, 6vh, 70px) 0 0;
      max-width: 520px;
      font-size: clamp(17px, 2vw, 28px);
      line-height: 1.2;
      color: rgba(238,230,214,.82);
    }

    .partners-actions {
      margin-top: clamp(32px, 5vh, 56px);
    }

    /* ---- the three partnership-mode columns ---- */

    .partners-cols {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: clamp(24px, 2.4vw, 44px);
    }

    .partner-card {
      display: flex;
      flex-direction: column;
      padding-top: 22px;
      border-top: 1px solid rgba(238,230,214,.2);
    }

    /* relationship / involvement / transformation glyphs — thin azure
       line drawings above each card */
    .partner-glyph {
      display: block;
      width: 100%;              /* span the full card width */
      height: auto;
      margin-bottom: 28px;
      overflow: visible;
    }

    .partner-glyph circle,
    .partner-glyph rect,
    .partner-glyph line,
    .partner-glyph polygon {
      fill: none;
      stroke: var(--acid);
      stroke-width: 1.4;
      vector-effect: non-scaling-stroke;
      stroke-linejoin: round;
      stroke-linecap: round;
    }

    .partner-num {
      font: 10px/1 var(--mono);
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 20px;
    }

    .partner-kind {
      /* same size as .partner-heading, but serif + azure */
      font-family: var(--serif);
      font-style: italic;
      font-weight: 400;
      font-size: clamp(30px, 3.4vw, 52px);
      line-height: 1;
      letter-spacing: -.02em;
      text-transform: none;
      color: var(--acid);
      margin-bottom: 14px;
    }

    .partner-heading {
      margin: 0 0 18px;
      /* same style as the Help section step titles (.steps--4col .step-name) */
      font-size: clamp(30px, 3.4vw, 52px);
      line-height: 1;
      letter-spacing: -.03em;
      font-weight: 500;
      color: var(--paper);
    }

    .partner-desc {
      margin: 0 0 22px;
      font-size: 14px;
      line-height: 1.55;
      color: rgba(238,230,214,.74);
    }

    .partner-list {
      list-style: none;
      margin: 0 0 26px;
      padding: 0;
      display: grid;
      gap: 12px;
    }

    .partner-list li {
      position: relative;
      padding-left: 18px;
      font-size: 13px;
      line-height: 1.45;
      color: rgba(238,230,214,.7);
    }

    .partner-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: .5em;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--gold);
    }

    .partner-cta {
      margin-top: auto;
      font: 11px/1.4 var(--mono);
      text-transform: uppercase;
      letter-spacing: .04em;
      color: var(--paper);
      border-top: 1px solid rgba(238,230,214,.18);
      padding-top: 16px;
      transition: color .2s;
    }

    .partner-cta:hover {
      color: var(--gold);
    }

    /* tablet: stack intro above the columns, keep 3 (or wrap to 1) */
    @media (max-width: 1024px) {
      .partners-layout {
        grid-template-columns: 1fr;
        gap: clamp(40px, 7vh, 72px);
      }
      .partners-inner {
        position: static;
        max-width: 760px;
      }
    }

    @media (max-width: 800px) {
      .partners {
        min-height: auto;
        padding: 80px var(--edge);
      }
      .partners-cols {
        grid-template-columns: 1fr;
        gap: 0;
      }
      .partner-card {
        padding: 32px 0;
      }
      .partner-cta {
        margin-top: 20px;
      }
    }

    .cases {
      background: #0e0d0b;
      color: #eee6d6;
      padding: 120px var(--edge);
    }

    .cases-title {
      font-size: clamp(72px, 12vw, 185px);
      letter-spacing: -.09em;
      line-height: .72;
      text-transform: uppercase;
      font-weight: 560;
      margin: 0 0 90px;
    }

    .case {
      border-top: 1px solid rgba(255,255,255,.22);
      padding: 16px 0 80px;
      display: grid;
      grid-template-columns: .5fr 1fr 1.15fr;
      gap: 50px;
      position: relative;
    }

    .case-id {
      font: 10px/1 var(--mono);
    }

    .case h3 {
      font-size: clamp(36px, 5vw, 72px);
      font-weight: 450;
      line-height: .9;
      letter-spacing: -.055em;
      margin: 0;
    }

    .case-copy {
      max-width: 500px;
    }

    .case-copy p {
      margin: 0 0 35px;
      font-size: 18px;
      line-height: 1.28;
    }

    .case-tags {
      display: flex;
      gap: 7px;
      flex-wrap: wrap;
    }

    .case-tags span {
      border: 1px solid rgba(255,255,255,.3);
      padding: 8px 10px;
      font: 9px/1 var(--mono);
      text-transform: uppercase;
      border-radius: 100px;
    }

    .case-image {
      grid-column: 2 / 4;
      height: min(67vw, 720px);
      margin-top: 55px;
      overflow: hidden;
      position: relative;
    }

    .case-image img {
      width: 100%;
      height: 120%;
      object-fit: cover;
      object-position: center 20%;
      filter: saturate(.5) contrast(1.05);
    }

    .case-image::after {
      content: "";
      position: absolute;
      inset: 0;
      box-shadow: inset 0 0 100px rgba(0,0,0,.55);
    }

    /* ==========================================================
       finale
       ========================================================== */

    .finale {
      height: 210vh;
      background: #0e0d0b;        /* dark, like the other dark sections */
      position: relative;
    }

    .finale-sticky {
      position: sticky;
      top: 0;
      height: 100vh;
      height: 100svh;
      overflow: hidden;
      display: grid;
      place-items: center;
    }

    .final-orbit {
      position: absolute;
      width: min(70vw, 920px);
      aspect-ratio: 1;
      border-radius: 50%;
      border: 1px solid rgba(238,223,184,.45);
    }

    .final-orbit::before {
      content: "";
      position: absolute;
      inset: 9%;
      border-radius: 50%;
      border: 1px solid rgba(238,223,184,.2);
    }

    .final-symbol {
      position: absolute;
      font-family: var(--serif);
      font-size: min(41vw, 560px);
      line-height: 1;
      color: rgba(236,219,177,.1);
    }

    .final-content {
      z-index: 3;
      text-align: center;
      width: min(1300px, calc(100vw - 35px));
    }

    .final-content .label {
      font: 10px/1 var(--mono);
      text-transform: uppercase;
      letter-spacing: .1em;
      margin-bottom: 25px;
    }

    .final-content h2 {
      margin: 0;
      font-size: clamp(65px, 12vw, 180px);
      font-weight: 520;
      line-height: .78;
      letter-spacing: -.085em;
      text-transform: uppercase;
    }

    .final-content h2 em {
      display: block;
      font-family: var(--serif);
      text-transform: none;
      font-weight: 400;
    }

    .cta {
      display: inline-flex;
      align-items: center;
      gap: 30px;
      margin-top: 55px;
      padding: 17px 22px;
      border: 1px solid rgba(240,226,192,.7);
      border-radius: 100px;
      font: 10px/1 var(--mono);
      text-transform: uppercase;
      letter-spacing: .08em;
      transition:
        background .25s,
        color .25s,
        transform .25s;
    }

    .cta::after {
      content: "↗";
      font-size: 17px;
    }

    .cta:hover {
      background: var(--paper);
      color: var(--red);
      transform: scale(1.035);
    }

    footer {
      background: #0b0a08;
      color: var(--paper);
      padding: clamp(60px, 9vh, 130px) var(--edge) clamp(28px, 4vh, 48px);
      min-height: 100vh;
      min-height: 100svh;
      display: flex;
      flex-direction: column;
      position: relative;
      overflow: hidden;
    }

    /* subtle gold wash at the top edge so the footer feels like its
       own cinematic closing panel, not a strip */
    .site-footer::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      height: 1px;
      background: linear-gradient(
        90deg,
        transparent,
        rgba(180,148,85,.6) 20%,
        rgba(180,148,85,.6) 80%,
        transparent
      );
    }

    .footer-top {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      justify-content: space-between;
      gap: 24px;
      padding-bottom: clamp(40px, 7vh, 90px);
    }

    .footer-kicker {
      display: flex;
      align-items: center;
      gap: 9px;
      font: 10px/1 var(--mono);
      text-transform: uppercase;
      letter-spacing: .12em;
      color: rgba(244,236,216,.75);
    }

    .footer-status {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #3ddc7f;
      box-shadow: 0 0 8px rgba(61,220,127,.8);
      animation: blink 1.8s ease-in-out infinite;
    }

    .footer-mail {
      font-family: var(--serif);
      font-style: italic;
      font-size: clamp(22px, 3.4vw, 48px);
      letter-spacing: -.02em;
      color: var(--paper);
      border-bottom: 1px solid rgba(244,236,216,.3);
      padding-bottom: 4px;
      transition: color .25s, border-color .25s;
    }

    .footer-mail:hover {
      color: var(--gold);
      border-color: var(--gold);
    }

    /* giant brand wordmark — mirrors the hero title exactly */
    .footer-brand {
      margin: auto 0;
      font-weight: 580;
      text-transform: uppercase;
      line-height: .78;
      letter-spacing: -.087em;
      /* identical to the hero title (.hero-title) */
      font-size: clamp(66px, 13.5vw, 220px);
      color: var(--paper);          /* light, like the hero title */
    }

    /* each line is its own block (The Digital / Alchemist) so the
       wordmark wraps like the hero title instead of filling one row */
    .footer-brand-line {
      display: block;
    }

    /* The + Alchemist: serif italic (same as hero .serif-swap) */
    .footer-brand .serif-swap {
      display: inline-block;
      font-family: var(--serif);
      font-weight: 500;
      font-style: italic;
      letter-spacing: -.02em;
      text-transform: uppercase;
      color: var(--paper);
    }

    .footer-brand-serif {
      font-family: var(--serif);
      font-style: italic;
      font-weight: 400;
      text-transform: none;
      letter-spacing: -.02em;
      color: var(--gold);
    }

    /* DIGITAL in the footer brand — hero-style glitch, always running
       (no scroll trigger), the word itself filled azure */
    .footer-brand .footer-glitch {
      display: inline-block;
      position: relative;
      color: transparent;
      /* faint azure outline under the solid azure fill */
      -webkit-text-stroke: 1px rgba(191, 245, 255, .45);
      text-stroke: 1px rgba(191, 245, 255, .45);
    }

    /* the solid word filled AZURE (always shown — no scroll fill) */
    .footer-brand .footer-glitch-fill {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      color: var(--acid);
      -webkit-text-stroke: 0;
      text-stroke: 0;
      pointer-events: none;
      z-index: 2;
    }

    /* flickering ghost layers (reuse the hero glitch keyframes) */
    .footer-brand .footer-glitch::before,
    .footer-brand .footer-glitch::after {
      content: attr(data-text);
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: transparent;
      overflow: hidden;
      pointer-events: none;
    }

    .footer-brand .footer-glitch::before {
      left: 2px;
      color: var(--paper);
      text-shadow: 1px 0 var(--paper);
      clip-path: inset(50% 0 50% 0);
    }

    .footer-brand .footer-glitch.is-glitching::before {
      animation: glitch-anim-1 5s infinite linear alternate-reverse;
    }

    .footer-brand .footer-glitch::after {
      left: -2px;
      color: var(--acid);
      text-shadow: -1px 0 var(--acid);
      clip-path: inset(50% 0 50% 0);
    }

    .footer-brand .footer-glitch.is-glitching::after {
      animation: glitch-anim-2 7s infinite linear alternate-reverse;
    }

    @media (prefers-reduced-motion: reduce) {
      .footer-brand .footer-glitch.is-glitching::before,
      .footer-brand .footer-glitch.is-glitching::after {
        animation: none;
      }
    }

    /* live scroll-distance meter (per session) */
    .footer-scroll-meter {
      margin-top: clamp(14px, 2vh, 24px);
      font: 11px/1.5 var(--mono);
      text-transform: uppercase;
      letter-spacing: .1em;
      color: rgba(244, 236, 216, .55);
    }

    .footer-scroll-meter .scroll-meter-val {
      color: var(--gold);
      font-variant-numeric: tabular-nums;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 40px 30px;
      padding: clamp(40px, 7vh, 90px) 0 clamp(32px, 5vh, 60px);
      border-top: 1px solid rgba(244,236,216,.14);
      margin-top: clamp(40px, 7vh, 90px);
    }

    .footer-col h4,
    .footer-col h3 {
      margin: 0 0 18px;
      font: 10px/1 var(--mono);
      text-transform: uppercase;
      letter-spacing: .12em;
      color: var(--gold);
    }

    .footer-col ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 11px;
      font: 14px/1.4 var(--sans);
      color: rgba(244,236,216,.78);
    }

    .footer-col a {
      transition: color .2s;
    }

    .footer-col a:hover {
      color: var(--paper);
    }

    .footer-bottom {
      display: grid;
      grid-template-columns: 1fr;
      justify-items: start;
      gap: 18px;
      padding-top: clamp(24px, 4vh, 40px);
      border-top: 1px solid rgba(244,236,216,.14);
      font: 9px/1.55 var(--mono);
      text-transform: uppercase;
      letter-spacing: .06em;
      color: rgba(244,236,216,.5);
    }
    /* footer lockup: mirrors .nav-logo / .nav-by (same mono face, size,
       weight, tracking, case). colour is what the nav's difference blend
       renders over the footer background (#f5f0e4 vs #0b0a08). */
    .footer-logo {
      font-family: var(--mono);
      font-weight: 700;
      font-size: 20px;
      line-height: normal;
      /* nav inherits .09em of its 10px size as an absolute 0.9px */
      letter-spacing: .9px;
      text-transform: uppercase;
      color: #eae6dc;
    }
    .footer-logo .footer-by {
      display: block;
      font-size: 10px;
      font-weight: 400;
      letter-spacing: .14em;
      opacity: .7;
      margin-top: 4px;
      color: inherit;
      text-decoration: none;
      transition: opacity .25s;
    }
    .footer-logo a.footer-by:hover,
    .footer-logo a.footer-by:focus-visible {
      opacity: 1;
    }
    /* ==========================================================
       cursor object
       ========================================================== */

    .cursor {
      position: fixed;
      width: 12px;
      height: 12px;
      border: 1px solid rgba(245,238,219,.9);
      border-radius: 50%;
      z-index: 1900;
      pointer-events: none;
      mix-blend-mode: difference;
      transform: translate(-50%, -50%);
    }

    .cursor-ring {
      position: fixed;
      width: 42px;
      height: 42px;
      border: 1px solid rgba(245,238,219,.3);
      border-radius: 50%;
      z-index: 1899;
      pointer-events: none;
      mix-blend-mode: difference;
      transform: translate(-50%, -50%);
    }

    /* ==========================================================
       slide markers + counter
       ========================================================== */

    .slide {
      position: relative;
      scroll-margin-top: 0;
    }

    .slide-marker {
      position: absolute;
      left: var(--edge);
      top: 52px;
      z-index: 400;
      display: flex;
      align-items: center;
      gap: 10px;
      font: 9px/1 var(--mono);
      text-transform: uppercase;
      letter-spacing: .14em;
      opacity: .78;
      pointer-events: none;
      mix-blend-mode: difference;
      color: #f5f0e4;
    }

    .slide-marker b {
      font-weight: 700;
      font-size: 11px;
      letter-spacing: .08em;
    }

    .slide-marker i {
      width: 26px;
      height: 1px;
      display: inline-block;
      background: currentColor;
    }

    .slide-counter {
      position: fixed;
      right: var(--edge);
      bottom: 18px;
      z-index: 1000;
      display: flex;
      align-items: baseline;
      gap: 6px;
      font: 10px/1 var(--mono);
      letter-spacing: .1em;
      text-transform: uppercase;
      color: #f5f0e4;
      mix-blend-mode: difference;
      pointer-events: none;
    }

    .slide-counter .cur {
      font-size: 22px;
      letter-spacing: -.03em;
    }

    .slide-counter .sep {
      opacity: .5;
    }

    .slide-counter .total {
      opacity: .55;
    }

    .slide-counter .label {
      margin-left: 10px;
      opacity: .6;
    }

    @media (max-width: 1024px) {
      .slide-marker {
        font-size: 8px;
        top: 58px;
      }
      .slide-marker i {
        display: none;
      }
      .slide-counter {
        bottom: 12px;
      }
      .slide-counter .cur {
        font-size: 18px;
      }
      .slide-counter .label {
        display: none;
      }
    }

    /* ==========================================================
       capabilities as vertical stack (touch / small screens)
       the pinned horizontal scroll is disabled in JS and the
       track flows naturally top-to-bottom instead
       ========================================================== */

    .no-horizontal .caps-horizontal {
      height: auto;
    }

    .no-horizontal .caps-track {
      width: 100%;
      flex-direction: column;
      transform: none !important;
    }

    .no-horizontal .cap-card {
      width: 100%;
      height: auto;
      min-height: 78svh;
      border-right: none;
    }

    .no-horizontal .cap-art {
      transform: none !important;
    }

    /* ==========================================================
       tablet
       ========================================================== */

    @media (max-width: 1024px) and (min-width: 801px) {
      .hero-footer {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
      }

      .hero-services {
        justify-self: start;
      }

      .scroll-cue {
        grid-column: 1 / 3;
        justify-self: start;
      }

      .caps-intro-bottom {
        gap: 8vw;
      }

      .cap-card {
        padding: calc(var(--edge) + 10px) var(--edge) var(--edge);
      }

      .cap-title {
        font-size: clamp(84px, 15vw, 180px);
      }

      .cap-desc {
        width: min(420px, 60vw);
      }

      .cap-art {
        width: 50%;
        height: 46%;
        right: 6%;
        top: 20%;
      }

      .step {
        grid-template-columns: 60px 1.2fr 1.6fr;
        gap: 20px;
      }

      .case {
        grid-template-columns: .4fr 1fr;
      }

      .case-copy {
        grid-column: 2;
      }

      .case-image {
        grid-column: 1 / 3;
      }
    }

    /* ==========================================================
       responsive
       ========================================================== */

    @media (max-width: 800px) {
      .nav {
        grid-template-columns: 1fr 1fr;
      }

      .nav-middle {
        display: none;
      }

      .nav {
        top: 16px;
      }

      .nav-logo {
        font-size: 9px;
        max-width: 60vw;
      }

      .hero {
        height: 240vh;
      }

      .manifesto {
        padding: 14vh var(--edge);
        min-height: auto;
      }

      .transform-label {
        top: 76px;
      }

      .hero-title {
        font-size: clamp(52px, 16.5vw, 145px);
        line-height: .76;
      }

      .hero-footer {
        grid-template-columns: 1fr;
      }

      .hero-services {
        display: none;
      }

      /* hide the "scroll to transform" cue + arrow on mobile */
      .scroll-cue {
        display: none;
      }

      .hero-index {
        display: none;
      }

      .tag-a,
      .tag-b,
      .tag-c {
        display: none;
      }

      .section-meta {
        grid-template-columns: 1fr auto;
      }

      .section-meta span:nth-child(2) {
        display: none;
      }

      .manifesto-foot {
        grid-template-columns: 1fr;
      }

      .manifesto-split {
        grid-template-columns: 1fr;
        gap: 48px;
      }

      .manifesto-left {
        position: static;
      }

      .manifesto-points .mp-grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
      }

      .caps-intro {
        min-height: auto;
        padding: 110px var(--edge) 60px;
        gap: 48px;
      }

      .caps-intro-bottom {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .caps-intro-bottom p {
        font-size: 18px;
      }

      .cap-card {
        min-height: 86svh;
        justify-content: flex-end;
        gap: 26px;
        padding: 90px var(--edge) var(--edge);
      }

      .cap-title {
        font-size: clamp(64px, 20vw, 120px);
        line-height: .78;
      }

      .cap-art {
        position: relative;
        right: auto;
        top: auto;
        order: -1;
        width: 100%;
        height: 34svh;
        margin: 0 0 10px;
        border-radius: 14px;
        transform: none !important;
        box-shadow: 0 20px 50px rgba(0,0,0,.18);
      }

      .cap-desc {
        width: 100%;
        margin-left: 0;
        font-size: 17px;
      }

      .cap-circle {
        display: none;
      }

      .process {
        padding: 90px var(--edge);
      }

      .process-head {
        grid-template-columns: 1fr;
        margin-bottom: 60px;
      }

      .process-head:not(.process-head--swap) h2 {
        grid-column: 1;
      }

      .step {
        grid-template-columns: 36px 1fr;
        gap: 14px 16px;
        padding: 28px 0;
        min-height: 0;
      }

      .step-name {
        grid-column: 2 / 3;
      }

      .step-desc {
        grid-column: 1 / 3;
      }

      .cases {
        padding: 90px var(--edge);
      }

      .case {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-bottom: 60px;
      }

      .case-copy,
      .case-image {
        grid-column: 1;
      }

      .case-image {
        height: min(90vw, 460px);
        margin-top: 20px;
      }

      .final-content h2 {
        font-size: clamp(52px, 15vw, 110px);
      }

      .cta {
        margin-top: 40px;
        padding: 16px 24px;
      }

      .site-footer {
        min-height: auto;
        padding: 72px var(--edge) 32px;
      }

      .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
      }

      .footer-logo {
        font-size: 9px;
      }

      .footer-top {
        align-items: flex-start;
        flex-direction: column;
      }

      .cursor,
      .cursor-ring {
        display: none;
      }
    }

    /* larger touch targets on coarse pointers */
    @media (pointer: coarse) {
      .nav-right a,
      .cta,
      footer a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
      }

      .nav-right {
        gap: 16px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
      }

      .hero,
      .transform,
      .finale {
        height: auto;
      }

      .hero-sticky,
      .transform-sticky,
      .finale-sticky {
        position: relative;
        height: auto;
        min-height: 100svh;
      }
    }

    /* ==========================================================
       MOBILE / TOUCH PERFORMANCE
       Trim the most GPU-expensive effects on touch devices (phones +
       tablets). These are purely decorative, so dropping them keeps
       the design intact while avoiding constant full-screen repaints
       and heavy blur compositing on mobile GPUs.
       ========================================================== */

    @media (pointer: coarse) {
      /* the animated full-screen film grain repaints the whole viewport
         every frame — freeze it (keep the static texture, drop the
         per-frame animation) */
      .grain {
        animation: none;
      }

      /* big soft glows: a 60px blur over a large area is costly to
         composite; shrink it hard (the glow is a subtle accent) */
      .hero-glow {
        filter: blur(28px);
      }

      /* translucent blur panels: backdrop-filter is one of the most
         expensive mobile effects — swap for a plain translucent fill */
      .floating-tag {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(17, 14, 9, .4);
      }
    }
    /* ==========================================================
       MOBILE FIXES (phones, <= 800px)
       - full-bleed panels use the LARGE viewport height (lvh) so the
         iOS Safari toolbar collapsing never exposes a band of the next
         section; content gets --chrome of extra bottom room so it is
         not hidden under the toolbar when it is shown.
       - the fixed nav gets a soft blur scrim so scrolling text never
         collides with it; the slide counter is hidden (it sat on text).
       ========================================================== */
    :root {
      --chrome: 0px;
    }
    @supports (height: 100lvh) {
      :root {
        --chrome: calc(100lvh - 100svh);
      }
    }
    @media (max-width: 800px) {
      /* nav scrim */
      body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 64px;
        z-index: 490;
        pointer-events: none;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        -webkit-mask-image: linear-gradient(#000 60%, transparent);
        mask-image: linear-gradient(#000 60%, transparent);
      }
      /* slide counter overlapped body text on every slide */
      .slide-counter {
        display: none;
      }
      /* full-bleed panels: lvh instead of svh */
      @supports (height: 100lvh) {
        .hero-sticky,
        .transform-sticky,
        .why-sticky,
        .manifesto-pin {
          height: 100lvh;
        }
        .tp-stage {
          padding-bottom: calc(7vh + var(--chrome));
        }
        .hero-header {
          padding-bottom: calc(var(--edge) + var(--chrome));
        }
      }
      /* manifesto: the section padding inset the pinned box (beige
         margins around the growing sun / Transformation title) */
      .manifesto {
        padding: 0;
      }
      .sun-grow-preview .sgp-title {
        font-size: min(clamp(34px, 11.2vw, 150px), calc((100vw - 2 * var(--edge)) / 9.1));
      }
      /* Why: content is taller than a phone screen; compact type and
         top-aligned so the first line is never cut (JS scrolls any
         remainder inside the pin) */
      .why-sticky {
        justify-content: flex-start;
        padding: 76px var(--edge) calc(20px + var(--chrome));
      }
      .why-cols {
        row-gap: 22px;
      }
      .why-title {
        font-size: clamp(32px, 11cqi, 56px);
      }
      .why-col .why-intro {
        margin-top: 14px;
        font-size: 15px;
        line-height: 1.3;
      }
      .why-col-eyebrow {
        margin-bottom: 8px;
      }
      .why-col h3 {
        font-size: 21px;
        margin-bottom: 8px;
      }
      .why-col p {
        font-size: 12.5px;
        line-height: 1.5;
      }
      .why-steps {
        margin-top: 14px;
        padding-top: 10px;
        gap: 4px;
      }
      /* Help: stacked rows, header scrolls with the page */
      #slide-03.process {
        padding-bottom: 60px;
      }
      #slide-03 .process-head--swap {
        position: static;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 90px 0 24px;
      }
      #slide-03 .process-head--swap h2 {
        font-size: clamp(44px, 14vw, 70px);
      }
      .steps--4col {
        margin-top: 0;
      }
      .steps--4col .step {
        grid-template-columns: 36px 1fr;
        gap: 10px 14px;
        padding: 28px 0;
      }
      .steps--4col .step-name {
        grid-column: 2 / 3;
      }
      .steps--4col .step-desc,
      .steps--4col .step-list {
        grid-column: 1 / 3;
      }
      /* How I work: steady azure cards (no beige bands while the
         active card toggles), fluid title that fits the width */
      .no-horizontal .cap-card {
        background: var(--acid);
        min-height: 0;
        justify-content: flex-start;
        padding: 80px var(--edge) 56px;
        gap: 18px;
      }
      .cap-title {
        font-size: min(20vw, calc((100vw - 2 * var(--edge)) / 6.3));
      }
    }
    /* ==========================================================
       SLIDE MENU — MENU button (nav) + fullscreen slide list
       ========================================================== */
    .menu-toggle {
      font: inherit;
      text-transform: uppercase;
      letter-spacing: .09em;
      color: inherit;
      background: none;
      border: 0;
      padding: 0;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      transition: opacity .25s;
    }
    .menu-toggle:hover {
      opacity: .72;
    }
    .menu-toggle:focus-visible,
    .menu-link:focus-visible {
      outline: 1px solid currentColor;
      outline-offset: 4px;
    }
    .menu-toggle-label {
      font-weight: 700;
    }
    .menu-toggle-icon {
      position: relative;
      width: 16px;
      height: 8px;
      flex: 0 0 auto;
    }
    .menu-toggle-icon i {
      position: absolute;
      left: 0;
      width: 100%;
      height: 1.5px;
      background: currentColor;
      transition: transform .45s cubic-bezier(.7, 0, .2, 1), top .45s cubic-bezier(.7, 0, .2, 1);
    }
    .menu-toggle-icon i:nth-child(1) { top: 0; }
    .menu-toggle-icon i:nth-child(2) { top: 6.5px; }
    body.menu-open .menu-toggle-icon i:nth-child(1) {
      top: 3.25px;
      transform: rotate(45deg);
    }
    body.menu-open .menu-toggle-icon i:nth-child(2) {
      top: 3.25px;
      transform: rotate(-45deg);
    }
    .site-menu {
      position: fixed;
      inset: 0;
      z-index: 690;               /* above painpoints (600), below the raised nav */
      background: var(--ink);
      color: var(--paper);
      visibility: hidden;
      opacity: 0;
      clip-path: inset(0 0 100% 0);
      transition: clip-path .6s cubic-bezier(.7, 0, .2, 1), opacity .3s .3s, visibility 0s .6s;
      display: flex;
      align-items: center;
      padding: 96px var(--edge) 48px;
      cursor: pointer;
    }
    body.menu-open .site-menu {
      visibility: visible;
      opacity: 1;
      clip-path: inset(0 0 0 0);
      transition: clip-path .6s cubic-bezier(.7, 0, .2, 1), opacity .2s, visibility 0s;
    }
    /* nav + its dot stay usable above the panel while it is open */
    body.menu-open .nav {
      z-index: 700;
    }
    body.menu-open .nav-status-dot,
    body.menu-open .nav-middle {
      visibility: hidden;
    }
    .menu-inner {
      width: 100%;
      max-height: 100%;
      overflow-y: auto;
      overscroll-behavior: contain;
      cursor: default;
    }
    .menu-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      grid-auto-flow: column;
      grid-template-rows: repeat(5, auto);
      column-gap: 6vw;
    }
    .menu-link {
      display: flex;
      align-items: baseline;
      gap: 18px;
      padding: 1.6vh 0;
      border-bottom: 1px solid rgba(232, 223, 202, .16);
      color: inherit;
      text-decoration: none;
      cursor: pointer;
      opacity: 0;
      transform: translateY(18px);
      transition: opacity .35s, transform .35s, color .25s;
    }
    body.menu-open .menu-link {
      opacity: .62;
      transform: none;
      transition: opacity .5s var(--d, 0s), transform .6s var(--d, 0s) cubic-bezier(.2, .7, .2, 1), color .25s;
    }
    body.menu-open .menu-link:hover,
    body.menu-open .menu-link:focus-visible,
    body.menu-open .menu-link.is-current {
      opacity: 1;
    }
    .menu-link:hover,
    .menu-link:focus-visible {
      color: var(--acid);
    }
    .menu-link.is-current .menu-name {
      color: var(--acid);
    }
    .menu-num {
      font: 11px/1 var(--mono);
      letter-spacing: .09em;
      flex: 0 0 auto;
      opacity: .7;
    }
    .menu-name {
      font-family: var(--sans);
      font-weight: 500;
      font-size: clamp(26px, 5.6vh, 60px);
      line-height: 1.05;
      letter-spacing: -.02em;
    }
    .menu-list li:nth-child(1) .menu-link { --d: .15s; }
    .menu-list li:nth-child(2) .menu-link { --d: .19s; }
    .menu-list li:nth-child(3) .menu-link { --d: .23s; }
    .menu-list li:nth-child(4) .menu-link { --d: .27s; }
    .menu-list li:nth-child(5) .menu-link { --d: .31s; }
    .menu-list li:nth-child(6) .menu-link { --d: .17s; }
    .menu-list li:nth-child(7) .menu-link { --d: .21s; }
    .menu-list li:nth-child(8) .menu-link { --d: .25s; }
    .menu-list li:nth-child(9) .menu-link { --d: .29s; }
    .menu-list li:nth-child(10) .menu-link { --d: .33s; }
    @media (max-width: 800px) {
      .nav-right {
        gap: 14px;
      }
      .menu-toggle {
        gap: 7px;
      }
      .menu-toggle-icon {
        width: 14px;
      }
      .site-menu {
        padding: 84px var(--edge) 28px;
      }
      .menu-list {
        grid-auto-flow: row;
        grid-template-rows: none;
      }
      .menu-link {
        padding: 1.3vh 0;
        gap: 14px;
      }
      .menu-name {
        font-size: clamp(24px, 4.9vh, 40px);
      }
    }
    @media (pointer: coarse) {
      .menu-toggle {
        min-height: 44px;
      }
    }
    @media (prefers-reduced-motion: reduce) {
      .site-menu,
      body.menu-open .site-menu,
      .menu-link,
      body.menu-open .menu-link,
      .menu-toggle-icon i {
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
      }
    }
    body.menu-open .slide-counter {
      visibility: hidden;
    }

    /* ---------- SEO / accessibility helpers (no visual impact) ---------- */
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      margin: -1px;
      padding: 0;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
    .skip-link {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 10000;
      padding: 10px 16px;
      background: var(--ink);
      color: var(--paper);
      font: 12px/1 var(--mono);
      transform: translateY(-120%);
    }
    .skip-link:focus {
      transform: none;
    }
    main:focus {
      outline: none;
    }

    /* ==========================================================
       legal pages (privacy policy) — static, no GSAP / loader
       ========================================================== */
    body.legal-page {
      background: var(--paper);
      color: var(--ink);
      min-height: 100vh;
      min-height: 100svh;
      display: flex;
      flex-direction: column;
    }
    body.legal-page::before {
      display: none;
    }
    html:has(body.legal-page) {
      background: var(--paper);
    }
    .legal-page .legal-bar {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 16px;
      padding: 20px var(--edge) 18px;
      border-bottom: 1px solid rgba(17, 16, 13, .3);
      font: 10px/1.4 var(--mono);
      text-transform: uppercase;
      letter-spacing: .09em;
    }
    .legal-page .legal-logo {
      font-weight: 700;
      font-size: 20px;
      letter-spacing: .9px;
    }
    .legal-page .legal-logo a {
      color: inherit;
      transition: opacity .25s;
    }
    .legal-page .legal-logo .legal-by {
      display: block;
      font-size: 10px;
      font-weight: 400;
      letter-spacing: .14em;
      opacity: .7;
      margin-top: 4px;
    }
    .legal-page .legal-logo a:hover,
    .legal-page .legal-logo a:focus-visible {
      opacity: .72;
    }
    .legal-page .legal-logo .legal-by:hover,
    .legal-page .legal-logo .legal-by:focus-visible {
      opacity: 1;
    }
    .legal-page .legal-bar-right {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 8px 22px;
      padding-top: 4px;
    }
    .legal-page .lang-switch .lang-opt {
      opacity: .55;
    }
    .legal-page .lang-switch .lang-opt.is-active {
      opacity: 1;
    }
    .legal-page .legal-back {
      border-bottom: 1px solid var(--gold);
      transition: opacity .25s, border-color .25s;
    }
    .legal-page .legal-back::before {
      content: "\2190\00a0";
    }
    .legal-page .legal-back:hover {
      border-bottom-color: var(--ink);
    }
    .legal-page a:focus-visible {
      outline: 2px solid var(--ink);
      outline-offset: 3px;
    }
    .legal-page main {
      flex: 1 0 auto;
      width: 100%;
      max-width: calc(72ch + 2 * var(--edge));
      padding: clamp(56px, 12vh, 120px) var(--edge) clamp(56px, 10vh, 100px);
      margin-right: auto;
      counter-reset: legal;
    }
    .legal-page .legal-eyebrow {
      margin: 0 0 18px;
      font: 11px/1.4 var(--mono);
      text-transform: uppercase;
      letter-spacing: .12em;
      opacity: .65;
    }
    .legal-page h1 {
      margin: 0 0 clamp(28px, 5vh, 48px);
      font-family: var(--sans);
      font-weight: 500;
      font-size: clamp(48px, 8vw, 110px);
      line-height: .92;
      letter-spacing: -.05em;
      overflow-wrap: anywhere;
    }
    .legal-page .legal-lead {
      margin: 0 0 clamp(36px, 6vh, 56px);
      font-size: 18px;
      line-height: 1.55;
    }
    .legal-page h2 {
      counter-increment: legal;
      margin: clamp(36px, 6vh, 56px) 0 14px;
      padding-top: 18px;
      border-top: 1px solid rgba(17, 16, 13, .22);
      font-family: var(--sans);
      font-weight: 700;
      font-size: clamp(22px, 3vw, 28px);
      line-height: 1.15;
      letter-spacing: -.03em;
    }
    .legal-page h2::before {
      content: counter(legal, decimal-leading-zero);
      display: block;
      margin-bottom: 8px;
      font: 400 11px/1 var(--mono);
      letter-spacing: .12em;
      opacity: .6;
    }
    .legal-page main p,
    .legal-page main li {
      font-size: 17px;
      line-height: 1.65;
    }
    .legal-page main p {
      margin: 0 0 14px;
    }
    .legal-page main ul {
      margin: 0 0 14px;
      padding-left: 1.4em;
      list-style: none;
    }
    .legal-page main li {
      position: relative;
      margin-bottom: 8px;
    }
    .legal-page main li::before {
      content: "";
      position: absolute;
      left: -1.1em;
      top: .72em;
      width: 5px;
      height: 5px;
      background: var(--gold);
    }
    .legal-page main code {
      font: 14px/1 var(--mono);
      padding: 3px 6px;
      border-radius: 2px;
      background: rgba(17, 16, 13, .08);
      overflow-wrap: anywhere;
    }
    .legal-page main a {
      border-bottom: 1px solid var(--gold);
      overflow-wrap: anywhere;
      transition: border-color .25s, background-color .25s;
    }
    .legal-page main a:hover {
      border-bottom-color: var(--ink);
      background: var(--acid);
    }
    .legal-page .legal-note {
      margin-top: clamp(36px, 6vh, 56px);
      font: 12px/1.6 var(--mono);
      text-transform: uppercase;
      letter-spacing: .06em;
      opacity: .65;
    }
    .legal-page .legal-footer {
      background: transparent;
      color: inherit;
      min-height: 0;
      position: static;
      overflow: visible;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 10px 24px;
      padding: 22px var(--edge) 28px;
      border-top: 1px solid rgba(17, 16, 13, .22);
      font: 9px/1.55 var(--mono);
      text-transform: uppercase;
      letter-spacing: .06em;
    }
    .legal-page .legal-footer a {
      min-height: 0;
      display: inline;
      border-bottom: 1px solid currentColor;
    }
    .legal-page .legal-footer a:hover {
      opacity: .6;
    }
    /* privacy link in the main pages' footer */
    .footer-bottom .footer-legal-link {
      color: inherit;
      text-decoration: underline;
      text-decoration-color: rgba(244, 236, 216, .3);
      text-underline-offset: 4px;
      transition: color .25s, text-decoration-color .25s;
    }
    .footer-bottom .footer-legal-link:hover,
    .footer-bottom .footer-legal-link:focus-visible {
      color: rgba(244, 236, 216, .9);
      text-decoration-color: currentColor;
    }
    @media (max-width: 640px) {
      .legal-page .legal-logo {
        font-size: 16px;
      }
      .legal-page .legal-lead {
        font-size: 17px;
      }
    }

/* GhostByte: header logo, footer big brand + footer logo */
.nav-logo .nav-home,
.footer-logo,
.footer-brand,
.footer-brand .serif-swap {
  font-family: "GhostByte", var(--sans, sans-serif);
}
.footer-brand .serif-swap { font-style: normal; }
.footer-logo .footer-by { font-family: var(--mono); }

/* GhostByte: "Transformation" in the sun-grow title ("The" stays serif) */
.sun-grow-preview .sgp-layer {
  font-family: "GhostByte", var(--sans, sans-serif);
}
.sun-grow-preview .sgp-layer .sgp-serif {
  font-family: var(--serif);
}

/* footer: one-line GhostByte wordmark on an azure band, cropped at the bottom */
.site-footer { padding-bottom: 0; }
.footer-band {
  --fs: 12vw;
  margin: auto calc(-1 * var(--edge)) 0;
  background: var(--acid);
  color: #0b0a08;
  height: calc(var(--fs) * .62);
  padding-top: calc(var(--fs) * .08);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.footer-band .footer-wordmark {
  font-family: "GhostByte", var(--sans, sans-serif);
  font-size: var(--fs);
  font-weight: 580;
  text-transform: uppercase;
  line-height: .8;
  letter-spacing: -.04em;
  white-space: nowrap;
  text-align: center;
}
.footer-band .footer-wordmark span { display: inline-block; }
.footer-bottom { padding-bottom: clamp(24px, 4vh, 40px); }
@media (max-width: 760px) { .site-footer { padding-bottom: 0; } }

/* footer: content sits right above the azure band instead of the top */
.site-footer .footer-top { margin-top: auto; }
.site-footer .footer-band { margin-top: clamp(24px, 4vh, 48px); }

/* scroll cue: arrow drops into a pulsing azure dot; the dot flares on impact */
.scroll-cue .scroll-cue-arrow { animation: cue-arrow-drop 1.8s ease-in infinite; }
.scroll-cue-dot {
  position: relative;
  width: 12px;
  height: 12px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px 2px var(--acid), 0 0 28px 6px rgba(191, 245, 255, .45);
  animation: cue-dot-core 1.8s ease-out infinite;
}
.scroll-cue-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--acid);
  opacity: 0;
  animation: cue-dot-ring 1.8s ease-out infinite;
}
@keyframes cue-arrow-drop {
  0%   { transform: translateY(0); opacity: 0; }
  20%  { opacity: .95; }
  72%  { transform: translateY(13px); opacity: .95; }
  85%, 100% { transform: translateY(13px); opacity: 0; }
}
@keyframes cue-dot-core {
  0%, 60% { transform: scale(.8); opacity: .7; }
  75%     { transform: scale(1.5); opacity: 1; }
  100%    { transform: scale(.8); opacity: .7; }
}
@keyframes cue-dot-ring {
  0%, 72% { transform: scale(1); opacity: 0; }
  75%     { transform: scale(1); opacity: .9; }
  100%    { transform: scale(5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue .scroll-cue-arrow, .scroll-cue-dot, .scroll-cue-dot::after { animation: none; }
  .scroll-cue-dot::after { display: none; }
}

/* no rubber-band / elastic overscroll at the page ends */
html, body { overscroll-behavior: none; }
.footer-band { will-change: clip-path; }
.footer-band .footer-wordmark { will-change: transform; }

/* footer stage: footer is frozen while the runway scrolls and the band lifts */
.footer-stage { position: relative; }
.footer-stage > .site-footer { position: sticky; top: 0; }
.footer-runway { height: 60vh; height: 60svh; }

/* footer: endless city marquee on a paper band above the link grid */
.footer-cities {
  margin: clamp(40px, 7vh, 90px) calc(-1 * var(--edge)) 0;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: -.02em;
  padding: .32em 0 .38em;
}
.footer-cities-track {
  display: flex;
  width: max-content;
  animation: footer-cities 38s linear infinite;
}
.footer-cities:hover .footer-cities-track { animation-play-state: paused; }
.footer-cities-seq { display: flex; align-items: center; flex-shrink: 0; }
.footer-cities .city { padding: 0 .5em; }
.footer-cities .city-sep {
  font-style: normal;
  font-size: .55em;
  color: var(--gold);
  padding: 0 .4em;
}
@keyframes footer-cities {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-cities-track { animation-duration: 120s; }
}
.footer-cities + .footer-grid { margin-top: 0; }
.footer-billing li { line-height: 1.5; }
