/* Quinta da Curva — Place-led · Douro Valley · Portugal
   ------------------------------------------------------------
   A short-house ledger set on the schist terraces above Pinhão.
   Visual system:
     • Palette: stone-wall warm earth #E9DFCE / schist ink #2E2A24
       / vine green #4A5D3A / river-fog blue #7E93A0 /
       harvest gold #C8963E (accent only).
     • Typography: Fraunces (display, optical sizing) + Karla (body).
     • Signature motion:
         1. Hero: 2-frame carousel with fog-mask crossfade
            (radial mask wipes the next frame in from the centre).
         2. Place-led railway: a CSS-gradient track is drawn from
            left to right as the user scrolls through the
            "By train" panel.
     • Radii ≤4px. No parchment / glass / pseudo-stamps. The
       site is built like a field ledger carried up the terraces.
   ------------------------------------------------------------ */

/* ---------- Webfonts (OFL) ---------- */
@font-face {
  font-family: "Fraunces";
  src:
    url("fonts/fraunces-latinext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: "Fraunces";
  src:
    url("fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+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: "Karla";
  src: url("fonts/karla-latinext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: "Karla";
  src: url("fonts/karla-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ---------- */
:root {
  /* Locked palette */
  --stone:        #E9DFCE;   /* base paper / terrace */
  --stone-2:      #DDD0B7;   /* shadowed terrace */
  --stone-3:      #F1E9D9;   /* lifted terrace */
  --schist:       #2E2A24;   /* ink: schist wall */
  --schist-soft:  #5A5045;   /* secondary ink */
  --vine:         #4A5D3A;   /* vine leaf green */
  --vine-deep:    #3A4A2E;   /* dark vine */
  --fog:          #7E93A0;   /* river fog blue */
  --fog-pale:     #B6C2CB;   /* pale fog */
  --gold:         #C8963E;   /* harvest gold (accent only) */
  --gold-pale:    #E0B968;   /* aged gold */

  /* Surfaces */
  --paper:        #E9DFCE;
  --paper-2:      #ECE3D2;
  --ink:          #2E2A24;
  --ink-soft:     #6A5F50;
  --ink-mute:     #5A5045;  /* AA on paper ~5.9:1 (was #948773 at 2.66:1); every text consumer sits on a light band — the .day band sets paper text itself */

  /* Day-band surfaces (river fog gradient full-band) */
  --night-1:      #1F2A2F;
  --night-2:      #2A3A40;
  --night-3:      #3B4F56;

  /* Rules */
  --rule-on-paper:   rgba(46,42,36,0.18);
  --rule-thin:       rgba(46,42,36,0.10);
  --rule-on-dark:    rgba(233,223,206,0.22);

  /* Display sizes */
  --max:        1240px;
  --gut:        clamp(1rem, 2.4vw, 1.6rem);

  /* Fonts */
  --display: "Fraunces", "Songti SC", "Source Han Serif SC", "Noto Serif SC", "PingFang SC", serif;
  --body:    "Karla", "PingFang SC", "Noto Sans SC", "Hiragino Sans", system-ui, sans-serif;
}

/* ---------- Reset & defaults ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto;
    *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
  }
}
html, body { overflow-x: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--vine-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--schist); }

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

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 90;
  background: var(--schist); color: var(--paper);
  padding: 0.6rem 1rem; font-family: var(--display); font-weight: 500;
  border-radius: 2px;
  transition: top 160ms ease-out;
}
.skip:focus-visible { top: 1rem; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 500;
  max-width: 26ch;
}
h3 {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 600;
}
p { margin: 0 0 1rem; max-width: 56ch; }
.muted { color: var(--ink-mute); }

em.q { font-style: italic; font-family: var(--display); font-weight: 500; }
.tabular { font-variant-numeric: tabular-nums; }

/* Section label */
.eyebrow {
  margin: 0 0 0.9rem;
  display: inline-flex; align-items: baseline; gap: 0.7rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.eyebrow::before {
  content: "";
  width: 1.6rem; height: 0;
  border-top: 1px solid currentColor;
  display: inline-block;
  transform: translateY(-4px);
}
.dark-band .eyebrow { color: rgba(233,223,206,0.62); }


/* ============================================================
   1. HERO — fog-mask crossfade carousel (100svh, two frames)
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  background: #0e1414;
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  /* FOG MASK transition: mask radial wipes from centre */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, #000 0%, transparent 0%);
          mask-image: radial-gradient(circle at 50% 50%, #000 0%, #000 0%, transparent 0%);
  transition: opacity 1100ms ease-in-out, -webkit-mask-image 1400ms cubic-bezier(.4,.05,.2,1);
}
.hero-slide.is-current {
  opacity: 1;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 100%, #000 100%, transparent 100%);
          mask-image: radial-gradient(circle at 50% 50%, #000 100%, #000 100%, transparent 100%);
}
/* Fallback: no mask support = plain crossfade */
@supports not ((-webkit-mask-image: none) or (mask-image: none)) {
  .hero-slide { transition: opacity 1100ms ease-in-out; }
  .hero-slide.is-current { opacity: 1; }
}

/* Bottom-only scrim so headline reads, photo lives above */
.hero::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 42%;
  background:
    linear-gradient(180deg,
      rgba(14,20,20,0.10) 0%,
      rgba(14,20,20,0.45) 22%,
      rgba(14,20,20,0.78) 60%,
      rgba(14,20,20,0.88) 100%);
  z-index: 1; pointer-events: none;
}

/* No-JS fallback */
.hero-nojs .hero-slide { display: none; }
.hero-nojs .hero-slide.is-current { display: block; opacity: 1; }
.hero-nojs .hero-controls { display: none; }

/* Masthead: floating band with thin gold rule underneath */
.masthead {
  position: absolute;
  z-index: 6;
  top: 0; left: 0; right: 0;
  padding: 1.2rem var(--gut) 0;
  display: flex; justify-content: center;
}
.masthead-inner {
  width: min(100%, var(--max));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 0.85rem 1.3rem;
  background: rgba(14,20,20,0.55);
  border: 1px solid rgba(233,223,206,0.18);
  border-radius: 2px;
}
.wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: 1.1rem;
  letter-spacing: 0.005em;
  margin: 0;
  color: var(--paper);
  white-space: nowrap;
}
.wordmark .accent { color: var(--gold); font-style: italic; font-weight: 600; }
.masthead .signal {
  margin: 0;
  text-align: center;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(233,223,206,0.78);
}
.masthead .signal span + span::before { content: "·"; margin: 0 0.5em; color: rgba(233,223,206,0.42); }

.masthead nav { display: flex; align-items: center; gap: 1.1rem; }
.masthead nav a {
  color: rgba(233,223,206,0.86);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.35rem 0;
}
.masthead nav a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.lang-switch {
  display: flex; gap: 0.6rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(233,223,206,0.18);
}
.lang-switch a {
  color: rgba(233,223,206,0.72);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.lang-switch a[aria-current="page"] { color: var(--paper); font-weight: 700; }
.lang-switch a:hover { color: var(--paper); }

/* Hero text — bottom-left, inside scrim */
.hero-text {
  position: absolute;
  z-index: 4;
  left: var(--gut);
  right: var(--gut);
  bottom: clamp(3.4rem, 9vh, 6rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(1rem, 3vw, 3rem);
  color: var(--paper);
  pointer-events: none;
}
.hero-text > * { pointer-events: auto; }
.hero-eyebrow {
  margin: 0 0 0.9rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(233,223,206,0.92);
}
.hero-eyebrow .accent { color: var(--gold); }
.hero h1 {
  color: var(--paper);
  font-weight: 400;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.4);
}
.hero-tagline {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: rgba(233,223,206,0.88);
  max-width: 40ch;
  text-shadow: 0 1px 14px rgba(0,0,0,0.45);
}

.hero-controls {
  position: absolute;
  z-index: 7;
  right: var(--gut);
  bottom: clamp(3.4rem, 9vh, 6rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(233,223,206,0.92);
}
.hero-arrows { display: flex; gap: 0.4rem; }
.hero-arrows button {
  appearance: none;
  width: 40px; height: 40px;
  border-radius: 2px;
  border: 1px solid rgba(233,223,206,0.40);
  background: transparent;
  color: rgba(233,223,206,0.92);
  font: inherit;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease-out, color 160ms ease-out;
}
.hero-arrows button:hover { background: rgba(233,223,206,0.14); color: var(--paper); }
.hero-arrows button:active { transform: scale(0.96); }
.hero-dots { display: flex; gap: 0.5rem; align-items: center; }
.hero-dots button {
  appearance: none;
  width: 22px; height: 4px;
  border: 0; border-radius: 2px;
  background: rgba(233,223,206,0.32);
  cursor: pointer; padding: 0;
  transition: background 160ms ease-out, width 200ms ease-out;
}
.hero-dots button.is-current {
  background: rgba(233,223,206,0.92);
  width: 38px;
}
.hero-pause {
  appearance: none;
  width: 32px; height: 32px;
  border-radius: 2px;
  border: 1px solid rgba(233,223,206,0.40);
  background: transparent;
  color: rgba(233,223,206,0.92);
  font: inherit;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  display: grid; place-items: center;
}
.hero-pause:hover { background: rgba(233,223,206,0.14); color: var(--paper); }

/* Hero season-status pill (bottom-left, above text) */
.hero-status {
  position: absolute;
  z-index: 4;
  left: var(--gut);
  top: clamp(7.5rem, 14vh, 10rem);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.8rem;
  background: rgba(14,20,20,0.55);
  border: 1px solid rgba(200,150,62,0.55);
  color: var(--paper);
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
}
.hero-status .pulse {
  width: 0.55em; height: 0.55em;
  background: var(--gold);
  border-radius: 50%;
  animation: qdc-pulse 2.6s ease-in-out infinite;
}
@keyframes qdc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.72); }
}


/* ============================================================
   2. FACT-BAND — bone, BELOW the hero (place-led: where first)
   ============================================================ */
.fact-band {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--rule-on-paper);
}
.fact-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.4rem, 3vh, 2.2rem) var(--gut);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.8rem, 2.4vw, 2rem);
}
.fact-item {
  padding: 0 1rem;
  border-left: 1px solid var(--rule-on-paper);
}
.fact-item:first-child { padding-left: 0; border-left: 0; }
.fact-item .fact-key {
  display: block;
  margin: 0 0 0.35rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  /* ink-mute (#948773 on paper #E9DFCE) measured ~2.66:1 — too light.
     schist-soft (#5A5045) gives ~5.91:1 while staying in the muted ink palette. */
  color: var(--schist-soft);
}
.fact-item .fact-val {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.3;
}
/* Inner span (e.g. inline color:var(--gold) accent text on paper #E9DFCE).
   Original gold (#C8963E) on paper measured ~2.00:1 — below 4.5:1.
   schist-soft (#5A5045) on paper #E9DFCE measures ~5.95:1, staying in the
   muted ink palette so it still feels "ink-with-accent" against the body. */
