a[data-link][hidden]{display:none!important}
@font-face { font-family: 'Righteous'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Righteous-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/IBMPlexSans-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/IBMPlexSans-normal-600.woff2') format('woff2'); }
@font-face { font-family: 'Dancing Script'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/DancingScript-normal-400.woff2') format('woff2'); }

/* Stonkodile Tears · Drawing ST-1, a cyanotype patent drawing told in panels */

:root {
  --ground: #0b3a47;
  --deep: #082a33;
  --deeper: #06222a;
  --line: #7fe9f5;
  --line-a: rgba(127, 233, 245, .55);
  --line-b: rgba(127, 233, 245, .22);
  --glow: #3fe3f2;
  --head: #eef7fa;
  --soft: #cfe7ee;
  --paper: #e3ebf7;
  --paper2: #cfdaed;
  --ink: #172130;
  --ink-soft: #414e62;
  --fee: #f4c63d;
  --fee-hi: #ffd75a;
  --r: 6px;
  --r-sm: 8px;
  --tilt: 2deg;
  --gap: 24px;
  --f-d: "Righteous", "Trebuchet MS", system-ui, sans-serif;
  --f-b: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-s: "Dancing Script", "Brush Script MT", cursive;
  /* the sheet's surface: plotter registration crosses, one every 60px, a pin-prick between them */
  --grid:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 24v12M24 30h12' fill='none' stroke='%237fe9f5' stroke-opacity='.3'/%3E%3Ccircle cx='0' cy='0' r='1' fill='%237fe9f5' fill-opacity='.22'/%3E%3C/svg%3E") 0 0 / 60px 60px;
  --mottle:
    radial-gradient(60% 40% at 18% 22%, rgba(120, 220, 235, .07), transparent 70%),
    radial-gradient(50% 50% at 82% 70%, rgba(120, 220, 235, .06), transparent 70%),
    radial-gradient(40% 30% at 55% 105%, rgba(0, 0, 0, .18), transparent 70%);
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.rm { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--deeper);
  color: var(--soft);
  font: 400 17px/1.6 var(--f-b);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, figure { margin: 0; }
ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--head); outline-offset: 3px; }
main { overflow: hidden; }

.wrap { width: min(1240px, 100% - 48px); margin: 0 auto; position: relative; }

/* ---------- shared drawing furniture ---------- */
.note {
  display: inline-block;
  font: 600 12px/1 var(--f-b);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--soft);
  border: 1px solid var(--line-a);
  padding: 7px 10px 6px;
  background: var(--deep);
}
.h2 {
  font: 400 clamp(36px, 5.6vw, 64px)/1 var(--f-d);
  color: var(--head);
  letter-spacing: -.005em;
  margin-top: 18px;
}
.h2 em { display: block; margin-top: .08em; font-size: 1.12em; }
.tube {
  font-family: var(--f-s);
  font-style: normal;
  font-weight: 400;
  color: #a6f7ff;
  -webkit-text-stroke: .6px #e6fdff;
  text-shadow: 0 0 1px #e9feff, 0 0 12px rgba(63, 227, 242, .62), 0 0 34px rgba(63, 227, 242, .3), 3px 4px 0 rgba(4, 22, 28, .55);
}

