/* Golden Lane v5: v4's look (paired slides, drifting wordmark, colour fields, side panels),
   v3's booking card and wording, split into pages you click between. */
:root {
  --ink: #0E1320;
  --paper: #FFFFFF;
  --text: #121624;
  --muted: #5A6070;
  --line: #E6E3DD;
  --navy: #1F2B47;
  --rust: #9A4419;
  --walnut: #3A2A1E;
  --gold: #E4B24C;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C3C8D4;

  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --pad: clamp(1rem, 2.4vw, 2rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --topbar: 3.75rem;
}

/* soft fade between pages, in browsers that support it */
@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--topbar); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a, button, select, input { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
[hidden] { display: none !important; }
.skip { position: absolute; left: var(--pad); top: 0.75rem; z-index: 60; padding: 0.75rem 1rem; background: var(--paper); color: var(--text); transform: translateY(-200%); }
.skip:focus { transform: none; }

/* ---------- small controls ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 1.25rem; border-radius: 999px;
  background: var(--gold); color: var(--ink); font-size: 0.9375rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color 180ms ease, transform 120ms ease;
}
.pill:active { transform: scale(0.97); }
.pill--light { background: var(--paper); color: var(--ink); }
.pill--block { width: 100%; }
.textbtn {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.25rem;
  font-size: 0.9375rem; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.3em;
  transition: text-decoration-color 180ms ease;
}
@media (hover: hover) {
  .pill:hover { background: #F0C463; }
  .pill--light:hover { background: #E9E6E0; }
  .textbtn:hover { text-decoration-color: currentColor; }
}
.row__link { align-self: flex-start; font-size: 0.9375rem; letter-spacing: 0.04em; text-transform: uppercase; text-underline-offset: 0.3em; padding-block: 0.6rem; }

/* ---------- top bar (inner pages) ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; height: var(--topbar);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--pad); background: var(--ink); color: var(--on-dark);
}
.topbar__home { font-size: 1.125rem; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; }
.topbar__nav { display: flex; gap: 1.75rem; }
.topbar__nav a { font-size: 0.9375rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; color: var(--on-dark-muted); transition: color 180ms ease; }
.topbar__nav a:hover { color: var(--on-dark); }
.topbar__actions { display: flex; align-items: center; gap: 1rem; }
.topbar .pill { min-height: 2.5rem; }

/* ---------- opening screen ---------- */
/* Menu sits in the top-right corner of the first screen and stays there as you scroll */
.menubtn {
  position: fixed; z-index: 35; top: var(--pad); right: var(--pad);
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 3rem; padding: 0 1.25rem; border-radius: 999px;
  background: var(--paper); color: var(--ink); font-size: 1rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(8, 10, 16, 0.25); transition: background-color 180ms ease, transform 120ms ease;
}
.menubtn:active { transform: scale(0.97); }
@media (hover: hover) { .menubtn:hover { background: var(--gold); } }
.menubtn__lines, .menubtn__lines::before, .menubtn__lines::after { display: block; width: 1.125rem; height: 1.5px; background: currentColor; }
.menubtn__lines { position: relative; }
.menubtn__lines::before, .menubtn__lines::after { content: ""; position: absolute; left: 0; }
.menubtn__lines::before { top: -6px; }
.menubtn__lines::after { top: 6px; }
.hero { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100svh; min-height: 40rem; background: var(--ink); color: var(--on-dark); }
.stage { position: relative; min-height: 0; overflow: hidden; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; opacity: 0; visibility: hidden; transition: opacity 1200ms var(--ease), visibility 0s linear 1200ms; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1200ms var(--ease), visibility 0s; }
.half { position: relative; min-width: 0; overflow: hidden; }
.half--photo img { width: 100%; height: 100%; object-fit: cover; }
/* the second photo is shown whole (never cropped), below the wordmark */
.half--field { background: var(--field); display: flex; align-items: center; justify-content: center; padding: calc(clamp(5rem, 15vw, 15rem) * 0.92) clamp(1.5rem, 4vw, 3.5rem) 3.25rem; }
.inset { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); transform: scale(1.03); transition: transform 2400ms var(--ease); }
.slide.is-active .inset { transform: none; }
.slide--light .slide__cap { color: var(--ink); }
.slide__cap { position: absolute; bottom: 1rem; left: 50%; right: 0; text-align: center; font-family: var(--serif); font-size: 1rem; }