.fact-item .fact-val > span {
  color: var(--schist-soft) !important;
  font-style: italic;
  font-weight: 600;
}


/* ============================================================
   3. PLACE — the river bend, schist, terracing (place-led)
   ============================================================ */
.place {
  background: var(--paper-2);
  color: var(--ink);
  padding: clamp(5rem, 8vw, 7.5rem) var(--gut);
}
.place-inner { max-width: var(--max); margin: 0 auto; }
.place-head { margin-bottom: clamp(2.2rem, 4.4vw, 3.4rem); padding-top: clamp(0.8rem, 1.6vw, 1.4rem); border-top: 1px solid var(--rule-on-paper); }
.place-head h2 { margin: 0 0 0.7rem; max-width: none; }
/* .place-head > .eyebrow sits on .place bg paper-2 (#ECE3D2).
   Default .eyebrow used ink-mute (#948773) → 2.78:1 — fail.
   schist-soft (#5A5045) on paper-2 #ECE3D2 measures ~6.16:1, matches
   the .fact-key round-1 fix in this palette. */
.place-head > .eyebrow { color: var(--schist-soft); }
.place-head .place-sub {
  margin: 0; color: var(--ink-soft); font-family: var(--display); font-style: italic; font-weight: 400;
  max-width: 60ch; font-size: 1.08rem; line-height: 1.55;
}

