/* theengineer.app — a three-part carbonless delivery note.
   Three papers (white, canary, pink) and two inks (form blue, numbering red). No grey. */

:root {
  --white: #FBFCFE;
  --yellow: #FFE83A;
  --pink: #FF9DBE;
  --ink: #1B3A9C;        /* form ink: rules, labels, headings */
  --type: #0E1B4D;       /* the printer's ribbon: what the engineer typed */
  --red: #D7182A;        /* numbering ink: the serial, and what waits for a person */
  --red-deep: #A80F1F;

  --feed: clamp(22px, 3.4vw, 46px);
  --gutter: clamp(18px, 4vw, 56px);
  --rule: 3px;
  --hair: 2px;

  --ar-text: "Noto Kufi Arabic", "Noto Sans Arabic", sans-serif;
  --ar-display: "Aref Ruqaa", "Noto Naskh Arabic", serif;
  --en-text: "Barlow", sans-serif;
  --en-form: "Barlow Condensed", "Barlow", sans-serif;
  --numbering: "Alfa Slab One", serif;
  --matrix: "Doto", monospace;

  --out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ar-text);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--type);
  accent-color: var(--red);
  caret-color: var(--red);
  scrollbar-color: var(--ink) var(--white);
}
html[lang="en"] body { font-family: var(--en-text); line-height: 1.6; }
::selection { background: var(--ink); color: var(--yellow); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.copy--yellow :focus-visible, .copy--pink :focus-visible { outline-color: var(--type); }
p, h1, h2, h3, ol, table { margin: 0; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 2px; }

/* one language at a time, except on the form's own bilingual labels */
html[lang="ar"] .en, html[lang="en"] .ar { display: none; }
[lang="en"] { font-family: var(--en-form); }
html[lang="en"] .en { font-family: inherit; }

.visually-hidden, .trap {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; inset-inline-start: var(--feed); top: -4rem; z-index: 5;
  background: var(--ink); color: var(--white); padding: 0.5rem 1rem; font-weight: 600;
}
.skip:focus { top: 0.5rem; }

/* ── the continuous form ─────────────────────────────────────────────── */
.paper { position: relative; max-width: 1480px; margin-inline: auto; overflow: clip; }
.feed {
  position: absolute; inset-block: 0; width: var(--feed); z-index: 3; pointer-events: none;
  background-image: radial-gradient(circle at 50% 50%, var(--ink) 0 calc(var(--feed) * 0.19), transparent calc(var(--feed) * 0.19 + 1px));
  background-size: var(--feed) var(--feed);
}
.feed--start { inset-inline-start: 0; border-inline-end: var(--hair) dashed var(--ink); }
.feed--end { inset-inline-end: 0; border-inline-start: var(--hair) dashed var(--ink); }

.copy {
  position: relative;
  padding: clamp(28px, 4.5vw, 64px) calc(var(--feed) + var(--gutter)) clamp(20px, 3vw, 36px);
}
.copy + .copy, .stub { border-top: var(--rule) dashed var(--ink); }
.copy--white { background: var(--white); min-height: min(100svh, 940px); display: flex; flex-direction: column; }
.copy--yellow { background: var(--yellow); }
.copy--pink { background: var(--pink); }

/* ── masthead ────────────────────────────────────────────────────────── */
.masthead {
  position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
  border-bottom: 4px solid var(--ink); padding-bottom: clamp(8px, 1.2vw, 16px);
}
.brand { display: flex; flex-direction: column; color: var(--ink); line-height: 1; }
.brand__ar { font-family: var(--ar-display); font-weight: 700; font-size: clamp(4rem, 10.5vw, 6rem); line-height: 0.92; }
.brand__en {
  font-family: var(--en-form); font-weight: 700; font-size: clamp(1rem, 2vw, 1.75rem);
  letter-spacing: 0.05em; text-transform: uppercase; margin-top: 0.45em;
}
html[lang="en"] .brand { align-items: flex-start; }

.serial {
  font-family: var(--numbering); color: var(--red); line-height: 0.8;
  font-size: clamp(3.4rem, 11vw, 6rem); letter-spacing: -0.01em;
  transform: translateY(0.36em); position: relative; z-index: 1; white-space: nowrap;
}
.serial span { font-size: 0.26em; vertical-align: top; margin-inline-end: 0.15em; }
.serial--perf {
  position: absolute; inset-inline-end: calc(var(--feed) + var(--gutter)); top: 0;
  font-size: clamp(2.2rem, 6vw, 4.25rem); transform: translateY(-52%); z-index: 2;
  color: var(--red-deep);            /* it sits on two papers: deep enough for the pink one */
}

.lang {
  position: absolute; inset-inline-end: 0; top: 0;
  font: 700 1.125rem/1 var(--en-form); color: var(--ink); background: var(--white);
  border: var(--rule) solid var(--ink); min-width: 3rem; min-height: 2.75rem; padding: 0 0.75rem; cursor: pointer;
  transition: background 0.25s var(--out), color 0.25s var(--out);
}
.lang span { font-family: inherit; }
.lang:hover { background: var(--ink); color: var(--white); }

/* ── the subject line ────────────────────────────────────────────────── */
.subject { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; margin-top: clamp(22px, 3.2vw, 44px); }
h1 {
  color: var(--ink); font-weight: 800; font-size: clamp(1.45rem, 2.9vw, 2.4rem); line-height: 1.35;
  text-wrap: balance; max-width: 26ch;
}
html[lang="en"] h1 { font-family: var(--en-form); font-weight: 700; font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.08; max-width: 22ch; }
.formname { display: flex; flex-direction: column; align-items: flex-end; color: var(--ink); font-weight: 800; line-height: 1.2; white-space: nowrap; }
.formname [lang="en"] { font-weight: 700; font-size: 1.125rem; letter-spacing: 0.08em; text-transform: uppercase; }
.lede { max-width: 62ch; margin-top: 0.75rem; font-size: 1.125rem; text-wrap: pretty; }
.rows td { text-wrap: pretty; }
html[lang="en"] .lede { font-size: 1.1875rem; }

/* ── ruled tables ────────────────────────────────────────────────────── */
.deliver { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); margin-top: clamp(18px, 2.4vw, 30px); border: var(--rule) solid var(--ink); }
.rows { width: 100%; border-collapse: collapse; }
.rows th {
  font-size: 0.8125rem; font-weight: 800; color: var(--ink); text-align: start; padding: 0.3rem 0.9rem;
  border-bottom: var(--hair) solid var(--ink);
}
.rows th span:first-child { float: inline-start; }
.rows th span + span { float: inline-end; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-inline: 0.6rem 0; }
/* the form is bilingual; the page's language leads */
html[lang="en"] .rows th span:first-child { float: inline-end; }
html[lang="en"] .rows th span + span { float: inline-start; }
html[lang="en"] .sign__label, html[lang="en"] .field__label, html[lang="en"] .copyline p { flex-direction: row-reverse; }
.rows td { padding: 0.72rem 0.9rem; border-bottom: var(--hair) solid var(--ink); font-weight: 600; vertical-align: middle; }
.rows tr:last-child td { border-bottom: 0; }
.rows td + td, .rows th + th { border-inline-start: var(--hair) solid var(--ink); }
.rows .n, .rows .num { font-family: var(--matrix); font-weight: 900; font-size: 1.875rem; line-height: 1; text-align: center; width: 3.75rem; color: var(--type); }
.rows .st { width: 11.5rem; font-size: 0.9375rem; text-align: center; }
.rows .yours td { color: var(--red-deep); }
.rows .yours .n, .rows .yours .num { color: var(--red); }
.deliver .rows { border-inline-end: var(--rule) solid var(--ink); }

