:root {
  /* Dark-room palette: Den Haag charcoal granite + dealt bone ink #f1f1ef + Den Haag logo crimson */
  --bg: #141413;
  --surface: #1f1e1c;
  --surface-2: #2b2926;
  --ink: #f1f1ef;
  --muted: #a6a7a2;
  --accent: #c42630;
  --accent-hover: #a91e27;
  --accent-ink: #f1f1ef;
  --light-hover: #d8d8d4;
  --field-bg: #d9d8d2;
  --field-ink: #141413;
  --field-muted: #494945;

  /* Strictly two Vietnamese-native font families */
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-text: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Strictly five type steps */
  --step-small: 0.875rem;                                /* 14px */
  --step-body: 1.0625rem;                                /* 17px */
  --step-lead: clamp(1.1875rem, 1.05rem + 0.55vw, 1.5rem); /* 19–24px */
  --step-head: clamp(1.875rem, 1.25rem + 2.4vw, 3.25rem);  /* 30–52px */
  --step-display: clamp(2.35rem, 1.2rem + 4.4vw, 4.85rem); /* 38–78px */

  /* Layout geometry: one pair of equal outer margins */
  --margin: clamp(1.125rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 1.6vw, 1.75rem);
  --gap-section: clamp(5.5rem, 10vw, 10rem);

  /* Motion tokens */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 820ms;
  --stagger-line: 95ms;
}

*, *::before, *::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  background-color: var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.58;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection {
  background-color: var(--accent);
  color: var(--accent-ink);
}

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

img, video, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1, h2, h3, p, dl, dt, dd, figure, ul {
  margin: 0;
}

ul {
  list-style: none;
  padding: 0;
}

.wrap {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
  padding-inline: var(--margin);
}

