/* The Experience. A walk-through in five chapters: outside at night, into the bright bakery,
   then the lights drop. Page classes use the xp- prefix. */

.page-experience main section[id] { scroll-margin-top: 84px; }

/* ---------- Page type ---------- */

.xp-num {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(104px, 15vw, 220px);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: var(--gold);
  user-select: none;
  pointer-events: none;
}
/* Gold-foil numerals that fade into the dark. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .xp-num {
    background: linear-gradient(180deg, #f0d9a8 0%, #d9b87a 42%, #6f5024 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.xp-title {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.015em;
}
.xp-title em {
  font-style: italic;
  color: var(--pink);
  text-shadow: 0 0 22px rgba(255, 79, 160, 0.35);
}
.xp-title-xl {
  font-size: clamp(50px, 9vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.xp-copy {
  margin-top: 22px;
  max-width: 44ch;
  color: var(--muted);
  font-size: 17px;
}

.xp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 79, 160, 0.6);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.xp-link:hover { color: var(--pink-soft); border-color: var(--pink-soft); }

:where(.page-experience) figure { margin: 0; min-width: 0; }

/* ---------- Hero: the door ---------- */

.xp-hero {
  padding-bottom: clamp(16px, 3vw, 32px);
  background:
    radial-gradient(50% 55% at 80% 36%, rgba(146, 72, 255, 0.22), transparent 68%),
    radial-gradient(45% 50% at 0% 100%, rgba(255, 79, 160, 0.12), transparent 70%),
    var(--ink);
}
.xp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.xp-hero-copy { min-width: 0; }
.xp-hero h1 { font-size: clamp(50px, 7.4vw, 108px); }
.xp-hero h1 em { display: block; }
.xp-hero .lede { max-width: 44ch; }

.xp-hero-media {
  position: relative;
  width: 100%;
  max-width: 420px;
  justify-self: end;
  padding-bottom: 6%;
}

/* Arched doorway frame, echoed by a thin gold outline. */
.xp-arch { position: relative; }
.xp-arch::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(217, 184, 122, 0.32);
  border-radius: 50% 50% calc(var(--radius) + 10px) calc(var(--radius) + 10px) / 40% 40% calc(var(--radius) + 10px) calc(var(--radius) + 10px);
  pointer-events: none;
}
.xp-arch .slot {
  border-radius: 50% 50% var(--radius) var(--radius) / 40% 40% var(--radius) var(--radius);
  border-color: rgba(255, 79, 160, 0.35);
  box-shadow: 0 0 0 8px rgba(255, 79, 160, 0.05), 0 40px 100px -30px rgba(146, 72, 255, 0.6);
}

/* Neon medallion with the club's line circling it. */
.xp-medal {
  position: absolute;
  left: -16%;
  bottom: 0;
  z-index: 2;
  width: 50%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ink) 62%, rgba(11, 8, 8, 0.94) 100%);
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -18px rgba(255, 79, 160, 0.45);
}
.xp-medal-img {
  position: absolute;
  top: 17%;
  left: 17%;
  width: 66%;
  height: 66%;
  object-fit: cover;
  border-radius: 50%;
  background: #2a1838;
  box-shadow: 0 0 0 1px rgba(255, 79, 160, 0.6), 0 0 30px rgba(186, 92, 255, 0.55);
}
.xp-medal-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: xp-spin 48s linear infinite;
}
.xp-medal-ring text {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  fill: var(--gold);
}
@keyframes xp-spin { to { transform: rotate(360deg); } }

/* Chapter index */
.xp-index { margin-top: clamp(56px, 8vw, 104px); }
.xp-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.xp-index li { min-width: 0; border-left: 1px solid var(--line); }
.xp-index li:first-child { border-left: 0; }
.xp-index a {
  display: grid;
  gap: 6px;
  height: 100%;
  padding: 22px 18px 24px;
  text-decoration: none;
}
.xp-index li:first-child a { padding-left: 0; }
.xp-index-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1;
  color: var(--gold);
}
.xp-index-name {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.1;
  transition: color 0.2s ease;
}
.xp-index-note { font-size: 13px; color: var(--muted); }
.xp-index a:hover .xp-index-name { color: var(--pink-soft); }

/* ---------- I. Enter: the bright bakery ---------- */

