@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Kalam"; src: url("fonts/kalam-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  /* service-book paper */
  --paper: #e7ece4;
  --paper-hi: #f3f5f0;
  --rule: #a9b8bf;
  --rule-strong: #2c4660;

  /* printed form ink */
  --print: #2c4660;
  --print-soft: #4f6478;
  --ink: #1b2733;

  /* the only colours: stamp and pen */
  --stamp: #b52d22;
  --stamp-dark: #96241b;
  --pen: #1f4fa3;

  /* leatherette cover */
  --cover: #1c2b3d;
  --cover-deep: #142031;
  --on-cover: #e6ebe4;
  --on-cover-muted: #a9b6c4;

  --font-form: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-pen: "Kalam", "Comic Sans MS", cursive;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --band: clamp(4.5rem, 10vw, 8rem);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--rule) var(--paper); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  caret-color: var(--stamp);
}

::selection { background: var(--print); color: var(--paper-hi); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--pen); outline-offset: 3px; border-radius: 4px; }
p, h1, h2, h3, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--print-soft); font-weight: 400; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.75rem 1rem; background: var(--paper-hi); color: var(--ink); font-weight: 600; border-radius: 8px; }
.skip:focus { top: 1rem; }

/* ---------- demo bar (inside of the cover) ---------- */
.demo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1rem;
  padding: 0.25rem var(--gutter);
  background: var(--cover-deep);
  color: var(--on-cover-muted);
  font-size: 0.8125rem;
}
.demo-bar a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--on-cover); }

/* ---------- the open book ---------- */
.cover {
  background: var(--cover);
  padding: clamp(0.5rem, 2vw, 1.75rem) clamp(0.5rem, 2vw, 1.75rem) clamp(1rem, 3vw, 2.5rem);
}

.book {
  display: grid;
  max-width: 76rem;
  margin-inline: auto;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.35), 0 2px 4px rgb(0 0 0 / 0.3);
}

.page {
  position: relative;
  background: var(--paper);
  padding: clamp(1.25rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3.25rem) clamp(1.75rem, 4vw, 3rem);
}
.page--left { border-radius: 6px 6px 0 0; }
.page--right {
  display: grid;
  gap: 1.75rem;
  align-content: start;
  background: var(--paper-hi);
  border-top: 1px solid var(--rule);
  border-radius: 0 0 6px 6px;
}

.page__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(0.9rem, 3vw, 1.5rem);
  margin-bottom: clamp(2.5rem, 7vw, 4.5rem);
  font-family: var(--font-form);
  font-weight: 600;
  font-size: clamp(0.875rem, 3.4vw, 1rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.page__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--print);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .page__nav a:hover { border-bottom-color: var(--print); }
}

.name {
  position: relative;
  z-index: 1;
  max-width: 9ch;
  font-family: var(--font-form);
  font-weight: 700;
  font-size: clamp(4rem, 17vw, 7.5rem);
  line-height: 0.86;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--print);
}

.trades {
  margin-top: 1rem;
  font-family: var(--font-form);
  font-weight: 600;
  font-size: clamp(1.0625rem, 3.4vw, 1.3125rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--print-soft);
}

.promise {
  max-width: 30ch;
  margin-top: clamp(1.75rem, 5vw, 2.5rem);
  padding-top: 1.25rem;
  border-top: 2px solid var(--rule-strong);
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
  text-wrap: pretty;
}

.status {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 1.25rem;
  color: var(--print);
  font-size: 1rem;
}
.status strong { font-weight: 600; }
.status__dot {
  flex: 0 0 auto;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--print-soft);
  transform: translateY(-0.05em);
}
.status[data-state="open"] .status__dot { background: var(--pen); }
.status[data-state="closed"] .status__dot { background: transparent; box-shadow: inset 0 0 0 2px var(--print-soft); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 8px;
  background: var(--stamp);
  color: #fff;
  font: 600 1.0625rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 14px rgb(27 39 51 / 0.2);
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
.btn:active { transform: translateY(1px) scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--stamp-dark); }
}
.btn--line {
  background: transparent;
  color: var(--print);
  box-shadow: inset 0 0 0 1.5px var(--print);
}
@media (hover: hover) and (pointer: fine) {
  .btn--line:hover { background: rgb(44 70 96 / 0.08); }
}
.btn--wide { width: 100%; }

/* ---------- stamps ---------- */
.stamp {
  color: var(--stamp);
  mix-blend-mode: multiply;
  overflow: visible;
}
.stamp text { fill: currentColor; font-family: var(--font-form); text-transform: uppercase; }
.stamp__ring { font-weight: 700; font-size: 22px; letter-spacing: 0.12em; }
.stamp__ring--small { font-size: 15px; letter-spacing: 0.1em; }
.stamp__word { font-weight: 700; font-size: 38px; letter-spacing: 0.08em; }
.stamp__word--big { font-size: 46px; }
.stamp__date { font-weight: 600; font-size: 20px; letter-spacing: 0.14em; }

