/* Front to Back Hospitality — site styles (koncept B v2, 30.11.2026)
   Design: prototypes/koncept-b-v2/ (approved by Simon 30.11.2026). Light paper, navy ink, round buttons.
   The old navy shelf design (v1, 28.11.2026) is in git history. Colours come from tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; }
p, ul, ol, dl, dd { margin: 0; }
p, dd, li { text-wrap: pretty; }
img { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 0.18em; }
a:hover { color: var(--copper); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 999px; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 60; background: var(--navy); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-weight: 500; }
.skip:focus { top: 12px; color: var(--paper); }
main:focus { outline: none; }
[hidden] { display: none !important; }

/* the page width: 1200px, 40px at the sides (20px on phones) */
.b-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 40px; }
@media (max-width: 40rem) { .b-wrap { padding-inline: 20px; } }

/* ---------- buttons and pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; text-align: center; cursor: pointer; touch-action: manipulation; border: 1px solid transparent; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn-p { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.btn-p:hover { background: var(--copper); border-color: var(--copper); color: #FFFFFF; }
.btn-s { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-s:hover { background: var(--navy); color: var(--paper); }
.btn-warm { font-weight: 600; background: var(--light-copper); color: var(--warm-ink); }
.btn-warm:hover { background: var(--paper); color: var(--warm-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: 14px; line-height: 1.4; white-space: nowrap; }
.pill--soon { border: 1px solid var(--line); color: var(--ink-5); }
.pill--ready { background: var(--ready-bg); color: var(--ready-fg); font-weight: 500; }
.pill--tested { padding: 6px 12px; font-size: 13px; background: var(--tested-bg); color: var(--tested-fg); }

/* ---------- header ---------- */
.site-header { max-width: 1200px; margin: 0 auto; padding: 24px 32px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-2); }
.site-header--home { padding: 28px 40px; border-bottom: 0; }
.logo { display: flex; align-items: center; gap: 14px; color: var(--navy); text-decoration: none; }
.logo:hover { color: var(--navy); }
.logo:focus-visible { border-radius: 16px; }
.logo__mark { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none; border-radius: 13px; background: var(--navy); color: var(--paper); font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.logo__mark span { color: var(--light-copper); margin: 0 1px; }
.logo__words { display: flex; flex-direction: column; gap: 4px; }
.logo__name { font-family: var(--font-display); font-size: 24px; font-weight: 500; line-height: 1; }
.logo__name i { font-weight: 300; color: var(--copper); }
.logo__sub { font-size: 10px; font-weight: 500; letter-spacing: .32em; line-height: 1.2; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0 28px; align-items: center; font-size: 14px; }
.site-header--home .site-nav { gap: 0 32px; font-size: 15px; }
.site-nav > a:not(.btn), .lang-switch a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--navy); }
.site-nav > a:not(.btn):hover, .lang-switch a:hover { color: var(--copper); }
.site-nav > a[aria-current="page"] { color: var(--copper); }
.site-nav > a.site-nav__lang { color: var(--ink-5); }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-5); }
.lang-switch a { min-width: 32px; justify-content: center; color: var(--ink-5); }
.lang-switch a[aria-current="true"] { color: var(--navy); font-weight: 600; }
@media (max-width: 40rem) {
  .site-header, .site-header--home { padding: 20px; }
  .site-nav, .site-header--home .site-nav { width: 100%; gap: 0 20px; }
  .site-nav .btn { margin-left: auto; }
}