/* the emulsion edge: every strip is a sun-printed sheet whose blue stops unevenly at the margin */
.strip, .hero, .foot {
  position: relative;
  background: var(--mottle), var(--grid), var(--ground);
}
.strip::before, .strip::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 14px;
  pointer-events: none;
  background:
    linear-gradient(178.6deg, var(--deeper) 0 30%, transparent 70%),
    linear-gradient(181.2deg, rgba(6, 34, 42, .8) 0 45%, transparent 80%);
  -webkit-mask-image: linear-gradient(90deg, #000 0 8%, rgba(0, 0, 0, .6) 22%, #000 38%, rgba(0, 0, 0, .7) 61%, #000 77%, rgba(0, 0, 0, .55) 92%, #000);
  mask-image: linear-gradient(90deg, #000 0 8%, rgba(0, 0, 0, .6) 22%, #000 38%, rgba(0, 0, 0, .7) 61%, #000 77%, rgba(0, 0, 0, .55) 92%, #000);
}
.strip::before { top: 0; }
.strip::after { bottom: 0; transform: scaleY(-1); }
.strip { padding: 88px 0 96px; border-top: 6px solid rgba(227, 235, 247, .04); }

/* item balloons (the card numerals, the hero marks, the step numbers) */
.card__num, .mark__n, .step__n, .legend__list b {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font: 400 14px/1 var(--f-d);
  color: var(--head);
  background: var(--deep);
}

/* ---------- header: the drawing's top strip ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  height: 56px;
  padding: 0 14px;
  background: var(--deep);
  border-bottom: 1px solid var(--line-a);
  box-shadow: 0 4px 0 -3px var(--line-b);
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; min-width: 0; margin-right: auto; }
.brand__logo {
  position: relative; flex: none;
  width: 32px; height: 32px; padding: 2px;
  border: 1px solid var(--line-a);
}
.brand__logo::before, .brand__logo::after {
  content: ""; position: absolute; width: 6px; height: 6px; border: 1px solid var(--line);
}
.brand__logo::before { left: -4px; top: -4px; border-width: 1px 0 0 1px; }
.brand__logo::after { right: -4px; bottom: -4px; border-width: 0 1px 1px 0; }
.brand__logo img { width: 100%; height: 100%; object-fit: cover; }
.brand__name { font: 400 15px/1.05 var(--f-d); color: var(--head); max-width: 7.6em; }
.brand__dwg { display: none; font: 600 11px/1 var(--f-b); letter-spacing: .22em; color: var(--soft); border-left: 1px solid var(--line-b); padding-left: 10px; }

#nav { display: none; }
#nav.is-open {
  display: flex; flex-direction: column; gap: 4px;
  position: fixed; top: 64px; left: 12px; right: 12px;
  max-height: calc(100vh - 80px); overflow: auto;
  padding: 14px;
  background: var(--deep);
  border: 1px solid var(--line-a);
  box-shadow: 0 0 0 4px var(--deep), 0 0 0 5px var(--line-b), 0 24px 40px rgba(0, 0, 0, .4);
  z-index: 60;
}
.nav__link {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 6px;
  font: 600 13px/1 var(--f-b); letter-spacing: .16em; text-transform: uppercase;
  color: var(--head); text-decoration: none;
  border-bottom: 1px solid var(--line-b);
}
.nav__n { color: var(--line); font-weight: 400; }
#nav .chip--x { align-self: flex-start; margin: 10px 6px 4px; }
#motion {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  margin: 6px;
  padding: 8px 12px 8px 8px;
  background: none;
  border: 1px solid var(--line-a);
  font: 600 12px/1 var(--f-b); letter-spacing: .14em; text-transform: uppercase;
  color: var(--head); cursor: pointer;
}
#motion::before {
  content: ""; width: 26px; height: 12px; border: 1px solid var(--line); border-radius: 6px;
  background: radial-gradient(circle at 75% 50%, var(--line) 0 4px, transparent 4.5px);
}
html.rm #motion::before { background: radial-gradient(circle at 25% 50%, var(--soft) 0 4px, transparent 4.5px); }

#burger {
  flex: none;
  display: grid; gap: 5px; place-content: center;
  width: 42px; height: 42px;
  background: none; border: 1px solid var(--line-a); cursor: pointer;
}
#burger i { display: block; width: 18px; height: 1px; background: var(--head); transition: transform .25s, opacity .2s; }
#burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
#burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* chips: light chips with the coloured logos */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 11px;
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-sm);
  font: 600 13px/1 var(--f-b); text-decoration: none; cursor: pointer;
  box-shadow: 0 0 0 1px var(--line-b);
  transition: box-shadow .25s, transform .25s;
}
.chip img { width: 16px; height: 16px; }
.chip:hover { box-shadow: 0 0 0 1px var(--paper), 0 0 0 3px var(--deep), 0 0 0 4px var(--line); transform: translateY(-1px); }

/* Buy: the one fee-yellow plate */
.buy {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--fee); color: var(--ink);
  font: 400 16px/1 var(--f-d); letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  padding: 0 14px; height: 40px;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), background .25s;
}
.buy::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 5px; pointer-events: none;
  border: 1px solid var(--line); border-width: 0 1px;
  background: linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat;
  transform: scaleX(0); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.buy:hover { background: var(--fee-hi); transform: translateY(-2px); }
.buy:hover::after { transform: scaleX(1); }
.buy__tk { display: none; }

/* ---------- hero: wet side / dry side ---------- */
.hero { --sx: 46; overflow: hidden; }
.wet {
  position: relative;
  height: 244px;
  overflow: hidden;
  container-type: size;
  background: var(--deeper);
  touch-action: pan-y;
}
.wet__box {
  --W: calc(1.6 * max(100cqw, 150cqh));
  --H: calc(var(--W) / 1.5);
  position: absolute;
  width: var(--W); height: var(--H);
  left: clamp(calc(100cqw - var(--W)), calc(50cqw - var(--W) * .72), 0px);
  top: clamp(calc(100cqh - var(--H)), calc(50cqh - var(--H) * .42), 0px);
}
.wet__img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: opacity .6s; }
.wet.is-gl .wet__img { opacity: 0; }
.wet__glass { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .8s; }
.wet.is-gl .wet__glass { opacity: 1; }
.wet__marks { pointer-events: none; z-index: 2; }

.mark { position: absolute; width: 0; height: 0; }
.mark::before { content: ""; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--head); box-shadow: 0 0 0 2px rgba(6, 34, 42, .6); }
.mark__lead {
  position: absolute; left: 0; top: 0;
  width: var(--len, 70px); height: 1px; background: var(--head);
  transform-origin: 0 50%; transform: rotate(var(--a, -30deg));
  box-shadow: 0 0 0 .5px rgba(6, 34, 42, .5);
  transition: width .5s cubic-bezier(.2, .8, .2, 1) .2s;
}
.mark__n {
  position: absolute; left: 0; top: 0;
  transform: translate(calc(cos(var(--a, -30deg)) * var(--len, 70px) - 50%), calc(sin(var(--a, -30deg)) * var(--len, 70px) - 50%));
  transition: opacity .3s .5s;
}
.mark--1 { left: 73.3%; top: 44.5%; --a: -150deg; --len: 74px; }
.mark--2 { left: 68.5%; top: 48.5%; --a: 145deg; --len: 70px; display: none; }
.mark--3 { left: 83%; top: 31%; --a: -40deg; --len: 60px; display: none; }
html.is-powering .mark__lead { width: 0; }
html.is-powering .mark__n { opacity: 0; }

