/* Casa del Prat — every brand value comes from brand/BRAND.md (2026-10-17). Colours and font names live only here and in @font-face. */
:root {
  --color-bg: #F6F1E7;
  --color-text: #232A22;
  --color-muted: #5A6052;
  --color-brand: #434F27;
  --color-action: #A84B2A;
  --color-on-action: #FFFFFF;
  --color-paper: #FFFFFF;
  --color-shadow: rgb(0 0 0 / .35);
  --color-surface: #ECE3D2;
  --color-line: #D8CDB8;
  --color-dark: #1D241C;
  --color-on-dark: #F3EBDD;
  --color-on-dark-muted: #C9BC9F;
  --color-glow: #D9A07E;
  --color-on-brand-muted: #E4DCC8;
  --color-action-hover: #8C3E22;
  --color-scrim: #161E10;
  --font-heading: 'Young Serif', Georgia, serif;
  --font-body: 'Albert Sans', system-ui, sans-serif;
  --radius: 4px;
  --radius-big: 28px;
  --line: 1.5px;
  --space: 8px;
  /* type scale: phone 17 · 26 · 40 · 64 ; desktop 18 · 28 · 48 · 80 · 128 ; fine print 13 */
  --t-body: 17px; --t-lead: 26px; --t-mid: 40px; --t-head: 40px; --t-num: 64px; --t-fine: 13px;
  --pad: 64px;
  --ease: cubic-bezier(.65, 0, .35, 1);
}
@media (min-width: 1024px) {
  :root { --t-body: 18px; --t-lead: 28px; --t-mid: 48px; --t-head: 80px; --t-num: 128px; --pad: 128px; }
}

@font-face { font-family: 'Young Serif'; font-weight: 400; font-display: swap; src: url(fonts/young-serif-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Young Serif'; font-weight: 400; font-display: swap; src: url(fonts/young-serif-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Albert Sans'; font-weight: 400; font-display: swap; src: url(fonts/albert-sans-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Albert Sans'; font-weight: 400; font-display: swap; src: url(fonts/albert-sans-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Albert Sans'; font-weight: 700; font-display: swap; src: url(fonts/albert-sans-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Albert Sans'; font-weight: 700; font-display: swap; src: url(fonts/albert-sans-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--color-bg); color: var(--color-text); font: 400 var(--t-body)/1.6 var(--font-body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--color-action); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: var(--t-head); line-height: 1.04; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, 1280px); margin-inline: auto; }
@media (min-width: 700px) { .wrap { width: min(100% - 96px, 1280px); } }
.section { padding-block: var(--pad); position: relative; }
.on-soft { background: var(--color-surface); }
.on-brand { background: var(--color-brand); color: var(--color-bg); }
.on-dark { background: var(--color-dark); color: var(--color-on-dark); }
.lead { font-size: var(--t-lead); line-height: 1.3; }
.fine { font-size: var(--t-fine); line-height: 1.45; font-weight: 700; letter-spacing: .02em; }
.muted { color: var(--color-muted); }
.measure { max-width: 62ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons: one big corner, the gate's swing */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 0;
  border-radius: var(--radius) var(--radius-big) var(--radius) var(--radius); background: var(--color-action); color: var(--color-on-action);
  font: 700 var(--t-body)/1.2 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 200ms ease, transform 200ms ease; }
.btn:hover, .btn:focus-visible { background: var(--color-action-hover); transform: translateY(-2px); }
.btn--light { background: var(--color-bg); color: var(--color-text); }
.btn--light:hover, .btn--light:focus-visible { background: var(--color-paper); }
.link { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; transition: color 200ms ease; }
.link:hover, .link:focus-visible { color: var(--color-action); }

/* ---------- draft bar (removable) ---------- */
.draft { background: var(--color-dark); color: var(--color-on-dark); font-size: var(--t-fine); font-weight: 700; letter-spacing: .02em; }
.draft details { width: min(100% - 32px, 1280px); margin-inline: auto; }
.draft summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; gap: 8px; list-style: none; }
.draft summary::-webkit-details-marker { display: none; }
.draft summary::after { content: "show"; text-decoration: underline; color: var(--color-glow); }
.draft details[open] summary::after { content: "hide"; }
.draft ul { margin: 0; padding: 0 0 12px 20px; font-weight: 400; }

/* ---------- 1 first screen (library hero-fullbleed-scrim, adapted) ---------- */
.hero { overflow-x: clip; position: relative; z-index: 2; min-height: max(560px, 82svh); color: var(--color-paper); display: grid; grid-template-rows: auto 1fr; isolation: isolate; }
@media (min-width: 1024px) { .hero { min-height: min(100svh - 32px, 900px); } }
.hero__photo { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
@media (min-width: 700px) { .hero__photo img { object-position: 50% 40%; } }
.hero__photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--color-scrim) 55%, transparent) 0, transparent 20%),
              linear-gradient(to top, color-mix(in srgb, var(--color-scrim) 92%, transparent) 0, color-mix(in srgb, var(--color-scrim) 70%, transparent) 38%, transparent 62%); }