.stamp--hero {
  position: absolute;
  z-index: 2;
  width: clamp(9.5rem, 40vw, 15rem);
  right: clamp(-0.5rem, 1vw, 1.5rem);
  top: clamp(4.25rem, 16vw, 7rem);
  opacity: 0.92;
  transform: rotate(-11deg);
  pointer-events: none;
}

.js .stamp--hero { animation: stamp-down 420ms var(--ease-out) 350ms both; }

@keyframes stamp-down {
  0% { opacity: 0; transform: rotate(-11deg) scale(1.18); }
  60% { opacity: 0.92; transform: rotate(-11deg) scale(0.98); }
  100% { opacity: 0.92; transform: rotate(-11deg) scale(1); }
}

/* ---------- pasted print ---------- */
.print {
  justify-self: start;
  width: 100%;
  background: #fff;
  padding: 0.6rem 0.6rem 0.4rem;
  box-shadow: 0 1px 2px rgb(27 39 51 / 0.2), 0 8px 18px rgb(27 39 51 / 0.12);
  transform: rotate(1.2deg);
}
.print img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pen { font-family: var(--font-pen); color: var(--pen); }
.print figcaption { padding: 0.45rem 0.2rem 0.1rem; font-size: 1.125rem; line-height: 1.4; }
.print--small { max-width: 22rem; margin-top: 2.5rem; transform: rotate(-1.4deg); }

/* ---------- printed form table ---------- */
.form-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.form-table caption,
.hours caption {
  text-align: left;
  padding-bottom: 0.6rem;
  font-family: var(--font-form);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--print);
  border-bottom: 2px solid var(--rule-strong);
}
.form-table th,
.form-table td {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
.form-table th {
  width: 42%;
  padding-right: 1rem;
  font-family: var(--font-form);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--print-soft);
}
.form-table td { font-weight: 500; font-variant-numeric: tabular-nums; }
.form-table td a { text-decoration-color: var(--rule); }

/* ---------- bands ---------- */
.band { padding-block: var(--band); }
.band--alt { background: var(--paper-hi); border-block: 1px solid var(--rule); }

.h2 {
  font-family: var(--font-form);
  font-weight: 700;
  font-size: clamp(2.75rem, 9vw, 4.75rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--print);
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
  text-wrap: balance;
}

.lede { max-width: 48ch; color: var(--print-soft); font-size: 1.125rem; margin-bottom: 2rem; }
.footnote { margin-top: 1rem; color: var(--print-soft); font-size: 0.9375rem; }

/* ---------- services table ---------- */
.table-scroll { overflow-x: auto; }
.services { width: 100%; border-collapse: collapse; }
.services thead th {
  padding: 0 0 0.6rem;
  border-bottom: 2px solid var(--rule-strong);
  text-align: left;
  font-family: var(--font-form);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--print-soft);
}
.services tbody th,
.services td {
  padding: 1rem 1.25rem 1rem 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: baseline;
}
.services tbody th {
  font-family: var(--font-form);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--print);
  white-space: nowrap;
}
.services td { color: var(--ink); }
.services .num { text-align: right; white-space: nowrap; }
.services th.num { text-align: right; }
.services td:last-child, .services th:last-child { padding-right: 0; }
.services .price { font-family: var(--font-form); font-weight: 700; font-size: 1.5rem; color: var(--print); }

@media (max-width: 47.99rem) {
  .services thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .services tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "name price" "what what" "time time";
    gap: 0.25rem 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--rule);
  }
  .services tbody th, .services td { padding: 0; border: 0; }
  .services tbody th { grid-area: name; white-space: normal; }
  .services td:nth-of-type(1) { grid-area: what; color: var(--ink); }
  .services td:nth-of-type(2) { grid-area: time; text-align: left; color: var(--print-soft); font-size: 0.9375rem; }
  .services td:nth-of-type(3) { grid-area: price; }
}

/* ---------- guarantees ---------- */
.checks { display: grid; gap: 0; border-top: 2px solid var(--rule-strong); }
.checks li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}
.checks svg { color: var(--pen); margin-top: 0.15rem; }
.checks h3 {
  font-family: var(--font-form);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--print);
  margin-bottom: 0.3rem;
}
.checks p { color: var(--ink); max-width: 52ch; }

@media (min-width: 60rem) {
  .guarantees { display: grid; grid-template-columns: 1fr 1.6fr; gap: 0 clamp(3rem, 7vw, 6rem); align-items: start; }
}