.place-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.8rem, 4.4vw, 3.6rem);
  align-items: start;
}
.place-copy p { color: var(--schist-soft); font-size: 1.02rem; line-height: 1.78; max-width: 50ch; }
.place-copy p + p { margin-top: 0.8rem; }
.place-copy .place-lead {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.18rem;
  color: var(--ink);
  line-height: 1.5;
  max-width: 44ch;
  margin-bottom: 1rem;
}
.place-copy strong { color: var(--vine-deep); font-weight: 600; }

.place-plate {
  margin: 0;
  display: grid;
  gap: 0.8rem;
}
.place-plate-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--stone-2);
  border: 1px solid var(--rule-on-paper);
  box-shadow: 0 22px 44px -28px rgba(46,42,36,0.32);
  overflow: hidden;
}
.place-plate-frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.94) contrast(0.98);
}
.place-plate-caption {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.86rem;
  /* Was ink-mute (#948773) on paper-2 (#ECE3D2) ~2.78:1 — fail.
     schist-soft (#5A5045) on paper-2 #ECE3D2 is ~6.16:1, keeps the
     italic display-style caption as muted ink rather than pure ink. */
  color: var(--schist-soft);
  letter-spacing: 0.02em;
  text-align: right;
}

/* "In numbers" stat strip — Douro at a glance */
.place-stats {
  margin-top: clamp(3rem, 6vw, 4.6rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule-on-paper);
  border-bottom: 1px solid var(--rule-on-paper);
}
.stat {
  padding: 1.4rem 1.2rem 1.3rem;
  border-left: 1px solid var(--rule-on-paper);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .figure {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--ink);
  line-height: 1;
}
.stat .figure .unit {
  /* On .place bg paper-2 (#ECE3D2). Was gold (#C8963E) ~2.07:1 — fail.
     vine-deep (#3A4A2E) on paper-2 #ECE3D2 is ~7.41:1 and stays in the
     accent palette (vine family) instead of switching to plain ink. */
  color: var(--vine-deep);
  font-size: 0.6em;
  margin-left: 0.18em;
  font-style: italic;
  font-weight: 600;
}
.stat > .label {
  margin: 0.5rem 0 0;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /* On .place bg paper-2 (#ECE3D2). Was ink-mute (#948773) ~2.78:1 — fail.
     schist-soft (#5A5045) on paper-2 #ECE3D2 is ~6.16:1, same muted-ink
     lift as round-1 .fact-key. Scoped to .stat > so other .label uses
     stay untouched. */
  color: var(--schist-soft);
}