/* ---------- front page ---------- */
.hero { padding-top: 96px; padding-bottom: 120px; }
.hero__top { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-end; justify-content: space-between; }
.hero h1 { flex: 1 1 560px; max-width: 720px; font-weight: 300; font-size: clamp(44px, 6.6vw, 96px); line-height: 1; letter-spacing: -.02em; }
.hero__art { flex: 0 1 380px; width: 380px; max-width: 100%; height: auto; }
.hero__bottom { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; justify-content: space-between; }
.hero__bottom p { max-width: 520px; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
@media (max-width: 40rem) { .hero { padding-top: 40px; padding-bottom: 72px; } .hero__bottom { margin-top: 32px; } }

.areas { padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 48px 80px; scroll-margin-top: 16px; }
.areas__group { flex: 1 1 440px; min-width: 0; }
.areas h2 { padding-bottom: 16px; border-bottom: 2px solid var(--navy); font-style: italic; font-weight: 300; font-size: 26px; }
.area { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; justify-content: space-between; padding: 26px 20px; margin: 0 -20px; border-bottom: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--navy); transition: background-color .2s ease; }
.area:hover { background: var(--paper-hover); color: var(--navy); }
.area:focus-visible { border-radius: 18px; outline-offset: 0; }
.area__name { display: block; font-family: var(--font-display); font-size: 40px; line-height: 1.1; transition: color .2s ease; }
.area:hover .area__name { color: var(--copper); }
.area__text { display: block; margin-top: 6px; font-size: 15px; color: var(--ink-4); }
@media (max-width: 40rem) { .area__name { font-size: 32px; } .areas { padding-bottom: 80px; } }

.how { padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 40px 80px; }
.how h2 { flex: 1 1 300px; font-weight: 300; font-size: 44px; }
.how dl { flex: 2 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px 48px; }
.how dt { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; }
.how dd { font-size: 15px; line-height: 1.7; color: var(--ink-4); }
@media (max-width: 40rem) { .how { padding-bottom: 80px; } .how h2 { font-size: 36px; } }

.om { padding-bottom: 120px; scroll-margin-top: 16px; }
.om__inner { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: center; border-top: 2px solid var(--navy); padding-top: 72px; }
.portrait { width: 280px; height: 340px; object-fit: cover; flex: 0 0 auto; border-radius: 24px; }
.om__text { flex: 1 1 440px; min-width: 0; }
.om__text h2 { margin-bottom: 24px; font-weight: 300; font-size: 48px; line-height: 1.08; }
.om__text > p { margin-bottom: 32px; max-width: 560px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
@media (max-width: 40rem) { .om__inner { padding-top: 48px; } .om__text h2 { font-size: 36px; } .om { padding-bottom: 80px; } }

/* ---------- area pages (one template for all six) ---------- */
.area-page { padding-top: 40px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; }
.area-page__main { flex: 999 1 560px; min-width: 0; }
.side { flex: 0 1 220px; order: -1; }
.side__group { margin: 0 0 8px; font-size: 12px; letter-spacing: .28em; color: var(--copper-text); }
.side__group ~ .side__group { margin-top: 28px; }
.side a { display: block; padding: 10px 0; color: var(--navy); text-decoration: none; font-size: 15px; border-bottom: 1px solid var(--line-3); }
.side a:hover { color: var(--copper); }
.side a[aria-current="page"] { font-weight: 600; color: var(--copper); }
.side a:focus-visible { border-radius: 4px; }
/* phone and small tablet: the area list comes after the page */
@media (max-width: 56rem) { .side { order: 1; flex: 1 1 100%; columns: 2; column-gap: 32px; } .side__group { break-after: avoid; } .area-page { gap: 40px; } }
.crumbs { margin: 0 0 16px; font-size: 13px; color: var(--ink-5); }
.crumbs a { color: var(--ink-5); }
.crumbs a:hover { color: var(--copper); }
.area-page__head { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.area-page__words { flex: 1 1 420px; min-width: 0; }
.area-page h1 { margin-bottom: 14px; font-size: 56px; line-height: 1.05; }
.area-page__words p { max-width: 620px; font-size: 17px; line-height: 1.7; color: var(--ink-3); }
.area-page__art { flex: 0 1 300px; width: 300px; max-width: 100%; height: auto; }
.area-page__soon { margin: 8px 0 0; }
@media (max-width: 40rem) { .area-page h1 { font-size: 44px; } .area-page { padding-top: 28px; padding-bottom: 72px; } }

.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 8px; }
.search { flex: 1 1 260px; min-width: 0; min-height: 48px; padding: 0 22px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper-raised); font: inherit; font-size: 15px; color: var(--navy); transition: border-color .2s ease; }
.search:hover { border-color: var(--line-hover); }
.search::placeholder { color: var(--ink-5); }
.chip { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--navy); font-size: 14px; cursor: pointer; touch-action: manipulation; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--paper); }

