[hidden] { display: none !important; }
html, body { background: var(--paper); }
body { color: var(--blue); background: var(--paper) var(--paper-image, none) 0 0 / var(--paper-size, auto) repeat; }
.sr-only { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.line { position: relative; height: 20.5vw; min-height: 84px; }
.cal { position: relative; padding-top: calc(var(--u) * 4); }
.today { position: absolute; margin: 0; font-size: var(--t-data); font-weight: 650; white-space: nowrap; transform: translateX(-50%); z-index: 2; }
/* The index under each printed line: the quiet volume, set in columns that start on the months above. */
.marks { position: relative; display: grid; grid-template-columns: var(--cols, 1fr 1fr 1fr); margin: 0 0 calc(var(--u) * 3); padding: 0 0 0 var(--m); list-style: none; font-size: var(--t-caption); line-height: 1.35; }
.marks:last-child { margin-bottom: 0; }
.marks li { min-width: 0; padding-right: 20px; }
.marks a { color: inherit; text-decoration: none; display: block; }
.marks b, .marks span { display: block; }
.marks b { font-weight: 750; }
.marks li > a b { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.marks .ahead { opacity: 0.82; }
.marks .open a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.film { padding: calc(var(--u) * 6) var(--m) 0; display: grid; gap: var(--u); }
.plate { display: block; }
.plate img { display: block; width: 100%; height: auto; }
.film-text h2, .film-text h3 { margin: 0 0 0.5em; font-size: var(--t-heading); font-weight: 700; line-height: 1.08; letter-spacing: -0.012em; }
.film-text p { margin: 0 0 var(--u); max-width: 34em; font-size: var(--t-body); line-height: 1.45; text-wrap: pretty; }
.film > .film-text { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 110px); align-items: start; }
.film > .film-text h2 { grid-row: span 2; margin: 0; }
.film-second { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-top: calc(var(--u) * 6); }
.go { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-size: var(--t-body); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; cursor: pointer; }
.work { padding-top: calc(var(--u) * 6); }
.work p { margin: 8px var(--m) 0; font-size: var(--t-body); line-height: 1.45; }
.about { padding: calc(var(--u) * 6) var(--m) 0; display: grid; gap: 0.6em; grid-template-columns: minmax(0, 1fr); font-size: var(--t-heading); font-weight: 700; line-height: 1.12; letter-spacing: -0.012em; }
.about p { margin: 0; max-width: 21em; text-wrap: pretty; }
.end { padding: calc(var(--u) * 6) var(--m) 0; }
.end p { margin: var(--u) 0 0; font-size: var(--t-body); }
@media (max-width: 720px) {
  .marks { grid-template-columns: 1fr; gap: 14px; }
  .film > .film-text, .film-second { grid-template-columns: 1fr; }
  .film > .film-text h2 { grid-row: auto; margin-bottom: 0.4em; }
}


/* The filled button has paper-colored text, so the ring needs the ink color to show on the paper. */
.action--primary:focus-visible { outline-color: var(--blue); }

.scan { position: relative; min-height: max(620px, 94svh); padding: calc(var(--u) * 6) var(--m) calc(var(--u) * 2); display: flex; flex-direction: column; }
@media (max-height: 620px) { .scan { min-height: 100svh; } .s-pct.s-pct { margin: 2px 0 0; } }
/* Before Start the scan is one heading, one line and a button. The full screen is for the questions only, so the invitation leaves no empty sheet under it. */
.scan:has(> .s-intro:not([hidden])) { min-height: 0; padding-bottom: 0; }
.s-ink { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: multiply; pointer-events: none; }
.scan > *:not(.s-ink) { position: relative; z-index: 1; }

.s-intro { flex: 1; display: flex; flex-direction: column; }
.s-intro h2 { margin: 0; max-width: 18em; font-size: var(--t-heading); font-weight: 700; line-height: 1.08; letter-spacing: -0.012em; text-wrap: balance; }
.s-lead { margin: var(--u) 0 0; font-size: var(--t-body); font-weight: 450; line-height: 1.45; max-width: 31em; text-wrap: pretty; }
.s-go { align-self: center; margin-top: auto; min-height: 56px; padding: 0 34px; border: 0; border-radius: 999px; background: var(--blue); color: var(--paper); font: 650 var(--t-body) 'Schibsted Grotesk', Arial, sans-serif; cursor: pointer; }
.s-intro .s-go { align-self: flex-start; margin-top: calc(var(--u) * 2); }
@media (hover: hover) { .s-go:hover { background: var(--blue-deep); } }

/* Inside the scan each step fills the screen, and each step has one loud thing: the answers, the observation, the number, the verdict. */
.s-trial { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 1fr); align-items: center; gap: var(--u); }
.s-a { align-self: stretch; padding: 0; border: 0; background: none; color: var(--blue); font: var(--w-display) var(--t-display)/1 var(--f-display); letter-spacing: var(--ls-display); cursor: pointer; }
.s-a.is-long { font: 700 var(--t-heading)/1.08 'Schibsted Grotesk', Arial, sans-serif; letter-spacing: -0.012em; overflow-wrap: anywhere; }
.s-a:focus-visible { text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.09em; }
@media (hover: hover) { .s-a:hover { text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.09em; } }
.s-mid { text-align: center; }
.s-count { margin: 0 0 var(--u); font-size: var(--t-data); font-weight: 650; font-variant-numeric: tabular-nums; }
.s-q { display: block; margin: 0 auto; max-width: 18em; font-size: var(--t-heading); font-weight: 700; line-height: 1.08; letter-spacing: -0.012em; text-wrap: balance; outline: none; }
.s-seen { min-height: 1.45em; margin: var(--u) 0 0; font-size: var(--t-body); font-weight: 560; line-height: 1.45; text-wrap: balance; }
.is-beat .s-count { visibility: hidden; }
.is-beat .s-a, .is-beat .s-q { display: none; }
.is-beat .s-mid { grid-column: 1 / -1; }
.is-beat .s-seen { margin: 0; font-family: var(--f-display); font-size: var(--t-display); font-weight: var(--w-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); }