@media (min-width: 1024px) {
  .hero__photo::after { background: linear-gradient(to bottom, color-mix(in srgb, var(--color-scrim) 50%, transparent) 0, transparent 18%),
    radial-gradient(120% 100% at 0% 100%, color-mix(in srgb, var(--color-scrim) 90%, transparent) 0, color-mix(in srgb, var(--color-scrim) 55%, transparent) 42%, transparent 70%); }
}
.bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 16px; }
.mark { font: 400 var(--t-lead)/1 var(--font-heading); text-decoration: none; white-space: nowrap; }
.bar .link { color: var(--color-paper); white-space: nowrap; }
.bar .link:hover { color: var(--color-glow); }
/* the gate, drawn large over the meadow; its walk runs on below the photo */
.gate { --gw: min(86vw, 440px); position: absolute; z-index: -1; width: var(--gw); right: calc(var(--gw) * -0.08); top: 56px; overflow: visible; pointer-events: none; }
.gate .thread { display: none; }
@media (min-width: 1024px) {
  .gate { --gw: min(54vw, 860px); right: 3vw; top: auto; bottom: calc(var(--gw) * -170 / 640); }
  .gate .thread { display: inline; }
}
.pen { fill: none; stroke: var(--color-bg); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pen--thin { stroke-width: 1.6; }
.thread { fill: none; stroke: url(#walkInk); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 1 9; }
.hero__copy { align-self: end; padding-bottom: 32px; position: relative; }
@media (min-width: 1024px) { .hero__copy { padding-bottom: 88px; } }
.hero h1 { font-size: var(--t-head); line-height: 1; margin: 0 0 16px; max-width: 11ch; }
.hero .lead-s { max-width: 40ch; margin: 0 0 24px; color: var(--color-paper); }
@media (min-width: 1024px) { .hero .lead-s { max-width: 44ch; } }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.hero .link { color: var(--color-paper); }
.hero .fine { margin: 16px 0 0; color: var(--color-on-dark); }

/* every grid: columns never grow to their longest line (R20) */
.proof__grid, .for__grid, .meadow__grid, .how__grid, .guests__grid, .offer__grid, .founder__grid, .faq__grid, .closing__grid { grid-template-columns: minmax(0, 1fr); }

/* ---------- 2 proof: one numeral, one quote ---------- */
.proof__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .proof__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 80px; } }
.num { font: 400 var(--t-num)/.9 var(--font-heading); letter-spacing: -.03em; margin: 0; color: var(--color-brand); font-variant-numeric: tabular-nums; }
.num small { font-size: var(--t-lead); letter-spacing: 0; color: var(--color-muted); margin-left: 8px; }
.proof .num-note { margin: 12px 0 0; }
.pull { margin: 0; }
.pull p { font: 400 var(--t-mid)/1.15 var(--font-heading); margin: 0 0 20px; text-wrap: pretty; }
.pull cite { font-style: normal; }
.facts-line { margin-top: 32px; padding-top: 16px; border-top: var(--line) solid var(--color-line); max-width: 62ch; }

/* ---------- 3 their words ---------- */
.words h2 { max-width: 16ch; }
.words .trans { margin: 16px 0 48px; }
.msgs { list-style: none; margin: 0 0 48px; padding: 0; display: grid; gap: 16px; max-width: 900px; }
.msgs li { background: var(--color-bg); padding: 16px 20px; border-radius: 4px 20px 20px 20px; width: fit-content; max-width: 100%; font-size: var(--t-lead); line-height: 1.3; }
.msgs li:nth-child(2) { margin-left: 8%; } .msgs li:nth-child(3) { margin-left: 16%; }
.answer { max-width: 40ch; }

/* ---------- 4 for / not for ---------- */
.for__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .for__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; } }
.kinds { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: k; }
.kinds li { counter-increment: k; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding: 20px 0; border-top: var(--line) solid var(--color-line); }
.kinds li::before { content: counter(k); font: 400 var(--t-lead)/1 var(--font-heading); color: var(--color-action); padding-top: 4px; }
.kinds strong { display: block; font: 400 var(--t-lead)/1.25 var(--font-heading); margin-bottom: 4px; }
.notfor { background: var(--color-surface); padding: 32px; border-radius: var(--radius) var(--radius-big) var(--radius) var(--radius); }
@media (min-width: 900px) { .notfor { margin-bottom: calc(var(--pad) * -1 - 48px); position: relative; z-index: 2; } }
.notfor h3 { font-size: var(--t-lead); margin-bottom: 12px; }
.notfor p:last-child { margin: 0; }