.rows { border-bottom: 1px solid var(--line-2); }
.row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding: 22px 16px; margin: 0 -16px; border-top: 1px solid var(--line-2); border-radius: 16px; text-decoration: none; color: var(--navy); transition: background-color .2s ease; }
.row:hover { background: var(--paper-hover); color: var(--navy); }
.row:focus-visible { border-radius: 16px; outline-offset: 0; }
.row__no { width: 40px; font-family: var(--font-display); font-size: 20px; color: var(--copper); }
.row__words { flex: 1 1 300px; min-width: 0; }
.row__title { display: block; font-family: var(--font-display); font-size: 24px; line-height: 1.25; }
.row__text { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.row__read { font-size: 14px; font-weight: 600; color: var(--copper-text); }
@media (max-width: 40rem) { .row__words { flex-basis: 200px; } }

.cta { margin-top: 56px; padding: 40px; border-radius: 24px; background: var(--navy); color: var(--paper); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta p { flex: 1 1 360px; font-family: var(--font-display); font-size: 24px; line-height: 1.3; }
@media (max-width: 40rem) { .cta { padding: 28px 24px; } .cta p { flex-basis: 100%; font-size: 22px; } }

/* on navy the focus ring is light copper, so it can be seen */
.cta, .help__card, .notice, .film, .limits .human { --focus: var(--light-copper); }

/* ---------- help card (About, Contact, book page): B's navy card ---------- */
.help { max-width: 1200px; margin-inline: auto; padding: 0 40px 96px; }
.help__card { padding: 40px; border-radius: 24px; background: var(--navy); color: var(--paper); display: grid; gap: 28px; align-items: center; }
@media (min-width: 60rem) { .help__card { grid-template-columns: minmax(0, 1fr) minmax(300px, auto); gap: 48px; } }
.help__text { display: grid; gap: 12px; }
.help h2 { font-size: clamp(26px, 2vw + 16px, 34px); line-height: 1.2; }
.help p { max-width: 38rem; color: var(--line-3); }
.mail { display: grid; gap: 12px; }
.mail code { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; color: var(--paper); background: rgb(0 0 0 / 0.22); border: 1px solid rgb(244 239 230 / 0.2); padding: 12px 18px; border-radius: 999px; user-select: all; overflow-wrap: anywhere; text-align: center; }
.mail__copy { justify-self: center; border: 0; background: none; cursor: pointer; min-height: 44px; padding: 0 12px; font-weight: 500; font-size: 15px; color: var(--light-copper); text-decoration: underline; text-underline-offset: .2em; }
.mail__copy:hover, .mail__copy[data-done] { color: var(--paper); }
@media (max-width: 40rem) { .help { padding: 0 20px 72px; } .help__card { padding: 28px 22px; } .mail code { font-size: 1rem; border-radius: 16px; } }

/* ---------- About, Contact, Privacy, 404 ---------- */
.page-head { padding-top: 72px; padding-bottom: 40px; }
.eyebrow { margin-bottom: 14px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--copper-text); }
.page-head h1 { font-weight: 300; font-size: clamp(40px, 5vw, 72px); line-height: 1.05; letter-spacing: -.01em; max-width: 900px; }
.page-head h1 em { font-style: italic; color: var(--copper); }
.page-head p:not(.eyebrow) { margin-top: 20px; max-width: 620px; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.page-head--404 { min-height: 50vh; padding-bottom: 96px; }
.page-head--404 .btn { margin-top: 8px; }
@media (max-width: 40rem) { .page-head { padding-top: 40px; } }
.page-text { padding-bottom: 72px; display: grid; gap: 14px; }
.page-text > * { max-width: 48rem; }
.page-text h2 { font-size: clamp(24px, 1vw + 18px, 30px); margin-top: 18px; }
.page-text p, .page-text li { color: var(--ink-2); }
.om--page .om__inner { padding-top: 48px; align-items: flex-start; }
.om--page .om__text { display: grid; gap: 16px; padding-bottom: 0; }
.om--page .om__text h2 { margin-bottom: 0; font-weight: 400; font-size: 36px; }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 1.8em; position: relative; color: var(--navy); }
.ticks li::before { content: ""; position: absolute; left: 0.15em; top: 0.5em; width: 0.75em; height: 0.4em; border-left: 2px solid var(--copper); border-bottom: 2px solid var(--copper); transform: rotate(-45deg); }
.never { font-size: 0.9375rem; padding: 12px 16px; border-radius: 16px; border: 1px dashed rgb(164 75 34 / 0.5); color: var(--navy); }
.never b { color: var(--copper-text); }

/* ---------- footer ---------- */
.site-footer { max-width: 1200px; margin: 0 auto; padding: 32px 40px 48px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--ink-5); border-top: 1px solid var(--line-2); }
.site-footer a { color: var(--ink-5); display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--copper); }
@media (max-width: 40rem) { .site-footer { padding: 24px 20px 40px; flex-direction: column; align-items: flex-start; } }