/* ---------- service book log ---------- */
.log-page {
  max-width: 52rem;
  background: var(--paper-hi);
  border-radius: 6px;
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: 0 1px 2px rgb(27 39 51 / 0.12), 0 10px 24px rgb(27 39 51 / 0.1);
}
.log { width: 100%; border-collapse: collapse; }
.log thead th {
  padding: 0 0.75rem 0.5rem 0;
  border-bottom: 2px solid var(--rule-strong);
  text-align: left;
  font-family: var(--font-form);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--print-soft);
}
.log td {
  height: 4.25rem;
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
  font-size: 1.125rem;
  line-height: 1.35;
}
.log .num { text-align: right; padding-right: 1.25rem; }
.log td:last-child { width: 6.5rem; padding-right: 0; text-align: center; }
.log__row--old .pen { opacity: 0.82; }
.log__row--old .mini-stamp { opacity: 0.5; }
.log__row:not(.log__row--new):not(.log__row--old) .mini-stamp { opacity: 0.68; }
.log__note { margin-top: 0.85rem; color: var(--print-soft); font-size: 0.875rem; }

.mini-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.75rem;
  height: 2.6rem;
  border: 2.5px solid var(--stamp);
  border-radius: 50%;
  color: var(--stamp);
  font-family: var(--font-form);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(-8deg);
  mix-blend-mode: multiply;
  opacity: 0.9;
}
.log tr:nth-child(2) .mini-stamp { transform: rotate(5deg); }
.log tr:nth-child(3) .mini-stamp { transform: rotate(-3deg); }

@media (max-width: 34rem) {
  .log thead th:nth-child(3) { display: none; }
  .log tbody tr { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "date km stamp" "job job stamp"; column-gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
  .log thead tr { display: grid; grid-template-columns: auto 1fr auto; }
  .log td { height: auto; padding: 0; border: 0; }
  .log td:nth-child(1) { grid-area: date; }
  .log td:nth-child(2) { grid-area: km; text-align: left; }
  .log td:nth-child(3) { grid-area: job; }
  .log td:nth-child(4) { grid-area: stamp; align-self: center; width: auto; }
}

/* ---------- quote / work order ---------- */
.quote { display: grid; gap: 1rem; }
@media (min-width: 60rem) {
  .quote { grid-template-columns: 1fr 1.4fr; gap: 0 clamp(3rem, 7vw, 6rem); align-items: start; }
  .quote__intro { position: sticky; top: 2rem; }
}

.order {
  display: grid;
  gap: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: clamp(1.1rem, 3vw, 2rem);
}
.order__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--rule-strong);
  font-family: var(--font-form);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--print);
}
.order__head .num { color: var(--stamp); }

.order__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
.field--wide { grid-column: 1 / -1; }
@media (min-width: 40rem) {
  .order__grid { grid-template-columns: 2fr 1fr 1fr; }
  .field--wide { grid-column: auto; }
}

.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field label,
.field legend {
  display: block;
  padding: 0;
  margin-bottom: 0.4rem;
  font-family: var(--font-form);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--print-soft);
}
.field label .muted { text-transform: none; letter-spacing: 0; }

/* fields are written in pen on the form's ruled line */
.input {
  width: 100%;
  min-height: 3rem;
  padding: 0.5rem 0.1rem 0.35rem;
  border: 0;
  border-bottom: 1.5px solid var(--print-soft);
  border-radius: 0;
  background: transparent;
  color: var(--pen);
  font: 400 1.3125rem/1.3 var(--font-pen);
  transition: border-color 160ms ease;
}
textarea.input { resize: vertical; min-height: 5.5rem; line-height: 1.45; }
.input::placeholder { color: #5a6c7c; font-family: var(--font-body); font-size: 1rem; }
.input:focus-visible { outline: none; border-bottom: 2px solid var(--pen); }

.boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.75rem, 1fr)); gap: 0.25rem 1rem; }
.box { position: relative; display: flex; align-items: center; gap: 0.7rem; min-height: 2.75rem; cursor: pointer; }
.box input { position: absolute; opacity: 0; width: 1.5rem; height: 1.5rem; margin: 0; cursor: pointer; }
.box span { display: inline-flex; align-items: center; gap: 0.7rem; font-weight: 500; }
.box span::before {
  content: "";
  flex: 0 0 auto;
  width: 1.375rem;
  height: 1.375rem;
  border: 1.5px solid var(--print);
  border-radius: 3px;
  background: var(--paper-hi) center / 1.1rem no-repeat;
  transition: background-color 120ms ease;
}
.box input:checked + span::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 13.5 9.5 19 20 5.5' fill='none' stroke='%231f4fa3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.box input:focus-visible + span::before { outline: 2px solid var(--pen); outline-offset: 2px; }
.box input:active + span::before { transform: scale(0.94); }