/* ---------- 5 meadow map (library svg-line-draw, adapted) ---------- */
.meadow__head { max-width: 900px; }
.meadow__grid { display: grid; gap: 40px; margin-top: 48px; align-items: start; }
@media (min-width: 1024px) { .meadow__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
  .map { position: sticky; top: 24px; margin-left: calc((100vw - min(100vw - 96px, 1280px)) / -2); } }
.map { margin: 0; }
.map svg { width: 100%; height: auto; display: block; overflow: visible; }
.map .pen { stroke: var(--color-text); stroke-width: 2; }
.map .pen--thin { stroke-width: 1.3; }
.map .post { fill: var(--color-text); }
.map .roof { fill: var(--color-action); }
.map .route { fill: none; stroke: var(--color-action); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.map .route-dots { fill: none; stroke: var(--color-surface); stroke-width: 6; stroke-dasharray: 0.006 0.012; stroke-linecap: butt; }
.map .lbl { font: 700 15px var(--font-body); fill: var(--color-text); }
.map .lbl--big { font: 400 22px var(--font-heading); }
.map .arrow { fill: none; stroke: var(--color-muted); stroke-width: 1.5; stroke-linecap: round; }
.map .pin circle { fill: var(--color-action); stroke: var(--color-surface); stroke-width: 4; }
.map .pin text { fill: var(--color-on-action); font: 700 22px var(--font-body); text-anchor: middle; dominant-baseline: central; }
.map .desk { display: none; }
@media (min-width: 700px) { .map .desk { display: inline; } }
.map figcaption { margin-top: 8px; }
.stops { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 24px; }
.stops li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.stops li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--color-action); color: var(--color-on-action); font: 700 var(--t-body)/1 var(--font-body); }
.stops h3 { font: 700 var(--t-body)/1.3 var(--font-body); margin: 8px 0 4px; }
.stops p { margin: 0; }
.vet { margin-top: 32px; padding-top: 16px; border-top: var(--line) solid var(--color-line); }
/* THE TECHNIQUE: SVG line draw — pathLength 1, dash offset 1 → 0; pins pop at their share of the route */
.motion .map .route { stroke-dasharray: 1; stroke-dashoffset: 1; }
.motion .map.is-in .route { stroke-dashoffset: 0; transition: stroke-dashoffset 2200ms var(--ease); }
.motion .map .pin { transform: scale(0); transform-box: fill-box; transform-origin: center; }
.motion .map.is-in .pin { transform: none; transition: transform 420ms cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--at) * 2200ms); }

/* ---------- 6 how it works: a ledger with the walk's dots as leaders ---------- */
.how__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .how__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; } }
.ledger { list-style: none; margin: 0; padding: 0; counter-reset: l; }
.ledger li { counter-increment: l; padding: 20px 0; border-bottom: var(--line) solid var(--color-line); }
.ledger li:first-child { border-top: var(--line) solid var(--color-line); }
.ledger .row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
@media (max-width: 699px) { .ledger .dots { display: none; } .ledger .when { flex-basis: 100%; padding-left: 40px; color: var(--color-muted); } }
.ledger .row::before { content: counter(l); font: 400 var(--t-lead)/1 var(--font-heading); color: var(--color-action); min-width: 28px; }
.ledger h3 { font: 400 var(--t-lead)/1.2 var(--font-heading); }
.ledger .dots { flex: 1; min-width: 24px; height: 4px; align-self: center; margin-top: 12px;
  background: radial-gradient(circle, var(--color-action) 1.6px, transparent 2px) 0 50% / 12px 4px repeat-x; }
.ledger .when { font-weight: 700; white-space: nowrap; }
.ledger p { margin: 8px 0 0 40px; }
.side-quote { margin: 40px 0 0; padding-left: 20px; border-left: 3px solid var(--color-action); }
.side-quote p { font-size: var(--t-lead); line-height: 1.3; margin-bottom: 8px; }
.side-quote cite { font-style: normal; }

