/* ==========================================================================
   YYY SOFTWARE LTD, yyysoftware.co.uk
   pocket.css

   Naming universe: "the pocket object". Every block is named for a part of a
   handset or the things that sit around one on a table: bezel, plate, chime,
   tray, leaf, tally, frieze, entry, dock, colophon.
   Convention: block, block__element, block--modifier. Held throughout.

   Contrast, computed (WCAG 2.1, sRGB):
     ink   #14161A on paper #FFFFFF ....... 18.11:1
     ink   #14161A on bone  #F5F2ED ....... 16.22:1
     slate #4B525B on paper .............. 7.90:1
     slate #4B525B on bone ............... 7.08:1
     oxford#1C3F6E on paper .............. 10.58:1
     oxford#1C3F6E on bone ............... 9.47:1
     paper #FFFFFF on oxford #1C3F6E ..... 10.58:1
     clay  #B8452A on paper .............. 5.35:1
     clay  #B8452A on bone ............... 4.79:1  (never below 17px on bone)
     rule  #D6D0C6 on paper .............. 1.53:1  (decorative hairline only:
                                            section rules, table gridlines and
                                            panel edges. Never text, and never
                                            the boundary of a control.)
     rule-strong #8E8579 on paper ........ 3.63:1  (the one control border on
                                            the site, the bezel toggle, so it
                                            clears WCAG 1.4.11 at 3:1)
     rule-invert rgba(#FFF,0.40) over
           oxford #1C3F6E ................ 3.07:1  (inline link underline in
                                            the dock panel, also 1.4.11)
     paper #FFFFFF over the 42% ink scrim on the hero photograph, measured
     against the brightest decoded pixel under the text zone at both the 16:9
     and the 4:5 crop .................... 4.80:1
   ========================================================================== */

:root {
  /* Ground and ink */
  --paper: #FFFFFF;
  --bone: #F5F2ED;
  --ink: #14161A;
  --slate: #4B525B;
  --oxford: #1C3F6E;
  --clay: #B8452A;
  --rule: #D6D0C6;
  --rule-strong: #8E8579;
  --rule-invert: rgba(255, 255, 255, 0.40);
  --scrim: rgba(20, 22, 26, 0.42);

  /* Corner radius: two values, never overridden */
  --r-0: 0;
  --r-1: 2px;

  /* Faces. No monospace anywhere on this site. */
  --face-display: "Fraunces", Georgia, "Times New Roman", serif;
  --face-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Scale: base 17px / 1.65, ratio 1.25 */
  --t-d1: clamp(44px, 6.2vw, 76px);
  --t-d2: clamp(34px, 4.2vw, 52px);
  --t-heading: 33px;
  --t-subhead: 26px;
  --t-lead: 21px;
  --t-body: 17px;
  --t-small: 14px;
  --t-label: 12px;

  /* Geometry */
  --w-page: 1280px;
  --w-wide: 1440px;
  --w-prose: 720px;
  --gutter: clamp(20px, 5vw, 56px);
  --band-y: clamp(64px, 8vw, 120px);
  --bezel-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bezel-h) + 16px);
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--face-text);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; border-radius: var(--r-0); }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--face-display);
  font-weight: 400;
  color: var(--ink);
  font-variation-settings: "opsz" 9, "SOFT" 0, "WONK" 0;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--oxford); text-decoration: none; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: 0.35em; }

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

/* ---------- Focus: instant, never animated ---------- */

:focus-visible {
  outline: 2px solid var(--oxford);
  outline-offset: 2px;
  border-radius: var(--r-1);
  transition: none;
}
.dock :focus-visible,
.plate__inner :focus-visible { outline-color: var(--paper); }

.jump {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 60;
  background: var(--oxford);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: var(--r-1);
  font-size: var(--t-small);
  font-weight: 500;
}
.jump:focus { top: 14px; }

