/* Hostwise - see design/STYLE_GUIDE.md */
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+2190-2193; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-latin-ext-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+2190-2193; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-latin-ext-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --ink: #1E1916;
  --aubergine: #3B2433;
  --aubergine-2: #2C1A26;
  --linen: #F3ECE1;
  --paper: #FBF7F0;
  --terracotta: #B4532F;
  --terracotta-d: #9A4425;
  --brass: #C1964A;
  --olive: #6F7450;
  --smoke: #685D55;
  --line: rgba(30, 25, 22, .12);
  --line-light: rgba(243, 236, 225, .16);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r-ctl: 6px;
  --r-card: 14px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--linen); color: var(--ink); font: 400 1.0625rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--paper); padding: 8px 12px; border-radius: var(--r-ctl); z-index: 20; }
.skip:focus { top: 12px; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -3px; }
.muted { color: var(--smoke); }
.small { font-size: .875rem; }
.muted-light { color: rgba(243, 236, 225, .72); }
em { font-style: italic; }

/* ---------- top bar ---------- */
.topbar { position: absolute; inset: 0 0 auto 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(16px, 4vw, 48px); color: var(--linen); }
.wordmark { font: 400 1.75rem/1 var(--serif); text-decoration: none; letter-spacing: .005em; }
.wordmark em { color: var(--brass); }
.topbar nav { display: flex; gap: clamp(12px, 2.4vw, 28px); align-items: center; font-size: .9375rem; }
.topbar nav a { text-decoration: none; opacity: .86; }
.topbar nav a:hover { opacity: 1; }
.nav-cta { border: 1px solid var(--line-light); padding: 7px 14px; border-radius: 999px; opacity: 1 !important; }
@media (max-width: 640px) { .topbar nav a:not(.nav-cta) { display: none; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 600; font-size: .9375rem; letter-spacing: .01em; cursor: pointer; text-decoration: none; transition: background .2s var(--ease), transform .2s var(--ease), opacity .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--terracotta); color: var(--paper); }
.btn-primary:hover { background: var(--terracotta-d); }
.btn-primary:disabled { background: #C9B7A6; color: #F6F0E8; cursor: not-allowed; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-ghost-light { background: transparent; color: var(--linen); box-shadow: inset 0 0 0 1px rgba(243, 236, 225, .42); }
.btn-ghost-light:hover { background: rgba(243, 236, 225, .08); }
.btn-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-quiet:hover { background: rgba(30, 25, 22, .04); }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; background: transparent; border-radius: var(--r-ctl); cursor: pointer; color: var(--smoke); }
.icon-btn:hover { background: rgba(30, 25, 22, .05); color: var(--ink); }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 13px; font-size: .875rem; cursor: pointer; transition: border-color .2s, background .2s; }
.chip:hover { border-color: rgba(30, 25, 22, .3); }
.chip[aria-pressed="true"] { background: var(--olive); color: var(--paper); border-color: var(--olive); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: grid; align-items: end; background: var(--aubergine-2); color: var(--linen); overflow: hidden; }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 60% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 17, 24, .92) 0%, rgba(28, 17, 24, .68) 34%, rgba(28, 17, 24, .1) 62%), linear-gradient(0deg, rgba(28, 17, 24, .55), transparent 40%); }
.hero-copy { position: relative; z-index: 1; max-width: 640px; padding: 140px clamp(16px, 5vw, 64px) clamp(48px, 9vh, 96px); }
.eyebrow { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin: 0 0 18px; font-weight: 600; }
.eyebrow.dark { color: var(--terracotta-d); }
h1 { font: 400 clamp(2.6rem, 6.4vw, 4.5rem)/1.02 var(--serif); margin: 0 0 22px; letter-spacing: -.01em; }
h1 em { color: var(--brass); }
.lede { font-size: 1.125rem; max-width: 56ch; color: rgba(243, 236, 225, .86); margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- how ---------- */
.section-title { font: 400 clamp(1.9rem, 3.4vw, 2.6rem)/1.08 var(--serif); margin: 0 0 8px; }
.how { max-width: var(--max); margin: 0 auto; padding: 88px clamp(16px, 4vw, 48px) 40px; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { border-top: 1px solid var(--line); padding-top: 20px; }
.steps h3 { font: 400 1.5rem/1.15 var(--serif); margin: 12px 0 8px; }
.steps p { margin: 0; color: #4A403A; font-size: .96875rem; }
.step-n { font: italic 400 1.1rem/1 var(--serif); color: var(--terracotta-d); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- builder ---------- */
.builder { max-width: var(--max); margin: 0 auto; padding: 56px clamp(16px, 4vw, 48px) 96px; scroll-margin-top: 16px; }
.builder-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.builder-head p { margin: 0; }
.samples { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.guests { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 18px; }
.guest { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 12px; animation: rise .32s var(--ease) both; }
.guest-top { display: flex; align-items: center; gap: 6px; }
.guest-name { flex: 1; border: 0; background: transparent; font: 400 1.6rem/1.2 var(--serif); padding: 2px 0; border-bottom: 1px solid transparent; min-width: 0; }
.guest-name:hover, .guest-name:focus { border-bottom-color: var(--line); outline: none; }
.guest-name::placeholder { color: #B3A79D; }
.favs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fav { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 6px; border-radius: 10px; background: #F4EEE5; }
.fav img, .fav .ph { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; background: #E5DBCD; flex: none; }
.fav .meta { flex: 1; min-width: 0; line-height: 1.25; }
.fav .name { font-weight: 600; font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.fav .sub { font-size: .8125rem; color: var(--smoke); }
.fav .icon-btn { width: 30px; height: 30px; }
.fav-form { display: grid; grid-template-columns: auto 1fr auto; gap: 6px; }
.fav-kind, .fav-text { border: 1px solid var(--line); background: #fff; border-radius: var(--r-ctl); padding: 8px 10px; font-size: .9375rem; min-width: 0; }
.fav-kind { padding-right: 6px; }
.fav-find { border: 1px solid var(--line); background: #fff; }
.fav-results { list-style: none; margin: -4px 0 0; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 12px 28px -18px rgba(30, 25, 22, .45); display: flex; flex-direction: column; gap: 2px; }
.fav-results button { width: 100%; display: flex; gap: 10px; align-items: center; text-align: left; border: 0; background: transparent; padding: 6px; border-radius: 8px; cursor: pointer; }
.fav-results button:hover, .fav-results button:focus-visible { background: #F4EEE5; }
.fav-results img, .fav-results .ph { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; background: #E5DBCD; flex: none; }
.fav-results .state { padding: 8px; font-size: .875rem; color: var(--smoke); }
.diets { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; border-top: 1px dashed var(--line); }
.diets .chip { font-size: .8125rem; padding: 4px 10px; background: transparent; }
.diets .chip[aria-pressed="true"] { background: var(--olive); color: var(--paper); border-color: var(--olive); }
.builder-foot { margin-top: 28px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.privacy-line { margin: 0; font-size: .875rem; color: var(--smoke); display: flex; gap: 8px; align-items: flex-start; }
.form-hint { grid-column: 1 / -1; margin: 0; text-align: right; font-size: .875rem; color: var(--terracotta-d); min-height: 1.2em; }
@media (max-width: 820px) { .builder-foot { grid-template-columns: 1fr; } .form-hint { text-align: left; } }

/* ---------- evening ---------- */
.evening { background: var(--linen); border-top: 1px solid var(--line); scroll-margin-top: 0; }
.evening-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 0; }
@media (max-width: 960px) { .evening-grid { grid-template-columns: 1fr; } }
.trace { background: var(--aubergine); color: var(--linen); align-self: stretch; }
.trace-inner { position: sticky; top: 0; max-height: 100vh; overflow: auto; padding: 36px 26px; scrollbar-color: rgba(243,236,225,.25) transparent; }
@media (max-width: 960px) { .trace-inner { position: relative; max-height: 440px; } }
.trace-head h2 { font: 400 1.6rem/1.1 var(--serif); margin: 0 0 4px; }
.trace-usage { margin: 0 0 20px; font-size: .8125rem; color: rgba(243, 236, 225, .66); font-variant-numeric: tabular-nums; min-height: 1.2em; }
.trace-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.trace-list li { animation: rise .24s var(--ease) both; }
.t-thought { font: italic 400 1.0625rem/1.4 var(--serif); color: var(--linen); padding: 6px 0 2px; }
.t-thought.replan { color: #F0C98A; }
.t-thought.replan::before { content: "Re-plan  "; font: 600 .6875rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.t-tool { font-size: .8125rem; color: rgba(243, 236, 225, .78); }
.t-tool details summary { list-style: none; display: flex; gap: 8px; align-items: center; cursor: pointer; }
.t-tool details summary::-webkit-details-marker { display: none; }
.t-tool .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); flex: none; }
.t-tool[data-status="running"] .dot { animation: pulse 1s infinite; }
.t-tool[data-status="ok"] .dot { background: #9DA477; }
.t-tool[data-status="error"] .dot { background: #E07B57; }
.t-tool .tname { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .75rem; color: var(--brass); }
.t-tool .tlabel { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-tool .tag { font-size: .6875rem; border: 1px solid var(--line-light); padding: 1px 6px; border-radius: 999px; color: rgba(243, 236, 225, .7); }
.t-tool pre { margin: 6px 0 2px 15px; padding: 8px 10px; background: rgba(0, 0, 0, .22); border-radius: 8px; white-space: pre-wrap; word-break: break-all; font: .72rem/1.45 ui-monospace, Consolas, monospace; color: rgba(243, 236, 225, .82); }

.plan { padding: 48px clamp(16px, 4vw, 56px) 80px; min-width: 0; }
.plan-title { font: 400 clamp(2rem, 4vw, 3.25rem)/1.05 var(--serif); margin: 0 0 18px; }
.host-note { font: italic 400 1.4rem/1.4 var(--serif); color: #3A302B; max-width: 60ch; margin: 0 0 40px; min-height: 2.6em; }
.skeleton-line { display: block; height: .9em; margin: .35em 0; border-radius: 4px; background: linear-gradient(90deg, #E8DFD3, #F1EAE0, #E8DFD3); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.skeleton-line.short { width: 60%; }
.plan-section { border-top: 1px solid var(--line); padding: 32px 0 36px; transition: opacity .3s var(--ease); }
.plan-section[data-state="waiting"] { opacity: .45; }
.plan-section[data-state="waiting"] .sec-body::before { content: "Waiting for the agent..."; color: var(--smoke); font-size: .9375rem; }
.plan-section[data-state="done"] .sec-body { animation: rise .36s var(--ease) both; }
.sec-label { display: flex; gap: 8px; align-items: center; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-d); margin-bottom: 18px; }
.sec-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 760px) { .sec-grid { grid-template-columns: 1fr; } }
.sec-title { font: 400 2rem/1.1 var(--serif); margin: 0 0 8px; }
.sec-sub { margin: 0 0 18px; color: #4A403A; }
.plate { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; background: #E5DBCD; }
.plate img { width: 100%; height: 100%; object-fit: cover; }

.courses { list-style: none; margin: 0 0 18px; padding: 0; }
.courses li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.courses .c { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); padding-top: 6px; }
.courses .d { font: 400 1.35rem/1.25 var(--serif); }
.courses .alt { display: block; font: 400 .875rem/1.4 var(--sans); color: var(--smoke); margin-top: 2px; }
.drinks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9375rem; margin-bottom: 18px; }
.drinks span { display: inline-flex; gap: 8px; align-items: center; }

.fits { display: grid; gap: 7px; margin: 14px 0 6px; }
.fit { display: grid; grid-template-columns: minmax(64px, 110px) 1fr 38px; gap: 10px; align-items: center; font-size: .875rem; }
.fit .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fit .bar { height: 6px; background: #E6DDD0; border-radius: 99px; position: relative; overflow: hidden; }
.fit .bar i { position: absolute; inset: 0 auto 0 0; background: var(--olive); border-radius: 99px; transform-origin: left; animation: grow .6s var(--ease) both; }
.fit.low .bar i { background: var(--terracotta); }
.fit .v { text-align: right; font-variant-numeric: tabular-nums; color: var(--smoke); }
.evidence { font-size: .875rem; color: #5A4E47; margin: 10px 0 0; }
.evidence strong { color: var(--ink); font-weight: 600; }
.callout { margin: 16px 0 0; padding: 14px 16px; border-radius: 10px; background: #EFE3D3; font-size: .9375rem; display: flex; gap: 10px; }
.callout .icon { color: var(--terracotta); margin-top: 2px; }
.callout.replan { background: #F2E2C7; }

.tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .tracks { grid-template-columns: 1fr; } }
.tracks h4 { margin: 0 0 10px; font: 400 1.25rem/1.2 var(--serif); }
.tracks h4 small { display: block; font: 400 .8125rem/1.4 var(--sans); color: var(--smoke); }
.artist { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); }
.artist img, .artist .ph { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #E5DBCD; flex: none; }
.artist .n { font-weight: 600; font-size: .9375rem; line-height: 1.2; }
.artist .s { font-size: .8125rem; color: var(--smoke); }

.film { display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: start; }
@media (max-width: 560px) { .film { grid-template-columns: 1fr; } }
.poster { border-radius: 10px; overflow: hidden; aspect-ratio: 2 / 3; background: #E5DBCD; box-shadow: 0 18px 34px -24px rgba(30, 25, 22, .6); }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.film-meta { font-size: .875rem; color: var(--smoke); margin: 0 0 10px; }
.film-blurb { margin: 0 0 8px; }
.alts { font-size: .9375rem; margin: 14px 0 0; }
.rejected { font-size: .8125rem; color: var(--smoke); margin: 6px 0 0; }

.table-wrap { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 32px; align-items: center; }
@media (max-width: 760px) { .table-wrap { grid-template-columns: 1fr; } }
.round-table { width: 100%; height: auto; }
.round-table .tbl { fill: #E7DCCD; stroke: rgba(30, 25, 22, .18); }
.round-table .seat { fill: var(--paper); stroke: var(--terracotta); stroke-width: 1.5; }
.round-table .seat-name { font: 400 22px var(--serif); fill: var(--ink); }
.round-table .bridge { font: 600 10.5px var(--sans); fill: var(--olive); letter-spacing: .04em; }
.round-table .edge { stroke: var(--olive); stroke-width: 1.2; stroke-dasharray: 3 4; fill: none; opacity: .7; }
.pairs { list-style: none; padding: 0; margin: 0; }
.pairs li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.pairs .who { font: 400 1.2rem/1.2 var(--serif); }
.pairs .why { color: var(--smoke); font-size: .875rem; }

.deck { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px 20px 16px; font: 400 1.2rem/1.38 var(--serif); position: relative; box-shadow: 0 1px 0 rgba(30, 25, 22, .04); transform: rotate(var(--tilt, 0deg)); transition: transform .3s var(--ease); }
.card:hover { transform: rotate(0deg) translateY(-2px); }
.card .k { display: block; font: 600 .6875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-d); margin-bottom: 12px; }
.card .ev { display: block; font: 400 .75rem/1.4 var(--sans); color: var(--smoke); margin-top: 14px; }

.plan-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 12px; }
.error-box { padding: 16px; border-radius: 10px; background: #F6DCD0; color: #6B2A12; }

/* ---------- closing ---------- */
.closing { position: relative; color: var(--linen); background: var(--aubergine-2); overflow: hidden; }
.closing picture, .closing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(28, 17, 24, .94) 0%, rgba(28, 17, 24, .74) 45%, rgba(28, 17, 24, .2) 100%); }
.closing-copy { position: relative; z-index: 1; max-width: 560px; margin-left: auto; padding: 120px clamp(16px, 5vw, 72px); }
.closing h2 { font: 400 clamp(2rem, 3.6vw, 2.8rem)/1.08 var(--serif); margin: 0 0 18px; }
.closing p { color: rgba(243, 236, 225, .86); }
.footer { background: var(--aubergine-2); color: rgba(243, 236, 225, .72); padding: 26px clamp(16px, 4vw, 48px); font-size: .875rem; border-top: 1px solid var(--line-light); }
.footer p { margin: 0; max-width: var(--max); }
.footer strong { color: var(--linen); font-weight: 600; }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- print: the host card ---------- */
@media print {
  .topbar, .hero, .how, .builder, .trace, .closing, .footer, .plan-actions, .skip { display: none !important; }
  body, .evening { background: #fff; }
  .evening { display: block !important; border: 0; }
  .evening-grid { display: block; }
  .plan { padding: 0; }
  .plan-section { break-inside: avoid; padding: 18px 0; opacity: 1 !important; }
  .plate, .poster img, .artist img { display: none; }
  .card { transform: none; break-inside: avoid; }
}

@media (max-width: 700px) {
  .hero-img { object-position: 72% 50%; }
  .hero::after { background: linear-gradient(0deg, rgba(28, 17, 24, .96) 0%, rgba(28, 17, 24, .88) 55%, rgba(28, 17, 24, .55) 80%, rgba(28, 17, 24, .35) 100%); }
  .hero-copy { padding-top: 120px; }
  .eyebrow { letter-spacing: .1em; }
}