/* the print head: one row at a time; the next row waits, faint */
.js-print #delivered tbody tr { opacity: 0.22; }
.js-print #delivered tbody tr.is-printing { opacity: 1; animation: print 0.5s var(--out) both; }
.js-print #delivered tbody tr.is-printed { opacity: 1; }
@keyframes print {
  from { clip-path: inset(0 0 0 100%); }
  to { clip-path: inset(0 0 0 0); }
}
/* the class is on the root itself: `html[lang="en"] .js-print` would look for it below the root and never match */
html[lang="en"].js-print #delivered tbody tr.is-printing { animation-name: print-ltr; }
@keyframes print-ltr {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

/* ── the signature box ───────────────────────────────────────────────── */
.sign { background: var(--yellow); padding: clamp(16px, 2vw, 26px); display: flex; flex-direction: column; gap: 0.9rem; justify-content: space-between; }
.sign__label, .field__label { display: flex; justify-content: space-between; align-items: baseline; color: var(--ink); font-weight: 800; }
.sign__label { font-size: 1.25rem; }
.sign__label [lang="en"], .field__label [lang="en"] { font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.08em; text-transform: uppercase; }
.field { display: block; }
.field__label { font-size: 0.875rem; }
.field input, .field select, .field textarea {
  display: block; width: 100%; border: 0; border-radius: 0; background: transparent; color: var(--type);
  font: 600 1.125rem/1.5 var(--ar-text); padding: 0.45rem 0.4rem 0.5rem; border-bottom: var(--rule) solid var(--ink);
  min-height: 2.9rem; margin-top: 0.5rem;
}
html[lang="en"] .field input, html[lang="en"] .field select, html[lang="en"] .field textarea { font-family: var(--en-text); }
.field input[type="email"] { font-family: var(--en-text); text-align: start; }
[dir="rtl"] .field input[type="email"] { text-align: end; }
.field input::placeholder { color: var(--ink); opacity: 1; font-weight: 400; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: var(--rule) solid var(--ink); outline-offset: 0; background: var(--white); }
.field textarea { resize: none; min-height: 6.5rem; }
.field__hint { display: block; font-size: 0.875rem; margin-top: 0.4rem; color: var(--type); }
.sign__note { font-size: 0.9375rem; font-weight: 600; }
.error { color: var(--red-deep); font-weight: 800; font-size: 0.9375rem; }
[aria-invalid="true"] { border-bottom-color: var(--red) !important; }

.btn {
  font: 800 1.25rem/1.2 var(--ar-text); color: var(--white); background: var(--red); border: 0; border-radius: 0;
  min-height: 3.75rem; padding: 0.7rem 1.4rem; cursor: pointer; width: 100%;
  outline: var(--rule) solid transparent; outline-offset: 3px;
  transition: background 0.25s var(--out), transform 0.25s var(--out), outline-color 0.25s var(--out);
}
html[lang="en"] .btn { font-family: var(--en-form); font-weight: 700; font-size: 1.4rem; letter-spacing: 0.02em; }
.btn:hover { background: var(--red-deep); outline-color: var(--red-deep); }
.btn:focus-visible { outline-color: var(--type); }
.btn:active { transform: translateY(2px); }
.btn[disabled] { background: var(--ink); cursor: progress; transform: none; }

.copyline { margin-top: auto; padding-top: clamp(18px, 2.4vw, 30px); color: var(--ink); font-weight: 800; font-size: 0.875rem; }
.copyline p { display: flex; justify-content: space-between; gap: 1rem; }
.copyline [lang="en"] { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ── copy 2 ──────────────────────────────────────────────────────────── */
h2 {
  font-family: var(--ar-display); font-weight: 700; color: var(--ink);
  font-size: clamp(2.6rem, 6.4vw, 4.75rem); line-height: 1.5; margin-top: clamp(8px, 1.4vw, 20px);
}
h2 + .lede { margin-top: 0.4rem; }
html[lang="en"] h2 + .lede { margin-top: 0.9rem; }
html[lang="en"] h2 { font-family: var(--en-form); font-weight: 700; font-size: clamp(2.4rem, 5.6vw, 4.5rem); letter-spacing: 0; line-height: 1; text-transform: uppercase; }
.scroller { margin-top: clamp(18px, 2.4vw, 30px); border: var(--rule) solid var(--ink); overflow-x: auto; }
.rows--list { min-width: 640px; }
.rows--list td:first-child { width: 30%; }
.rows--list td:nth-child(2) { width: 17%; font-weight: 800; }
.rows--list .num { width: 5rem; }
.synthetic { margin-top: 0.6rem; font-size: 0.9375rem; font-weight: 800; color: var(--ink); }
h3 { color: var(--ink); font-weight: 800; font-size: 1.5rem; margin-top: clamp(40px, 6vw, 84px); }
html[lang="en"] h3 { font-family: var(--en-form); font-weight: 700; font-size: 1.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
.terms {
  list-style: none; counter-reset: term; padding: 0; margin-top: 0.75rem;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); border-top: var(--rule) solid var(--ink);
}
.terms li { counter-increment: term; padding: 1.1rem 0 1.2rem; padding-inline-start: 3rem; position: relative; border-bottom: var(--hair) solid var(--ink); }
.terms li > span { max-width: 44ch; }
html[lang="ar"] .terms li > .ar, html[lang="en"] .terms li > .en { display: block; }
.terms li::before { content: counter(term); position: absolute; inset-inline-start: 0.2rem; top: 1.05rem; font-family: var(--matrix); font-weight: 900; font-size: 1.875rem; color: var(--type); line-height: 1.2; }
.terms strong { color: var(--ink); font-weight: 800; }
.copy--yellow .copyline, .copy--pink .copyline { margin-top: clamp(30px, 4vw, 56px); }

/* ── copy 3: the request ─────────────────────────────────────────────── */
.ticket { transform-origin: 50% 0; transition: transform 0.7s var(--out), opacity 0.5s var(--out); }
.request { margin-top: clamp(18px, 2.4vw, 30px); }
.boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: var(--rule) solid var(--ink); }
.boxes .field { padding: 0.8rem 1rem 0.9rem; border-bottom: var(--hair) solid var(--ink); }
.boxes .field:nth-child(odd) { border-inline-end: var(--hair) solid var(--ink); }
.boxes .field--wide { grid-column: 1 / -1; border-bottom: 0; border-inline-end: 0 !important; }
.boxes .field input, .boxes .field select, .boxes .field textarea { border-bottom-width: var(--hair); }
.field select { appearance: none; cursor: pointer; padding-inline-end: 2rem; }
.pick { position: relative; display: block; }
.pick::after {
  content: ""; position: absolute; inset-inline-end: 0.35rem; top: 50%; pointer-events: none;
  border: 7px solid transparent; border-top-color: var(--ink); border-bottom-width: 0;
}
/* what was typed on the white copy shows through, fainter, until this copy is written on */
.is-carbon { color: var(--ink) !important; letter-spacing: 0.06em; font-weight: 400 !important; }
.sendrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 24rem); gap: clamp(16px, 3vw, 40px); align-items: center; margin-top: 1.25rem; }
.privacy { font-size: 0.9375rem; font-weight: 600; max-width: 52ch; }
.status { min-height: 1.75rem; margin-top: 0.75rem; font-weight: 800; color: var(--red-deep); }
.status.is-wait { color: var(--ink); }
/* on the pink copy red text is too weak: the message is set in the ribbon's ink, the rule carries the red */
.copy--pink .status { color: var(--type); background: var(--white); border: var(--rule) solid var(--red-deep); padding: 0.55rem 0.9rem; }
.copy--pink .status:empty { border: 0; padding: 0; background: transparent; }
.copy--pink .status.is-wait { border-color: var(--ink); }
.copy--pink [aria-invalid="true"] { border-bottom-color: var(--red-deep) !important; border-bottom-width: var(--rule) !important; }

