/* Hallmark · shape: Magazine cover (home), app screens (tools) · genre: editorial · theme: custom, owner-picked concept C "romantic editorial" (2026-11-11) · redesign: full
 * hero: Full-bleed photograph, head and one action left over a wine scrim · nav: wordmark left, text links right, over the photograph on the home page · footer: blush mast, the wordmark over links and plain facts · imagery: photographs (library stand-ins, credited) · signature: the wedding day set as a timetable on the wine band, unfolding row by row · motion: hero settle, line rise, scroll reveals with stagger, card lift
 * axes: light/roman-serif/warm · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V5 · weakest: S, arched cards can read as a template; the arches carry real numbered tools and the wine band carries the product's own default day */
/* Hallmark · waive motion budget (one reveal) · the owner asked for animations to make it feel modern (2026-11-11); every reveal is transform and opacity only, content is visible without scripting, and prefers-reduced-motion turns all of it off */
/* Hallmark · waive 42 · wordmark left with text links right and no button · the spec fixes this nav and the one action lives in the hero */
/* Hallmark · dismissed 46a · the 10% figure is MoneySavingExpert's advice, quoted and linked on the budget page as its source */
@import url("./fonts.css");
@import url("./tokens.css");
@import url("./base.css");

:root {
  --container: 1200px;
  --measure: 65ch;
  --control: 48px;
  --color-well: var(--color-blush);
  --color-field: #fffdfc;
  --color-field-line: var(--color-muted);
  --color-warn-bg: #fbe3c9;
  --color-warn-ink: #6b3a12;
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Page frame ---------- */
.wrap, .band > .wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.site-main > :not(.band) { width: min(calc(100% - 2 * var(--gutter)), calc(var(--container) - 2 * var(--gutter))); margin-inline: auto; }
.site-main { display: block; }
body { font-size: 1.0625rem; line-height: 1.65; }
p, li, dd { max-width: var(--measure); }
ul, ol { margin: 0; padding-left: 1.25em; }
dl, dd { margin: 0; }
time, td, .tnum { font-variant-numeric: tabular-nums; }
h1, h2 { color: var(--color-wine); line-height: 1; }
h2 { font-size: clamp(2.5rem, 4vw + 0.5rem, 4rem); }
h3, .h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; line-height: 1.1; letter-spacing: 0; color: var(--color-wine); }

a { color: var(--color-ink); text-decoration-color: color-mix(in oklab, var(--color-rose) 70%, transparent); transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out); }
a:hover { color: var(--color-accent-2); text-decoration-color: var(--color-accent-2); }
a:active { color: var(--color-wine); }

.skip { position: absolute; left: var(--space-md); top: var(--space-xs); padding: var(--space-xs) var(--space-sm); background: var(--color-wine); color: var(--color-accent-ink); border-radius: var(--radius-pill); transform: translateY(-200%); z-index: var(--z-modal); }
.skip:focus-visible { transform: none; }