.xp-enter {
  background: var(--cream);
  color: #1b1314;
}
.xp-enter .eyebrow { color: #7a5a26; }
.xp-enter .xp-num { color: #7a5a26; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .xp-enter .xp-num {
    color: transparent;
    background-image: linear-gradient(180deg, #1b1314 0%, #5a4021 55%, #b8945a 100%);
  }
}
.xp-enter .xp-title em { color: #b0144f; text-shadow: none; }
.xp-enter .xp-copy { color: #4a3d36; }
.xp-enter .slot {
  border-color: rgba(27, 19, 20, 0.12);
  background: linear-gradient(160deg, #e6d8c4 0%, #cdbba3 100%);
}
.xp-enter :focus-visible { outline-color: #1b1314; }

.xp-enter-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.xp-enter-copy {
  grid-column: 1 / 6;
  min-width: 0;
  padding-top: clamp(8px, 2vw, 24px);
}
.xp-enter-copy .xp-num { margin: 0 0 22px -0.04em; }

.xp-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(27, 19, 20, 0.15);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a3d36;
}
.xp-note a { color: #b0144f; text-underline-offset: 4px; }
.xp-dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 79, 160, 0.18), 0 0 14px rgba(255, 79, 160, 0.8);
}

.xp-enter-media {
  grid-column: 7 / 13;
  position: relative;
  min-width: 0;
  padding-bottom: 14%;
}
/* A matte print laid over the main frame, like a snapshot from the counter. */
.xp-enter-print {
  position: absolute;
  left: -20%;
  bottom: 0;
  z-index: 2;
  width: 50%;
  padding: 10px 10px 40px;
  border-radius: 4px;
  background: #fffaf2;
  box-shadow: 0 30px 60px -24px rgba(27, 19, 20, 0.5), 0 0 0 1px rgba(27, 19, 20, 0.06);
  transform: rotate(-3deg);
}
.xp-enter-print .slot {
  aspect-ratio: 1 / 1;
  object-position: 50% 40%;
  border-radius: 2px;
}
.xp-enter-print figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: #4a3d36;
}
/* The night photo glows pink against the cream, the way the sign spills onto the sidewalk. */
.xp-enter-main .slot { box-shadow: 0 40px 90px -40px rgba(176, 20, 79, 0.55); }

/* The way in: three frames that step down toward the corridor. */
.xp-walk-head {
  margin-top: clamp(64px, 9vw, 120px);
  padding-top: 18px;
  border-top: 1px solid rgba(27, 19, 20, 0.15);
}
.xp-walk {
  list-style: none;
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1fr);
  column-gap: clamp(16px, 3vw, 40px);
  align-items: start;
}
.xp-walk-step { min-width: 0; }
.xp-walk-step:nth-child(2) { margin-top: 12%; }
.xp-walk-step:nth-child(3) { margin-top: 30%; }
.xp-walk-frame { position: relative; margin: 0; min-width: 0; }
.xp-walk-night .slot {
  object-position: 40% 50%;
  box-shadow: 0 34px 80px -34px rgba(255, 79, 160, 0.7);
}
.xp-walk-video {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(27, 19, 20, 0.12);
  background: linear-gradient(160deg, #e6d8c4 0%, #cdbba3 100%);
  box-shadow: 0 30px 60px -30px rgba(27, 19, 20, 0.45);
}
.xp-walk-video video { width: 100%; height: 100%; object-fit: cover; }
.xp-walk-text { min-width: 0; padding-top: 16px; }
.xp-walk-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1b1314;
}
.xp-walk-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: #7a5a26;
}
.xp-walk-note {
  margin-top: 6px;
  max-width: 32ch;
  font-size: 15px;
  line-height: 1.5;
  color: #4a3d36;
}

/* ---------- The lights drop ---------- */

.xp-corridor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  height: clamp(240px, 30vw, 380px);
  padding-bottom: 4px;
  background: linear-gradient(to bottom, var(--cream) 0%, #b9a893 16%, #4a3a35 44%, #171111 70%, var(--ink) 100%);
}
.xp-corridor-line {
  flex: 1;
  width: 1px;
  background: linear-gradient(to bottom, rgba(27, 19, 20, 0.5), rgba(217, 184, 122, 0.75));
}
.xp-corridor-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}
.xp-corridor-mark {
  width: 64px;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(255, 79, 160, 0.65));
  animation: xp-buzz 7s steps(1, end) infinite;
}
@keyframes xp-buzz {
  0%, 100% { opacity: 1; }
  91% { opacity: 1; }
  92% { opacity: 0.45; }
  93% { opacity: 1; }
  95% { opacity: 0.6; }
  96% { opacity: 1; }
}

/* ---------- II. Reveal ---------- */

