/* Tone & Rest — pilates wellness víkend
   Paleta a fonty podle zadání: 80–90 % plochy bílá/smetanová, bordó na nadpisy, CTA a jemné linky. */

:root {
  --bordo: #6D0F1A;
  --bordo-deep: #560B14;
  --white: #FDFBF8;
  --cream: #F1E7DE;
  --taupe: #CBBEB6;
  --ink: #3A2628;
  --muted: #6E5A57;
  --line: rgba(109, 15, 26, .32);

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--bordo); margin: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.12; letter-spacing: -.005em; }
h3 { font-size: 1.375rem; line-height: 1.3; font-weight: 500; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--bordo); outline-offset: 3px; }

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75em;
  min-height: 52px; padding: 0 2.1rem;
  border: 1px solid transparent; border-radius: 2px;
  font-family: var(--sans); font-size: .8125rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn span { font-size: 1.15em; letter-spacing: 0; transition: transform .2s ease; }
.btn-primary { background: var(--bordo); color: var(--white); }
.btn-light { background: var(--white); color: var(--bordo); }
.btn-ghost { background: transparent; color: var(--bordo); border-color: var(--line); }
.btn-sm { min-height: 44px; padding: 0 1.25rem; font-size: .75rem; letter-spacing: .12em; }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--bordo-deep); }
  .btn-light:hover { background: var(--cream); }
  .btn-ghost:hover { border-color: var(--bordo); }
  .btn:hover span { transform: translateX(3px); }
}

/* ---------- hlavička ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding-inline: var(--gutter);
}
.top-name {
  font-family: var(--serif); font-style: italic; font-size: 1.125rem;
  color: var(--bordo); text-decoration: none;
}
.top-cta {
  background: none; border: 0; padding: .5rem 0; cursor: pointer; text-decoration: none;
  font-size: .8125rem; font-weight: 500; letter-spacing: .06em; color: var(--bordo);
  border-bottom: 1px solid var(--line);
}
@media (hover: hover) and (pointer: fine) { .top-cta:hover { border-bottom-color: var(--bordo); } }

/* ---------- bordó sekce (střídají se s bílými): bílý text, linky a tlumený text ve světlé ---------- */
.on-bordo {
  --line: rgba(253, 251, 248, .3);
  --muted: rgba(253, 251, 248, .78);
  background: var(--bordo); color: var(--white);
}
.on-bordo h2, .on-bordo h3 { color: var(--white); }
.on-bordo :focus-visible { outline-color: var(--white); }
.on-bordo .step-n { border-color: var(--white); color: var(--white); }
.on-bordo .step p a { color: var(--white); }
.on-bordo .sign { color: var(--white) !important; }
.on-bordo .ig { color: var(--white); }
@media (hover: hover) and (pointer: fine) { .on-bordo .ig:hover { border-bottom-color: var(--white); } }

/* ---------- hero / pozvánka (bílá) ---------- */
.hero { padding: 0 var(--gutter) var(--gutter); }
.card {
  position: relative;
  min-height: min(calc(100svh - 68px - var(--gutter)), 960px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(3rem, 8vh, 6rem) clamp(1rem, 4vw, 4rem);
  border: 1px solid var(--line);
  text-align: center;
}
.card::before {             /* druhá, vnitřní linka jako na tištěné pozvánce */
  content: ""; position: absolute; inset: 8px;
  border: 1px solid rgba(109, 15, 26, .12);
  pointer-events: none;
}
.mark { position: relative; padding: .45em .2em .7em; margin-bottom: clamp(.5rem, 2vh, 1.25rem); }
.wordmark { position: relative; line-height: 0; }
.wordmark img { width: clamp(260px, 46vw, 620px); max-width: calc((100svh - 400px) * 2.43); min-width: min(260px, 100%); }
.hero-sub {                 /* bezpatkové, ať v úvodu není tolik patkového písma */
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(.875rem, 1.6vw, 1.125rem); letter-spacing: .28em; text-transform: uppercase;
  color: var(--bordo); margin-bottom: clamp(.75rem, 2.5vh, 1.75rem);
}
.hero-meta {
  margin: clamp(1.75rem, 5vh, 3rem) 0 clamp(2rem, 5vh, 3rem);
  padding-top: clamp(1.5rem, 4vh, 2.25rem);
  border-top: 1px solid var(--line);
  min-width: min(340px, 80%);
}
.hero-date { font-family: var(--serif); font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.15; color: var(--bordo); }
.hero-place { margin-top: .5rem; font-size: .9375rem; letter-spacing: .04em; color: var(--muted); }

/* šipka dolů: jen jemně pluje, nic víc */
.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(.75rem, 3vh, 2rem); transform: translateX(-50%);
  display: grid; place-items: center; width: 44px; height: 52px; color: var(--bordo);
}
.scroll-cue svg { width: 14px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue svg { animation: cue 2.6s ease-in-out infinite; }
}
@keyframes cue { 0%, 100% { transform: translateY(-4px); opacity: .55; } 50% { transform: translateY(5px); opacity: 1; } }