.slip {
  position: relative;
  /* the tear-off stub of the order: dashed cut line above, room at the foot for the stamp */
  margin-top: 0.5rem;
  padding: 1.1rem 0 5.25rem;
  border-top: 1.5px dashed var(--print-soft);
}
.slip__label {
  font-family: var(--font-form);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--print-soft);
  margin-bottom: 0.3rem;
}
.slip__msg { max-width: 46ch; font-size: 1.0625rem; line-height: 1.45; transition: opacity 160ms ease; }
.slip__msg.is-changing { opacity: 0.45; }

.stamp--slip {
  position: absolute;
  right: 0.25rem;
  bottom: 0.45rem;
  width: 7.25rem;
  opacity: 0;
  transform: rotate(-9deg) scale(1.2);
  pointer-events: none;
}
.stamp--slip.is-stamped {
  opacity: 0.88;
  transform: rotate(-9deg) scale(1);
  transition: opacity 180ms ease, transform 360ms var(--ease-out);
}

.error { color: var(--stamp-dark); font-weight: 600; }
.demo-note {
  color: var(--print-soft);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.demo-note strong { color: var(--print); font-weight: 600; }

/* ---------- where ---------- */
.where { display: grid; gap: 3rem; }
.address { font-family: var(--font-form); font-weight: 700; font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.08; text-transform: uppercase; color: var(--print); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 0.8rem 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--print-soft); }
.hours tr[aria-current] th, .hours tr[aria-current] td { color: var(--ink); font-weight: 700; }
.hours tr[aria-current] th::after {
  content: "hoy";
  margin-left: 0.6rem;
  color: var(--pen);
  font-family: var(--font-pen);
  font-weight: 400;
  font-size: 1.125rem;
}
@media (min-width: 52rem) {
  .where { grid-template-columns: 1fr 1fr; column-gap: clamp(3rem, 7vw, 6rem); align-items: start; }
}

/* ---------- footer: back cover ---------- */
.foot { background: var(--cover); color: var(--on-cover); padding-block: 3rem 2.5rem; }
.foot__in { display: grid; gap: 1rem; }
.foot__name { font-family: var(--font-form); font-weight: 700; font-size: 2.5rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.02em; }
.foot__text { color: var(--on-cover-muted); font-size: 0.9375rem; max-width: 60ch; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.foot__links a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; color: var(--on-cover); }

/* ---------- legal pages ---------- */
.legal { max-width: 46rem; padding-block: 2rem 4rem; }
.legal .h2 { margin-top: 2.5rem; font-size: clamp(2.5rem, 9vw, 3.75rem); }
.legal h2:not(.h2) { margin: 2.25rem 0 0.6rem; font-family: var(--font-form); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; color: var(--print); }
.legal p, .legal li { max-width: 68ch; }
.legal ul { display: grid; gap: 0.35rem; padding-left: 1.1rem; list-style: disc; }
.legal__note { padding-left: 1rem; border-left: 1px solid var(--rule-strong); color: var(--print-soft); }
.back { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; font-weight: 600; color: var(--print); }

/* ---------- book band: heading left, page right ---------- */
@media (min-width: 60rem) {
  .book-band { display: grid; grid-template-columns: 1fr 1.6fr; gap: 0 clamp(3rem, 7vw, 6rem); align-items: start; }
  .book-band .lede { margin-bottom: 0; }
}

/* ---------- wide: the spread ---------- */
@media (min-width: 60rem) {
  .book { grid-template-columns: 1.15fr 1fr; }
  .page--left {
    border-radius: 6px 0 0 6px;
    box-shadow: inset -22px 0 26px -24px rgb(27 39 51 / 0.45);
  }
  .page--right {
    border-top: 0;
    border-radius: 0 6px 6px 0;
    box-shadow: inset 22px 0 26px -24px rgb(27 39 51 / 0.45);
    padding-top: clamp(3rem, 5vw, 4.5rem);
  }
  .stamp--hero { right: -2.25rem; top: 5.5rem; width: 14rem; }
}

/* short laptop screens: keep the actions inside the first viewport */
@media (min-width: 60rem) and (max-height: 820px) {
  .page__nav { margin-bottom: 2rem; }
  .name { font-size: 6rem; }
  .promise { margin-top: 1.25rem; padding-top: 1rem; }
  .status { margin-top: 1rem; }
  .actions { margin-top: 1.25rem; }
  .page { padding-top: 2rem; padding-bottom: 2rem; }
  .stamp--hero { top: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .stamp--hero { animation: none; }
  .stamp--slip.is-stamped { transition: opacity 150ms ease; transform: rotate(-9deg); }
}