/* ============================================================
   4. ROOMS — 5-room left ledger + right 4:5 stone-room plate
   ============================================================ */
.rooms {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(5rem, 8vw, 7.5rem) var(--gut);
  border-top: 1px solid var(--rule-on-paper);
}
.rooms-inner { max-width: var(--max); margin: 0 auto; }
.rooms-head { margin-bottom: clamp(2.2rem, 4.4vw, 3.4rem); padding-top: clamp(0.8rem, 1.6vw, 1.4rem); border-top: 1px solid var(--rule-on-paper); }
.rooms-head h2 { margin: 0 0 0.6rem; max-width: none; }
.rooms-head .rooms-sub {
  margin: 0; color: var(--ink-soft);
  font-family: var(--display); font-style: italic; font-weight: 400;
  max-width: 50ch; font-size: 1.06rem;
}
.rooms-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.room-ledger { list-style: none; margin: 0; padding: 0; }
.room-ledger-item {
  display: grid;
  grid-template-columns: 3.8rem minmax(0, 1fr);
  gap: clamp(0.8rem, 2vw, 1.4rem);
  padding: clamp(1.4rem, 2.6vw, 1.9rem) 0;
  border-top: 1px solid var(--rule-on-paper);
}
.room-ledger-item:last-child { border-bottom: 1px solid var(--rule-on-paper); }
.room-ledger-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: 1.1rem;
  color: var(--ink-mute);
}
.room-ledger-body { min-width: 0; }
.room-ledger-name {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: clamp(1.15rem, 1.5vw, 1.32rem);
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.room-ledger-name em {
  font-style: italic;
  font-weight: 400;
  color: var(--vine-deep);
  margin-right: 0.4rem;
}
.room-ledger-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem 1.1rem;
  margin: 0 0 0.7rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.room-ledger-row dt {
  display: block;
  margin: 0 0 0.2rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.room-ledger-row dd { display: block; margin: 0; }
.room-ledger-price {
  display: inline-block;
  margin: 0.1rem 0 0.7rem;
  padding: 0.18rem 0.6rem;
  background: var(--schist);
  color: var(--paper);
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}
.room-ledger-blurb {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 50ch;
}

/* Room photo plate — only place where shadow lives */
.room-plate {
  position: relative;
  margin: 0;
}
.room-plate-frame {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--stone-2);
  border: 1px solid var(--rule-on-paper);
  box-shadow: 0 24px 48px -28px rgba(46,42,36,0.32);
  overflow: hidden;
}
.room-plate-frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}
.room-plate-caption {
  margin: 0.8rem 0 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.84rem;
  color: var(--ink-mute);
}