.offscreen {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Type primitives ---------- */

.d1, .d2 { font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; }

.d1 {
  font-family: var(--face-display);
  font-size: var(--t-d1);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.d2 {
  font-family: var(--face-display);
  font-size: var(--t-d2);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 22ch;
}
.heading {
  font-family: var(--face-display);
  font-size: var(--t-heading);
  font-weight: 500;
  line-height: 1.2;
  font-variation-settings: "opsz" 9, "SOFT" 0, "WONK" 0;
}
.subhead {
  font-family: var(--face-display);
  font-size: var(--t-subhead);
  font-weight: 400;
  line-height: 1.3;
  font-variation-settings: "opsz" 9, "SOFT" 0, "WONK" 0;
}
.throughline {
  font-size: var(--t-lead);
  line-height: 1.6;
  max-width: 60ch;
}
.small { font-size: var(--t-small); line-height: 1.55; }
.tick {
  display: block;
  font-family: var(--face-text);
  font-size: var(--t-label);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.quiet { color: var(--slate); }
.measure { max-width: 66ch; }

/* Unknown facts, marked in view rather than invented */
.tbc {
  display: inline-block;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--clay);
  border-radius: var(--r-0);
  padding: 2px 8px;
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--ink);
  background: var(--bone);
}

/* ---------- Spacing utilities (kept in CSS so the content security policy
     can forbid inline styles outright) ---------- */

.m0 { margin: 0; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mt-24 { margin-top: 24px; }
.mt-26 { margin-top: 26px; }

/* ---------- Layout ---------- */

.gauge {
  width: 100%;
  max-width: var(--w-page);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.gauge--wide { max-width: var(--w-wide); }
.gauge--prose { max-width: var(--w-prose); }

.band { padding-block: var(--band-y); }
.band--ruled { border-top: 1px solid var(--rule); }

/* ---------- Inline link affordance: clay underline wipe ---------- */

.wipe {
  position: relative;
  display: inline;
  background-image: linear-gradient(var(--clay), var(--clay));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 160ms linear;
  padding-bottom: 2px;
}
.wipe:hover, .wipe:focus-visible { background-size: 100% 1px; }

/* ---------- Buttons ---------- */

.act {
  display: inline-block;
  font-family: var(--face-text);
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.2;
  padding: 15px 26px;
  border: 1px solid var(--oxford);
  border-radius: var(--r-1);
  background: var(--oxford);
  color: var(--paper);
  transition: background-color 140ms linear, border-color 140ms linear, color 140ms linear;
  cursor: pointer;
}
.act:hover { background: var(--ink); border-color: var(--ink); }

.act--invert {
  background: var(--paper);
  color: var(--oxford);
  border-color: var(--paper);
}
.act--invert:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* ==========================================================================
   BEZEL, the frame at the top of every page
   ========================================================================== */

.bezel {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.bezel__row {
  min-height: var(--bezel-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.bezel__word {
  font-family: var(--face-display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--ink);
  font-variation-settings: "opsz" 9, "SOFT" 0, "WONK" 0;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.bezel__word .bezel__tail {
  font-family: var(--face-text);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.bezel__keys { display: flex; align-items: center; gap: 28px; }
.bezel__keys ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bezel__keys li { margin: 0; }
.bezel__keys a {
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms linear;
}
.bezel__keys a:hover { border-bottom-color: var(--clay); }
.bezel__keys a[aria-current="page"] { border-bottom-color: var(--ink); }

.bezel__toggle {
  display: none;
  align-items: center;
  gap: 9px;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-1);
  padding: 9px 14px;
  font-family: var(--face-text);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}
.bezel__bars { display: block; width: 16px; }
.bezel__bars i {
  display: block;
  height: 1px;
  background: var(--ink);
  margin: 4px 0;
}

@media (max-width: 860px) {
  .bezel__toggle { display: inline-flex; }
  .bezel__keys {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 24px;
  }
  .bezel__keys.is-open { display: block; }
  .bezel__keys ul { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .bezel__keys li { width: 100%; border-top: 1px solid var(--rule); }
  .bezel__keys a { display: block; padding: 14px 0; font-size: var(--t-body); }
}

/* ==========================================================================
   01 PLATE, photographic hero
   ========================================================================== */

.plate { position: relative; background: var(--ink); }
.plate__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--r-0);
}
.plate__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: plate-settle 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes plate-settle { to { transform: scale(1); } }

.plate__scrim {
  position: absolute;
  inset: 0;
  background: var(--scrim);
}
.plate__inner {
  position: absolute;
  inset: auto 0 0 0;
  padding-bottom: clamp(32px, 5vw, 72px);
  padding-top: 40px;
}
.plate__title { color: var(--paper); }
.plate__lead {
  color: var(--paper);
  margin-top: 22px;
  max-width: 54ch;
}
/* Full-strength white only. At 12px this label needs 4.5:1, and the flat 42%
   ink scrim measures 4.80:1 against the brightest pixel anywhere under the
   text zone of the hero photograph, so any opacity reduction drops it below AA. */
.plate__tick { color: var(--paper); margin-bottom: 20px; }

/* ==========================================================================
   02 CHIME, typographic statement band
   ========================================================================== */

.chime {
  background: var(--bone);
  padding-block: clamp(80px, 12vw, 160px);
  text-align: center;
}
.chime__line {
  margin: 0 auto;
  max-width: 22ch;
  color: var(--ink);
}

/* ==========================================================================
   03 TRAY, ruled three-column grid
   ========================================================================== */

.tray__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
}
.tray__cell {
  padding: 0 40px;
  border-left: 1px solid var(--rule);
}
.tray__cell:first-child { padding-left: 0; border-left: 0; }
.tray__cell:last-child { padding-right: 0; }
.tray__cell .heading { margin: 14px 0 16px; }
.tray__cell p { color: var(--slate); }

/* ==========================================================================
   04 / 06 LEAF, image and text splits
   ========================================================================== */

/* The block owns the column ratio; the modifier flips it; the element consumes
   it. That keeps the one-column collapse a single declaration on the block. */
.leaf { --leaf-cols: 7fr 5fr; }
.leaf--mirror { --leaf-cols: 5fr 7fr; }
.leaf__split {
  display: grid;
  grid-template-columns: var(--leaf-cols);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.leaf--mirror .leaf__body { order: -1; }
.leaf__shot {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--r-0);
}
.leaf__body .heading { margin: 14px 0 20px; }
.leaf__body p { color: var(--slate); max-width: 46ch; }
.leaf__body p strong { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   05 TALLY, the index list of principles
   ========================================================================== */

.tally__list {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.tally__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  padding: 30px 0;
  border-bottom: 1px solid var(--rule);
  margin: 0;
}
.tally__numeral {
  font-family: var(--face-display);
  font-size: var(--t-heading);
  font-weight: 500;
  line-height: 1.1;
  color: var(--clay);
  font-variation-settings: "opsz" 9, "SOFT" 0, "WONK" 0;
}
.tally__title {
  font-family: var(--face-display);
  font-size: var(--t-subhead);
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 8px;
  font-variation-settings: "opsz" 9, "SOFT" 0, "WONK" 0;
}
.tally__body { color: var(--slate); max-width: 60ch; margin: 0; }

/* ==========================================================================
   07 FRIEZE, caption strip
   ========================================================================== */

.frieze { padding-block: var(--band-y); }
.frieze__bleed { width: 100%; }
.frieze__strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 44px;
}
.frieze__cell { border-radius: var(--r-0); }
.frieze__shot {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.frieze__note {
  margin: 14px 0 0;
  padding: 0 24px 0 20px;
  color: var(--slate);
  font-size: var(--t-small);
  line-height: 1.55;
  max-width: 34ch;
}

/* ==========================================================================
   08 ENTRY, the register table
   ========================================================================== */

.entry { background: var(--bone); padding-block: var(--band-y); }
.entry__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  border-top: 1px solid var(--rule);
  font-family: var(--face-text);
}
.entry__table th,
.entry__table td {
  text-align: left;
  vertical-align: top;
  padding: 20px 24px 20px 0;
  border-bottom: 1px solid var(--rule);
  font-size: var(--t-body);
  line-height: 1.55;
}
.entry__table th {
  width: 34%;
  font-weight: 500;
  color: var(--slate);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 24px;
}
.entry__table td { color: var(--ink); font-weight: 400; }
.entry__note { margin-top: 26px; color: var(--slate); max-width: 60ch; }

/* ==========================================================================
   09 DOCK, ink panel, contact
   ========================================================================== */

.dock {
  background: var(--oxford);
  color: var(--paper);
  padding-block: clamp(72px, 10vw, 128px);
}
.dock__title { color: var(--paper); }
.dock__note { color: var(--paper); margin-top: 22px; max-width: 52ch; }
.dock__act { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.dock__aside { margin-top: 28px; color: var(--paper); font-size: var(--t-small); max-width: 56ch; }
.dock a:not(.act) { color: var(--paper); border-bottom: 1px solid var(--rule-invert); }
.dock a:not(.act):hover { border-bottom-color: var(--paper); }

/* ==========================================================================
   COLOPHON, footer with the statutory disclosure
   ========================================================================== */

.colophon {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding-block: 56px 44px;
}
.colophon__row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
}
.colophon__word {
  font-family: var(--face-display);
  font-size: var(--t-subhead);
  font-weight: 600;
  line-height: 1;
  font-variation-settings: "opsz" 9, "SOFT" 0, "WONK" 0;
  margin-bottom: 18px;
  display: block;
}
.colophon__disclosure {
  font-family: var(--face-text);
  font-size: var(--t-small);
  line-height: 1.7;
  color: var(--slate);
  max-width: 62ch;
  margin: 0;
}
.colophon__disclosure strong { color: var(--ink); font-weight: 500; }
.colophon__links { list-style: none; margin: 0; padding: 0; }
.colophon__links li { margin-bottom: 10px; }
.colophon__links a { font-size: var(--t-small); color: var(--ink); }
.colophon__base {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: space-between;
  color: var(--slate);
  font-size: var(--t-small);
}

/* ==========================================================================
   PAPER, legal document pages
   ========================================================================== */

.paper__head { padding-block: clamp(52px, 7vw, 96px) 40px; border-bottom: 1px solid var(--rule); }
.paper__head .d2 { margin-top: 16px; }
.paper__head .throughline { margin-top: 22px; color: var(--slate); }
.paper__meta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 32px;
  font-size: var(--t-small);
  color: var(--slate);
}
.paper__body { padding-block: 48px 88px; }

.paper__toc {
  border: 1px solid var(--rule);
  border-radius: var(--r-0);
  background: var(--bone);
  padding: 28px 30px;
  margin-bottom: 56px;
}
.paper__toc ol {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  columns: 2;
  column-gap: 40px;
}
.paper__toc li {
  margin-bottom: 9px;
  break-inside: avoid;
  font-size: var(--t-small);
}
.paper__toc a { color: var(--oxford); }

.paper__clause { padding-top: 12px; margin-bottom: 44px; }
.paper__clause > h2 {
  font-family: var(--face-display);
  font-size: var(--t-heading);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 18px;
  font-variation-settings: "opsz" 9, "SOFT" 0, "WONK" 0;
}
.paper__clause > h3 {
  font-family: var(--face-display);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
  margin: 30px 0 12px;
  font-variation-settings: "opsz" 9, "SOFT" 0, "WONK" 0;
}
.paper__clause > h4 {
  font-family: var(--face-text);
  font-size: var(--t-body);
  font-weight: 500;
  margin: 24px 0 8px;
}
.paper__clause p, .paper__clause li { max-width: 66ch; }
.paper__clause p { color: var(--ink); }

.paper__callout {
  border-left: 3px solid var(--oxford);
  background: var(--bone);
  padding: 20px 24px;
  margin: 26px 0;
  border-radius: var(--r-0);
}
.paper__callout p { max-width: 62ch; }

.paper__role {
  display: inline-block;
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--oxford);
  padding: 4px 10px;
  border-radius: var(--r-1);
  margin-bottom: 14px;
}
.paper__role--processor { background: var(--ink); }
/* --paper on --slate measures 7.90:1, well clear of AA at label size. */
.paper__role--both { background: var(--slate); }

/* Wide tables scroll inside their own container */
.slab {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--rule);
  border-radius: var(--r-0);
  margin: 24px 0 28px;
  max-width: 100%;
}
.slab table {
  border-collapse: collapse;
  width: 100%;
  min-width: 800px;
  font-size: var(--t-small);
  line-height: 1.55;
}
.slab caption {
  text-align: left;
  padding: 14px 18px;
  background: var(--bone);
  border-bottom: 1px solid var(--rule);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.slab th, .slab td {
  text-align: left;
  vertical-align: top;
  padding: 13px 18px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.slab th { background: var(--bone); font-weight: 500; color: var(--ink); }
.slab tr:last-child td { border-bottom: 0; }
.slab th:last-child, .slab td:last-child { border-right: 0; }

/* ==========================================================================
   CONTACT page specifics
   ========================================================================== */

.relay__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  margin-top: 52px;
  align-items: start;
}
.relay__route {
  border-top: 1px solid var(--rule);
  padding: 26px 0;
}
.relay__route .heading { font-size: var(--t-subhead); margin-bottom: 8px; }
.relay__route p { color: var(--slate); max-width: 48ch; }
.relay__side {
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: var(--r-0);
  padding: 32px;
}
.relay__side dl { margin: 18px 0 0; }
.relay__side dt {
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 18px;
}
.relay__side dd { margin: 4px 0 0; font-size: var(--t-body); }

/* ==========================================================================
   ABOUT page specifics
   ========================================================================== */

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-top: 48px;
}
.pair__shot { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pair__note { margin-top: 14px; color: var(--slate); font-size: var(--t-small); max-width: 34ch; }

.stack { margin-top: 44px; border-top: 1px solid var(--rule); }
.stack__item { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.stack__item .subhead { margin-bottom: 10px; }
.stack__item p { color: var(--slate); max-width: 66ch; }

/* ==========================================================================
   MOTION, section reveal, plus the reduced-motion contract
   ========================================================================== */

.settle {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.settle.is-shown { opacity: 1; transform: none; }
.no-js .settle { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .settle { opacity: 1; transform: none; }
  .plate__shot { transform: none; animation: none; }
  .wipe { transition: none; }
}

/* ==========================================================================
   RESPONSIVE, checked at 1440, 768, 500 and 360
   ========================================================================== */

@media (max-width: 1000px) {
  .tray__grid { grid-template-columns: 1fr; margin-top: 40px; }
  .tray__cell {
    padding: 28px 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
  .tray__cell:first-child { padding-top: 28px; }
  .leaf, .leaf--mirror { --leaf-cols: 1fr; }
  .leaf--mirror .leaf__body { order: 0; }
  .relay__grid { grid-template-columns: 1fr; }
  .colophon__row { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 820px) {
  :root { --t-heading: 28px; --t-subhead: 23px; --t-lead: 19px; }
  .plate__frame { aspect-ratio: 4 / 5; min-height: 0; }
  .frieze__strip { grid-template-columns: 1fr; gap: 0; }
  .frieze__cell + .frieze__cell { margin-top: 32px; }
  .paper__toc ol { columns: 1; }
  .tally__row { grid-template-columns: 56px minmax(0, 1fr); gap: 18px; }
  .entry__table th { width: 40%; }
}

@media (max-width: 560px) {
  :root { --band-y: 56px; }
  .entry__table { display: block; border-top: 0; }
  .entry__table tbody, .entry__table tr { display: block; }
  .entry__table th, .entry__table td { display: block; width: 100%; border-bottom: 0; padding: 0; }
  .entry__table th { padding-top: 22px; }
  .entry__table td { padding: 6px 0 22px; border-bottom: 1px solid var(--rule); }
  .relay__side { padding: 24px; }
  .paper__toc { padding: 22px 20px; }
  .pair { grid-template-columns: 1fr; }
  .act { width: 100%; text-align: center; }
  .dock__act .act { width: auto; }
}

@media (max-width: 380px) {
  .bezel__word { font-size: 21px; }
  .bezel__word .bezel__tail { display: none; }
}