.xp-reveal {
  padding-top: clamp(28px, 4vw, 48px);
  background: var(--ink);
}
/* Title card: the numeral sits behind the headline like a watermark. */
.xp-reveal-head {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  text-align: center;
  padding-block: clamp(32px, 6vw, 80px);
}
.xp-reveal-head .xp-num {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
  font-size: clamp(220px, 36vw, 480px);
  background: none;
  color: rgba(217, 184, 122, 0.055);
}

.xp-reveal-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
  margin-top: clamp(32px, 5vw, 64px);
}
.xp-reveal-main { grid-column: 1 / 8; }
.xp-reveal-main .slot { box-shadow: 0 50px 120px -50px rgba(255, 79, 160, 0.45); }
.xp-reveal-side {
  grid-column: 9 / 13;
  min-width: 0;
  padding-top: clamp(80px, 16vw, 240px);
}
.xp-reveal-side .slot {
  aspect-ratio: 1 / 1;
  object-position: 50% 62%;
}

/* ---------- III. The room ---------- */

.xp-room {
  background:
    radial-gradient(55% 45% at 92% 8%, rgba(150, 20, 45, 0.24), transparent 70%),
    radial-gradient(40% 40% at 0% 92%, rgba(217, 184, 122, 0.07), transparent 70%),
    var(--ink-2);
}
.xp-room-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: clamp(20px, 4vw, 56px);
  margin-bottom: clamp(48px, 7vw, 88px);
}
.xp-room-intro { min-width: 0; }
.xp-room-intro .xp-copy { margin-top: 18px; }

.xp-room-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.xp-room-index { min-width: 0; }

.xp-inventory { margin: 16px 0 0; counter-reset: xp-item; }
.xp-inventory > div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 8px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
  counter-increment: xp-item;
}
.xp-inventory > div:last-child { border-bottom: 1px solid var(--line); }
.xp-inventory > div::before {
  content: counter(xp-item, decimal-leading-zero);
  grid-row: 1 / 3;
  padding-top: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.xp-inventory dt {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
}
.xp-inventory dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

.xp-room-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(12px, 1.6vw, 20px);
  min-width: 0;
}
.xp-room-a { grid-column: 1 / -1; }
.xp-room-a .slot { aspect-ratio: 1 / 1; object-position: 50% 22%; }
/* Two staggered columns: short over tall on the left, tall over short on the right. */
.xp-room-col {
  display: grid;
  gap: clamp(12px, 1.6vw, 20px);
  min-width: 0;
}
.xp-room-col-r { margin-top: 22%; }
.xp-room-tall .slot { aspect-ratio: 9 / 16; }
.xp-room-cart .slot { object-position: 50% 62%; }

/* ---------- IV. The night ---------- */

.xp-night {
  background:
    radial-gradient(50% 50% at 15% 60%, rgba(255, 79, 160, 0.14), transparent 70%),
    var(--ink);
}
.xp-night-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.xp-night-intro { min-width: 0; }
.xp-night .xp-title-xl { font-size: clamp(46px, 7.4vw, 112px); }
.xp-night-head .xp-num { text-align: right; }

.xp-night-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 3.4vw, 48px);
  align-items: start;
}
.xp-night .slot { aspect-ratio: 3 / 4; }
.xp-night-a .slot { box-shadow: 0 40px 100px -40px rgba(255, 79, 160, 0.5); }
.xp-night-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(12px, 1.6vw, 20px);
  min-width: 0;
}
.xp-night-side .xp-copy {
  grid-column: 1 / -1;
  margin: 0 0 clamp(12px, 3vw, 36px);
}
.xp-night-c { margin-top: 32%; }