/* ============================================================
   5. A DAY — deep river-fog gradient band, no photos
   ============================================================ */
.day {
  position: relative;
  background: linear-gradient(180deg, var(--night-1) 0%, var(--night-2) 45%, var(--night-3) 100%);
  color: var(--paper);
  padding: clamp(5rem, 9vw, 8rem) var(--gut);
  overflow: hidden;
  isolation: isolate;
}
.day::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 12%, rgba(255,255,255,0.05) 0%, transparent 36%),
    radial-gradient(circle at 82% 88%, rgba(126,147,160,0.10) 0%, transparent 38%);
  pointer-events: none;
  z-index: -1;
}
.day-inner { max-width: var(--max); margin: 0 auto; }
.day-head { margin-bottom: clamp(2rem, 4.4vw, 3.4rem); padding-top: clamp(0.8rem, 1.6vw, 1.4rem); border-top: 1px solid rgba(233,223,206,0.18); }
.day-head .eyebrow { color: rgba(233,223,206,0.62); }
.day-head h2 { color: var(--paper); margin: 0 0 0.6rem; max-width: none; }
.day-head .day-sub {
  margin: 0;
  color: rgba(233,223,206,0.75);
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  max-width: 56ch;
  font-size: 1.06rem;
}

.day-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.day-col {
  padding: clamp(1.3rem, 2.6vw, 1.9rem) clamp(1rem, 1.6vw, 1.4rem);
  border-left: 1px solid rgba(233,223,206,0.18);
}
.day-col:first-child { border-left: 0; padding-left: 0; }
.day-time {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  color: var(--paper);
  letter-spacing: -0.005em;
  line-height: 1;
}
.day-name {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-size: 1.08rem;
  color: var(--gold-pale);
}
.day-note {
  margin: 0 0 0.7rem;
  font-family: var(--body);
  font-size: 0.92rem;
  line-height: 1.62;
  color: rgba(233,223,206,0.78);
  max-width: 32ch;
}
.day-note em { font-family: var(--display); font-style: italic; color: var(--paper); font-weight: 400; }


/* ============================================================
   6. TABLE — long table ledger (food & wine)
   ============================================================ */
.table {
  background: var(--paper-2);
  color: var(--ink);
  padding: clamp(5rem, 8vw, 7.5rem) var(--gut);
  border-top: 1px solid var(--rule-on-paper);
}
.table-inner { max-width: var(--max); margin: 0 auto; }
.table-head { margin-bottom: clamp(2rem, 4vw, 3rem); padding-top: clamp(0.8rem, 1.6vw, 1.4rem); border-top: 1px solid var(--rule-on-paper); }
.table-head h2 { margin: 0 0 0.6rem; max-width: none; }
.table-head .table-sub {
  margin: 0; color: var(--ink-soft);
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: 1.06rem; max-width: 56ch;
}

/* Menu-style ledger */
.menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
}
.menu-col { padding-top: 0.6rem; border-top: 1px solid var(--rule-on-paper); }
.menu-col-title {
  margin: 0 0 0.4rem;
  padding-top: 0.4rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vine-deep);
}
.menu-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 0.5rem 0.7rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule-on-paper);
}
.menu-item:last-child { border-bottom: 0; }
.menu-name {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: 1.06rem;
  color: var(--ink);
  letter-spacing: 0;
  white-space: nowrap;
}
.menu-name em {
  font-style: italic;
  font-weight: 400;
  color: var(--vine-deep);
  margin-right: 0.35rem;
}
.menu-leader {
  border-bottom: 1px dotted rgba(46,42,36,0.30);
  align-self: end;
  margin: 0 0 0.45em;
  min-width: 1rem;
}
.menu-price {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-variant-numeric: tabular-nums;
  font-size: 1.06rem;
  color: var(--ink);
  white-space: nowrap;
}
.menu-desc {
  grid-column: 1 / -1;
  margin: -0.2rem 0 0.2rem;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Long table callout — sits across the menu */
.table-callout {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.4rem, 2.4vw, 1.8rem);
  background: var(--schist);
  color: var(--paper);
  border-radius: 2px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.4rem);
  align-items: center;
}
.table-callout .copy h3 {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: clamp(1.15rem, 1.5vw, 1.32rem);
  color: var(--paper);
  margin: 0 0 0.4rem;
}
.table-callout .copy p { margin: 0; color: rgba(233,223,206,0.82); font-size: 0.96rem; line-height: 1.6; }
.table-callout .price-tag {
  text-align: right;
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  color: var(--paper);
}
.table-callout .price-tag .figure {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1;
}
.table-callout .price-tag .figure .currency { color: var(--gold); font-style: italic; font-weight: 500; }
.table-callout .price-tag .per {
  margin: 0.3rem 0 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(233,223,206,0.62);
}