/* ---------- Chrome ---------- */
.site-head { background: var(--color-paper); border-bottom: 1px solid var(--color-rule); position: relative; z-index: var(--z-raised); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 84px; }
.wordmark { font-family: var(--font-display); font-weight: 600; font-size: 1.875rem; line-height: 1; color: var(--color-wine); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: var(--control); }
.wordmark:hover { color: var(--color-accent-2); }
.wordmark:active { color: var(--color-ink); }
.nav { display: flex; gap: var(--space-xl); }
.nav a { font-size: 0.9375rem; letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: var(--control); border-bottom: 1px solid transparent; transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.nav a:hover { border-bottom-color: currentColor; }
.nav a:active { color: var(--color-rose); }
.nav a[aria-current="page"] { border-bottom-color: var(--color-rose); }
body:has(.hero) .site-head { position: absolute; inset: 0 0 auto 0; background: transparent; border-bottom: 0; }
body:has(.hero) .site-head .wordmark, body:has(.hero) .site-head .nav a { color: var(--color-on-photo); }
body:has(.hero) .site-head :focus-visible { outline-color: var(--color-on-photo); }
@media (max-width: 400px) {
  .site-head .wrap { flex-wrap: wrap; row-gap: 0; padding-block: var(--space-xs); }
  .nav { gap: var(--space-lg); }
}

.site-foot { margin-top: var(--section-gap-s); background: var(--color-blush); padding-block: var(--space-2xl) var(--space-xl); }
.site-foot .wrap { display: grid; gap: var(--space-xl); }
.foot-mark { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.5rem, 3vw + 1rem, 3.5rem); line-height: 1; color: var(--color-wine); max-width: none; }
.foot-cols { display: grid; gap: var(--space-lg); border-top: 1px solid var(--color-blush-2); padding-top: var(--space-lg); }
.foot-cols p { color: var(--color-muted); }
.site-foot ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--space-xl); }
.site-foot nav a { text-decoration: none; display: inline-flex; align-items: center; min-height: var(--control); white-space: nowrap; border-bottom: 1px solid transparent; transition: border-color var(--dur-short) var(--ease-out); }
.site-foot nav a:hover { border-bottom-color: currentColor; }
.credits { font-size: var(--text-xs); color: var(--color-muted); }
.credits a { color: var(--color-muted); }
@media (min-width: 900px) { .foot-cols { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.print-foot { display: none; }

.crumbs { padding-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-xs); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-xs); color: var(--color-rule); }
.crumbs a { color: var(--color-muted); }

/* ---------- Controls ---------- */
.btn {
  font: 500 1rem/1 var(--font-body);
  letter-spacing: 0.02em;
  min-height: 52px;
  padding: var(--space-sm) var(--space-xl);
  border: 1px solid var(--color-wine);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-wine);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-soft);
}
.btn:hover { background: var(--color-blush); color: var(--color-wine); transform: translateY(-2px); }
.btn:active { background: var(--color-blush-2); transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--color-wine); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-2); color: var(--color-accent-ink); }
.btn--primary:active { background: var(--color-ink); }
.hero .btn--primary { background: var(--color-blush); border-color: var(--color-blush); color: var(--color-wine); }
.hero .btn--primary:hover { background: var(--color-paper); border-color: var(--color-paper); color: var(--color-wine); }
.link { text-decoration: none; padding-bottom: var(--space-2xs); border-bottom: 1px solid currentColor; white-space: nowrap; transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.link:hover { border-bottom-color: var(--color-rose); }
.link:active { color: var(--color-rose); }
.link--light { color: var(--color-on-photo); }
.link--light:hover { color: var(--color-on-photo); border-bottom-color: var(--color-blush-2); }
.linkish { white-space: nowrap; font: inherit; background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0; color: var(--color-wine); cursor: pointer; transition: border-color var(--dur-short) var(--ease-out); }
.linkish:hover { border-color: var(--color-rose); }
.linkish:active { color: var(--color-rose); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.status { font-size: var(--text-sm); color: var(--color-muted); min-height: 1lh; }

/* ---------- Home: hero ---------- */
.hero { position: relative; min-height: min(92svh, 900px); display: grid; align-items: center; color: var(--color-on-photo); overflow: clip; }
.hero-photo { position: absolute; inset: 0; margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--scrim) 0%, var(--scrim-mid) 38%, var(--scrim-none) 64%); pointer-events: none; }
.hero-body { position: relative; z-index: 1; padding-block: 140px var(--space-2xl); display: grid; gap: var(--space-lg); }
.hero h1 { color: var(--color-on-photo); font-size: clamp(3.25rem, 6.4vw, 6.25rem); line-height: 0.95; max-width: none; text-wrap: initial; }
.hero h1 .line { white-space: nowrap; }
.hero h1 .line { display: block; }
.hero .lead { color: var(--color-on-photo-soft); font-size: 1.25rem; max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); max-width: none; margin-top: var(--space-sm); }
@media (max-width: 860px) {
  .hero { min-height: 88svh; align-items: end; }
  .hero::after { background: linear-gradient(0deg, var(--scrim) 0%, var(--scrim) 42%, var(--scrim-mid) 72%, var(--scrim-mid) 100%); }
  .hero h1 .line { white-space: normal; }
  .hero-photo img { object-position: 68% 30%; }
  .hero-body { padding-block: 120px var(--space-xl); }
}