.legend {
  position: absolute; left: 12px; bottom: 12px; z-index: 3;
  padding: 8px 10px;
  background: rgba(8, 42, 51, .9);
  border: 1px solid var(--line-a);
  color: var(--soft);
  font: 600 11px/1.3 var(--f-b); letter-spacing: .14em; text-transform: uppercase;
  pointer-events: none;
}
.legend__title { display: none; }
.legend__list { display: flex; gap: 14px; }
.legend__list li { display: flex; align-items: center; gap: 7px; }
.legend__list b { width: 20px; height: 20px; font-size: 11px; letter-spacing: 0; }
.legend__more { display: none !important; }
.legend__count { margin-top: 6px; color: var(--line); }

.waterline { position: relative; height: 0; z-index: 4; }
.waterline i {
  position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: var(--head);
  box-shadow: 0 0 10px rgba(127, 233, 245, .6);
  transition: transform .42s cubic-bezier(.2, .8, .2, 1);
}
.waterline i::before, .waterline i::after {
  content: ""; position: absolute; top: -5px; width: 0; height: 0;
  border: 5px solid transparent;
}
.waterline i::before { left: 4px; border-right: 8px solid var(--head); border-left: 0; }
.waterline i::after { right: 4px; border-left: 8px solid var(--head); border-right: 0; }
html.is-powering .waterline i { transform: scaleX(0); }

.dry { position: relative; padding: 18px 24px 34px; display: flex; flex-direction: column; }
.kicker {
  font: 600 11px/1.4 var(--f-b); letter-spacing: .2em; text-transform: uppercase; color: var(--soft);
}
.h1 { margin-top: 12px; color: var(--head); }
.h1__a { display: block; font: 400 38px/1 var(--f-d); letter-spacing: -.01em; }
.h1__b { display: block; margin-top: 6px; font-size: 48px; line-height: 1.04; }
.lede { order: 5; margin-top: 22px; color: var(--soft); font-size: 17px; line-height: 1.6; max-width: 46ch; }

/* the title block: the hero's anchor and the CA box's frame */
.titleblock {
  position: relative;
  margin-top: 20px;
  border: 1px solid var(--line);
  background: rgba(6, 34, 42, .72);
  box-shadow: 0 0 0 3px var(--ground), 0 0 0 4px var(--line-b);
}
.tb__row { display: flex; align-items: stretch; }
.tb__approve { border-bottom: 1px solid var(--line-a); }
.tb__approve .tb__label { display: flex; align-items: center; padding: 0 12px; border-right: 1px solid var(--line-a); }
.tb__label { font: 600 11px/1.2 var(--f-b); letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.buy--plate { flex: 1; height: 56px; font-size: 19px; }
.tb__dwg { display: none; white-space: nowrap; }
/* before the address exists: the pen is still drawing the fine print */
.tb__pending { display: none; }
.titleblock:has(.buy--plate[hidden]) .tb__pending {
  position: relative; flex: 1;
  display: flex; align-items: center;
  min-height: 56px; padding: 0 16px;
  font: 400 17px/1.2 var(--f-d); color: var(--head);
}
.titleblock:has(.buy--plate[hidden]) .tb__pending::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 12px; height: 1px;
  background: linear-gradient(90deg, var(--line) 0 60%, transparent 60%) 0 0 / 14px 1px;
  transform-origin: 0 50%;
}
html.js:not(.rm) .titleblock:has(.buy--plate[hidden]) .tb__pending::after { animation: pen-run 2.4s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes pen-run { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.tb__ca { padding: 10px 12px 12px; }
.tb__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rev { font: 600 11px/1 var(--f-b); letter-spacing: .16em; text-transform: uppercase; color: var(--line); border: 1px solid var(--line-a); padding: 4px 6px; }
.rev--b { display: none; }
html.ca-copied .rev--a { display: none; }
html.ca-copied .rev--b { display: inline-block; }
#ca-copy {
  display: flex; align-items: center; gap: 10px; width: 100%;
  margin-top: 9px; padding: 10px;
  background: var(--deeper); border: 1px dashed var(--line-a);
  cursor: pointer; text-align: left;
  transition: border-color .25s, background .25s;
}
#ca-copy:hover { border-color: var(--line); border-style: solid; background: #04191f; }
#ca-text { flex: 1; min-width: 0; font: 400 14px/1.4 var(--f-b); color: var(--head); overflow-wrap: anywhere; word-break: break-all; }
.ca__tap {
  flex: none; font: 600 10px/1 var(--f-b); letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); background: var(--line); padding: 7px 8px;
}
.tb__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.tb__chips .chip { justify-content: center; }

/* the copy celebration, motion off: a still scalloped outline */
html.rm.ca-copied .titleblock::after {
  content: ""; position: absolute; inset: -14px; pointer-events: none;
  background:
    radial-gradient(circle at 50% 100%, transparent 6px, var(--line) 6.5px 8px, transparent 8.5px) top left / 20px 10px repeat-x,
    radial-gradient(circle at 50% 0, transparent 6px, var(--line) 6.5px 8px, transparent 8.5px) bottom left / 20px 10px repeat-x,
    radial-gradient(circle at 100% 50%, transparent 6px, var(--line) 6.5px 8px, transparent 8.5px) top left / 10px 20px repeat-y,
    radial-gradient(circle at 0 50%, transparent 6px, var(--line) 6.5px 8px, transparent 8.5px) top right / 10px 20px repeat-y;
}