.s-word, .s-drag, .s-reading { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.s-word input { width: min(100%, 15em); margin: var(--u) 0 calc(var(--u) * 2); padding: 4px 0 8px; border: 0; border-bottom: 4px solid var(--blue); background: none; color: var(--blue); font: var(--w-display) var(--t-display) var(--f-display); letter-spacing: var(--ls-display); text-align: center; caret-color: var(--blue); outline: none; border-radius: 0; }
.s-word .s-go { margin-top: 0; }

.s-result { flex: 1; }
.s-verdict { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--u) calc(var(--u) * 2); align-items: start; }
.s-big { margin: 0; font-family: var(--f-display); font-size: var(--t-display); font-weight: var(--w-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); max-width: 9em; text-wrap: balance; }
.s-sure { display: flex; flex-direction: column; align-items: flex-end; margin: 0; }
/* The verdict is the loud line. The certainty beside it is a heading, so the two do not shout at once. */
.s-sure b { font-size: var(--t-heading); font-weight: 700; line-height: 1.08; letter-spacing: -0.012em; font-variant-numeric: tabular-nums; }
.s-sure span { font-size: var(--t-caption); font-weight: 650; margin-top: 6px; }
.s-basis { margin: calc(var(--u) * 2) 0 0; font-size: var(--t-body); font-weight: 560; }
.s-barnum { margin: var(--u) 0 0; padding: 0; list-style: none; font-size: var(--t-heading); font-weight: 700; line-height: 1.12; letter-spacing: -0.012em; max-width: 26em; }
.s-barnum li + li { margin-top: 0.3em; }
.s-under { margin-top: calc(var(--u) * 3); }
.s-lead2 { margin: 0 0 var(--u); font-size: var(--t-heading); font-weight: 700; line-height: 1.12; letter-spacing: -0.012em; }
.s-code { margin: 0; padding: calc(var(--u) * 2); overflow-x: auto; background: var(--blue-deep); color: var(--paper); font: 500 var(--t-body)/1.45 ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace; tab-size: 2; }
.s-note { margin: var(--u) 0 0; max-width: 34em; font-size: var(--t-body); line-height: 1.45; text-wrap: pretty; }
.s-note a { color: inherit; font-weight: 650; text-underline-offset: 4px; }
.s-again { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: var(--u) 0 0; }
.s-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--blue); font: 650 var(--t-body) 'Schibsted Grotesk', Arial, sans-serif; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; cursor: pointer; }