/* ---------- Bands ---------- */
.band { margin-top: var(--section-gap-s); padding-block: var(--space-3xl); }
.hero.band { margin-top: 0; padding-block: 0; }
.band--blush { background: var(--color-blush); }
.band--wine { background: var(--color-wine); color: var(--color-on-wine-soft); }
.intro { margin-top: 0; text-align: center; }
.intro p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 2.4vw + 0.75rem, 2.5rem); line-height: 1.25; color: var(--color-wine); max-width: 26ch; margin-inline: auto; text-wrap: balance; }

/* ---------- Home: tools as arches ---------- */
.section { margin-top: var(--section-gap-s); display: grid; gap: var(--space-xl); }
.section--first { margin-top: 0; }
.index { list-style: none; padding: 0; }
.index a { text-decoration: none; color: var(--color-ink); }
.index-name { display: block; }
.index-line { display: block; color: var(--color-muted); }
.index--tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); counter-reset: tool; }
.index--tools li { max-width: none; counter-increment: tool; }
.index--tools a {
  display: grid; align-content: start; justify-items: center; text-align: center; gap: var(--space-sm);
  height: 100%; min-height: 320px; padding: var(--space-2xl) var(--space-lg) var(--space-xl);
  background: var(--color-paper); border: 1px solid var(--color-blush-2); border-radius: var(--radius-arch);
  transition: background-color var(--dur-long) var(--ease-soft), transform var(--dur-long) var(--ease-soft), box-shadow var(--dur-long) var(--ease-soft);
}
.index--tools a::before { content: counter(tool); font-family: var(--font-display); font-weight: 500; font-size: 3.5rem; line-height: 1; color: var(--color-rose); margin-bottom: var(--space-sm); }
.index--tools a:hover { background: var(--color-blush); transform: translateY(-6px); box-shadow: var(--shadow-card); }
.index--tools a:active { transform: translateY(-2px); }
.index--tools .index-name { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; line-height: 1.1; color: var(--color-wine); max-width: 16ch; text-wrap: balance; }
.index--tools .index-line { font-size: 1rem; max-width: 28ch; }
@media (max-width: 900px) { .index--tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .index--tools { grid-template-columns: minmax(0, 1fr); } .index--tools a { min-height: 0; } }

/* ---------- Home: the sample day (signature) ---------- */
.sample-inner { display: grid; gap: var(--space-2xl); }
.sample-head { display: grid; gap: var(--space-md); align-content: start; }
.sample h2 { color: var(--color-on-photo); }
.sample-head p { color: var(--color-on-wine-soft); max-width: 34ch; }
.timetable--show { width: 100%; border-collapse: collapse; border-top: 1px solid color-mix(in oklab, var(--color-on-photo) 25%, transparent); }
.timetable--show thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sample .timetable--show td { border-bottom: 1px solid color-mix(in oklab, var(--color-on-photo) 18%, transparent); padding-block: var(--space-md); vertical-align: baseline; color: var(--color-on-wine-soft); font-size: 1.0625rem; }
.sample .timetable--show tbody td:first-child { font-family: var(--font-display); font-weight: 500; font-size: 2.5rem; line-height: 1; color: var(--color-on-photo); font-variant-numeric: lining-nums tabular-nums; padding-right: var(--space-xl); width: 1%; white-space: nowrap; }
@media (min-width: 900px) {
  .sample-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
  .sample-head { position: sticky; top: var(--space-2xl); }
}