/* ============================================================
   7. BY TRAIN — railway signature (scroll-driven horizontal line)
   ============================================================ */
.train {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(5rem, 8vw, 7.5rem) var(--gut);
  border-top: 1px solid var(--rule-on-paper);
}
.train-inner { max-width: var(--max); margin: 0 auto; }
.train-head { margin-bottom: clamp(2rem, 4vw, 3rem); padding-top: clamp(0.8rem, 1.6vw, 1.4rem); border-top: 1px solid var(--rule-on-paper); }
.train-head h2 { margin: 0 0 0.6rem; max-width: none; }
.train-head .train-sub {
  margin: 0; color: var(--ink-soft);
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: 1.06rem; max-width: 56ch;
}

/* The signature: a railway line drawn from left → right
   as the user scrolls into the section. Pure CSS — no JS. */
.train-track {
  position: relative;
  margin: clamp(2rem, 4vw, 3rem) 0 clamp(1.4rem, 3vw, 2rem);
  height: 6px;
  background:
    linear-gradient(90deg, var(--rule-on-paper) 0, var(--rule-on-paper) 100%) no-repeat;
  background-size: 100% 1px;
  background-position: 0 50%;
}
.train-track::before,
.train-track::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 4px;
  background: var(--ink-mute);
  border-radius: 1px;
  opacity: 0;
}
.train-track::before { left: 0; }
.train-track::after  { right: 0; }

/* The drawn track — animates width on scroll */
.train-line {
  position: absolute;
  left: 0; top: 50%;
  height: 1px;
  width: 0%;
  background: var(--ink);
  transform: translateY(-0.5px);
  transition: width 1100ms cubic-bezier(.5,0,.2,1);
}
.train-line::after {
  /* the train "head" — a small dot that travels with the line tip */
  content: "";
  position: absolute;
  right: -7px; top: 50%;
  width: 12px; height: 12px;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* JS adds [data-progress="1"] when section is in view */
.train.is-drawn .train-line { width: 100%; }
.train.is-drawn .train-track::before,
.train.is-drawn .train-track::after { opacity: 1; }

/* Station pills along the line */
.train-stations {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.2rem 0 0;
}
.station {
  text-align: left;
  padding-right: 1rem;
}
.station .name {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: clamp(1.06rem, 1.4vw, 1.2rem);
  color: var(--ink);
  letter-spacing: -0.005em;
}
.station .name em {
  font-style: italic; font-weight: 400; color: var(--vine-deep); margin-right: 0.3rem;
}
.station .stat {
  margin: 0.3rem 0 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}
.station .note {
  margin: 0.6rem 0 0;
  font-family: var(--body);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 30ch;
}

/* Tile image under the stations — Pinhão azulejos */
.train-plate {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
}
.train-plate-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--stone-2);
  border: 1px solid var(--rule-on-paper);
  box-shadow: 0 20px 40px -26px rgba(46,42,36,0.30);
  overflow: hidden;
}
.train-plate-frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.95) contrast(1.0);
}
.train-plate-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14,20,20,0.25) 100%);
  pointer-events: none;
}
.train-copy h3 {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: clamp(1.18rem, 1.6vw, 1.32rem);
  color: var(--ink);
  margin: 0 0 0.6rem;
}
.train-copy p { margin: 0 0 0.7rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.7; max-width: 48ch; }
.train-copy ul { margin: 0.4rem 0 0; padding: 0; list-style: none; }
.train-copy li {
  display: grid;
  grid-template-columns: 8.4rem minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule-on-paper);
  font-family: var(--body);
  font-size: 0.96rem;
  color: var(--ink);
}
.train-copy li b {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}


/* ============================================================
   8. GETTING HERE — also a road note (N222)
   ============================================================ */