/* the plotted revision cloud (drawn by js/site.js as a fixed overlay) */
.revcloud { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; overflow: visible; }
.revcloud path { fill: none; stroke: var(--line); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 4px rgba(63, 227, 242, .7)); }
.revcloud .rc__cloud { animation: cloud-trace .7s cubic-bezier(.5, 0, .3, 1) forwards; }
.revcloud .rc__delta { animation: delta-plot .36s linear .7s forwards; }
.revcloud text { font: 400 13px/1 var(--f-d); fill: var(--head); opacity: 0; animation: rule-on .2s linear 1s forwards; }
.revcloud.is-erasing .rc__cloud, .revcloud.is-erasing .rc__delta { stroke-dashoffset: 0; animation: cloud-erase .5s cubic-bezier(.5, 0, .3, 1) both; }
.revcloud.is-erasing text { opacity: 0; animation: none; }
@keyframes cloud-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes cloud-erase { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1; } }
@keyframes delta-plot { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes rule-on { from { opacity: 0; } to { opacity: 1; } }
html.js:not(.rm).ca-copied .rev--b { animation: rule-on .3s linear; }

/* ---------- the power-up (the plotter letters its notes) ---------- */
.powerup { display: none; }
html.js.is-powering:not(.rm) .powerup {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 90;
  pointer-events: none;
  background: var(--grid), var(--deeper);
  animation: powerup-off .3s linear 2.6s forwards;
}
.powerup__box {
  width: min(560px, calc(100% - 40px));
  padding: 22px 24px;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 3px var(--deeper), 0 0 0 4px var(--line-b);
  transform-origin: 0 0;
}
.powerup__notes li {
  position: relative;
  font: 600 13px/2 var(--f-b); letter-spacing: .16em; text-transform: uppercase;
  color: var(--line);
  white-space: nowrap; overflow: hidden;
  clip-path: inset(0 100% 0 0);
  animation: pen-letter .2s steps(14) forwards;
}
.powerup__notes li:last-child { color: var(--head); }
.powerup.is-snap { background: transparent; transition: background .26s; }
.powerup.is-snap::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(214, 248, 252, .5); animation: powerup-off .26s linear forwards; }
.powerup.is-snap .powerup__box { transition: transform .32s cubic-bezier(.7, 0, .2, 1), opacity .32s; }
@keyframes pen-letter { to { clip-path: inset(0 0 0 0); } }
@keyframes powerup-off { to { opacity: 0; visibility: hidden; } }

html.is-on .h1__b { animation: tube-warm .7s steps(1) .1s both; }
@keyframes tube-warm {
  0% { opacity: .35; text-shadow: none; }
  18% { opacity: 1; }
  30% { opacity: .5; text-shadow: none; }
  46% { opacity: 1; }
  58% { opacity: .75; }
  70%, 100% { opacity: 1; }
}

/* ---------- strip 1: Sob Story ---------- */
.strip__title { margin-bottom: 40px; }
.story { display: grid; gap: 14px; }
.story .card:nth-of-type(1) { order: 1; }
.story .diagram, .story .diagram__label { order: 2; }
.story .card:nth-of-type(2) { order: 3; }
.story .card:nth-of-type(3) { order: 4; }
.panel { position: relative; }
.panel::before, .panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  border: 1px solid var(--line);
}
.panel::before { border-width: 1px 1px 0 0; }
.panel::after { border-width: 0 0 1px 1px; }
.panel--a { overflow: visible; background: var(--deeper); padding: 6px; }
.panel--a img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.diagram { width: 100%; max-width: 320px; height: auto; margin: 10px auto 0; fill: none; stroke: var(--line); stroke-width: 1.4; stroke-linecap: round; }
.diagram__arrow { stroke: var(--head); }
.diagram__label { text-align: center; font: 600 11px/1 var(--f-b); letter-spacing: .24em; text-transform: uppercase; color: var(--line); margin-top: 6px; }

.card {
  position: relative;
  padding: 26px 20px 22px;
  background: rgba(6, 34, 42, .72);
  border: 1px solid var(--line-a);
  box-shadow: inset 0 0 0 3px var(--ground), inset 0 0 0 4px var(--line-b);
}
.card .card__num { position: absolute; left: -10px; top: -12px; }
.card h3 {
  display: inline-block;
  background: var(--paper); color: var(--ink);
  font: 600 13px/1.2 var(--f-b); letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 10px;
}
.card p { margin-top: 12px; color: var(--soft); font-size: 16px; line-height: 1.6; }
.story .card:nth-of-type(1) p {
  position: relative;
  background: var(--paper); color: var(--ink);
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 26px;
}
.story .card:nth-of-type(1) p::before {
  content: ""; position: absolute; left: 34px; top: -22px; width: 1px; height: 22px; background: var(--paper);
}
.story .card:nth-of-type(1) p::after {
  content: ""; position: absolute; left: 31px; top: -28px; width: 7px; height: 7px; border-radius: 50%; background: var(--paper);
}
.caption-bar {
  margin-top: 26px;
  padding: 14px 18px;
  border: 1px solid var(--line-a);
  font-style: italic; color: var(--soft);
  background: rgba(6, 34, 42, .6);
}