/* ---------- 7 guests: three pictures at three scales ---------- */
.guests__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .guests__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.collage { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(12, minmax(0, 28px)); }
@media (min-width: 1024px) { .collage { grid-template-rows: repeat(12, minmax(0, 46px)); } }
.collage figure { margin: 0; position: relative; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius) var(--radius-big) var(--radius) var(--radius); }
.collage figcaption { margin-top: 8px; }
.c1 { grid-column: 1 / 9; grid-row: 1 / 9; }
.c2 { grid-column: 7 / 13; grid-row: 6 / 13; z-index: 1; border: 6px solid var(--color-surface); border-radius: 10px 34px 10px 10px; }
.c3 { grid-column: 1 / 6; grid-row: 9 / 13; }
.c1 img, .c2 img, .c3 img { position: absolute; inset: 0; }
.collage .cap { position: absolute; left: 0; bottom: -28px; white-space: nowrap; }
.price-list { list-style: none; padding: 0; margin: 24px 0; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: var(--line) solid var(--color-line); }

/* ---------- 8 offer (library sec-offer-card, adapted as a priced menu) + planner ---------- */
.offer h2 { max-width: 14ch; }
.offer .lead { color: var(--color-on-brand-muted); max-width: 40ch; margin-top: 16px; }
.offer__grid { display: grid; gap: 32px; margin-top: 48px; }
@media (min-width: 1024px) { .offer__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: start; } }
.menu, .planner { background: var(--color-bg); color: var(--color-text); padding: 32px; border-radius: var(--radius) var(--radius-big) var(--radius) var(--radius); }
@media (min-width: 1024px) { .menu, .planner { padding: 40px; } .menu, .planner { margin-bottom: -240px; position: relative; z-index: 2; box-shadow: 0 24px 48px -24px var(--color-shadow); } .planner { margin-bottom: -200px; } }
@media (max-width: 1023px) { .planner { margin-bottom: -120px; position: relative; z-index: 2; box-shadow: 0 24px 48px -24px var(--color-shadow); } }
.menu dl { margin: 0; }
.menu .item { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: var(--line) solid var(--color-line); }
.menu dt { font: 400 var(--t-lead)/1.2 var(--font-heading); }
.menu .dots { flex: 1; min-width: 16px; height: 4px; background: radial-gradient(circle, var(--color-muted) 1.4px, transparent 1.8px) 0 50% / 10px 4px repeat-x; }
.menu dd { margin: 0; font: 400 var(--t-lead)/1.2 var(--font-heading); white-space: nowrap; }
.menu h3 { font: 700 var(--t-body)/1.3 var(--font-body); margin: 28px 0 8px; }
.menu ul { margin: 0; padding-left: 20px; }
.menu li { margin-bottom: 4px; }
.guarantee { margin-top: 24px; padding: 16px 20px; background: var(--color-surface); border-radius: var(--radius); }
.guarantee p { margin: 0; }
.planner h3 { font-size: var(--t-lead); margin-bottom: 20px; }
.planner fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.planner legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choices span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: var(--line) solid var(--color-line); border-radius: var(--radius); background: var(--color-paper); cursor: pointer; transition: border-color 200ms ease, background-color 200ms ease; }
.choices input:checked + span { border-color: var(--color-brand); background: var(--color-brand); color: var(--color-bg); }
.choices input:focus-visible + span { outline: 3px solid var(--color-action); outline-offset: 2px; }
.choices label:hover span { border-color: var(--color-brand); }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 44px; height: 44px; border-radius: var(--radius); border: var(--line) solid var(--color-line); background: var(--color-paper); font: 700 var(--t-body)/1 var(--font-body); color: var(--color-text); cursor: pointer; transition: border-color 200ms ease; }
.stepper button:hover, .stepper button:focus-visible { border-color: var(--color-brand); }
.stepper input { width: 72px; height: 44px; text-align: center; border: var(--line) solid var(--color-muted); border-radius: var(--radius); font: 700 var(--t-body)/1 var(--font-body); color: var(--color-text); background: var(--color-paper); }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--color-brand); }
.planner .name { width: 100%; max-width: 320px; height: 44px; border: var(--line) solid var(--color-muted); border-radius: var(--radius); padding: 0 12px; font: 400 var(--t-body) var(--font-body); background: var(--color-paper); color: var(--color-text); }
.total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: var(--line) solid var(--color-line); padding-top: 16px; margin-top: 8px; }
.total output { font: 400 var(--t-mid)/1 var(--font-heading); color: var(--color-brand); }
.message { background: var(--color-surface); border-radius: 4px 20px 20px 20px; padding: 16px 20px; margin: 16px 0 20px; }
.message p { margin: 0; }