.xp-week {
  list-style: none;
  margin: clamp(56px, 8vw, 96px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.xp-week li {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  padding: 24px 20px 26px;
  border-left: 1px solid var(--line);
}
.xp-week li:first-child { border-left: 0; padding-left: 0; }
.xp-week-day {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.xp-week-name {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
}
.xp-week-note { color: var(--muted); font-size: 14px; }

.xp-night-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}
.xp-night-foot .fineprint { max-width: 72ch; }

/* ---------- V. The patio ---------- */

.xp-patio {
  position: relative;
  overflow: hidden;
  padding-top: clamp(104px, 13vw, 176px);
  background: linear-gradient(180deg, var(--ink) 0%, #0c0b16 16%, #0e0b10 50%, var(--ink) 100%);
}
.xp-lights {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 90;
}
.xp-lights path { fill: none; stroke: rgba(243, 233, 218, 0.28); stroke-width: 1.2; }
.xp-halos circle {
  fill: rgba(255, 206, 140, 0.22);
  animation: xp-twinkle 3.6s ease-in-out infinite alternate;
}
.xp-halos circle:nth-child(3n) { animation-delay: -1.2s; }
.xp-halos circle:nth-child(3n + 1) { animation-delay: -2.4s; }
.xp-bulbs circle { fill: #ffdcaa; }
@keyframes xp-twinkle {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

.xp-patio-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
.xp-patio-media {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding-bottom: 8%;
}
.xp-patio-frame {
  width: 76%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 206, 140, 0.35);
  background: var(--ink-3);
  box-shadow: 0 0 0 6px rgba(255, 206, 140, 0.05), 0 40px 100px -30px rgba(255, 170, 90, 0.35);
}
.xp-patio-video { width: 100%; height: 100%; object-fit: cover; }
.xp-patio-print {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 46%;
}
.xp-patio-print .slot {
  object-position: 50% 72%;
  border: 6px solid var(--ink);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85);
}

/* Under the pergola: one wide frame, two portraits. The wide frame takes the row height. */
.xp-patio-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: clamp(56px, 8vw, 104px);
}
.xp-patio-wide { grid-column: span 2; min-height: 200px; }
.xp-patio-wide .slot {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: auto;
  object-position: 50% 84%;
}
.xp-patio-chairs .slot { object-position: 50% 62%; }
.xp-patio-lanterns .slot { object-position: 50% 90%; }
.xp-patio-copy { min-width: 0; }
.xp-patio-copy .xp-num { margin: 0 0 22px -0.04em; }

.xp-stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.xp-stat-fig {
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  font-variant-numeric: lining-nums;
}
.xp-stat-label {
  max-width: 18ch;
  text-wrap: balance;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Gallery ---------- */

.xp-gallery {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
}
.xp-gallery .section-head h2 em,
.page-experience .cta-band h2 em {
  font-style: italic;
  color: var(--pink);
  text-shadow: 0 0 22px rgba(255, 79, 160, 0.4);
}

/* ---------- Good to know ---------- */

.xp-know { background: var(--ink); }
.xp-know-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.xp-know-head { min-width: 0; }
.xp-know-head .hours { margin-top: 36px; }
.xp-know-head .hours div { align-items: baseline; }
.xp-know-head .hours dd { font-family: var(--serif); font-weight: 500; font-size: 22px; }

.xp-know-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 44px);
}
.xp-know-list li {
  min-width: 0;
  padding-block: 22px 26px;
  border-top: 1px solid var(--line);
}
.xp-know-list h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.15;
}
.xp-know-list p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.xp-know-list a { color: var(--cream); text-underline-offset: 3px; }
.xp-know-list a:hover { color: var(--pink-soft); }
.xp-todos { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Responsive ---------- */

/* The list is ~840–870px tall (taller near 1024px wide): only pin it when the whole list fits under the scrolled header. */
@media (min-width: 1021px) and (min-height: 980px) {
  .xp-room-index { position: sticky; top: 96px; }
}
/* Laptop heights: tighten the list (~690px) so it still pins beside the photo column. */
@media (min-width: 1021px) and (min-height: 800px) and (max-height: 979px) {
  .xp-room-index { position: sticky; top: 92px; }
  .xp-inventory { margin-top: 12px; }
  .xp-inventory > div { padding-block: 8px; }
  .xp-inventory > div::before { padding-top: 5px; }
  .xp-inventory dt { font-size: 19px; }
  .xp-inventory dd { font-size: 13.5px; }
}

@media (max-width: 1020px) {
  .xp-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .xp-index a { padding-inline: 14px; }
  .xp-index-name { font-size: 21px; }
  .xp-index-note { font-size: 12px; }

  .xp-enter-copy { grid-column: 1 / 7; }
  .xp-enter-media { grid-column: 7 / 13; }
  .xp-enter-print { left: -6%; width: 52%; }

  .xp-reveal-main { grid-column: 1 / 8; }
  .xp-reveal-side { grid-column: 8 / 13; }

  .xp-room-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

  .xp-week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xp-week li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .xp-week li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .xp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .xp-hero-media {
    justify-self: center;
    width: 76%;
    max-width: 340px;
    margin-left: 10%;
  }

  .xp-index ol { grid-template-columns: minmax(0, 1fr); }
  .xp-index li { border-left: 0; border-bottom: 1px solid var(--line); }
  .xp-index a {
    grid-template-columns: 44px auto minmax(0, 1fr);
    align-items: baseline;
    gap: 12px;
    padding: 16px 0;
  }
  .xp-index-note { text-align: right; }

  .xp-enter-grid { grid-template-columns: minmax(0, 1fr); }
  .xp-enter-copy,
  .xp-enter-media { grid-column: 1 / -1; }
  .xp-enter-media {
    width: 100%;
    max-width: 620px;
    margin: 48px 0 0 auto;
    padding-bottom: 18%;
  }
  .xp-enter-main { width: 82%; margin-left: auto; }
  .xp-enter-print { left: 0; width: 50%; }

  .xp-reveal-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .xp-reveal-main,
  .xp-reveal-side { grid-column: 1 / -1; }
  .xp-reveal-main { width: 88%; }
  .xp-reveal-main figcaption { top: 12px; bottom: auto; }
  .xp-reveal-side { display: grid; padding-top: 0; }
  .xp-reveal-side .xp-link { justify-self: start; }
  .xp-reveal-side .slot {
    position: relative;
    z-index: 2;
    justify-self: end;
    width: 58%;
    margin-top: -26%;
    border: 6px solid var(--ink);
  }

  .xp-room-head { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .xp-room-grid { grid-template-columns: minmax(0, 1fr); }
  .xp-room-media { width: 100%; max-width: 640px; margin-left: auto; }

  .xp-night-head { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .xp-night-head .xp-num { order: -1; text-align: left; }
  .xp-night-grid { grid-template-columns: minmax(0, 1fr); }
  .xp-night-a { max-width: 640px; }

  .xp-patio-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .xp-patio-copy { order: -1; }
  .xp-patio-media { justify-self: center; max-width: 400px; }

  .xp-know-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 760px) {
  .xp-know-list { grid-template-columns: minmax(0, 1fr); }
  .xp-copy { font-size: 16px; }
  .xp-walk-note { font-size: 14px; }
  .xp-patio-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xp-patio-wide { aspect-ratio: 16 / 10; min-height: 0; }
  /* Bigger bulbs on small screens: the strand runs past both edges. */
  .xp-lights { left: -45%; width: 190%; }
  .xp-patio { padding-top: clamp(120px, 30vw, 160px); }
}

/* Phones: the walk becomes a zig-zag, frame on one side and its note on the other. */
@media (max-width: 600px) {
  .xp-walk { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .xp-walk-step,
  .xp-walk-step:nth-child(2),
  .xp-walk-step:nth-child(3) {
    display: grid;
    grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
    column-gap: 16px;
    align-items: end;
    margin-top: 0;
  }
  .xp-walk-step:nth-child(2) { grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); }
  .xp-walk-step:nth-child(2) .xp-walk-frame { grid-column: 2; grid-row: 1; }
  .xp-walk-step:nth-child(2) .xp-walk-text { grid-column: 1; grid-row: 1; text-align: right; }
  .xp-walk-step:nth-child(2) .xp-walk-label { justify-content: flex-end; }
  .xp-walk-step:nth-child(2) .xp-walk-note { margin-left: auto; }
  .xp-walk-text { padding-top: 0; padding-bottom: 4px; }
  .xp-walk-label { flex-direction: column; align-items: flex-start; gap: 6px; }
  .xp-walk-step:nth-child(2) .xp-walk-label { align-items: flex-end; }
}

@media (max-width: 420px) {
  .xp-hero-media { width: 80%; margin-left: 12%; }
  .xp-index a { grid-template-columns: 36px auto minmax(0, 1fr); gap: 10px; }
  .xp-index-name { font-size: 19px; }

  .xp-enter-main { width: 88%; }
  .xp-enter-print { width: 54%; padding: 7px 7px 32px; }
  .xp-enter-print figcaption { font-size: 14px; bottom: 7px; }

  .xp-inventory dt { font-size: 20px; }
  .page-experience .tile figcaption { font-size: 11px; letter-spacing: 0.12em; }

  .xp-week { grid-template-columns: minmax(0, 1fr); }
  .xp-week li,
  .xp-week li:nth-child(odd) { border-left: 0; padding-inline: 0; }
  .xp-week li + li { border-top: 1px solid var(--line); }

  .xp-patio-frame { width: 78%; }
}

@media (prefers-reduced-motion: reduce) {
  .xp-medal-ring,
  .xp-corridor-mark,
  .xp-halos circle { animation: none; }
  .xp-link,
  .xp-index-name { transition: none; }
}