/* ---------- book page ---------- */
.book-hero { padding-top: 48px; padding-bottom: 40px; }
.book-hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; max-width: 900px; }
.lead { margin-top: 18px; max-width: 680px; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.facts { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 0; padding-block: 16px; border-block: 1px solid var(--line-2); }
.facts > div { padding-inline: 0 28px; margin-right: 28px; border-right: 1px solid var(--line-2); }
.facts > div:last-child { border-right: 0; margin-right: 0; }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-text); }
.facts dd { font-weight: 500; font-size: 15px; }
@media (max-width: 40rem) { .book-hero { padding-top: 28px; } .facts { display: grid; grid-template-columns: 1fr 1fr; } .facts > div { border-right: 0; margin-right: 0; padding-right: 12px; } }

.pages { padding-bottom: 96px; }
.sheet__grid { display: grid; gap: 8px; }
@media (min-width: 64rem) {
  .sheet__grid { grid-template-columns: minmax(0, 46rem) minmax(13rem, 15rem); justify-content: space-between; column-gap: clamp(40px, 5vw, 80px); }
  .sheet__grid > .toc-wrap { grid-column: 2; grid-row: 1; }
  .sheet__grid > .leaf { grid-column: 1; grid-row: 1; }
}

/* the reading column */
.leaf { min-width: 0; }
.leaf section { display: grid; gap: 16px; padding-block: clamp(30px, 4vw, 48px); scroll-margin-top: 24px; }
.leaf section:first-child { padding-top: 8px; }
.leaf section:last-child { padding-bottom: 0; }
.leaf section + section { border-top: 1px solid var(--line-2); }
.leaf h2 { font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.4rem); color: var(--navy); }
.leaf h2:focus { outline: none; }
.leaf h3 { font-size: 1.25rem; color: var(--navy); }
.leaf p, .leaf li, .leaf dd { color: var(--navy); }
.leaf p { max-width: 66ch; }
.leaf em { font-family: var(--font-display); font-style: italic; }
.leaf__first::first-letter { float: left; font-family: var(--font-display); font-weight: 600; font-size: 3.6em; line-height: 0.82; padding: 0.06em 0.1em 0 0; color: var(--copper); }
.leaf__def { font-family: var(--font-display); font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); line-height: 1.5; padding: 4px 0 4px 20px; border-left: 2px solid var(--copper); }
.leaf__def b { font-style: italic; font-weight: 600; color: var(--copper-text); }
.leaf__note { color: var(--ink-muted) !important; font-size: 0.9375rem; }

/* small glossary */
.words { margin: 4px 0 0; display: grid; gap: 1px; border-radius: 16px; overflow: hidden; background: rgb(27 43 68 / 0.1); border: 1px solid rgb(27 43 68 / 0.1); }
@media (min-width: 40rem) { .words { grid-template-columns: 1fr 1fr; } }
.words > div { background: var(--paper-raised); padding: 14px 18px; display: grid; gap: 2px; }
.words dt { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.125rem; color: var(--copper-text); }
.words dd { margin: 0; font-size: 0.9375rem; line-height: 1.5; }

/* the fixed warning (shared by every book) */
.notice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: clamp(18px, 2.4vw, 24px); border-radius: 20px; background: var(--navy); color: var(--paper); }
.notice svg { width: 30px; height: 30px; color: var(--light-copper); }
.notice__label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--light-copper); margin-bottom: 4px; }
.leaf .notice p { color: var(--paper); font-family: var(--font-display); font-size: 1.125rem; line-height: 1.5; }