.is-sent .ticket { transform: translateY(28px) rotate(-2deg); opacity: 0; pointer-events: none; position: absolute; inset-inline: calc(var(--feed) + var(--gutter)); }
/* the counterfoil: what stays in the book after the request copy is torn out */
.receipt { padding-top: clamp(8px, 1.4vw, 20px); }
.receipt:focus { outline: 0; }
.receipt__boxes { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 1fr); border: var(--rule) solid var(--ink); margin-top: clamp(18px, 2.4vw, 30px); }
.receipt__boxes > div { padding: 0.8rem 1rem 1rem; }
.receipt__boxes > div + div { border-inline-start: var(--hair) solid var(--ink); }
.receipt__boxes strong { display: block; margin-top: 0.5rem; font-weight: 800; font-size: 1.375rem; line-height: 1.3; overflow-wrap: anywhere; }
.receipt__boxes .mail { font-family: var(--en-text); font-weight: 600; }
.receipt__note { margin-top: 1rem; font-size: 1.125rem; max-width: 52ch; text-wrap: balance; }
.is-sent .receipt { animation: print 0.6s var(--out) both; }
.is-sent .copyline--request { display: none; }
/* the torn edge: the row of half holes a perforation leaves, then the bare ground where the copy was */
.torn { display: none; }
.is-sent .torn {
  display: block; height: clamp(56px, 8vw, 104px); background: var(--ink);
  margin: clamp(22px, 3vw, 40px) calc((var(--feed) + var(--gutter)) * -1) calc(clamp(20px, 3vw, 36px) * -1);
  background-image: radial-gradient(circle at 50% 0, var(--pink) 0 7px, transparent 8px);
  background-size: 22px 16px; background-repeat: repeat-x; background-position: 0 0;
  border-top: 7px solid var(--pink);
}