/* bez GSAP: jemné vyjetí úvodu */
@media (prefers-reduced-motion: no-preference) {
  .wordmark, .hero-sub, .hero-meta, .card > .btn { opacity: 0; animation: rise 1s ease .1s forwards; }
  .hero-sub { animation-delay: .5s; }
  .hero-meta { animation-delay: .7s; }
  .card > .btn { animation-delay: .9s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- fotopás ---------- */
.band img {
  width: 100%; height: clamp(300px, 56vw, 720px);
  object-fit: cover; object-position: center 62%;
}

/* ---------- úvod ---------- */
.intro-in {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center; padding-block: var(--section);
}
.intro-text h2 { max-width: 15ch; margin-bottom: 1.75rem; }
.intro-text p { max-width: 52ch; }
.intro-text p + p { margin-top: 1rem; }
.intro-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 42% center; }

/* ---------- benefity ---------- */
.perks { position: relative; padding-block: var(--section); }
.perks h2 { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.perk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.perk { padding: .25rem clamp(1rem, 2.4vw, 2rem) .5rem; border-left: 1px solid var(--line); }
.perk:first-child { padding-left: 0; border-left: 0; }
.perk .icon {
  width: 48px; height: 48px; margin-bottom: 1.5rem;
  fill: none; stroke: var(--bordo); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round;
}
.perk h3 { margin-bottom: .6rem; }
.perk p { font-size: .9375rem; color: var(--muted); }
.perks-cta { margin-top: clamp(2.5rem, 5vw, 4rem); }
.btn-soon { cursor: default; pointer-events: none; }   /* zatím bez odkazu, později povede na rozpis */

/* ---------- cena ---------- */
.price-in {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "head photo" "body photo";
  column-gap: clamp(2.5rem, 6vw, 6rem); row-gap: 3rem;
  padding-block: var(--section);
}
.price-head { grid-area: head; align-self: end; }
.price-body { grid-area: body; }
.price-photo { grid-area: photo; align-self: stretch; }
.price-photo img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 48% center; }
.price-amount {
  font-family: var(--serif); color: var(--white);
  font-size: clamp(3.5rem, 8vw, 6.25rem); line-height: 1; letter-spacing: -.01em;
  font-variant-numeric: lining-nums;
}
.price-per { margin-top: .75rem; color: var(--muted); }
.price-note {
  display: inline-block; margin-top: 1.75rem; padding: .55rem 1rem;
  border: 1px solid var(--line);
  font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--white);
}
.price-body h3 { margin-bottom: .75rem; }
.included { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.included li { padding: 1rem 0 1rem 1.75rem; border-bottom: 1px solid var(--line); position: relative; }
.included li::before {
  content: ""; position: absolute; left: 0; top: 1.72rem;
  width: .8rem; height: 1px; background: currentColor;
}
.soft { color: var(--muted); }

/* ---------- kroky rezervace ---------- */
.steps { padding-block: var(--section); }
.steps h2 { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.step { position: relative; padding-top: 4.25rem; }
.step::before {            /* linka spojující kroky */
  content: ""; position: absolute; top: 1.4rem; left: 3.5rem; right: calc(-1 * clamp(1.5rem, 4vw, 3.5rem));
  height: 1px; background: var(--line);
}
.step:last-child::before { right: 0; }
.step-n {
  position: absolute; top: 0; left: 0;
  width: 2.8rem; height: 2.8rem; border: 1px solid var(--bordo); border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--bordo);
}
.step h3 { margin-bottom: .6rem; }
.step p { font-size: .9375rem; color: var(--muted); max-width: 34ch; }
.step p a { color: var(--bordo); text-underline-offset: 3px; }
.steps-cta { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* ---------- ubytování (bílá) ---------- */
.stay { padding-block: var(--section); }
.stay-head {
  display: grid; grid-template-columns: 5fr 7fr; gap: 1.25rem clamp(2.5rem, 6vw, 6rem); align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.stay-head p { max-width: 56ch; color: var(--muted); }
.stay-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.room-photo { overflow: hidden; margin-bottom: 1.4rem; }
.room-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room h3 { margin-bottom: .3rem; }
.room-meta { margin-bottom: .75rem; font-size: .8125rem; font-weight: 500; letter-spacing: .04em; color: var(--bordo); }
.room p:last-child { font-size: .9375rem; color: var(--muted); }
.stay-note { margin-top: clamp(2.25rem, 4vw, 3.25rem); padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .9375rem; }

/* ---------- storno podmínky (bordó) ---------- */
.storno-in {
  display: grid; grid-template-columns: 5fr 7fr; gap: 2rem clamp(2.5rem, 6vw, 6rem);
  padding-block: var(--section);
}
.terms { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.terms li { position: relative; padding: 1.1rem 0 1.1rem 1.75rem; border-bottom: 1px solid var(--line); }
.terms li::before {
  content: ""; position: absolute; left: 0; top: 2.05rem;
  width: .8rem; height: 1px; background: currentColor;
}

/* ---------- závěr (bílá) ---------- */
.closing { display: grid; grid-template-columns: 5fr 7fr; }
.closing-photo img { width: 100%; height: 100%; min-height: 520px; max-height: 860px; object-fit: cover; }
.closing-text { padding: var(--section) var(--gutter); align-self: center; max-width: 640px; }
.closing-text h2 { margin-bottom: 1.5rem; }
.closing-text p { max-width: 46ch; }
.sign { margin-top: 1.5rem; font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--bordo) !important; }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.5rem; }
.ig { color: var(--bordo); font-size: .9375rem; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
@media (hover: hover) and (pointer: fine) { .ig:hover { border-bottom-color: var(--bordo); } }

/* ---------- patička ---------- */
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  padding: 1.75rem var(--gutter) calc(1.75rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: .8125rem; color: var(--muted);
}

/* ---------- mobilní lišta ---------- */
.dock { display: none; }

/* ---------- stránka rezervace ---------- */
.book { display: grid; grid-template-columns: 5fr 7fr; border-top: 1px solid var(--line); }
/* bordó sloupec jde přes celou výšku formuláře, přilepuje se jen jeho obsah (jinak by pod ním zůstala mezera po hlavičce) */
.book-aside-in {
  position: sticky; top: 0; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 460px; margin-inline: auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter); text-align: center;
}
@media (max-height: 760px) { .book-aside-in { position: static; min-height: 0; } }
.book-kicker { font-weight: 500; font-size: .8125rem; letter-spacing: .28em; text-transform: uppercase; }
.book-logo { width: min(300px, 70%); margin: 1.25rem auto 1.5rem; }
.book-date { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; }
.book-place { margin-top: .35rem; font-size: .9375rem; color: var(--muted); }
.book-aside .included { margin: 2.25rem 0 0; text-align: left; font-size: .9375rem; }
.book-price { margin-top: 2rem; font-family: var(--serif); font-size: 2rem; line-height: 1.2; font-variant-numeric: lining-nums; }
.book-price span { display: block; font-family: var(--sans); font-size: .8125rem; letter-spacing: .04em; color: var(--muted); }

.book-main { padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(3rem, 7vw, 6rem); }
.booking-view { max-width: 560px; margin-inline: auto; }
.booking-view h1 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.12; }
.booking-lead { margin: .6rem 0 2.25rem; font-size: .9375rem; color: var(--muted); }

.terms-box { margin: 0 0 1.25rem; border-bottom: 1px solid var(--line); }
.terms-box summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 48px; cursor: pointer; list-style: none;
  font-size: .875rem; font-weight: 500; color: var(--bordo);
}
.terms-box summary::-webkit-details-marker { display: none; }
.terms-box summary::after { content: "+"; font-size: 1.25rem; font-weight: 300; line-height: 1; }
.terms-box[open] summary::after { content: "−"; }
.terms-box .terms { margin-bottom: 1rem; font-size: .875rem; line-height: 1.6; color: var(--ink); }
.terms-box .terms li { padding-block: .7rem; }
.terms-box .terms li::before { top: 1.5rem; }
.terms-box .terms li:last-child { border-bottom: 0; }