@media (max-width: 720px) {
  .s-trial { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .s-mid { grid-column: 1 / -1; grid-row: 1; }
  .s-a { grid-row: 2; min-height: 96px; }
  .s-verdict { grid-template-columns: 1fr; }
  .s-sure { align-items: flex-start; }
}

.s-kick { margin: 0 0 var(--u); font-size: var(--t-body); font-weight: 560; line-height: 1.45; }
.s-hint { margin: var(--u) 0 0; font-size: var(--t-body); }
.s-pct { display: block; margin: var(--u) 0 4px; font-family: var(--f-display); font-size: var(--t-display); font-weight: var(--w-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); font-variant-numeric: tabular-nums; }
#s-range { -webkit-appearance: none; appearance: none; width: min(100%, 980px); height: 44px; margin: 0 0 var(--u); background: none; cursor: ew-resize; }
#s-range::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--blue) var(--fill, 10%), rgb(10 44 207 / 0.28) var(--fill, 10%)); }
#s-range::-moz-range-track { height: 4px; background: rgb(10 44 207 / 0.28); }
#s-range::-moz-range-progress { height: 4px; background: var(--blue); }
#s-range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -15px; border: 0; border-radius: 50%; background: var(--blue); }
#s-range::-moz-range-thumb { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--blue); }
#s-range:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.s-reading ol { margin: 0; padding: 0; list-style: none; font-size: var(--t-heading); font-weight: 700; line-height: 1.12; letter-spacing: -0.012em; }
.s-reading li { opacity: 0; }
.s-reading li.is-on { opacity: 1; }
.s-bar { width: min(100%, 640px); height: 4px; margin-top: calc(var(--u) * 2); background: rgb(10 44 207 / 0.28); }
.s-bar i { display: block; height: 100%; width: 0; background: var(--blue); }
.s-how { margin-top: calc(var(--u) * 2); align-self: flex-start; }
.s-replay { display: block; width: 100%; height: auto; margin: 0 0 calc(var(--u) * 2); border: 1.5px solid rgb(10 44 207 / 0.5); mix-blend-mode: multiply; }
.s-replay[hidden] { display: none; }
.s-moves { margin: 0 0 calc(var(--u) * 2); padding: 0; list-style: none; }
.s-moves li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 4px calc(var(--u) * 2); padding: calc(var(--u) / 2) 0; border-top: 1px solid rgb(10 44 207 / 0.34); }
.s-moves b { font-size: var(--t-body); font-weight: 750; line-height: 1.3; }
.s-moves span { font-size: var(--t-body); line-height: 1.45; text-wrap: pretty; }
.s-moves a { color: inherit; font-weight: 650; text-underline-offset: 4px; white-space: nowrap; }
@media (max-width: 720px) { .s-moves li { grid-template-columns: 1fr; } }
/* A phone cannot show the long lines of the code, and nothing tells a visitor that the block scrolls sideways. */
@media (max-width: 720px) { .s-code { white-space: pre-wrap; overflow-wrap: anywhere; } }
.s-seen.is-call { font-size: var(--t-heading); font-weight: 700; line-height: 1.08; letter-spacing: -0.012em; }
.s-seen small { display: block; margin-top: var(--u); font-family: 'Schibsted Grotesk', Arial, sans-serif; font-size: var(--t-body); font-weight: 560; line-height: 1.45; letter-spacing: 0; }
.is-confront .s-kick { margin: 0 auto var(--u); max-width: 18em; font-size: var(--t-heading); font-weight: 700; line-height: 1.08; letter-spacing: -0.012em; text-wrap: balance; }
.is-confront .s-q { font-size: var(--t-body); font-weight: 560; line-height: 1.45; letter-spacing: 0; }
.bill { position: relative; margin-top: calc(var(--u) * 6); padding: calc(var(--u) * 4) var(--m) 0; background: var(--blue); color: var(--paper); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 90px); align-items: end; overflow: hidden; }
.bill-copy { align-self: start; position: sticky; top: calc(var(--u) * 2); padding-bottom: calc(var(--u) * 2); }
/* The receipt is the loud thing on this sheet. "Nothing is free." was a display line in the film already, so here it is a heading. */
.bill h2 { margin: 0; font-size: var(--t-heading); font-weight: 700; line-height: 1.08; letter-spacing: -0.012em; }
.bill-lead { margin: 0 0 calc(var(--u) * 3); max-width: 16em; font-size: var(--t-heading); font-weight: 450; line-height: 1.08; letter-spacing: -0.012em; text-wrap: balance; }
.bill-mail { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-size: var(--t-body); font-weight: 700; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.bill-small { margin: 0; font-size: var(--t-caption); }
.bill-colo { margin: calc(var(--u) * 3) 0 0; max-width: 34em; font-size: var(--t-caption); line-height: 1.35; opacity: 0.86; }
.copy { margin-top: calc(var(--u) / 2); min-height: 44px; padding: 0; border: 0; background: none; color: var(--paper); font: inherit; font-size: var(--t-caption); font-weight: 650; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.printer { position: relative; justify-self: center; width: min(100%, 372px); align-self: end; }
.feed { position: relative; margin: 0 -48px; padding: 30px 48px 0; overflow: hidden; }
.printer::after { content: ""; position: absolute; left: -14px; right: -14px; bottom: 0; height: 4px; border-radius: 2px; background: rgb(3 14 90 / 0.8); }
.strip { position: relative; display: block; transform-origin: 50% 100%; filter: drop-shadow(0 1px 1px rgb(3 14 90 / 0.55)) drop-shadow(14px 10px 16px rgb(3 14 90 / 0.5)); }
.paper { display: block; width: 100%; height: auto; }
/* A long receipt continues on the same sheet, turned, so that the seam of the two copies meets exactly. */
.paper--turned { margin-top: -7%; transform: scaleY(-1); -webkit-mask-image: linear-gradient(to top, transparent, #000 18px); mask-image: linear-gradient(to top, transparent, #000 18px); }
.print { position: absolute; left: 3.2%; top: 44px; width: 93.6%; height: auto; mix-blend-mode: multiply; filter: blur(0.22px); }
.sr-only { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) {
  .bill { grid-template-columns: 1fr; }
  .bill-copy { position: static; }
  .printer { margin-top: var(--u); width: min(92%, 360px); }
  .printer::after { left: -7px; right: -7px; }
}

/* ---------------------------------------------------------------- the return: one number */
.ret {
  /* The chat keeps its own two names for the quiet roles of the system. */
  --cut: var(--t-body);
  --small: var(--t-caption);
  --blind-dark: rgb(120 88 30 / 0.46);
  --blind-light: rgb(255 248 224 / 0.82);
  --sheet: var(--paper) var(--paper-image, none) 0 0 / var(--paper-size, auto) repeat;
  position: relative;
  padding: calc(var(--u) * 6) 0 0;
  color: var(--blue);
  overflow-x: clip;
  /* The page follows the words by itself. The anchoring of the browser moved the page up behind it. */
  overflow-anchor: none;
}

/* The reveal makes the page taller. A section after it must not hold the view and carry the page down. */
.ret ~ * {
  overflow-anchor: none;
}

.ret-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
  column-gap: clamp(32px, 4.6vw, 76px);
  padding: 0 var(--m);
  align-items: start;
}

.ret-fig {
  position: sticky;
  top: clamp(20px, 7vh, 72px);
  display: grid;
}

/* The printed number is the loud line. The words around it are headings. */
.ret-try,
.ret-back {
  margin: 0;
  font-size: var(--t-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.num {
  position: relative;
  width: 100%;
  margin: calc(var(--u) / 2) 0 calc(var(--u) / 4);
}

.num-plate {
  display: block;
  width: calc(100% + 2 * var(--num-bleed, 0px));
  height: 100%;
  margin-left: calc(-1 * var(--num-bleed, 0px));
}

.num-flat {
  display: none;
  position: absolute;
  inset: 0;
  align-items: flex-end;
  font-size: var(--num-em, 18vw);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.num-flat[data-old]::before {
  content: attr(data-old);
  position: absolute;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue);
}

.num[data-flat] .num-plate { display: none; }
.num[data-flat] .num-flat { display: flex; }

.ret-under {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.num-cap {
  margin: 0;
  max-width: 24em;
  font-size: var(--cut);
  font-weight: 560;
  line-height: 1.3;
  text-align: right;
  text-wrap: pretty;
}

.ret-lead {
  margin: calc(var(--u) * 2) 0 0;
  max-width: 33em;
  font-size: var(--cut);
  line-height: 1.45;
  text-wrap: pretty;
}

/* ---- the conversation: quiet type beside the number */

.ret-talk {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100svh - clamp(40px, 8vh, 96px));
  font-size: var(--cut);
  line-height: 1.45;
}

.ret-log {
  display: flex;
  flex-direction: column;
  gap: var(--u);
}

.ret-log p {
  margin: 0;
}

.me {
  align-self: flex-end;
  max-width: 88%;
  white-space: pre-wrap;
  margin-top: 0.5em !important;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.turn {
  display: grid;
  gap: 8px;
  animation: turn-in 240ms ease-out both;
}

@keyframes turn-in {
  from { opacity: 0.82; }
  to { opacity: 1; }
}

.who {
  font-weight: 750;
  letter-spacing: -0.01em;
}

.prose {
  overflow-wrap: anywhere;
}

.fixed-mark {
  font-size: var(--small);
  font-weight: 560;
}

.prose--lifting {
  color: transparent;
  text-shadow: 1px 1px 0 var(--blind-light), -0.4px -0.4px 0 var(--blind-dark);
  transition: color 300ms ease-in, text-shadow 300ms ease-in;
}

.prose--waiting {
  visibility: hidden;
}

.wet {
  animation: wet-ink 900ms ease-out both;
}

@keyframes wet-ink {
  from { color: var(--blue-deep); }
  to { color: var(--blue); }
}

/* The ink edge: the end of the line of type that the press just made. */
.caret {
  display: inline-block;
  width: 0.16em;
  height: 1em;
  margin-left: 0.09em;
  background: var(--blue);
  vertical-align: -0.14em;
  animation: caret-pulse 1.05s linear infinite;
}

@keyframes caret-pulse {
  0%, 62% { opacity: 1; }
  63%, 100% { opacity: 0.25; }
}

/* An amount that code printed: a second impression, cut out of solid ink. */
.amt {
  position: relative;
  display: inline-block;
  padding: 0 0.3em;
  background: var(--blue);
  color: var(--paper);
  font-weight: 800;
  line-height: 1.22;
  white-space: nowrap;
  cursor: default;
}

.amt::before {
  content: '';
  position: absolute;
  inset: -10px -3px;
}

.amt-note {
  position: absolute;
  left: 0;
  bottom: calc(100% + 7px);
  z-index: 5;
  display: none;
  padding: 4px 9px 5px;
  background: var(--blue-deep);
  color: var(--paper);
  font-size: var(--t-caption);
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.amt--flip .amt-note {
  left: auto;
  right: 0;
}

.amt--tip .amt-note {
  display: block;
}

@media (hover: hover) {
  .amt:hover .amt-note {
    display: block;
  }
}

/* Esc closes the note, and the next move of the pointer opens the way again. */
.ret[data-quiet-tips] .amt-note {
  display: none;
}

.order {
  font-size: var(--small);
  font-weight: 560;
}

.note {
  font-size: var(--small);
  font-weight: 560;
}

/* ---- the sign: ink climbs up through a hollow euro, as it climbs through the letters of the opening */

.sign {
  position: relative;
  display: inline-block;
  flex: none;
  width: 0.78em;
  font-size: var(--t-heading);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  text-shadow: 1px 1px 0 var(--blind-light), -0.8px -0.8px 0 var(--blind-dark);
  text-align: center;
}

.sign::after {
  content: '\20AC';
  position: absolute;
  inset: 0;
  color: var(--blue);
  text-shadow: none;
  clip-path: inset(100% -4px 0 -4px);
  animation: ink-climb 1.5s cubic-bezier(0.55, 0.1, 0.3, 0.95) infinite;
}

@keyframes ink-climb {
  0% { clip-path: inset(100% -4px 0 -4px); }
  52% { clip-path: inset(0 -4px 0 -4px); }
  68% { clip-path: inset(0 -4px 0 -4px); }
  100% { clip-path: inset(0 -4px 100% -4px); }
}

.think {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
}

/* ---- the steps of the agent */

.step {
  display: grid;
}

.step-row {
  display: flex;
  align-items: baseline;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  padding: 11px 0 9px;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-size: var(--small);
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.step:not([data-state="running"]) .step-row::before {
  content: '';
  flex: none;
  align-self: center;
  width: 8px;
  height: 8px;
  background: var(--blue);
}

.step[data-state="refused"] .step-row::before,
.step[data-state="stopped"] .step-row::before {
  background: none;
  box-shadow: inset 0 0 0 1.5px var(--blue);
}

.step-row[aria-disabled="true"] {
  cursor: default;
}

.step-mark {
  align-self: center;
  font-size: var(--t-body);
}

.step-words {
  flex: 1;
  min-width: 0;
  display: grid;
}

.step-label { font-weight: 560; }

.step[data-by="code"] .step-label { font-weight: 800; }

.step[data-state="refused"] .step-label {
  font-weight: 560;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.step-sum {
  flex: none;
  max-width: 42%;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.step-toggle {
  flex: none;
  width: 1ch;
  font-size: var(--t-body);
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.step:is([data-state="running"], [data-state="stopped"]) .step-toggle { display: none; }

.step-by {
  font-weight: 560;
}

.step-body {
  padding: 2px 0 14px;
  font-size: var(--small);
  line-height: 1.34;
}

.step-group {
  display: grid;
  gap: 2px;
  margin: 2px 0 0;
}

.step-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: 0 12px;
}

.step-pair dd,
.step-pair dt { margin: 0; }

.step-pair dt { font-weight: 450; }
.step-pair dd { font-weight: 700; }

.ret-log .step-head {
  margin-top: 8px;
  font-weight: 750;
}

/* ---- the offer: this is the dark pattern of the shop, so this one is strong */

.offer {
  margin-top: 4px;
}

.offer-btn {
  display: block;
  width: 100%;
  min-height: 72px;
  padding: 14px 18px 16px;
  border: 0;
  background: var(--blue);
  color: var(--paper);
  font: inherit;
  font-size: var(--t-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-align: left;
  cursor: pointer;
}

.offer-btn[aria-disabled="true"] {
  background: none;
  color: var(--blue);
  cursor: default;
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

@media (hover: hover) {
  .offer-btn:not([aria-disabled="true"]):hover {
    background: var(--blue-deep);
  }
}

.offer-gone {
  font-size: var(--small);
  font-weight: 560;
}

/* ---- the suggested replies: the way out is the quiet one */

.ret-sugs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 8px;
}

.ret-sugs:empty { display: none; }

.sug,
.quiet {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 2px 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-size: var(--small);
  font-weight: 560;
  line-height: 1.25;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}

/* A reply is a real button. The way out stays a plain link, and only the offer is solid. */
.sug {
  padding: 9px 14px 10px;
  text-decoration: none;
  box-shadow: inset 0 0 0 1.5px var(--blue);
}

@media (hover: hover) {
  .sug:hover {
    background: var(--blue);
    color: var(--paper);
  }

  .quiet:hover {
    text-decoration-thickness: 2px;
  }
}

/* ---- the composer: a field that is pressed into the paper. The focus inks it. */

.ret-dock {
  position: sticky;
  bottom: var(--kb, 0px);
  z-index: 2;
  margin-top: calc(var(--u) / 2);
  padding: 8px 0 max(10px, env(safe-area-inset-bottom));
  background: var(--sheet);
  background-attachment: fixed;
}

.dock-note {
  margin: 0 0 8px;
  font-size: var(--small);
  line-height: 1.32;
}

.comp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}

.comp-field {
  display: flex;
  min-height: 56px;
  box-shadow: inset 0 0 0 2px var(--blue);
}

.comp-field:focus-within {
  box-shadow: none;
  outline: 2.5px solid var(--blue);
  outline-offset: -2.5px;
}

.comp-field textarea {
  display: block;
  width: 100%;
  max-height: 34svh;
  padding: 15px 14px 13px;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-size: max(16px, var(--cut));
  font-weight: 560;
  line-height: 1.34;
  resize: none;
  outline: 0;
}

.comp-field textarea::placeholder {
  color: var(--blue);
  opacity: 0.9;
  font-weight: 450;
}

.comp-act {
  min-width: 88px;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  background: var(--blue);
  color: var(--paper);
  font: inherit;
  font-size: max(16px, var(--cut));
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.comp-act[data-ready="no"] {
  cursor: default;
  background: none;
  color: var(--blue);
  box-shadow: inset 0 0 0 2px var(--blue);
}

.comp-act[data-mode="stop"] {
  background: var(--blue-deep);
  color: var(--paper);
  box-shadow: none;
}

.dock-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  min-height: 44px;
}

.comp-count {
  margin-right: auto;
  font-size: var(--small);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.stopped-mark {
  font-size: var(--small);
  font-weight: 750;
}

.err {
  display: grid;
  gap: 2px;
  justify-items: start;
}

.err-msg { font-weight: 700; }

.err-wait {
  font-size: var(--small);
  font-weight: 560;
}

.again {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.again[aria-disabled="true"] {
  cursor: default;
  font-weight: 560;
  text-decoration-thickness: 1px;
}

/* ---- the reveal: the number again, over the whole width */

.rv {
  padding: calc(var(--u) * 6) var(--m) 0;
}

.rv[hidden] { display: none; }

.rv p { margin: 0; }

.rv-num {
  position: relative;
  width: 100%;
  scroll-margin-top: clamp(20px, 5vh, 56px);
}

.rv-num .num-plate {
  display: block;
  width: calc(100% + 2 * var(--num-bleed, 0px));
  height: 100%;
  margin-left: calc(-1 * var(--num-bleed, 0px));
}

.rv-head {
  margin-top: var(--u);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 84px);
  align-items: start;
}

.rv-title {
  margin: 0;
  font-size: var(--t-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.rv-title:focus-visible { outline: none; }

.rv-obs {
  display: grid;
  gap: 0.8em;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--cut);
  font-weight: 560;
  line-height: 1.42;
  text-wrap: pretty;
}

.rv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: calc(var(--u) * 2);
  margin-top: calc(var(--u) * 4);
  align-items: start;
}

.rv-grid h4,
.rv-sub {
  margin: 0 0 var(--u);
  font-size: var(--t-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.rv-moves {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rv-moves li {
  padding: 14px 0 12px;
  border-top: 1px solid var(--blue);
}

.mv-words {
  font-size: var(--cut);
  font-weight: 750;
  line-height: 1.26;
}

.mv-said {
  margin-top: 3px !important;
  font-size: var(--small);
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.rv-moves li[data-used="no"] .mv-words {
  font-weight: 450;
}

.rv-goal {
  margin: 0 0 6px;
  font-size: var(--cut);
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}

.rv-more summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
  font-size: var(--small);
  font-weight: 560;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  list-style: none;
}

.rv-more summary::-webkit-details-marker {
  display: none;
}

.rv-told {
  margin-top: 8px;
  max-width: 44em;
  white-space: pre-wrap;
  font-size: var(--small);
  line-height: 1.4;
  text-wrap: pretty;
}

.rv-win {
  margin-top: calc(var(--u) * 4);
}

.rv-win-note {
  font-size: var(--cut);
  font-weight: 560;
}

.rv-win-line {
  margin-top: 8px !important;
  font-family: var(--f-display);
  font-size: var(--t-display);
  font-weight: var(--w-display);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  text-wrap: balance;
}

.rv-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--u) calc(var(--u) * 2);
  margin-top: calc(var(--u) * 4);
  padding-bottom: 8px;
  font-size: var(--cut);
  line-height: 1.42;
}

.rv-links {
  display: grid;
  gap: 2px;
}

.rv-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}

.restart {
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: var(--paper);
  font: inherit;
  font-size: var(--cut);
  font-weight: 700;
  cursor: pointer;
}

@media (hover: hover) {
  .restart:hover { background: var(--blue-deep); }
}

/* ---- narrow: the number stays above the talk, the composer stays below it */

/* The sticky number and the sticky composer must never cover the control that has the focus. */
.ret :is(button, a, textarea, summary) {
  scroll-margin-top: var(--stick-top, 20px);
  scroll-margin-bottom: calc(var(--dock-h, 140px) + 12px);
}

.restart:focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 900px), (max-height: 520px) {
  .ret {
    --stick-top: calc(var(--num-h, 90px) + 12px);
  }

  /* Before the first message nothing has to stay in view, so the composer stands in the flow and covers nothing. */
  .ret-talk:not([data-engaged]) .ret-dock {
    position: static;
  }

  .ret-sheet {
    grid-template-columns: minmax(0, 1fr);
  }

  .ret-fig {
    position: static;
    display: contents;
  }

  .num {
    position: sticky;
    top: 0;
    z-index: 3;
    margin: 8px 0 6px;
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--sheet);
    background-attachment: fixed;
    box-shadow: 0 1px 0 var(--blind-dark);
  }

  .ret-under {
    margin-bottom: 18px;
  }

  .ret-lead {
    margin: 0 0 30px;
  }

  .ret-talk {
    min-height: 0;
  }

  .ret-log {
    min-height: 34svh;
    justify-content: flex-end;
  }

  .rv-head,
  .rv-grid {
    grid-template-columns: minmax(0, 1fr);
  }

}

/* A phone on its side with an open keyboard has room for one thing at a time: the words. */
@media (max-height: 460px) {
  .ret {
    --stick-top: 20px;
  }

  .num {
    position: static;
  }

  .dock-note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .turn,
  .wet {
    animation: none;
  }

  .caret {
    animation: none;
  }

  .sign::after {
    animation: none;
    clip-path: inset(46% -4px 0 -4px);
  }

  .prose--lifting {
    transition: none;
  }
}

/* ---------------------------------------------------------------- Work and About: make-ready */
/* One picture over two sections. The sheet sits in .work, and .about is pulled up into the window that the sheet leaves open.
   The window is a real hole: the alpha of sheet-d.webp and sheet-m.webp is zero there, so the page paper shows.
   Every number below is a percentage of the page width, because the sheet scales with the page width. */
.work { padding-top: calc(var(--u) * 6); }
.mr-head { padding: 0 var(--m); margin-bottom: calc(var(--u) * 2); }
.work .mr-lead { margin: 0; font-size: var(--t-heading); font-weight: 700; line-height: 1.08; letter-spacing: -0.012em; }
.work .mr-note { margin: var(--u) 0 0; max-width: 33em; font-size: var(--t-body); line-height: 1.45; text-wrap: pretty; }
.work .mr-note a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.work .mr-cap { margin: calc(var(--u) / 2) 0 0; max-width: 40em; font-size: var(--t-caption); font-weight: 560; line-height: 1.35; text-wrap: pretty; }

.mr-sheet { position: relative; aspect-ratio: 2160 / 1440; margin: 0 0 -57.667%; }
.mr-sheet picture, .mr-sheet img { display: block; width: 100%; height: 100%; }

/* The window of the sheet scales with the page width. The bio is a heading: at 1512 px the heading size and the window match, as they did before. */
.about { position: relative; display: grid; grid-template-columns: 33.6% minmax(0, 1fr); grid-template-rows: auto; column-gap: 3.4%; align-items: start; align-content: start; padding: 2.9% 8.9% 0 41.4%; aspect-ratio: 100 / 57.667; font-size: var(--t-heading); line-height: 1.13; letter-spacing: -0.012em; font-weight: 700; }
.about .mr-bio { display: grid; gap: 0.6em; }
.about p { margin: 0; max-width: none; text-wrap: pretty; }
/* The reserve for the photo is the screen of the sheet at one flat tone: the place where the real picture prints in the same dot. */
.about .mr-reserve { order: -1; margin: 0; align-self: start; }
.mr-you { position: relative; aspect-ratio: 3 / 4; background: url(make-ready/reserve.webp) 0 0 / 100% 100% no-repeat; }
.mr-you.is-live { background: none; }
.mr-you canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mr-reserve figcaption { margin-top: 0.7em; font-size: var(--t-caption); font-weight: 650; line-height: 1.35; letter-spacing: 0; text-wrap: pretty; }

/* the two states of Work */
.work .mr-project { display: none; }
.work[data-work="project"] .mr-project { display: block; }
.work[data-work="project"] .mr-empty { display: none; }

@media (max-width: 820px) {
  .mr-sheet { aspect-ratio: 1170 / 3042; margin-bottom: -187.2%; }
  .about { grid-template-columns: minmax(0, 1fr); padding: 8% 11% 0 11%; aspect-ratio: 100 / 187.2; font-size: var(--t-heading); line-height: 1.16; }
  .about .mr-reserve { order: -1; display: grid; grid-template-columns: 44% minmax(0, 1fr); column-gap: 14px; align-items: end; margin-bottom: 1em; }
  .mr-reserve figcaption { margin-top: 0; }
}

/* ---------------------------------------------------------------- Work: the first project at the size of the work */
/* The drawn sea and the real window come from the Helmsman page (helmsman/page.css: .sea-w, .win, .lights).
   The sea is a drawing on white paper, so it prints with multiply. The word is set in type: the rolling stone
   stays the mark of the opening and of the Helmsman page. */
.hm {
  --w: min(1056px, calc(100vw - 2 * var(--m)));
  /* the sea image is 2880 x 1920; the sky above the horizon is 40% of it */
  --sea-h: 66.667vw;
  --crop: 13vw;
  position: relative;
  padding-top: clamp(24px, 3vw, 48px);
}
.hm-art { position: relative; height: calc(var(--sea-h) - var(--crop) - 8.5vw); }
.hm-sea {
  position: absolute;
  inset: 0;
  overflow: hidden;
  mix-blend-mode: multiply;
  --edge: 18.05vw;
  -webkit-mask: url(helmsman/a/ragged.webp) left bottom / 100% var(--edge) no-repeat, linear-gradient(#000, #000) left top / 100% calc(100% - var(--edge) + 1px) no-repeat;
  mask: url(helmsman/a/ragged.webp) left bottom / 100% var(--edge) no-repeat, linear-gradient(#000, #000) left top / 100% calc(100% - var(--edge) + 1px) no-repeat;
}
.hm-sea img { position: absolute; left: 0; top: calc(-1 * var(--crop)); display: block; width: 100%; height: auto; }
.hm-head { position: relative; z-index: 1; padding: 0 var(--m); }
.work .hm-kick { margin: 0; font-size: var(--t-body); font-weight: 700; line-height: 1.3; letter-spacing: -0.005em; }
/* The name is the loud line of Work. On a very narrow phone it shrinks with the sheet, so it never runs off the paper. */
.hm-name { margin: 0.04em 0 0 var(--hang-display); font-size: min(var(--t-display), calc((100vw - 2 * var(--m)) / 5.3)); font-weight: var(--w-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); }

/* the real window: the frame untouched, a macOS corner, a hairline and a soft shadow */
.hm-win { position: relative; z-index: 1; width: var(--w); margin: calc(var(--w) * -0.186) auto 0; border-radius: 12px; overflow: hidden; background: #181818; box-shadow: 0 0 0 1px #000000b3, 0 2px 4px #2a1d0a4d, 0 18px 36px #2a1d0a47, 0 56px 110px #2a1d0a59; }
.hm-win::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px #ffffff29; pointer-events: none; }
.hm-win img { display: block; width: 100%; height: auto; }
.hm-win .lights { position: absolute; left: 1.894%; top: 2.265%; width: 4.924%; display: flex; justify-content: space-between; z-index: 1; }
.hm-win .lights i { display: block; width: 23.08%; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 .5px #0000002e; }
.hm-win .lights i:nth-child(1) { background: #ff5f57; }
.hm-win .lights i:nth-child(2) { background: #febc2e; }
.hm-win .lights i:nth-child(3) { background: #28c840; }

.hm-text { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(24px, 4vw, 64px); align-items: end; width: var(--w); margin: clamp(28px, 3vw, 44px) auto 0; }
.work .hm-text p { margin: 0; max-width: 30em; }
.work .hm-lead { grid-column: 1; font-size: var(--t-heading); font-weight: 600; line-height: 1.12; letter-spacing: -0.008em; text-wrap: pretty; }
.work .hm-text .hm-facts { grid-column: 1; margin-top: calc(var(--u) / 2); font-size: var(--t-body); line-height: 1.45; }
.hm-go { grid-column: 2; grid-row: 1 / span 2; }

.work .hm + .mr-head { margin-top: clamp(96px, 11vw, 170px); }

@media (max-width: 760px) {
  .hm { --sea-h: 126.667vw; --crop: 20vw; }
  .hm-art { height: calc(var(--sea-h) - var(--crop) - 22vw); }
  .hm-sea { --edge: 34.3vw; }
  .hm-sea img { width: 190%; left: -45%; }
  .hm-win { margin-top: calc(var(--w) * -0.12); box-shadow: 0 0 0 1px #000000b3, 0 1px 3px #2a1d0a40, 0 10px 20px #2a1d0a40, 0 24px 44px #2a1d0a4d; }
  .hm-text { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .hm-go { grid-column: 1; grid-row: auto; justify-self: start; }
}
/* The window shrinks with the page, and the heading size does not. Where a heading no longer fits in the window, the bio steps down to the body size. */
@media (min-width: 821px) and (max-width: 1040px), (max-width: 480px) {
  .about { font-size: var(--t-body); font-weight: 650; line-height: 1.4; letter-spacing: 0; }
}

/* ---------------------------------------------------------------- the DevLog films: one ink */
/* one-ink: two frames of the films in one ink, on the paper of the page.
   The plates are image files at exact CSS sizes (--plate), so the browser never scales a halftone. */
.film[data-films="one-ink"] {
  --plate: 960px;
  --measure: calc(100vw - 2 * var(--m));
  position: relative;
  display: block;
  padding: calc(var(--u) * 6) 0 0;
  color: var(--blue);
  overflow: clip;
}
@media (min-width: 1700px) { .film[data-films="one-ink"] { --plate: 1240px; } }
@media (max-width: 1299px) { .film[data-films="one-ink"] { --plate: 700px; } }
@media (max-width: 700px) { .film[data-films="one-ink"] { --plate: 390px; } }

.film[data-films="one-ink"] p,
.film[data-films="one-ink"] h2,
.film[data-films="one-ink"] h3 { margin: 0; max-width: none; }
.film[data-films="one-ink"] .film-text { display: block; }

.film[data-films="one-ink"] .ink-film {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--plate);
  grid-template-rows: 1fr auto auto;
  align-items: end;
  gap: 0;
  margin: 0;
  padding: 0 0 0 var(--m);
}
.film[data-films="one-ink"] .film-second { margin-top: calc(var(--u) * 6); }

/* the plate: a link, the print at rest, the film frame on demand */
.film[data-films="one-ink"] .plate {
  position: relative;
  display: block;
  grid-column: 2;
  grid-row: 1 / span 2;
  width: var(--plate);
  overflow: hidden;
  line-height: 0;
  cursor: pointer;
}
.film[data-films="one-ink"] .plate picture,
.film[data-films="one-ink"] .plate img { display: block; width: 100%; height: auto; }
/* The change from print to film is one wipe, left to right. The print and the frame get opposite
   clips with the same timing, so a pixel never shows both. The frame starts in register with the
   print and pulls back after the wipe. */
.film[data-films="one-ink"] .plate picture { clip-path: inset(0 0 0 0); transition: clip-path 420ms cubic-bezier(.4, 0, .2, 1); }
.film[data-films="one-ink"] .ink-film--e2 .plate { --reg: translate(-32.26%, -73.21%) scale(2.5806); }
.film[data-films="one-ink"] .ink-film--e1 .plate { --reg: translate(-97.09%, -120.27%) scale(2.2013); }
.film[data-films="one-ink"] .ink-frame-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 420ms cubic-bezier(.4, 0, .2, 1);
}
.film[data-films="one-ink"] .plate .ink-frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: var(--reg);
  transform-origin: 0 0;
  transition: transform 300ms ease-in;
}
@media (hover: hover) {
  .film[data-films="one-ink"] .plate.is-open:hover picture { clip-path: inset(0 0 0 100%); }
  .film[data-films="one-ink"] .plate.is-open:hover .ink-frame-wrap { clip-path: inset(0 0 0 0); }
  .film[data-films="one-ink"] .plate.is-open:hover .ink-frame { transform: none; transition: transform 640ms cubic-bezier(.2, .7, .2, 1) 300ms; }
}
.film[data-films="one-ink"] .plate.is-open:focus-visible picture { clip-path: inset(0 0 0 100%); }
.film[data-films="one-ink"] .plate.is-open:focus-visible .ink-frame-wrap { clip-path: inset(0 0 0 0); }
.film[data-films="one-ink"] .plate.is-open:focus-visible .ink-frame { transform: none; transition: transform 640ms cubic-bezier(.2, .7, .2, 1) 300ms; }
@media (prefers-reduced-motion: reduce) and (hover: hover) { .film[data-films="one-ink"] .plate.is-open:hover .ink-frame { transition: none; } }
@media (prefers-reduced-motion: reduce) {
  .film[data-films="one-ink"] .plate picture,
  .film[data-films="one-ink"] .ink-frame-wrap,
  .film[data-films="one-ink"] .plate .ink-frame,
  .film[data-films="one-ink"] .plate.is-open:focus-visible .ink-frame { transition: none; }
  .film[data-films="one-ink"] .plate .ink-frame { transform: none; }
}

/* The newest film carries the one display line of the page. The older film steps down to a heading,
   and each link sits one step below its title. */
.film[data-films="one-ink"] .film-text { grid-column: 1 / -1; grid-row: 3; padding: calc(var(--u) / 2) var(--m) 0 0; }
.film[data-films="one-ink"] .film-text h2 {
  font-family: var(--f-display);
  font-size: var(--t-display);
  font-weight: var(--w-display);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  white-space: nowrap;
  margin-left: var(--hang-display);
}
.film[data-films="one-ink"] .film-text h3 {
  font-size: var(--t-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.012em;
  white-space: nowrap;
}
.film[data-films="one-ink"] .ink-watch { margin-top: var(--u); font-size: var(--t-heading); font-weight: 700; line-height: 1.2; letter-spacing: -0.012em; }
.film[data-films="one-ink"] .ink-film--e1 .ink-watch { margin-top: calc(var(--u) / 2); font-size: var(--t-body); letter-spacing: 0; }
.film[data-films="one-ink"] .ink-watch a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
@media (hover: hover) { .film[data-films="one-ink"] .ink-watch a:hover { color: var(--blue-deep); } }
.film[data-films="one-ink"] .ink-note {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  padding: 0 clamp(20px, 3vw, 48px) 0 0;
  max-width: 31em;
  font-size: var(--t-body);
  line-height: 1.45;
  text-wrap: pretty;
}
/* says what the picture is: a frame of a film */
.film[data-films="one-ink"] .ink-cap {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  padding: calc(var(--u) / 2) clamp(20px, 3vw, 48px) 2px 0;
  font-size: var(--t-caption);
  font-weight: 650;
  line-height: 1.35;
  text-wrap: pretty;
}

/* the two films to come: the same grid, no plate yet */
.film[data-films="one-ink"] .ink-later {
  list-style: none;
  margin: calc(var(--u) * 4) 0 0;
  padding: 0 var(--m);
  font-size: var(--t-body);
  font-weight: 700;
  line-height: 1.3;
}
.film[data-films="one-ink"] .ink-later li {
  display: grid;
  grid-template-columns: calc(100vw - var(--plate) - var(--m)) minmax(0, 1fr);
  align-items: baseline;
  padding: calc(var(--u) / 2) 0;
  border-top: 1.5px solid currentColor;
}
.film[data-films="one-ink"] .ink-later li:last-child { border-bottom: 1.5px solid currentColor; }
.film[data-films="one-ink"] .ink-what { font-weight: 560; }
.film[data-films="one-ink"] .ink-when { grid-column: 2; padding-top: 2px; font-size: var(--t-data); font-weight: 560; line-height: 1.35; }

/* focus: an inner ring, because the plates run to the edge of the page */
.film[data-films="one-ink"] a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.film[data-films="one-ink"] .plate:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.film[data-films="one-ink"] .plate:focus-visible::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 3px solid var(--paper);
  pointer-events: none;
}

@media (max-width: 1023px) {
  .film[data-films="one-ink"] .ink-later li { grid-template-columns: 6.4em minmax(0, 1fr); }
  .film[data-films="one-ink"] .ink-film { display: block; padding: 0; }
  .film[data-films="one-ink"] .plate { margin-left: auto; }
  .film[data-films="one-ink"] .film-text { padding: calc(var(--u) / 2) var(--m) 0; }
  .film[data-films="one-ink"] .ink-note { padding: var(--u) var(--m) 0; max-width: 34em; }
  .film[data-films="one-ink"] .ink-cap { padding: calc(var(--u) / 2) var(--m) 0; }
}
@media (max-width: 700px) {
  .film[data-films="one-ink"] .plate { --reg: none; }
  .film[data-films="one-ink"] .film-text h2 .ink-l { display: block; white-space: nowrap; }
  .film[data-films="one-ink"] .film-text h3 { white-space: normal; text-wrap: balance; }
  .film[data-films="one-ink"] .ink-later li { grid-template-columns: 1fr; }
  .film[data-films="one-ink"] .ink-when { grid-column: auto; }
}

/* Lead fix: the one loud line of the film fills the measure, as on the live page. */
@media (min-width: 701px) {
  .film[data-films="one-ink"] .film-text h2 { font-size: calc(var(--measure) / 6.8817); letter-spacing: -0.035em; line-height: 0.98; }
}