/* ---------- Home: directory ---------- */
.directory-band { display: grid; gap: var(--space-2xl); align-items: center; }
.directory-photo { margin: 0; aspect-ratio: 4 / 5; }
.directory-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 0 0; }
.directory-band-text { display: grid; gap: var(--space-lg); align-content: start; }
.directory-band-text > p { color: var(--color-muted); max-width: 42ch; }
.index--cats { display: grid; column-gap: var(--space-xl); }
.index--cats li { max-width: none; }
.index--cats a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); padding-block: var(--space-sm); border-bottom: 1px solid var(--color-blush-2); transition: color var(--dur-short) var(--ease-out); }
.index--cats a:hover { color: var(--color-accent-2); }
.index--cats a:active { color: var(--color-rose); }
.index--cats .index-line { color: var(--color-rose); font-size: var(--text-sm); white-space: nowrap; }
@media (min-width: 640px) { .index--cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .directory-band { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); } }

/* ---------- Page heads and prose ---------- */
.page-head { padding-block: var(--space-2xl) var(--space-xl); display: grid; gap: var(--space-md); }
.page-head h1 { font-size: clamp(3rem, 5vw + 0.5rem, 5rem); max-width: 16ch; }
.lede { font-size: 1.25rem; line-height: 1.5; color: var(--color-muted); max-width: 52ch; }
.prose { display: grid; gap: var(--space-md); max-width: var(--measure); }
.prose h2 { margin-top: var(--space-xl); font-size: 2.5rem; }
.prose h3 { margin-top: var(--space-md); }
.prose ul, .prose ol { display: grid; gap: var(--space-xs); }
.note { color: var(--color-muted); font-size: var(--text-sm); }

/* ---------- Tool screens ---------- */
.jump { margin: 0; font-size: var(--text-sm); }
@media (min-width: 900px) { .jump { display: none; } }
.tool { display: grid; gap: var(--space-xl); align-items: start; }
@media (min-width: 900px) {
  .tool { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); }
  .tool > .jump { grid-column: 1 / -1; }
}
.panel { padding: var(--space-xl) var(--space-lg); border-radius: var(--radius-card); }
.inputs { display: grid; gap: var(--space-xl); background: var(--color-blush); }
.result-panel { display: grid; gap: var(--space-xl); background: var(--color-paper); border: 1px solid var(--color-blush-2); box-shadow: var(--shadow-card); }
@media (min-width: 900px) {
  .panel { padding: var(--space-xl); }
  .result-panel { position: sticky; top: var(--space-lg); }
}
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--space-md); min-width: 0; }
fieldset + fieldset { border-top: 1px solid var(--color-blush-2); padding-top: var(--space-lg); }
legend { font-family: var(--font-display); font-weight: 600; font-size: 1.625rem; line-height: 1.1; color: var(--color-wine); padding: 0; margin-bottom: var(--space-md); float: left; width: 100%; }
legend + * { clear: both; }
.field { display: grid; gap: var(--space-2xs); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
label, .label { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.hint { font-size: var(--text-sm); color: var(--color-muted); min-height: 1lh; }
.clamp-msg { font-size: var(--text-sm); color: var(--color-warn-ink); min-height: 0; }

input[type="number"], input[type="time"], input[type="date"], input[type="text"], select {
  font: 400 1rem/1.3 var(--font-body);
  font-variant-numeric: tabular-nums;
  color: var(--color-ink);
  background: var(--color-field);
  border: 1px solid var(--color-field-line);
  border-radius: 12px;
  min-height: var(--control);
  padding: var(--space-xs) var(--space-sm);
  width: 100%;
  min-width: 0;
  transition: border-color var(--dur-short) var(--ease-out);
}
input:hover, select:hover { border-color: var(--color-wine); }
input:focus-visible, select:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 0; border-color: var(--color-focus); }
input:active, select:active { border-color: var(--color-wine); }
input:disabled, select:disabled { opacity: 0.5; cursor: not-allowed; }

.check { display: flex; gap: var(--space-sm); align-items: center; min-height: var(--control); font-size: 1rem; font-weight: 400; color: var(--color-ink); }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--color-wine); flex-shrink: 0; }
.check input:disabled { cursor: not-allowed; }
.check input:disabled + span { opacity: 0.5; cursor: not-allowed; }