/* numbered steps */
.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding-left: 3.2rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -0.15em; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; border-radius: 50%; background: var(--navy); color: var(--light-copper); }
.careful { padding: 18px 22px; border-radius: 20px; background: rgb(217 207 191 / 0.5); border: 1px solid rgb(140 106 74 / 0.3); display: grid; gap: 8px; }
.careful h3 { font-size: 1.125rem; }
.careful ul { padding-left: 1.1em; display: grid; gap: 6px; }

/* prompts and templates */
.prompt { border-radius: 20px; padding: clamp(16px, 2.4vw, 24px); display: grid; gap: 12px; background: var(--paper-raised); border: 1px solid rgb(27 43 68 / 0.12); }
.prompt + .prompt { margin-top: 18px; }
.prompt__head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.prompt__head h3 { font-size: 1.375rem; display: flex; gap: 12px; align-items: center; color: var(--navy); }
.prompt__head h3 span { display: grid; place-items: center; width: 2rem; height: 2rem; flex: none; border-radius: 50%; border: 1.5px solid var(--copper); color: var(--copper-text); font-size: 1rem; }
.prompt__head .copy { margin-left: auto; }
.prompt__use { font-size: 0.9375rem; color: var(--ink-muted) !important; }
.leaf .prompt__tested { margin-top: -8px; }
.prompt pre { margin: 0; padding: 18px 20px; background: rgb(27 43 68 / 0.035); border: 1px solid rgb(27 43 68 / 0.08); border-left: 3px solid var(--copper); border-radius: 10px; font-family: var(--font-body); font-size: 0.9375rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--navy); }
.prompt--sheet pre { max-height: 26rem; overflow: auto; }
.slot { background: rgb(164 75 34 / 0.1); color: var(--copper-text); font-weight: 600; border-radius: 3px; padding-inline: 2px; }
.copy { border: 1px solid var(--copper); background: none; color: var(--copper-text); border-radius: 999px; min-height: 44px; padding: 0 18px; font-weight: 600; font-size: 0.9375rem; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.copy:hover, .copy[data-done] { background: var(--copper); color: var(--paper); }
.leaf .tag, .badge { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; margin-right: 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; background: var(--sand); color: var(--navy); white-space: nowrap; vertical-align: 1px; }

/* the made-up example */
.mails { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 48rem) { .mails { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mail-card { position: relative; background: var(--paper-raised); border: 1px solid rgb(27 43 68 / 0.12); border-radius: 14px; padding: 16px 18px 18px; display: grid; gap: 6px; align-content: start; }
.mail-card__from { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-text); }
.mail-card p { font-size: 0.9375rem; line-height: 1.5; }
.step-label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted) !important; margin-top: 8px; display: flex; align-items: center; gap: 12px; }
.step-label::after { content: ""; flex: 1; height: 1px; background: rgb(27 43 68 / 0.15); }
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid rgb(27 43 68 / 0.12); background: var(--paper-raised); }
.table-wrap:focus-visible { outline-offset: 2px; border-radius: 14px; }
.sorted { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.4; }
.sorted th { text-align: left; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper); background: var(--navy); padding: 10px 14px; }
.sorted td { padding: 12px 14px; border-top: 1px solid rgb(27 43 68 / 0.1); vertical-align: top; color: var(--navy); }
.sorted tbody tr:nth-child(even) td { background: rgb(27 43 68 / 0.025); }
@media (max-width: 40rem) {
  .table-wrap { overflow: visible; border: 0; background: none; }
  .sorted, .sorted tbody, .sorted tr, .sorted td { display: block; min-width: 0; }
  .sorted thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sorted tr { background: var(--paper-raised); border: 1px solid rgb(27 43 68 / 0.12); border-radius: 14px; padding: 6px 16px; }
  .sorted tr + tr { margin-top: 10px; }
  .sorted td { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid rgb(27 43 68 / 0.08); background: none !important; }
  .sorted td:first-child { border-top: 0; }
  .sorted td > .urg { justify-self: start; }
  .sorted td::before { content: attr(data-label); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); padding-top: 2px; }
}
.table-note { font-size: 0.875rem; font-style: italic; color: var(--ink-muted) !important; margin-top: -4px; }
.urg { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; background: rgb(27 43 68 / 0.08); white-space: nowrap; }
.urg--today { background: var(--copper); color: var(--paper); }
.letter { position: relative; max-width: 36rem; padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 34px); display: grid; gap: 12px; border-radius: 6px; background: #FFFDF8; border: 1px solid rgb(27 43 68 / 0.1); }
.letter__to { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-text) !important; }
.letter p { font-size: 0.9875rem; }
.missing { font-weight: 600; color: var(--copper-text) !important; background: rgb(164 75 34 / 0.09); border-left: 3px solid var(--copper); padding: 8px 12px; border-radius: 0 6px 6px 0; }