.here {
  background: var(--paper-2);
  color: var(--ink);
  padding: clamp(5rem, 8vw, 7.5rem) var(--gut);
  border-top: 1px solid var(--rule-on-paper);
}
.here-inner { max-width: var(--max); margin: 0 auto; }
.here-head { margin-bottom: clamp(2rem, 4vw, 3rem); padding-top: clamp(0.8rem, 1.6vw, 1.4rem); border-top: 1px solid var(--rule-on-paper); }
.here-head h2 { margin: 0 0 0.6rem; max-width: none; }
.here-head .here-sub {
  margin: 0; color: var(--ink-soft);
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: 1.06rem; max-width: 56ch;
}

.here-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.4rem);
}
.here-cell {
  padding: 1.4rem 1.2rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--rule-on-paper);
  border-radius: 2px;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.here-cell h3 {
  margin: 0;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vine-deep);
}
.here-cell h3 .n { color: var(--ink-mute); font-weight: 500; margin-right: 0.6rem; }
.here-cell p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; line-height: 1.62; }
.here-cell p strong { color: var(--ink); font-weight: 600; }
.here-cell .lead { font-family: var(--display); font-style: italic; font-size: 1.06rem; color: var(--ink); line-height: 1.5; margin: 0.2rem 0 0.3rem; }

/* ============================================================
   9. BOOK + FOOTER — deep schist ink, mailto direct
   ============================================================ */
.book {
  background: var(--schist);
  color: var(--paper);
  padding: clamp(5rem, 9vw, 8rem) var(--gut);
  position: relative;
}
.book-inner { max-width: var(--max); margin: 0 auto; }
.book-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
  border-bottom: 1px solid var(--rule-on-dark);
}
.book-head .eyebrow { color: rgba(233,223,206,0.62); }
.book-head h2 { color: var(--paper); margin: 0 0 0.7rem; max-width: none; font-weight: 400; }
.book-head .book-sub {
  margin: 0;
  color: rgba(233,223,206,0.78);
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: 1.06rem; max-width: 46ch;
}

.book-email { margin: 0; }
.book-email .email-label {
  display: block;
  margin: 0 0 0.5rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(233,223,206,0.62);
}
.book-email .email-addr {
  display: inline-block;
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,150,62,0.65);
  padding-bottom: 0.3rem;
  line-height: 1.2;
  transition: border-color 200ms ease-out, color 200ms ease-out;
}
.book-email .email-addr:hover { color: var(--gold-pale); border-color: var(--gold); }
.book-email .email-note {
  margin: 0.9rem 0 0;
  font-family: var(--body);
  font-size: 0.92rem;
  color: rgba(233,223,206,0.7);
  max-width: 36ch;
  line-height: 1.55;
}

.book-coords {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 4vw, 3.2rem);
  padding-top: clamp(2rem, 4vw, 3rem);
}
.book-coords-block h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(233,223,206,0.62);
  margin: 0 0 0.9rem;
}
.book-coords-block p { margin: 0 0 0.4rem; font-size: 0.96rem; color: rgba(233,223,206,0.88); line-height: 1.5; }
.book-coords-block .lat-long {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: 1.5rem;
  color: var(--paper);
  letter-spacing: 0.02em;
  margin-bottom: 0.7rem !important;
}
.book-coords-block .phone {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  font-size: 1.15rem;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,150,62,0.65);
}
.book-coords-block .phone:hover { color: var(--gold-pale); }

.site-footer {
  background: var(--schist);
  color: rgba(233,223,206,0.7);
  padding: 1.6rem var(--gut) 2.2rem;
  border-top: 1px solid var(--rule-on-dark);
}
.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  font-size: 0.78rem;
}
.site-footer-inner .demo-note {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  margin: 0;
  max-width: 56ch;
  color: rgba(233,223,206,0.78);
}
.site-footer-inner .demo-credit {
  margin: 0; font-size: 0.74rem; letter-spacing: 0.04em;
  color: rgba(233,223,206,0.62);
}
.site-footer-inner a { color: rgba(233,223,206,0.86); text-decoration: underline; text-underline-offset: 3px; }
.site-footer-inner a:hover { color: var(--gold-pale); }


/* ============================================================
   RESPONSIVE — keep DOM order, collapse cleanly
   ============================================================ */