/* ---------- 9 founder (library sec-founder-story, adapted) ---------- */
.founder { padding-top: calc(var(--pad) + 120px); }
@media (min-width: 1024px) { .founder { padding-top: calc(var(--pad) + 200px); } }
.founder__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .founder__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 72px; align-items: start; } }
.place { position: relative; margin: 0 0 64px; }
.place img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius) var(--radius-big) var(--radius) var(--radius); }
@media (min-width: 1024px) { .place { margin-left: calc((100vw - min(100vw - 96px, 1280px)) / -2); } .place img { border-radius: 0 var(--radius-big) var(--radius) 0; } }
.initials { position: absolute; right: 16px; bottom: -48px; width: 156px; aspect-ratio: 4 / 5; background: var(--color-action); color: var(--color-on-action);
  border-radius: var(--radius) var(--radius-big) var(--radius) var(--radius); display: grid; align-content: end; padding: 16px; border: 6px solid var(--color-bg); }
@media (min-width: 1024px) { .initials { width: 210px; right: -40px; bottom: -64px; } }
.initials b { font: 400 var(--t-mid)/1 var(--font-heading); }
.place figcaption { margin-top: 8px; padding-left: 16px; max-width: calc(100% - 200px); }
@media (min-width: 1024px) { .place figcaption { padding-left: 48px; } }
.belief { margin: 32px 0; padding-top: 24px; border-top: var(--line) solid var(--color-line); }
.belief p { font: 400 var(--t-mid)/1.15 var(--font-heading); margin: 0; color: var(--color-brand); }
.creds { list-style: none; margin: 0 0 24px; padding: 0; }
.creds li { padding: 8px 0; border-bottom: var(--line) solid var(--color-line); }

/* ---------- 10 questions (library accordion-faq + sec-closing sticky heading) ---------- */
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; } .faq__head { position: sticky; top: 24px; align-self: start; } }
.qs details { border-bottom: var(--line) solid var(--color-line); }
.qs details:first-child { border-top: var(--line) solid var(--color-line); }
.qs summary { list-style: none; cursor: pointer; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 400 var(--t-lead)/1.25 var(--font-heading); padding: 16px 0; transition: color 200ms ease; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary:hover { color: var(--color-action); }
.qs summary::after { content: "+"; font: 400 var(--t-lead)/1 var(--font-body); color: var(--color-action); transition: transform 300ms ease; flex: none; }
.qs details[open] summary::after { transform: rotate(45deg); }
.qs .a { padding: 0 0 20px; max-width: 58ch; }
.qs .a p:last-child { margin: 0; }
@supports (interpolate-size: allow-keywords) {
  .qs { interpolate-size: allow-keywords; }
  .motion .qs details::details-content { height: 0; overflow: clip; transition: height 300ms ease, content-visibility 300ms allow-discrete; }
  .motion .qs details[open]::details-content { height: auto; }
}

/* ---------- 11 closing scene ---------- */
.closing { padding-bottom: 0; overflow: hidden; }
.closing__grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 1024px) { .closing__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }
.closing h2 { max-width: 13ch; }
.closing .lead { color: var(--color-on-dark-muted); max-width: 32ch; margin: 20px 0 28px; }
.closing .fine { color: var(--color-on-dark-muted); margin-top: 16px; }
.bubble { background: var(--color-bg); color: var(--color-text); border-radius: 4px var(--radius-big) var(--radius-big) var(--radius-big); padding: 12px; max-width: 340px; justify-self: start; }
@media (min-width: 1024px) { .bubble { justify-self: end; transform: rotate(-2deg); } }
.bubble .from { font-weight: 700; padding: 4px 8px 8px; margin: 0; }
.bubble img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px 20px 20px 20px; }
.bubble .txt { display: flex; justify-content: space-between; gap: 12px; padding: 12px 8px 4px; margin: 0; }
.bubble time { color: var(--color-muted); }
.night { margin-top: 48px; position: relative; }
.night svg { width: 100%; height: auto; display: block; }
.night .pen { stroke: var(--color-on-dark); }
.night .window { fill: var(--color-glow); }

/* ---------- 12 footer ---------- */
.foot { padding-block: 56px 72px; border-top: var(--line) solid color-mix(in srgb, var(--color-on-dark) 22%, transparent); }
.foot__grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .foot__grid { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); } }
.foot .mark { display: block; margin-bottom: 12px; }
.foot p { margin: 0 0 8px; color: var(--color-on-dark-muted); }
.foot a { color: var(--color-on-dark); }
.foot .fine { color: var(--color-on-dark-muted); }
@media (max-width: 899px) { .foot__grid > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media (max-width: 699px) { .menu dt, .menu dd { font: 700 var(--t-body)/1.3 var(--font-body); } }