details.assumptions { border-top: 1px solid var(--color-blush-2); padding-top: var(--space-md); }
details.assumptions summary { cursor: pointer; font-weight: 500; color: var(--color-wine); min-height: var(--control); display: flex; align-items: center; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
details.assumptions summary:hover { text-decoration-color: var(--color-rose); }
details.assumptions summary:active { color: var(--color-rose); }
details.assumptions[open] summary { margin-bottom: var(--space-md); }
.assumption-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }

/* ---------- Results ---------- */
.result { display: grid; gap: var(--space-lg); }
.figure-label { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.figure { font-family: var(--font-display); font-weight: 500; font-variant-numeric: lining-nums tabular-nums; font-size: clamp(3rem, 3vw + 1.75rem, 4.5rem); line-height: 1; color: var(--color-wine); }
.figure .hl { background: linear-gradient(transparent 64%, var(--color-blush-2) 64%, var(--color-blush-2) 94%, transparent 94%); padding-inline: var(--space-2xs); }
.verdict { font-size: 1.25rem; font-weight: 500; }
.warnings { list-style: none; padding: 0; display: grid; gap: var(--space-xs); }
.warn { background: var(--color-warn-bg); color: var(--color-warn-ink); padding: var(--space-sm) var(--space-md); border-radius: 12px; max-width: none; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md) var(--space-lg); }
.facts div { border-top: 1px solid var(--color-blush-2); padding-top: var(--space-xs); display: grid; gap: var(--space-2xs); }
.facts dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.facts dd { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; line-height: 1.1; color: var(--color-wine); font-variant-numeric: lining-nums tabular-nums; }

.timetable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.timetable caption { text-align: left; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); padding-bottom: var(--space-sm); }
.timetable th, .timetable td { text-align: left; vertical-align: baseline; padding-block: var(--space-sm); border-bottom: 1px solid var(--color-blush-2); }
.timetable thead th { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); white-space: nowrap; border-bottom: 1px solid var(--color-rose); }
.timetable td:first-child, .timetable th:first-child { padding-right: var(--space-lg); white-space: nowrap; width: 1%; }
.timetable tbody td:first-child { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1; color: var(--color-wine); font-variant-numeric: lining-nums tabular-nums; }
.timetable--months tbody td:first-child { font-family: var(--font-body); font-weight: 400; font-size: inherit; color: var(--color-ink); }
.timetable--months tbody td:last-child { font-weight: 500; }
.timetable tr.light td { color: var(--color-rose); }
.timetable .next { font-family: var(--font-body); font-weight: 400; font-size: var(--text-sm); color: var(--color-muted); }
.table-scroll { overflow-x: auto; }

.next-block { border-top: 1px solid var(--color-blush-2); padding-top: var(--space-lg); display: grid; gap: var(--space-sm); }
.next-block h2, .next-block h3 { font-size: 1.75rem; }
.next-block ol { display: grid; gap: var(--space-sm); }

/* ---------- Explanations under a tool ---------- */
.explain { margin-top: var(--section-gap-s); display: grid; gap: var(--space-3xl); max-width: 860px; }
.explain section { display: grid; gap: var(--space-md); }
.explain h2, .related h2, .sources h2 { font-size: 2.5rem; }
.qa { display: grid; gap: 0; border-top: 1px solid var(--color-rose); }
.qa div { display: grid; gap: var(--space-xs); padding-block: var(--space-lg); border-bottom: 1px solid var(--color-blush-2); }
.qa dt { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; color: var(--color-wine); }
.qa dd { color: var(--color-ink-2); }
.related ul { list-style: none; padding: 0; display: grid; gap: var(--space-xs); }
.sources { font-size: var(--text-sm); color: var(--color-muted); }
.noscript { background: var(--color-warn-bg); color: var(--color-warn-ink); padding: var(--space-sm) var(--space-md); border-radius: 12px; }