@media (max-width: 1080px) {
  .fact-band-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1rem; }
  .fact-item:nth-child(4) { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule-on-paper); padding-top: 0.9rem; }
  .place-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n+2) { border-top: 0; padding-top: 0; }
  .book-coords { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .masthead-inner { gap: 0.8rem; padding: 0.55rem 0.9rem; grid-template-columns: auto 1fr auto; }
  .masthead .signal { display: none; }
  .masthead nav { gap: 0.7rem; flex-wrap: wrap; }

  .place-grid { grid-template-columns: 1fr; }
  .place-plate { max-width: 480px; margin: 0 auto; }
  .rooms-split { grid-template-columns: 1fr; }
  .room-plate { order: -1; max-width: 480px; margin: 0 auto 2rem; }
  .day-table { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; }
  .day-col { padding: 1.2rem 1.1rem; border-left: 0; border-top: 1px solid rgba(233,223,206,0.18); }
  .day-col:nth-child(odd) { padding-left: 0; }
  .day-col:nth-child(-n+2) { border-top: 0; padding-top: 0; }
  .menu { grid-template-columns: 1fr; }
  .table-callout { grid-template-columns: 1fr; }
  .table-callout .price-tag { text-align: left; }
  .train-stations { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 0; }
  .train-plate { grid-template-columns: 1fr; }
  .here-grid { grid-template-columns: 1fr; }
  .book-head { grid-template-columns: 1fr; align-items: start; gap: 1.6rem; }
  .book-coords { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Touch targets — ≥40×40px (WCAG AA / Apple HIG) */
  .masthead nav a { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 0.5em; }
  .lang-switch a { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 0.5em; }
  /* Book / mailto email CTA */
  .book-email .email-addr { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 0.5em; }
  /* Carousel controls */
  .hero-arrows button { width: 40px; height: 40px; }
  .hero-dots button { width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
}

@media (max-width: 640px) {
  /* The masthead lives INSIDE .hero; absolute + wrapped to three rows it
   * collided with .hero-status. Keep it in the hero's flow on mobile:
   * relative + solid dark + above the slides, status flows right under it. */
  .masthead { position: relative; z-index: 6; padding: 0; background: #0e1414; }
  .masthead-inner {
    border: 0; border-radius: 0;
    border-bottom: 1px solid rgba(233,223,206,0.18);
    background: #0e1414;
    flex-wrap: wrap;
  }
  .hero-status { position: relative; top: auto; left: auto; margin: 0.7rem var(--gut) 0; width: fit-content; }
  .hero { height: auto; min-height: 92svh; }
  .masthead nav { width: 100%; border-top: 1px solid rgba(233,223,206,0.18); padding-top: 0.6rem; margin-top: 0.4rem; }
  .lang-switch { border-left: 0; padding-left: 0; margin-left: auto; }

  .hero-text { grid-template-columns: 1fr; gap: 1rem; bottom: calc(clamp(2.8rem, 8vh, 4.4rem) + 3.1rem); }
  .hero-controls { bottom: clamp(2.8rem, 8vh, 4.4rem); gap: 0.7rem; }
  .hero-arrows button { width: 40px; height: 40px; font-size: 1rem; }
  .hero-dots button { width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
  .hero-dots button.is-current { width: 40px; }
  .hero-pause { width: 28px; height: 28px; font-size: 0.6rem; }
  .hero-status { top: clamp(6rem, 12vh, 8rem); font-size: 0.66rem; padding: 0.3rem 0.6rem; }

  .fact-band-inner { grid-template-columns: 1fr; }
  .fact-item { padding: 0.9rem 0; border-left: 0; border-top: 1px solid var(--rule-on-paper); }
  .fact-item:first-child { padding-top: 0; border-top: 0; }

  .place-stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--rule-on-paper); padding: 1rem 0; }
  .stat:first-child { border-top: 0; padding-top: 0; }

  .room-ledger-item { grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.6rem; }
  .room-ledger-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0.6rem; }

  .day-table { grid-template-columns: 1fr; }
  .day-col {
    padding: 1rem 0 1.1rem !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(233,223,206,0.18) !important;
  }
  .day-col:first-child { border-top: 0 !important; padding-top: 0 !important; }

  .train-stations { grid-template-columns: 1fr; }
  .station { padding: 0.7rem 0; border-top: 1px solid var(--rule-on-paper); }
  .station:first-child { border-top: 0; padding-top: 0; }
  .train-copy li { grid-template-columns: 1fr; gap: 0.2rem; }
  .train-copy li b { margin-bottom: 0.2rem; }

  .site-footer-inner { grid-template-columns: 1fr; }
  .menu-name, .menu-price { font-size: 1rem; }
}

@media (max-width: 380px) {
  .room-ledger-row { grid-template-columns: 1fr; }
}