.field { margin: 0 0 1.1rem; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field label, .field legend { display: block; margin-bottom: .4rem; padding: 0; font-size: .8125rem; font-weight: 500; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.field-note { margin: -.15rem 0 .6rem; font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; padding: .8rem .9rem;
  border: 1px solid var(--taupe); border-radius: 2px;
  background: #fff; color: var(--ink);
  font: 400 1rem/1.4 var(--sans);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field input::placeholder, .field textarea::placeholder { color: #A39390; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--bordo); box-shadow: 0 0 0 3px rgba(109, 15, 26, .12); }
.field input[aria-invalid=true] { border-color: var(--bordo); background: #FFF6F5; }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pills label { margin: 0; position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pills span {
  display: grid; place-items: center; min-width: 3.25rem; min-height: 44px; padding: 0 1rem;
  border: 1px solid var(--taupe); border-radius: 2px; background: #fff;
  font-size: .875rem; font-weight: 500; color: var(--ink);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.pills input:checked + span { background: var(--bordo); border-color: var(--bordo); color: var(--white); }
.pills input:focus-visible + span { outline: 2px solid var(--bordo); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .pills label:hover span { border-color: var(--bordo); } }

.summary {
  margin: 1.75rem 0 1.25rem; padding: .9rem 1.1rem;
  border: 1px solid var(--line); border-radius: 2px;
}
.summary div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .3rem 0; font-size: .875rem; }
.summary div:first-child { padding-bottom: .55rem; margin-bottom: .25rem; border-bottom: 1px solid var(--line); }
.summary div:first-child strong { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--bordo); }
.summary span { color: var(--muted); }
.summary strong { font-weight: 600; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }

.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .875rem; line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--bordo); }
.gdpr { margin: .75rem 0 1.5rem 2rem; font-size: .8125rem; color: var(--muted); }
.form-error { margin: 0 0 1rem; padding: .75rem 1rem; border-left: 2px solid var(--bordo); background: #FFF6F5; font-size: .875rem; color: var(--bordo); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#f-submit[disabled] { opacity: .6; cursor: progress; }

.booking-done { text-align: center; padding: clamp(2rem, 10vh, 6rem) 0 1rem; }
.booking-done:focus { outline: none; }
.booking-done h2 { margin: 1.25rem 0 .75rem; font-size: clamp(1.75rem, 4vw, 2.25rem); }
.booking-done p { max-width: 38ch; margin: 0 auto 2rem; color: var(--muted); }
.booking-done strong { color: var(--ink); font-weight: 500; word-break: break-all; }
.done-mark { width: 64px; height: 64px; margin: 0 auto; fill: none; stroke: var(--bordo); stroke-width: 1.25; }
@media (prefers-reduced-motion: no-preference) {
  .done-mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: tick .6s ease .2s forwards; }
}
@keyframes tick { to { stroke-dashoffset: 0; } }

/* ---------- responzivita ---------- */
@media (max-width: 960px) {
  .perk-list { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .perk:nth-child(3) { padding-left: 0; border-left: 0; }
  .closing { grid-template-columns: 1fr; }
  .stay-head { grid-template-columns: 1fr; }
  .stay-list { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .room { display: grid; grid-template-columns: 5fr 7fr; column-gap: 1.75rem; align-content: start; }
  .room-photo { grid-row: span 3; margin-bottom: 0; }
  .closing-photo img { min-height: 0; max-height: none; aspect-ratio: 4 / 3; object-position: center 22%; }
  .book { grid-template-columns: 1fr; }
  .book-aside-in { position: static; min-height: 0; }
  .book-aside .included { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .card { min-height: min(calc(100svh - 68px - var(--gutter) - 64px), 760px); padding-inline: .5rem; }
  .card::before { inset: 5px; }
  .intro-in { grid-template-columns: 1fr; padding-bottom: calc(var(--section) * .8); }
  .intro-photo img { aspect-ratio: 4 / 3; }
  .perk-list { grid-template-columns: 1fr; row-gap: 0; }
  .perk, .perk:first-child, .perk:nth-child(3) {
    display: grid; grid-template-columns: 48px 1fr; column-gap: 1.25rem;
    padding: 1.5rem 0; border-left: 0; border-top: 1px solid var(--line);
  }
  .perk:first-child { border-top: 0; padding-top: 0; }
  .perk .icon { grid-row: span 2; margin: 0; width: 40px; height: 40px; }
  .perk h3 { margin-bottom: .25rem; }
  .price-in { grid-template-columns: 1fr; grid-template-areas: "head" "body" "photo"; row-gap: 2.5rem; }
  .storno-in { grid-template-columns: 1fr; }
  .perks-cta .btn { width: 100%; }
  .price-photo img { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
  .step-list { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 2.25rem 4rem; }
  .step::before { top: 2.8rem; bottom: 0; left: 1.4rem; right: auto; width: 1px; height: auto; }
  .step:last-child { padding-bottom: 0; }
  .step:last-child::before { display: none; }
  .step-n { top: -.3rem; }
  .steps-cta .btn { width: 100%; }
  .closing-actions .btn { width: 100%; }
  .foot { padding-bottom: calc(1.75rem + 72px + env(safe-area-inset-bottom)); }

  .dock {
    position: fixed; z-index: 20; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .dock[hidden] { display: none; }
  .dock:not(.is-on) { visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
  .dock.is-on { transform: none; }
  .dock-info { display: flex; flex-direction: column; line-height: 1.25; }
  .dock-info strong { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--bordo); font-variant-numeric: lining-nums; }
  .dock-info span { font-size: .75rem; color: var(--muted); }

  .wordmark img { width: 82vw; max-width: 420px; }
  .closing-photo img { aspect-ratio: 4 / 5; }
  .room { display: block; }
  .room-photo { margin-bottom: 1.1rem; }
  .book-aside-in { padding-block: 2rem 2.25rem; }
  .book-logo { width: min(220px, 60%); margin: 1rem auto 1.1rem; }
  .book-price { margin-top: 1.25rem; font-size: 1.625rem; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .dock { transition: none; } }