.wordmark { position: absolute; z-index: 2; top: -0.08em; left: 0; right: 0; overflow: hidden; pointer-events: none; font-weight: 300; font-size: clamp(5rem, 15vw, 15rem); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; color: var(--on-dark); white-space: nowrap; }
.wordmark span { display: inline-block; padding-left: 4vw; }
@media (prefers-reduced-motion: no-preference) {
  .wordmark span { animation: drift 70s linear infinite; }
}
@keyframes drift { to { transform: translateX(-50%); } }

.hero__bar { position: absolute; z-index: 3; left: 0; right: 50%; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; padding: var(--pad); pointer-events: none; }
.hero__bar > * { pointer-events: auto; }
.hero__left { display: grid; gap: 0.5rem; justify-items: start; max-width: 34rem; }
.hero__id, .hero__controls { background: rgba(14, 19, 32, 0.8); padding: 0.875rem 1rem; }
.hero__id { display: grid; gap: 0.5rem; }
.hero__title { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 300; line-height: 1.05; letter-spacing: -0.01em; text-transform: uppercase; }
.hero__sub { font-family: var(--serif); font-size: 1.125rem; line-height: 1.4; color: var(--on-dark-muted); }
.hero__controls { display: flex; align-items: center; gap: 0.75rem; }
.hero__count { font-size: 0.9375rem; letter-spacing: 0.04em; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.hero__book { position: relative; z-index: 4; }

/* ---------- booking card (v3's form, v4's look) ---------- */
.bookcard { display: grid; gap: 1rem; padding: 1.5rem; background: var(--ink); color: var(--on-dark); color-scheme: dark; }
/* on the home page the date card is a bar along the bottom of the first screen */
@media (min-width: 801px) {
  .hero__book .bookcard { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.5rem 1.5rem; padding: 1rem var(--pad) 0.875rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .hero__book .bookcard__title { align-self: center; margin: 0; font-size: 1.5rem; white-space: nowrap; }
  .hero__book .bookcard__row { flex: 1 1 18rem; }
  .hero__book .pill { width: auto; margin-top: 0; }
  .hero__book .bookcard__note { flex-basis: 100%; }
}
.bookcard__title { font-size: 1.75rem; font-weight: 300; line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 0.25rem; }
.bookcard__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.25rem; min-width: 0; }
.field label { font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--on-dark-muted); }
.field input, .field select {
  width: 100%; min-height: 2.75rem; padding: 0 0.25rem; border: 0; border-bottom: 1.5px solid var(--on-dark-muted); border-radius: 0;
  background: transparent; color: var(--on-dark); font-size: 1.0625rem; transition: border-color 180ms ease;
}
.field select option { background: var(--ink); }
.field input:focus-visible, .field select:focus-visible { outline: none; border-bottom-color: var(--gold); box-shadow: 0 2px 0 var(--gold); }
.field [aria-invalid="true"] { border-bottom-color: #FF8A73; }
.field__error { color: #FF8A73; font-size: 0.875rem; }
.bookcard .pill { margin-top: 0.5rem; }
.bookcard__note { font-size: 0.8125rem; line-height: 1.45; color: var(--on-dark-muted); overflow-wrap: anywhere; }

/* ---------- side panels ---------- */
body.has-panel { overflow: hidden; }
body.has-panel::after { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(8, 10, 16, 0.5); }
.panel { position: fixed; z-index: 50; top: 0; right: 0; width: min(34rem, 100%); height: 100svh; overflow: auto; overscroll-behavior: contain; background: var(--ink); color: var(--on-dark); color-scheme: dark; transform: translateX(100%); transition: transform 420ms var(--ease); }
.panel.is-open { transform: none; }
.panel__inner { min-height: 100%; display: flex; flex-direction: column; gap: 2rem; padding: var(--pad); }
.panel__inner > .pill { align-self: flex-start; }
.panel__links a { display: block; font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 300; line-height: 1.05; text-transform: uppercase; text-decoration: none; transition: color 180ms ease; }
.panel__links a[aria-current="page"] { color: var(--gold); }
@media (hover: hover) { .panel__links a:hover { color: var(--gold); } }
.panel__foot { margin-top: auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 1.5rem 2rem; align-items: end; }
.panel__contact { font-size: 0.875rem; line-height: 1.6; color: var(--on-dark-muted); overflow-wrap: anywhere; }
.panel__contact a { color: var(--on-dark); }
.panel__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.panel__cards a { display: grid; gap: 0.25rem; text-decoration: none; }
.panel__cards img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.card__name { font-family: var(--serif); font-size: 0.9375rem; line-height: 1.2; }
.card__meta { font-size: 0.8125rem; color: var(--on-dark-muted); line-height: 1.3; }
.panel__foot > .textbtn { grid-column: 1; justify-self: start; }
.panel--book .bookcard { padding: 0; }
.panel--book .bookcard__title { font-size: clamp(2.5rem, 6vw, 3.5rem); margin-bottom: 1rem; }
.book__close { align-self: flex-start; margin-top: auto; }

/* ---------- shared sections ---------- */
.section-title { font-size: clamp(3rem, 9vw, 8rem); font-weight: 300; line-height: 0.9; letter-spacing: -0.02em; text-transform: uppercase; }
.section-title--sm { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
.lede { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.35; color: var(--muted); max-width: 38ch; }
.pagehead { display: grid; gap: 1.5rem; padding: clamp(3.5rem, 8vw, 7rem) var(--pad) clamp(2rem, 4vw, 3rem); }

/* why-stay strip */
.strip { border-bottom: 1px solid var(--line); }
.strip__list { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip__list li { display: grid; gap: 0.25rem; padding: clamp(1.75rem, 3vw, 2.5rem) var(--pad); }
.strip__list li + li { border-left: 1px solid var(--line); }
.strip__list strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.2; }
.strip__list span { color: var(--muted); }

/* front page: who we are */
.hero__cta { justify-self: start; margin-top: 0.5rem; gap: 0.4rem; }
.about { padding: clamp(4rem, 9vw, 8rem) var(--pad); display: grid; gap: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.about__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.about__head .lede { max-width: 40ch; }
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.who li { display: grid; gap: 0.5rem; padding-top: 1.25rem; border-top: 1.5px solid var(--text); }
.who__label { font-size: 0.9375rem; letter-spacing: 0.04em; text-transform: uppercase; }
.who__text { font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; color: var(--muted); }

/* our stays: grouped by city */
.city__head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem 2rem; flex-wrap: wrap; padding: 1.25rem var(--pad); border-top: 1px solid var(--line); }
.city__name { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); font-weight: 300; text-transform: uppercase; letter-spacing: -0.01em; }
.city__meta { color: var(--muted); }
.city__meta a { color: var(--text); text-underline-offset: 0.2em; }

/* apartment tiles */
.apartments__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; padding: clamp(4rem, 9vw, 8rem) var(--pad) clamp(2rem, 4vw, 3rem); }
.apartments__head .lede { max-width: 34ch; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); }
.tile { display: grid; grid-template-rows: auto 1fr; height: 100%; text-decoration: none; color: var(--on-dark); background: var(--field); }
.tile__photo { display: block; overflow: hidden; aspect-ratio: 3 / 4; }
.tile__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.tile__field { display: flex; flex-direction: column; gap: 0.75rem; padding: var(--pad); padding-top: 1.75rem; }
.tile__num { font-size: clamp(4.5rem, 9vw, 8rem); font-weight: 300; line-height: 0.8; letter-spacing: -0.03em; }
.tile__text { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.35; max-width: 26ch; }
.tile__go { margin-top: auto; padding-top: 0.75rem; font-size: 0.9375rem; letter-spacing: 0.04em; text-transform: uppercase; }
.tile__go span { display: inline-block; transition: transform 300ms var(--ease); }
@media (hover: hover) {
  .tile:hover .tile__photo img { transform: scale(1.05); }
  .tile:hover .tile__go span { transform: translateX(0.4rem); }
}