/* ── the stub ────────────────────────────────────────────────────────── */
.stub {
  background: var(--white); color: var(--ink); font-weight: 800;
  padding: clamp(18px, 2.4vw, 30px) calc(var(--feed) + var(--gutter));
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.75rem 2rem;
}
.stub__brand [lang="ar"] { font-family: var(--ar-display); font-size: 1.75rem; }
.stub__brand [lang="en"] { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-inline-start: 0.5rem; }
.stub__line { font-weight: 600; color: var(--type); }
.stub__top { font-size: 0.9375rem; }
.stub__top:hover { color: var(--red-deep); }

@media (min-width: 1200px) {
  .subject { margin-top: 20px; }
  .deliver { margin-top: 16px; }
  #delivered td { font-size: 1.3rem; padding-block: 0.8rem; }
  #delivered .st { font-size: 1.0625rem; }
  #delivered .n { font-size: 2.125rem; }
  .sign .btn { font-size: 1.6rem; min-height: 5rem; }
  .sign__label { font-size: 1.5rem; }
  /* English lines run longer: a step smaller keeps each row on one line */
  html[lang="en"] #delivered td { font-size: 1.125rem; }
  html[lang="en"] #delivered .st { font-size: 1rem; }
  html[lang="en"] #delivered .n { font-size: 2.125rem; }
}