/* limits */
.limits { display: grid; gap: 16px; }
@media (min-width: 40rem) { .limits { grid-template-columns: 1fr 1fr; } }
.limits > div { padding: 22px; border-radius: 20px; border: 1px solid rgb(27 43 68 / 0.12); background: var(--paper-raised); display: grid; gap: 10px; align-content: start; }
.limits > div.human { background: var(--navy); border-color: var(--navy); }
.limits > div.human h3, .leaf .limits > div.human li { color: var(--paper); }
.limits h3 { font-size: 1.25rem; display: flex; gap: 10px; align-items: center; }
.limits h3 svg { width: 26px; height: 26px; color: var(--copper); flex: none; }
.limits > div.human h3 svg { color: var(--light-copper); }
.limits ul { padding-left: 1.1em; display: grid; gap: 6px; }

/* the film: a screen on the page; the video loads from youtube-nocookie only when clicked */
.film { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; color: var(--paper); background: var(--navy); display: grid; place-items: center; text-align: center; }
.film__body { display: grid; justify-items: center; gap: 10px; padding: 20px; max-width: 30rem; }
.film__play { width: clamp(58px, 8vw, 78px); height: clamp(58px, 8vw, 78px); border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--light-copper); color: var(--light-copper); }
.film__play svg { width: 40%; height: 40%; margin-left: 6%; }
.film__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); line-height: 1.2; }
.film p { color: var(--line-3) !important; font-size: 0.9375rem; }
.film__soon { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--light-copper); }
button.film { width: 100%; border: 0; padding: 0; cursor: pointer; font: inherit; }
.film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-note { font-size: 0.875rem; color: var(--ink-muted) !important; }
.film-note small::before { content: "·"; margin-inline: 8px; }
@media (max-width: 30rem) { .film { aspect-ratio: 4 / 3; } }

/* "On this page" */
.toc-wrap { min-width: 0; }
.toc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 22px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper-raised); font-weight: 500; }
.toc > summary::-webkit-details-marker { display: none; }
.toc > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--copper); border-bottom: 2px solid var(--copper); transform: rotate(45deg) translateY(-3px); transition: transform 0.2s var(--ease); }
.toc[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.toc__panel { margin-top: 8px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--paper-raised); padding: 10px 8px 14px; }
.toc__label { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; }
.toc a { display: block; padding: 12px 12px; border-left: 2px solid transparent; color: var(--navy); text-decoration: none; font-size: 0.9375rem; line-height: 1.35; border-radius: 0 8px 8px 0; }
.toc a:hover { color: var(--copper-text); background: rgb(164 75 34 / 0.06); }
.toc a:focus-visible { border-radius: 8px; outline-offset: 0; }
.toc a[aria-current="true"] { color: var(--copper-text); border-left-color: var(--copper); font-weight: 600; background: rgb(164 75 34 / 0.07); }
.toc__yt { display: flex; align-items: center; gap: 10px; margin: 12px 12px 0; padding-top: 14px; border-top: 1px solid rgb(27 43 68 / 0.12); font-size: 0.875rem; color: var(--ink-muted); }
.toc__yt svg { width: 22px; height: 22px; flex: none; color: var(--copper); }
.toc__yt small { display: block; font-size: 0.8125rem; }
@media (max-width: 63.99rem) { .toc-wrap { margin-bottom: 8px; } }
@media (min-width: 64rem) {
  .toc-wrap { position: sticky; top: 24px; align-self: start; }
  .toc > summary { display: none; }
  .toc__panel { margin-top: 0; border: 0; border-left: 1px solid var(--line-2); border-radius: 0; background: none; padding: 0 0 0 8px; }
  .toc__label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper-text); padding: 2px 14px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .area, .area__name, .search, .chip, .row, .copy, .toc > summary::after { transition: none; }
}