/* full-width "go to the next page" links */
.bigs { display: grid; }
.big { display: grid; gap: 0.5rem; padding: clamp(2.5rem, 6vw, 5rem) var(--pad); background: var(--field, var(--ink)); color: var(--on-dark); text-decoration: none; }
.big[style*="--ink"] { background: var(--ink); }
.big__note { font-size: 0.9375rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--on-dark-muted); }
.big__label { display: flex; align-items: baseline; gap: 0.25em; font-size: clamp(3rem, 9vw, 8rem); font-weight: 300; line-height: 0.9; letter-spacing: -0.02em; text-transform: uppercase; }
.big__arrow { display: inline-block; transition: transform 400ms var(--ease); }
/* gold band: dark text */
.big[data-light] { color: var(--ink); }
.big[data-light] .big__note { color: rgba(14, 19, 32, 0.7); }
@media (hover: hover) { .big:hover .big__arrow { transform: translateX(0.25em); } }

/* ---------- apartment page ---------- */
.apt { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--topbar)); }
.apt__field { background: var(--field); color: var(--on-dark); padding: clamp(2.5rem, 5vw, 4rem) var(--pad) var(--pad); display: flex; flex-direction: column; justify-content: flex-end; gap: 1.25rem; }
.apt__kicker { font-size: 0.9375rem; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.apt__num { font-size: clamp(7rem, 19vw, 17rem); font-weight: 300; line-height: 0.8; letter-spacing: -0.03em; }
.apt__text { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.35; max-width: 30ch; }
.facts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.facts li { padding: 0.35rem 0.8rem; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px; font-size: 0.875rem; letter-spacing: 0.04em; text-transform: uppercase; }
.apt__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; margin-top: 0.5rem; }
.apt__photo { width: 100%; height: 100%; object-fit: cover; }