/* ── narrower sheets ─────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .deliver { grid-template-columns: 1fr; }
  .deliver .rows { border-inline-end: 0; border-top: var(--rule) solid var(--ink); }
  .sign { order: -1; }
  .terms { grid-template-columns: 1fr; }
  .sendrow { grid-template-columns: 1fr; }
  .formname { display: none; }
  .copy--white { min-height: 0; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .boxes { grid-template-columns: 1fr; }
  .boxes .field:nth-child(odd) { border-inline-end: 0; }
  .boxes .field { border-bottom: var(--hair) solid var(--ink); }
  /* the delivered rows stack: the status sits under its line, as on a narrow docket */
  #delivered thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #delivered tbody tr { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); border-bottom: var(--hair) solid var(--ink); }
  #delivered tbody tr:last-child { border-bottom: 0; }
  #delivered td { border: 0; padding: 0.55rem 0.7rem 0; }
  #delivered td.n { grid-row: 1 / span 2; width: auto; border-inline-end: var(--hair) solid var(--ink); padding: 0.55rem 0; display: grid; place-items: center; }
  #delivered td.st { grid-column: 2; width: auto; text-align: start; font-size: 0.8125rem; font-weight: 800; color: var(--ink); padding: 0.1rem 0.7rem 0.6rem; border: 0; }
  #delivered .yours td.st { color: var(--red-deep); }
  /* the morning list stacks too: matter and days on one line, who owes it, then what was done */
  .scroller { overflow: visible; }
  .rows--list { min-width: 0; }
  .rows--list thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .rows--list tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-bottom: var(--hair) solid var(--ink); padding: 0.6rem 0.75rem 0.7rem; gap: 0.1rem 0.75rem; align-items: center; }
  .receipt__boxes { grid-template-columns: 1fr; }
  .receipt__boxes > div + div { border-inline-start: 0; border-top: var(--hair) solid var(--ink); }
  .rows--list tbody tr:last-child { border-bottom: 0; }
  .rows--list td, .rows--list td + td { border: 0; padding: 0; width: auto !important; }
  .rows--list td.what { font-weight: 800; }
  .rows--list td.num { grid-column: 2; grid-row: 1; text-align: end; white-space: nowrap; }
  .rows--list td.num::after { font: 800 0.8125rem var(--ar-text); margin-inline-start: 0.3rem; }
  html[lang="en"] .rows--list td.num::after { font: 700 0.875rem var(--en-form); letter-spacing: 0.04em; text-transform: uppercase; }
  .rows--list td.who { grid-column: 1 / -1; font-size: 0.875rem; }
  .rows--list td.who::before { font-weight: 600; margin-inline-end: 0.35rem; }
  .rows--list td.did { grid-column: 1 / -1; font-weight: 600; }
  html[lang="ar"] .rows--list td[data-ar]::before, html[lang="ar"] .rows--list td.num[data-ar]::after { content: attr(data-ar); }
  html[lang="en"] .rows--list td[data-en]::before, html[lang="en"] .rows--list td.num[data-en]::after { content: attr(data-en); }
  .rows--list td.num::before { content: none !important; }
  .rows--list td.who::after { content: none; }
  html[lang="ar"] .rows--list td.who::before { content: attr(data-ar) ":"; }
  html[lang="en"] .rows--list td.who::before { content: attr(data-en) ":"; }
  .copyline p { flex-direction: column !important; gap: 0.1rem; }
  .lang { position: static; align-self: flex-start; order: 3; }
  .masthead { flex-wrap: wrap; }
  .serial { margin-inline-start: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-print #delivered tbody tr { opacity: 1; }
}

/* ── the sheet that is not in the pad (404) ──────────────────────────── */
.lost { min-height: 100svh; }
.lost__title { margin-top: clamp(40px, 10vh, 120px); color: var(--ink); font-weight: 800; font-size: clamp(1.75rem, 4.4vw, 3.25rem); line-height: 1.3; }
.lost__en { color: var(--ink); font-weight: 700; font-size: clamp(1.125rem, 2.2vw, 1.75rem); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 0.5rem; }
.lost__back { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; font-weight: 800; }
.lost__back a { color: var(--ink); }
.lost__back a:hover { color: var(--red-deep); }
