.inside-outer {
  --room-bg: oklch(96.5% 0.012 40); --room-fg: var(--fg); --room-muted: oklch(44% 0.02 40); --room-line: oklch(86% 0.014 40);
  --th: calc(100svh - var(--nav-h) - 7.5rem);
  --caption-room: 6rem;
  position: relative;
  background: var(--room-bg);
  color: var(--room-fg);
  transition: background-color 1.2s var(--ease-out), color 1.2s var(--ease-out);
}
.inside-outer[data-room="lodge"] { --room-bg: oklch(23% 0.022 50); --room-fg: var(--bg); --room-muted: var(--ink-muted); --room-line: oklch(36% 0.02 50); }
.inside-outer[data-room="cottages"] { --room-bg: oklch(95.5% 0.016 130); --room-fg: var(--fg); --room-muted: oklch(42% 0.02 130); --room-line: oklch(85% 0.018 130); }
.inside-outer[data-room="kitchen"] { --room-bg: oklch(20% 0.02 60); --room-fg: var(--bg); --room-muted: var(--ink-muted); --room-line: oklch(34% 0.018 60); }

.inside-stage { position: sticky; top: 0; height: 100svh; overflow: clip; display: grid; grid-template-rows: auto minmax(0, 1fr); padding-top: var(--nav-h); }
.inside-outer .eyebrow, .inside-outer .eyebrow .num { color: inherit; }

.inside-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); padding: var(--space-3) var(--gutter); border-bottom: var(--hairline) solid var(--room-line); transition: border-color 1.2s; }
.inside-rooms { display: flex; gap: var(--space-5); }
.inside-rooms button {
  position: relative; min-height: var(--tap); padding: 0 var(--space-1); border: 0; background: none; color: inherit; font-size: var(--fs-small); cursor: pointer;
}
.inside-rooms button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: var(--hairline); background: currentColor; transform: scaleX(var(--p, 0)); transform-origin: left; }
.inside-rooms button:hover { text-decoration: underline; text-underline-offset: 6px; }

.inside-track { display: flex; align-items: stretch; gap: clamp(var(--space-6), 5vw, var(--space-8)); width: max-content; height: 100%; padding: var(--space-5) var(--gutter); will-change: transform; }
.room-group, .room-shots { display: flex; align-items: stretch; gap: clamp(var(--space-6), 5vw, var(--space-8)); }

.inside-plate { flex: none; width: clamp(20rem, 32vw, 32rem); display: grid; gap: var(--space-4); align-content: center; }
.inside-plate h2, .inside-plate h3 { font-size: var(--fs-h1); }
.inside-plate .tagline { font-family: var(--font-display); font-style: italic; font-size: var(--fs-h3); line-height: var(--lh-snug); }
.inside-plate p { color: var(--room-muted); font-size: var(--fs-lead); max-width: 28rem; }
.inside-plate .hint { font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: var(--track-caps); text-transform: uppercase; }
.plate-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-block: var(--hairline) solid var(--room-line); }
.plate-facts div { padding: var(--space-3) var(--space-2) var(--space-3) 0; }
.plate-facts dt { font-family: var(--font-mono); font-size: var(--fs-caption); letter-spacing: 0.06em; text-transform: uppercase; color: var(--room-muted); }
.plate-facts dd { margin: var(--space-1) 0 0; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.15; }
.inside-plate .link { justify-self: start; }

.shot { --ih: calc((var(--th) - var(--caption-room)) * var(--sz)); flex: none; width: calc(var(--ih) * var(--ar)); margin: 0; align-self: var(--align, center); }
.shot-img { position: relative; overflow: hidden; clip-path: inset(0 100% 0 0); transition: clip-path 1.3s var(--ease-in-out); }
.shot.is-seen .shot-img { clip-path: inset(0 0 0 0); }
.shot-img img { width: 100%; height: auto; }
.shot-open { position: absolute; inset: 0; z-index: 1; padding: 0; border: 0; background: none; cursor: pointer; }
.shot-open:focus-visible { outline-offset: -4px; outline-color: var(--surface); }
.shot figcaption { min-height: 3.2rem; padding-top: var(--space-2); font-size: var(--fs-small); }
.shot figcaption b { display: block; font-family: var(--font-display); font-weight: var(--weight-regular); font-size: 1.3rem; line-height: 1.2; }
.shot figcaption span { color: var(--room-muted); }

.spot { position: absolute; z-index: 2; left: var(--x); top: var(--y); translate: -50% -50%; display: grid; place-items: center; width: var(--tap); height: var(--tap); padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.spot b { position: relative; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); color: var(--fg); font-family: var(--font-mono); font-size: var(--fs-caption); font-weight: var(--weight-regular); transition: background-color var(--dur-fast), color var(--dur-fast), transform var(--dur-med) var(--ease-out); }
.spot::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: var(--hairline) solid var(--surface); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(0.7); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.spot:hover b, .spot.is-active b { background: var(--fg); color: var(--bg); transform: scale(1.12); }
.spot:focus-visible { outline-color: var(--surface); }

@media (max-height: 760px) { .inside-outer { --caption-room: 8rem; } }
@media (max-width: 860px) {
  .room-group[data-mood="lodge"] { --room-bg: oklch(23% 0.022 50); --room-fg: var(--bg); --room-muted: var(--ink-muted); --room-line: oklch(36% 0.02 50); }
  .room-group[data-mood="cottages"] { --room-bg: oklch(95.5% 0.016 130); --room-fg: var(--fg); --room-muted: oklch(42% 0.02 130); --room-line: oklch(85% 0.018 130); }
  .room-group[data-mood="kitchen"] { --room-bg: oklch(20% 0.02 60); --room-fg: var(--bg); --room-muted: var(--ink-muted); --room-line: oklch(34% 0.018 60); }
  .inside-outer { background: var(--bg); height: auto !important; }
  .inside-stage { position: static; height: auto; overflow: visible; display: block; padding-top: 0; }
  .inside-bar { display: none; }
  .inside-track { display: block; width: auto; height: auto; padding: 0; transform: none !important; }
  .inside-plate { width: auto; padding: var(--section-y) var(--gutter) var(--space-5); }
  .room-group { display: block; padding-bottom: var(--space-7); background: var(--room-bg); color: var(--room-fg); }
  .room-group .inside-plate { padding-top: var(--space-7); }
  .room-shots { gap: var(--space-4); overflow-x: auto; scroll-snap-type: x proximity; padding-inline: var(--gutter); scrollbar-width: none; }
  .shot { --ih: 58svh; width: min(calc(var(--ih) * var(--ar)), 84vw); align-self: start; scroll-snap-align: center; }
  .shot-img { clip-path: none; }
  .inside-end { padding-block: var(--space-7); }
}
@media (prefers-reduced-motion: reduce) {
  .inside-outer, .shot-img { transition: none; }
  .shot-img { clip-path: none; }
  .spot::before { animation: none; }
}