/* ---------- strip 2: the department page ---------- */
.note--solo { margin-bottom: 30px; }
.dept { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; counter-reset: fig; }
.dept figure {
  position: relative;
  counter-increment: fig;
  padding: 5px;
  background: var(--deeper);
  outline: 1px solid var(--line);
  outline-offset: 0;
}
.dept figure::before {
  content: counter(fig);
  position: absolute; right: 8px; top: 8px; z-index: 2;
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--deep);
  font: 400 12px/1 var(--f-d); color: var(--head);
}
.dept img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.dept figcaption {
  position: absolute; left: 10px; top: 10px; right: 42px; z-index: 2;
  justify-self: start;
  width: fit-content;
  background: var(--paper); color: var(--ink);
  font: 600 12px/1.35 var(--f-b);
  padding: 7px 9px;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.dept figure:nth-child(1), .dept figure:nth-child(4) { grid-column: 1 / -1; }
.dept figure:nth-child(1) img, .dept figure:nth-child(4) img { aspect-ratio: 16 / 10; }
.dept figure:nth-child(4) { transform: rotate(calc(var(--tilt) * -1)); }
.dept figure::after {
  content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 5px; pointer-events: none;
  border: 1px solid var(--line); border-width: 0 1px;
  background: linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat;
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.dept figure:hover::after { transform: scaleX(1); }
.dept figure:hover figcaption { transform: translate(6px, -4px); }

/* ---------- strip 3: Cry Here ---------- */
/* the character: a wet print lifted off the sheet to dry. The bare cut-out stands loose on the drawing (no
   wrapper, frame or mask), leaning back in perspective toward the reader, the play's panel beside it. */
.playroom { display: grid; grid-template-areas: "art" "side"; gap: 150px 48px; perspective: 1100px; }
.sitter, .sitter-cv {
  grid-area: art; justify-self: center; align-self: center;
  width: min(100%, 340px); aspect-ratio: 930 / 1265;
  transform: rotateX(9deg) rotateY(-11deg);
  transform-origin: 50% 100%;
  transition: rotate .4s cubic-bezier(.2, .8, .2, 1), scale .14s;
}
/* the drafting trace: a hairline contour traced round the print's silhouette, then the plotter's cyan halo */
.sitter, .sitter-cv {
  filter:
    drop-shadow(2px 0 0 #eaf9fd) drop-shadow(-2px 0 0 #eaf9fd)
    drop-shadow(0 2px 0 #eaf9fd) drop-shadow(0 -2px 0 #eaf9fd)
    drop-shadow(0 0 10px rgba(63, 227, 242, .35));
}
/* the contact negative: the print stands over its own mirror-image cyan negative, which fades into the sheet */
.sitter-reflection {
  grid-area: art; justify-self: center; align-self: center;
  width: min(100%, 340px); height: auto; aspect-ratio: 930 / 1265;
  transform-origin: 50% 100%;
  transform: translateY(10px) rotateY(-11deg) scaleY(-1);
  opacity: .34;
  filter: grayscale(1) sepia(1) hue-rotate(150deg) saturate(2.2) brightness(.95);
  -webkit-mask-image: linear-gradient(to bottom, transparent 68%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 68%, #000 100%);
  pointer-events: none; user-select: none;
}
@media (min-width: 900px) {
  .sitter-reflection { width: min(100%, 390px); transform: translateX(24px) translateY(10px) rotateY(-14deg) scaleY(-1); }
}
/* the light table: the print is lit from below, a soft cyan spotlight on the sheet */
.sitter-spot {
  grid-area: art; justify-self: center; align-self: center;
  width: min(100%, 440px); aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(63, 227, 242, .26), rgba(63, 227, 242, .1) 52%, rgba(63, 227, 242, 0) 74%);
}
.sitter { height: auto; touch-action: pan-y; cursor: grab; -webkit-user-drag: none; user-select: none; }
.sitter-cv { height: auto; display: none; pointer-events: none; }
.playroom.is-chomp .sitter, .playroom.is-chomp .sitter-cv { animation: chomp .14s ease-out; }
.playroom.is-live .sitter-cv { display: block; }
.playroom.is-live .sitter { opacity: 0; }
.play__side { grid-area: side; }
.play__side.panel { padding: 30px 22px 34px; background: rgba(6, 34, 42, .55); }
.sitter-tab {
  grid-area: art; align-self: start; justify-self: start; z-index: 2;
  background: var(--paper); color: var(--ink);
  font: 600 11px/1 var(--f-b); letter-spacing: .16em; text-transform: uppercase;
  padding: 7px 9px; white-space: nowrap; pointer-events: none;
}
.say {
  grid-area: art; align-self: start; justify-self: end; z-index: 2;
  position: relative; margin-top: 10px; max-width: 62%;
  background: var(--paper); color: var(--ink);
  border-radius: 14px; padding: 10px 13px;
  font: 600 14px/1.35 var(--f-b);
  transform-origin: 0 100%;
}
.say::before { content: ""; position: absolute; left: 18px; bottom: -18px; width: 1px; height: 18px; background: var(--paper); }
.say::after { content: ""; position: absolute; left: 15px; bottom: -24px; width: 7px; height: 7px; border-radius: 50%; background: var(--paper); }
.say.is-new { animation: bubble-blow .28s cubic-bezier(.3, 1.5, .5, 1); }

.play__side { min-width: 0; }
.meter { --fill: 1; margin-top: 30px; }
.meter__line { position: relative; display: block; height: 12px; margin: 0 2px; }
.meter__line::before {
  content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--line-a);
}
.meter__line::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border: 1px solid var(--line); border-width: 0 1px;
}
.meter__fill {
  position: absolute; left: 1px; right: 1px; top: 2px; height: 7px;
  background: linear-gradient(90deg, var(--glow), #a6f7ff);
  box-shadow: 0 0 12px rgba(63, 227, 242, .55);
  transform-origin: 0 50%; transform: scaleX(var(--fill));
}
.meter__ticks { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; }
.meter__ticks li {
  position: relative; text-align: right; padding-top: 6px;
  font: 600 11px/1 var(--f-b); letter-spacing: .12em; text-transform: uppercase; color: var(--soft);
}
.meter__ticks li::before { content: ""; position: absolute; right: 0; top: -8px; width: 1px; height: 10px; background: var(--line); }
.meter__ticks li.is-hit { color: var(--line); }
.play__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pbtn {
  position: relative;
  padding: 13px 16px;
  background: none; border: 1px solid var(--line);
  font: 600 13px/1 var(--f-b); letter-spacing: .14em; text-transform: uppercase; color: var(--head);
  cursor: pointer;
  transition: background .25s, color .25s, transform .2s;
}
.pbtn:hover { background: var(--line); color: var(--ink); }
.pbtn:active { transform: translateY(1px); }
html.rm .play__btns { display: none; }
.sobcount { margin-top: 22px; font: 600 12px/1 var(--f-b); letter-spacing: .18em; text-transform: uppercase; color: var(--soft); }
.sobs { font: 400 22px/1 var(--f-d); color: var(--head); letter-spacing: 0; margin-left: 6px; }
.receipt { position: relative; margin-top: 26px; max-width: 300px; padding-top: 8px; }
.receipt::before { content: ""; position: absolute; left: -10px; right: -10px; top: 0; height: 6px; background: var(--deeper); border: 1px solid var(--line); }
.receipt__head, .receipt__lines {
  background: var(--paper); color: var(--ink);
  margin: 0 4px;
}
.receipt__head { padding: 12px 14px 6px; font: 600 11px/1 var(--f-b); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.receipt__lines {
  padding: 4px 14px 18px;
  font: 600 13px/1.8 var(--f-b);
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 7px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 7px repeat-x;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 7px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 7px repeat-x;
}
.receipt__lines li.is-new { animation: receipt-feed .6s steps(6) both; }
.receipt.is-feeding { animation: receipt-feed .6s cubic-bezier(.3, 0, .2, 1) both; }
@keyframes receipt-feed { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes chomp { 40% { scale: 1.02 .96; } }
@keyframes bubble-blow { from { transform: scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- the last strip: how to buy ---------- */
.steps { display: grid; gap: 16px; }
.step { padding: 30px 22px 30px; background: rgba(6, 34, 42, .6); }
.step__n { width: 54px; height: 54px; font-size: 26px; }
.step__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-left: 12px; vertical-align: top; border: 1px solid var(--line-a); }
.step__icon--light { background: var(--paper); border-radius: var(--r-sm); }
.step__icon img { width: 30px; height: 30px; }
.inv { filter: invert(1); }
.step h3 { margin-top: 20px; font: 400 26px/1.1 var(--f-d); color: var(--head); }
.step p { margin-top: 8px; color: var(--soft); }
.buy--break { margin-top: 22px; height: 56px; padding: 0 22px; font-size: 19px; }

/* ---------- footer: the drawing's lower margin ---------- */
.foot { background: var(--grid), var(--deeper); padding: 64px 0 40px; border-top: 1px solid var(--line-a); }
.foot__block { display: grid; border: 1px solid var(--line); box-shadow: 0 0 0 3px var(--deeper), 0 0 0 4px var(--line-b); }
.foot__cell { padding: 20px; border-bottom: 1px solid var(--line-a); min-width: 0; }
.foot__cell:last-child { border-bottom: 0; }
.foot__word { font: 400 clamp(40px, 11vw, 72px)/1 var(--f-d); color: var(--head); overflow-wrap: anywhere; }
.foot__tag { margin-top: 8px; font-size: clamp(28px, 6vw, 40px); line-height: 1.1; }
.foot__links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.foot__report, .foot a:not(.chip) { color: var(--soft); text-underline-offset: 4px; }
.foot__report:hover { color: var(--head); }
.foot__legal p { font-size: 14px; line-height: 1.65; color: var(--soft); max-width: 72ch; }
.foot__dim {
  position: relative; height: 12px; margin-top: 26px;
  border: 1px solid var(--line-a); border-width: 0 1px;
  background: linear-gradient(var(--line-a), var(--line-a)) center / 100% 1px no-repeat;
}

/* ---------- panel arrivals (motion on only) ---------- */
html.js:not(.rm) [data-reveal].reveal:not(.seen) { opacity: 0; }
html.js:not(.rm) [data-reveal].seen { animation: rule-on .2s linear both; }
html.js:not(.rm) .panel.seen::before { animation: plot-frame .2s linear both; }
html.js:not(.rm) .panel.seen::after { animation: plot-frame-b .2s linear .18s both; }
html.js:not(.rm) .panel--a.seen img { animation: expose-panel .9s ease-out .25s both; }
html.js:not(.rm) .story .card.seen:nth-of-type(1) p { animation: bubble-blow .28s cubic-bezier(.3, 1.5, .5, 1) .3s both; }
html.js.st-live:not(.rm) .dept figure:not(.is-plotted) { opacity: 0; }
html.js.st-live:not(.rm) .dept figure.is-plotted { animation: rule-on .2s linear calc(var(--i, 0) * 140ms) both; }
html.js.st-live:not(.rm) .dept figure.is-plotted img { animation: expose-panel .9s ease-out calc(var(--i, 0) * 140ms + .2s) both; }
html.js.st-live:not(.rm) .dept figure.is-plotted figcaption { animation: bubble-blow .28s cubic-bezier(.3, 1.5, .5, 1) calc(var(--i, 0) * 140ms + .5s) both; }
@keyframes plot-frame { 0% { clip-path: inset(0 100% calc(100% - 1px) 0); } 50% { clip-path: inset(0 0 calc(100% - 1px) 0); } 100% { clip-path: inset(0 0 0 0); } }
@keyframes plot-frame-b { 0% { clip-path: inset(calc(100% - 1px) 0 0 100%); } 50% { clip-path: inset(calc(100% - 1px) 0 0 0); } 100% { clip-path: inset(0 0 0 0); } }
@keyframes expose-panel {
  from { filter: grayscale(1) sepia(1) hue-rotate(150deg) saturate(2.4) brightness(1.15) contrast(1.1); }
  to { filter: none; }
}

/* the phone waterline drifts; the desktop one follows the pointer */
html.js:not(.rm) .waterline { animation: waterline 8s ease-in-out infinite alternate; }
@keyframes waterline { from { transform: translateY(-3px); } to { transform: translateY(3px); } }

/* phone: on the small square panels the caption sits under the picture, never over his face */
@media (max-width: 639px) {
  .dept figure:not(:nth-child(1)):not(:nth-child(4)) figcaption {
    position: static; width: auto; margin-top: 5px;
    font-size: 11px; line-height: 1.35; padding: 6px 7px;
  }
  .dept figure:not(:nth-child(1)):not(:nth-child(4)) img { height: auto; }
}

/* ---------- tablet and desktop ---------- */
@media (min-width: 420px) {
  .buy__tk { display: inline; margin-left: .3em; }
}
@media (min-width: 640px) {
  .dept { grid-template-columns: repeat(6, 1fr); gap: 18px; grid-auto-rows: 260px; }
  .dept img { aspect-ratio: auto !important; height: 100% !important; min-height: 0 !important; }
  .dept figure:nth-child(1) { grid-column: span 4; }
  .dept figure:nth-child(2), .dept figure:nth-child(3) { grid-column: span 2; }
  .dept figure:nth-child(4) { grid-column: span 4; }
  .dept figure:nth-child(5), .dept figure:nth-child(6) { grid-column: span 3; }
  .dept figure:nth-child(1) img, .dept figure:nth-child(4) img { aspect-ratio: auto; height: 100%; }
  .dept figure:nth-child(2) img, .dept figure:nth-child(3) img { aspect-ratio: auto; height: 100%; min-height: 300px; }
  .dept figure:nth-child(4) { outline-offset: -10px; padding: 0; }
  .dept figure:nth-child(5) img, .dept figure:nth-child(6) img { aspect-ratio: 4 / 3; }
  .tb__chips { grid-template-columns: repeat(5, auto); justify-content: start; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .foot__block { grid-template-columns: 1.4fr 1fr; }
  .foot__name { grid-row: span 2; border-right: 1px solid var(--line-a); border-bottom: 0; }
}
@media (min-width: 900px) {
  .top { height: 64px; padding: 0 28px; gap: 22px; }
  .brand__name { font-size: 20px; max-width: none; white-space: nowrap; }
  .brand__logo { width: 38px; height: 38px; }
  .brand__dwg { display: inline; }
  #burger { display: none; }
  #nav, #nav.is-open {
    display: flex; flex-direction: row; align-items: center; gap: 22px;
    position: static; padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible;
  }
  .nav__link { padding: 8px 0; border: 0; font-size: 12px; }
  .nav__n { display: none; }
  .nav__link::after {
    content: ""; position: absolute; left: -4px; right: -4px; bottom: 0; height: 5px;
    border: 1px solid var(--line); border-width: 0 1px;
    background: linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat;
    transform: scaleX(0); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  }
  .nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }
  #nav .chip--x, #motion { margin: 0; align-self: center; }
  .buy--top { height: 42px; padding: 0 18px; }

  .hero { height: calc(100vh - 64px); min-height: 760px; max-height: 1000px; }
  .wet {
    position: absolute; left: 0; top: 0; bottom: 0; width: 50%; height: auto;
    clip-path: inset(0 calc((50 - var(--sx)) * 2%) 0 0);
  }
  .wet__box { left: clamp(calc(100cqw - var(--W)), calc(46cqw - var(--W) * .72), 0px); }
  .mark--2, .mark--3 { display: block; }
  .legend { left: 28px; bottom: 28px; padding: 12px 14px; }
  .legend__title { display: block; margin-bottom: 8px; color: var(--line); }
  .legend__list { flex-direction: column; gap: 7px; }
  .legend__more { display: flex !important; }
  .legend__count { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line-b); }
  .waterline { position: absolute; top: 0; bottom: 0; left: calc(var(--sx) * 1%); width: 0; height: auto; }
  html.js:not(.rm) .waterline { animation: none; }
  .waterline i { left: -1px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform-origin: 50% 50%; }
  html.is-powering .waterline i { transform: scaleY(0); }
  .waterline i::before { left: -5px; top: 4px; border: 5px solid transparent; border-bottom: 8px solid var(--head); border-top: 0; }
  .waterline i::after { left: -5px; right: auto; top: auto; bottom: 4px; border: 5px solid transparent; border-top: 8px solid var(--head); border-bottom: 0; }

  .dry {
    position: absolute; left: 46%; right: 0; top: 0; bottom: 0;
    padding: 0 64px 0 76px;
    justify-content: center;
  }
  .dry > * { max-width: 620px; }
  .kicker { font-size: 12px; }
  .h1 { margin-top: 18px; }
  .h1__a { font-size: clamp(44px, 5.3vw, 76px); line-height: .98; }
  .h1__b { font-size: clamp(54px, 6.7vw, 96px); line-height: 1.02; margin-top: 4px; }
  .lede { order: 0; margin-top: 18px; font-size: 18px; line-height: 1.55; }
  .titleblock { margin-top: 26px; }
  .tb__dwg { display: flex; align-items: center; padding: 0 16px; border-left: 1px solid var(--line-a); font: 600 11px/1.3 var(--f-b); letter-spacing: .2em; color: var(--soft); text-transform: uppercase; }
  .tb__ca { padding: 12px 16px 14px; }
  .tb__chips .chip { padding: 7px 10px; font-size: 12px; }

  .strip { padding: 120px 0 128px; }
  .story { grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; gap: 18px; }
  .panel--a { grid-column: 1 / 8; grid-row: 1 / 3; }
  .panel--a img { height: 100%; aspect-ratio: auto; min-height: 560px; }
  .story .card:nth-of-type(1) {
    grid-column: 1 / 8; grid-row: 1 / 3; z-index: 4;
    align-self: stretch;
    background: none; border: 0; box-shadow: none;
    padding: 28px; pointer-events: none;
    display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  }
  .story .card:nth-of-type(1) .card__num { left: -12px; top: -14px; }
  .story .card:nth-of-type(1) p { align-self: flex-end; max-width: 330px; margin-right: -64px; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
  .story .card:nth-of-type(1) p::before { left: 40px; top: -60px; height: 60px; }
  .story .card:nth-of-type(1) p::after { left: 37px; top: -66px; }
  .diagram { grid-column: 8 / 13; grid-row: 1; align-self: start; margin: 34px auto 0; max-width: 300px; z-index: 2; }
  .diagram__label { grid-column: 8 / 13; grid-row: 1; align-self: start; margin-top: 160px; z-index: 2; }
  .story .card:nth-of-type(2) { grid-column: 8 / 13; grid-row: 1; padding-top: 196px; }
  .story .card:nth-of-type(3) { grid-column: 8 / 13; grid-row: 2; transform: rotate(var(--tilt)) translate(10px, 6px); }

  .dept { grid-auto-rows: 300px; }
  .dept figure:nth-child(5), .dept figure:nth-child(6) { grid-row: span 1; }
  .dept figure:nth-child(5) img, .dept figure:nth-child(6) img { aspect-ratio: auto; }
  .dept figure:nth-child(4) { transform: rotate(calc(var(--tilt) * -1)) translateY(8px); z-index: 2; }

  .playroom { grid-template-areas: "art side"; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
  .play__side.panel { padding: 56px 56px 60px; }
  .sitter, .sitter-cv { width: min(100%, 390px); transform: rotateX(8deg) rotateY(-14deg) translateX(24px); }
  .say { margin-right: -60px; margin-top: 18px; max-width: 240px; font-size: 15px; }
  .h2 { margin-top: 22px; }

  .step { padding: 38px 30px 42px; }
  .step--last { padding-bottom: 20px; }
  .buy--break { position: relative; margin-bottom: -48px; }

  .foot { padding: 96px 0 48px; }
  .foot__block { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot__name { grid-row: auto; border-bottom: 0; }
  .foot__links { border-right: 1px solid var(--line-a); border-bottom: 0; flex-direction: column; align-items: flex-start; justify-content: center; }
  .foot__cell { padding: 28px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .dry { padding: 0 28px 0 52px; }
  .lede { font-size: 16px; }
}
@media (min-width: 1300px) {
  .dept { grid-auto-rows: 330px; }
}

/* ---------- 404: a dry sheet ---------- */
.lost__sheet { min-height: 100vh; display: grid; place-items: center; padding: 48px 0; }
.lost__wrap { display: grid; place-items: center; }
.lost__block { width: min(560px, 100%); margin: 0; }
.lost__block .tb__approve { justify-content: space-between; align-items: center; }
.lost__block .tb__label { padding: 14px 16px; border-right: 0; }
.lost__logo { width: 56px; height: 56px; border-left: 1px solid var(--line-a); padding: 6px; }
.lost__logo img { width: 100%; height: 100%; object-fit: cover; }
.lost__body { padding: 30px 24px 34px; }
.lost__drop { width: 44px; height: auto; fill: none; stroke: var(--line); stroke-width: 1.4; stroke-dasharray: 4 4; }
.lost__h1 { margin-top: 16px; }
.lost__home { margin-top: 28px; height: 52px; padding: 0 22px; }

/* motion off, and the reduced-motion preference: complete and still */
html.rm *, html.rm *::before, html.rm *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}