.gallery { padding: clamp(4rem, 8vw, 7rem) var(--pad); display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(12rem, 21vw, 22rem); gap: 0.5rem; }
.gallery__grid--5 { grid-template-columns: repeat(4, 1fr); }
.gallery__grid--5 li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__grid--3 { grid-template-columns: 2fr 1fr; }
.gallery__grid--3 li:first-child { grid-row: span 2; }
.gallery__item { display: block; width: 100%; height: 100%; overflow: hidden; cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
@media (hover: hover) { .gallery__item:hover img { transform: scale(1.04); } }

.waiting__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; max-width: 40rem; }
.waiting__list dt { font-size: 0.875rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.waiting__list dd { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.4; }
.row__link--dark { color: var(--text); }

.pager { display: grid; grid-template-columns: 1fr 1fr; }
.pager__link { display: grid; gap: 1rem; padding: clamp(2.5rem, 6vw, 5rem) var(--pad); background: var(--field); color: var(--on-dark); text-decoration: none; }
.pager__link--next { text-align: right; justify-items: end; }
.pager__link .big__note { color: rgba(255, 255, 255, 0.75); }
.pager__num { font-size: clamp(5rem, 13vw, 11rem); font-weight: 300; line-height: 0.8; letter-spacing: -0.03em; transition: transform 400ms var(--ease); }
@media (hover: hover) {
  .pager__link:hover .pager__num { transform: translateX(-0.1em); }
  .pager__link--next:hover .pager__num { transform: translateX(0.1em); }
}

/* photo viewer */
.lightbox { position: fixed; inset: 0; z-index: 70; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: var(--pad); background: rgba(8, 10, 16, 0.95); color: var(--on-dark); }
.lightbox__img { max-width: 100%; max-height: calc(100svh - 7rem); object-fit: contain; }
.lightbox__bar { display: flex; align-items: center; gap: 1.5rem; }
.lightbox__count { font-variant-numeric: tabular-nums; color: var(--on-dark-muted); letter-spacing: 0.04em; }
.lightbox__close { position: absolute; top: var(--pad); right: var(--pad); }

/* ---------- split rows (check-in, location, what's waiting) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 80svh; }
.split--flip > :first-child { order: 2; }
.split__photo { width: 100%; height: 100%; object-fit: cover; }
.split__figure { position: relative; }
.split__figure .caption { position: absolute; left: var(--pad); bottom: var(--pad); right: var(--pad); font-size: 0.8125rem; color: var(--on-dark); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
.split__text { padding: clamp(3rem, 7vw, 6rem) var(--pad); display: flex; flex-direction: column; gap: 2.5rem; justify-content: center; }
.split__text--ink { background: var(--ink); color: var(--on-dark); }
.steps { list-style: decimal; padding-left: 1.5rem; display: grid; gap: 1.75rem; font-family: var(--serif); font-size: 1.3125rem; line-height: 1.4; max-width: 34ch; }
.steps li::marker { font-family: var(--sans); font-weight: 300; color: var(--gold); }
.steps__when { display: block; margin-bottom: 0.15rem; font-family: var(--sans); font-size: 0.875rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); }
.minutes { display: grid; max-width: 34rem; width: 100%; }
.minutes div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.minutes dt { font-family: var(--serif); font-size: 1.25rem; }
.minutes dd { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-dark); padding: clamp(3rem, 6vw, 5rem) var(--pad) var(--pad); overflow: hidden; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer__mark { display: block; font-size: 14.2vw; font-weight: 300; line-height: 0.85; letter-spacing: -0.03em; text-transform: uppercase; white-space: nowrap; text-decoration: none; }
.footer__row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; font-size: 0.875rem; color: var(--on-dark-muted); }
.footer__row a { color: var(--on-dark); }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .topbar__nav { display: none; }
  .hero__left { max-width: 26rem; }
}

/* ---------- phone ---------- */
@media (max-width: 800px) {
  :root { --topbar: 3.5rem; }
  .topbar .pill { padding: 0 1rem; }

  .hero { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .stage { overflow: visible; }
  .slides { position: relative; height: 68svh; overflow: hidden; }
  .slide { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .half--field { padding: 1rem; }
  .slide__cap { display: none; }
  .wordmark { font-size: 24vw; }
  .hero__bar { position: static; right: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 0; background: var(--ink); }
  .hero__left { max-width: none; gap: 0; justify-items: stretch; }
  .hero__id, .hero__controls { background: none; padding: 1rem var(--pad) 0; }
  .hero__controls { justify-content: space-between; order: -1; padding-top: 0.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .hero__book { width: 100%; }
  .hero .bookcard { padding: 1.5rem var(--pad) 2rem; }

  .bookcard__row { gap: 0.75rem; }
  .panel__foot { grid-template-columns: 1fr; }
  .panel__foot > .textbtn { grid-column: auto; }

  .who { grid-template-columns: 1fr; gap: 1.5rem; }
  .strip__list { grid-template-columns: 1fr; }
  .strip__list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .strip__list li { padding-block: 1.25rem; }

  .tiles { grid-template-columns: 1fr; }
  .tile { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .tile__photo { aspect-ratio: auto; height: 100%; min-height: 15rem; }
  .tile__field { padding: 1.25rem var(--pad); }
  .tile__num { font-size: 4.5rem; }
  .tile__text { font-size: 1.0625rem; }

  .apt, .split { grid-template-columns: 1fr; min-height: 0; }
  .apt__photo { order: -1; aspect-ratio: 4 / 3; height: auto; }
  .apt__field { padding-block: 2rem 2.5rem; }
  .split--flip > :first-child { order: 0; }
  .split__photo { aspect-ratio: 4 / 3; height: auto; }

  .gallery__grid, .gallery__grid--3 { grid-template-columns: 1fr 1fr; }
  .gallery__grid--5 li:first-child, .gallery__grid--3 li:first-child { grid-column: span 2; }
  .gallery__grid { grid-auto-rows: 9rem; }
  .gallery__grid li:first-child { grid-row: span 2; }
  .waiting__list { grid-template-columns: 1fr; gap: 1rem; }

  .pager__num { font-size: 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  @view-transition { navigation: none; }
}