/* ---------- Directory ---------- */
.entries { list-style: none; padding: 0; margin-block: var(--space-lg); display: grid; gap: var(--space-lg); }
.entry { padding: var(--space-xl); background: var(--color-paper); border: 1px solid var(--color-blush-2); border-radius: var(--radius-card); display: grid; gap: var(--space-md); max-width: none; transition: box-shadow var(--dur-long) var(--ease-soft); }
.entry:hover { box-shadow: var(--shadow-card); }
.entry-head { display: grid; gap: var(--space-2xs); align-content: start; }
.entry-head .h3 a { color: var(--color-wine); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.entry-maker { font-size: var(--text-sm); color: var(--color-muted); }
.entry-body { display: grid; gap: var(--space-md); }
.entry-body div { display: grid; gap: var(--space-2xs); }
.entry-body dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-rose); }
.entry-facts { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); font-size: var(--text-sm); border-top: 1px solid var(--color-blush-2); padding-top: var(--space-sm); }
.entry-facts div { display: flex; gap: var(--space-xs); }
.entry-facts dt { color: var(--color-muted); }
.entry-facts dd { font-weight: 500; }
@media (min-width: 900px) {
  .entry { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--space-2xl); }
  .entry-facts { grid-column: 2; }
}

.guide-body { max-width: var(--measure); display: grid; gap: var(--space-md); }
.callout { padding: var(--space-md) var(--space-lg); background: var(--color-blush); border-radius: var(--radius-card); }
.dates { font-size: var(--text-sm); color: var(--color-muted); }
.placeholder { border: 1px dashed var(--color-muted); padding: var(--space-lg); color: var(--color-muted); }
.print-only { display: none; }

/* ---------- Motion ---------- */
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: settle 2.4s var(--ease-soft) both; }
  .hero h1 .line { animation: rise 1s var(--ease-soft) both; }
  .hero h1 .line:nth-child(2) { animation-delay: 0.14s; }
  .hero .lead { animation: rise 1s var(--ease-soft) 0.3s both; }
  .hero-actions { animation: rise 1s var(--ease-soft) 0.44s both; }
  .page-head { animation: rise 0.9s var(--ease-soft) both; }
  .js [data-reveal], .js .explain section > h2 { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft); }
  .js [data-reveal-item] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-soft) calc(var(--i, 0) * 70ms), transform 0.8s var(--ease-soft) calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in, .js [data-reveal-item].is-in, .js .explain section > h2.is-in { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  body { font-size: 11pt; background: var(--color-field); }
  .site-head, .site-foot, .crumbs, .inputs, .explain, .actions, .status, .next-block, .no-print, .skip, .page-head .lede, .jump { display: none !important; }
  .tool { display: block; }
  .panel, .result-panel { border: 0; padding: 0; position: static; box-shadow: none; }
  .page-head { padding-block: 0 var(--space-md); animation: none; }
  .print-foot { display: block; margin-top: var(--space-xl); font-size: 9pt; color: var(--color-muted); }
  .timetable tr.zero, .budget-table tr.zero { display: none; }
  html.printing-sheet main > :not(.print-sheet) { display: none !important; }
  html.printing-sheet .print-sheet { display: block !important; }
  a { color: var(--color-ink); text-decoration: none; }
}
.print-sheet { display: none; }
.print-sheet table { width: 100%; border-collapse: collapse; }
.print-sheet th, .print-sheet td { border: 1px solid var(--color-muted); padding: var(--space-sm); text-align: left; vertical-align: top; }
.print-sheet td { height: 64px; }
.print-sheet th:first-child, .print-sheet td:first-child { width: 3em; }