.skip-link {
  position: absolute;
  left: var(--margin);
  top: -120px;
  background-color: var(--ink);
  color: var(--bg);
  padding: 0.75rem 1.25rem;
  font-size: var(--step-small);
  font-weight: 500;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- NAVIGATION (PLAIN BAR, ZERO CHROME, EQUAL MARGINS) ---------- */
.site-nav {
  background-color: var(--bg);
  padding-block: 1.25rem;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: var(--step-body);
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand__mark {
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--accent);
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.nav-link {
  font-size: var(--step-body);
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 0.08em;
  transition: color var(--t-hover) ease, text-decoration-color var(--t-hover) ease;
  white-space: nowrap;
}

.nav-link--mess {
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover {
    color: var(--ink);
    text-decoration-color: currentColor;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-btn {
  appearance: none;
  border: 0;
  background-color: var(--surface);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-small);
  font-weight: 500;
  min-width: 44px;
  height: 44px;
  padding-inline: 0.85rem;
  cursor: pointer;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}

.lang-btn:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .lang-btn:hover {
    background-color: var(--surface-2);
  }
}

/* ---------- BUTTONS (FLAT, SQUARE-CORNERED, ZERO SHADOWS OR GRADIENTS) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  border: 0;
  border-radius: 0;
  font-family: var(--font-text);
  font-size: var(--step-body);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn--nav {
  min-height: 44px;
  padding: 0.65rem 1.2rem;
  font-size: var(--step-small);
}

.btn--light {
  background-color: var(--ink);
  color: var(--bg);
}

.btn--crimson {
  background-color: var(--accent);
  color: var(--accent-ink);
}

.btn--surface {
  background-color: var(--surface-2);
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .btn--light:hover { background-color: var(--light-hover); }
  .btn--crimson:hover { background-color: var(--accent-hover); }
  .btn--surface:hover { background-color: var(--ink); color: var(--bg); }
}

.plain-link, .plain-btn {
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  font-weight: 500;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 0.08em;
  transition: color var(--t-hover) ease;
}

@media (hover: hover) and (pointer: fine) {
  .plain-link:hover, .plain-btn:hover { color: var(--muted); }
}

/* ---------- HERO (FIRST SCREEN) ---------- */
.hero {
  padding-top: clamp(1rem, 2.5vw, 2.25rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.display {
  font-family: var(--font-display);
  font-size: var(--step-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
  hyphens: none;
}

.lines .line {
  display: block;
  overflow: clip;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.lines [data-line] {
  display: block;
}

.lead {
  font-size: var(--step-lead);
  line-height: 1.42;
  color: var(--ink);
  max-width: 44ch;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem var(--gutter);
  padding-top: 1.25rem;
}

.hero__fact dt {
  font-size: var(--step-small);
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.hero__fact dd {
  font-size: var(--step-body);
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.hero__media {
  overflow: clip;
  background-color: var(--surface);
  aspect-ratio: 4 / 5;
  max-height: 76svh;
  width: 100%;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: brightness(0.94) contrast(1.06);
}

/* ---------- SHARED SECTION RHYTHM ---------- */
.intro, .gallery, .menu, .booking {
  padding-top: var(--gap-section);
}

.section-head {
  font-family: var(--font-display);
  font-size: var(--step-head);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 20ch;
}

.section-bar {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gutter);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-note {
  font-size: var(--step-body);
  color: var(--muted);
  max-width: 42ch;
  justify-self: end;
  text-wrap: pretty;
}

/* ---------- SECTION 2: INTRO (STAIRCASE STATEMENT + STACKED EXHIBITS) ---------- */
.intro .section-head {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}

.staircase {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 2.5rem;
  max-width: none;
}

.staircase__row {
  display: block;
}

.staircase__row--2 {
  padding-left: clamp(0rem, 3.5vw, 3.25rem);
  color: var(--muted);
}

.staircase__row--3 {
  padding-left: clamp(0rem, 7vw, 6.5rem);
}

.intro__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.intro__body p {
  max-width: 56ch;
  color: var(--ink);
  text-wrap: pretty;
}

.intro__media {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
}

.exhibit {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.exhibit img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background-color: var(--surface);
  filter: brightness(0.92) contrast(1.05);
  transition: transform 520ms var(--ease-soft), filter 420ms ease;
}

.exhibit--landscape img {
  aspect-ratio: 4 / 3;
  object-position: center 45%;
}

.exhibit figcaption {
  font-size: var(--step-small);
  color: var(--muted);
}

@media (hover: hover) and (pointer: fine) {
  .exhibit:hover img {
    filter: brightness(1) contrast(1.04);
  }
}

/* ---------- SECTION 3: GALLERY (ASYMMETRIC DARK-ROOM MOSAIC, EQUAL ROW BOTTOMS) ---------- */
.mosaic {
  display: grid;
  gap: var(--gutter);
  align-items: stretch;
}

.mosaic--top {
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  margin-bottom: var(--gutter);
}

.mosaic--bottom {
  grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr);
}

.mosaic .exhibit {
  height: 100%;
}

.mosaic .exhibit img {
  height: clamp(300px, 28vw, 420px);
  width: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* ---------- SECTION 4: MENU LINE-UP + LIVE TABLE ESTIMATOR ---------- */
.estimator {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 4vw, 4rem);
  background-color: var(--surface);
  padding: clamp(1.5rem, 3.2vw, 2.75rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.estimator__title {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.estimator__desc {
  color: var(--muted);
  max-width: 44ch;
  margin-bottom: 1.5rem;
}

.stepper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.stepper__btn {
  width: 48px;
  height: 48px;
  border: 0;
  background-color: var(--surface-2);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-lead);
  cursor: pointer;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}

.stepper__btn:active { transform: scale(0.95); }

.stepper__val {
  min-width: 6.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.stepper__presets {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

.preset-btn {
  min-width: 44px;
  height: 44px;
  border: 0;
  background-color: var(--bg);
  color: var(--muted);
  font-family: var(--font-text);
  font-size: var(--step-small);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}

.preset-btn.is-active {
  background-color: var(--accent);
  color: var(--accent-ink);
}

@media (hover: hover) and (pointer: fine) {
  .stepper__btn:hover { background-color: var(--ink); color: var(--bg); }
  .preset-btn:hover:not(.is-active) { background-color: var(--surface-2); color: var(--ink); }
}

.estimator__nums {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.estimator__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.estimator__row dt {
  color: var(--muted);
  font-size: var(--step-body);
}

.num-strong {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.num-muted {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  text-decoration: line-through;
  white-space: nowrap;
}

.num-accent {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--ink);
  background-color: var(--accent);
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
}

.estimator__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  min-height: 44px;
  padding: 0.65rem 1.05rem;
  border: 0;
  background-color: var(--bg);
  color: var(--muted);
  font-family: var(--font-text);
  font-size: var(--step-small);
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}

.filter-btn:active { transform: scale(0.97); }

.filter-btn.is-active {
  background-color: var(--ink);
  color: var(--bg);
}

@media (hover: hover) and (pointer: fine) {
  .filter-btn:hover:not(.is-active) {
    background-color: var(--surface-2);
    color: var(--ink);
  }
}

.estimator__count {
  font-size: var(--step-small);
  color: var(--muted);
}

/* LINE-UP LEDGER (ONE TYPE SIZE, FIXED COLUMN STARTS, ZERO HAIRLINES) */
.ledger {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.ledger__heading {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1rem;
}

.ledger__list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ledger__item {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.1fr) minmax(0, 4.7fr) auto;
  gap: 0.75rem var(--gutter);
  align-items: baseline;
  padding: 0.9rem 1.1rem;
  background-color: var(--bg);
  transition: background-color var(--t-hover) ease, opacity var(--t-ui) ease;
}

.ledger__item:nth-child(odd) {
  background-color: var(--surface);
}

.ledger__item.is-hidden {
  display: none;
}

.ledger__name {
  font-size: var(--step-body);
  font-weight: 500;
  color: var(--ink);
}

.ledger__cat {
  font-size: var(--step-body);
  color: var(--muted);
}

.ledger__note {
  font-size: var(--step-body);
  color: var(--ink);
}

.ledger__time {
  font-size: var(--step-small);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.menu__policy {
  margin-top: 2rem;
  font-size: var(--step-small);
  color: var(--muted);
  max-width: 68ch;
}

/* ---------- SECTION 5: BOOKING FORM + VISIT CARD ---------- */
.booking {
  padding-bottom: var(--gap-section);
}

.booking__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  border: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.form__row {
  display: grid;
  gap: var(--gutter);
}

.form__row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form__row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field-label {
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--ink);
}

.field {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  border: 0;
  border-radius: 0;
  background-color: var(--surface);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.4;
  transition: background-color var(--t-hover) ease;
}

.field::placeholder {
  color: var(--muted);
  opacity: 0.85;
}

.field:focus {
  background-color: var(--surface-2);
}

.field--area {
  min-height: 108px;
  resize: vertical;
}

.form__summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  background-color: var(--surface);
  font-size: var(--step-body);
  color: var(--muted);
}

.form__error {
  padding: 0.9rem 1.1rem;
  background-color: var(--accent);
  color: var(--accent-ink);
  font-size: var(--step-small);
  font-weight: 500;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn--submit {
  flex: 1 1 240px;
}

.form__hint {
  font-size: var(--step-small);
  color: var(--muted);
  max-width: 58ch;
}

/* CONFIRMATION & FALLBACK SLIP */
.slip {
  background-color: var(--surface);
  padding: clamp(1.75rem, 3.2vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.slip__title {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 400;
  color: var(--ink);
}

.slip__lead {
  color: var(--muted);
  max-width: 54ch;
}

.slip__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem var(--gutter);
  padding: 1.25rem;
  background-color: var(--bg);
}

.slip__details dt {
  font-size: var(--step-small);
  color: var(--muted);
}

.slip__details dd {
  font-size: var(--step-body);
  font-weight: 500;
  color: var(--ink);
  margin-top: 0.2rem;
}

.slip__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* VISIT CARD */
.visit-card {
  background-color: var(--surface);
  display: flex;
  flex-direction: column;
}

.visit-card__photo {
  overflow: clip;
  aspect-ratio: 16 / 10;
  background-color: var(--bg);
}

.visit-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.92) contrast(1.06);
}

.visit-card__body {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.visit-card__title {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 400;
  color: var(--ink);
}

.visit-card__addr {
  color: var(--ink);
  max-width: 44ch;
}

.visit-card__rows {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.visit-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.visit-card__row dt {
  font-size: var(--step-small);
  color: var(--muted);
}

.visit-card__row dd {
  font-size: var(--step-body);
  font-weight: 500;
  color: var(--ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.visit-card__btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.4rem;
}

.visit-card__btn {
  width: 100%;
}

/* ---------- SECTION 6: FOOTER (INVERTED DUTCH LIMESTONE FIELD) ---------- */
.site-footer {
  background-color: var(--field-bg);
  color: var(--field-ink);
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 8vw, 7rem);
}

.footer-cols {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 2.5fr) minmax(0, 2.75fr) minmax(0, 2.75fr);
  gap: 2.5rem var(--gutter);
}

.footer-badge {
  width: 72px;
  height: 72px;
  object-fit: contain;
  mix-blend-mode: multiply;
  margin-bottom: 1rem;
}

.footer-lead {
  font-weight: 500;
  font-size: var(--step-body);
  color: var(--field-ink);
  margin-bottom: 0.75rem;
}

.footer-muted {
  color: var(--field-muted);
  max-width: 34ch;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: var(--field-muted);
}

.footer-list a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
  transition: color var(--t-hover) ease, text-decoration-color var(--t-hover) ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-list a:hover {
    color: var(--field-ink);
    text-decoration-color: currentColor;
  }
}

.footer-close {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.footer-wordmark {
  width: 100%;
  height: auto;
  overflow: visible;
}

.footer-wordmark text {
  fill: var(--field-ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 112px;
  letter-spacing: -0.02em;
}

.footer-legal {
  font-size: var(--step-small);
  color: var(--field-muted);
}

/* ---------- MOTION LAYER (LOAD <= 1.2S + SCROLL REVEALS, REDUCED-MOTION SAFE) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-line] {
    transform: translateY(105%);
    animation: load-line 820ms var(--ease-expo) forwards;
    animation-delay: calc(80ms + var(--i) * var(--stagger-line));
  }

  .js .hero [data-load] {
    opacity: 0;
    transform: translateY(16px);
    animation: load-rise 560ms var(--ease-out) forwards;
    animation-delay: var(--d);
  }

  .js .hero [data-open] {
    clip-path: inset(0 0 100% 0);
    animation: load-open 980ms var(--ease-in-out) 120ms forwards;
  }

  .js .hero [data-open] .hero__video {
    transform: scale(1.07);
    animation: load-settle 1100ms var(--ease-expo) 100ms forwards;
  }

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity var(--t-reveal) var(--ease-expo), transform var(--t-reveal) var(--ease-expo);
  }

  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
}

@keyframes load-line { to { transform: none; } }
@keyframes load-rise { to { opacity: 1; transform: none; } }
@keyframes load-open { to { clip-path: inset(0); } }
@keyframes load-settle { to { transform: none; } }

/* ---------- TABLET (<= 1024px) ---------- */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .hero__grid,
  .intro__grid,
  .section-bar,
  .estimator,
  .booking__grid {
    grid-template-columns: 1fr;
  }

  .section-note {
    justify-self: start;
  }

  .hero__media {
    aspect-ratio: 16 / 10;
    max-height: 56svh;
  }

  .intro__media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mosaic--top,
  .mosaic--bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mosaic .exhibit img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .mosaic__a,
  .mosaic__f {
    grid-column: 1 / -1;
  }

  .mosaic__a img,
  .mosaic__f img {
    aspect-ratio: 16 / 10;
  }

  .ledger__item {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr) auto;
  }

  .ledger__cat {
    display: none;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- PHONE (<= 600px, OWN COMPOSITION) ---------- */
@media (max-width: 600px) {
  :root {
    --gap-section: 5.5rem;
  }

  .site-nav {
    padding-block: 0.9rem;
  }

  .nav-link--mess {
    display: none;
  }

  .hero {
    padding-top: 0.5rem;
    padding-bottom: 2rem;
  }

  .hero__grid {
    gap: 1.5rem;
  }

  .hero__copy {
    gap: 1.15rem;
  }

  .hero__actions {
    flex-direction: column;
    gap: 0.7rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
    padding-top: 0.5rem;
  }

  .hero__fact:last-child {
    grid-column: 1 / -1;
  }

  .hero__media {
    aspect-ratio: 4 / 3;
    max-height: 40svh;
  }

  .hero__video {
    object-position: center 48%;
  }

  .staircase__row--2 {
    padding-left: 1rem;
  }

  .staircase__row--3 {
    padding-left: 2rem;
  }

  .intro__media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mosaic--top,
  .mosaic--bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mosaic__a,
  .mosaic__f {
    grid-column: 1 / -1;
  }

  .mosaic__a img,
  .mosaic__f img {
    aspect-ratio: 16 / 10;
  }

  .mosaic .exhibit img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .stepper__presets {
    margin-left: 0;
  }

  .estimator__row {
    flex-direction: column;
    gap: 0.25rem;
  }

  .estimator__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .ledger__item {
    grid-template-columns: 1fr auto;
    gap: 0.25rem 0.75rem;
    padding: 0.72rem 0.9rem;
  }

  .ledger__note {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: var(--step-small);
  }

  .form__row--2,
  .form__row--3,
  .slip__details {
    grid-template-columns: 1fr;
  }

  .form__actions {
    flex-direction: column;
  }

  .form__actions .btn,
  .form__actions .btn--submit {
    flex: 0 0 auto;
    width: 100%;
  }

  .visit-card__row {
    flex-direction: column;
    gap: 0.2rem;
  }

  .visit-card__row dd {
    text-align: left;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
