/* MSCHF Resort (& Motel) — v6 hi-fi
   Colors, type and effects come straight from the Figma style tile. */

@font-face {
  font-family: "Anton";
  src: url("../fonts/Anton-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --pink: #e41d78;
  --pink-dark: #a8104f;
  --yellow: #f2e354;
  --yellow-light: #fff6b0;
  --lilac: #c4bced;
  --lilac-light: #ece8fb;
  --blue: #11a0d9;
  --blue-dark: #0a6f9c;
  --green: #08b14b;
  --green-dark: #057a33;
  --ink: #1b1464;
  --paper: #fffdf7;
  --white: #ffffff;

  --sunset: linear-gradient(180deg, #ffa53c 0%, #e41d78 100%);
  --sea: linear-gradient(180deg, #11a0d9 0%, #08b14b 100%);
  --gloss-blue: linear-gradient(180deg, #7ddcff 0%, #11a0d9 50%, #0a6f9c 100%);
  --gloss-green: linear-gradient(180deg, #7ef0a4 0%, #08b14b 50%, #057a33 100%);
  --gloss-pink: linear-gradient(180deg, #ff8cc0 0%, #e41d78 50%, #a8104f 100%);

  --shadow-hard: 4px 4px 0 var(--ink);
  --shadow-drop: 0 2px 3px rgba(27, 20, 100, 0.35);
  --bevel: inset 1px 1px 0 #fff, inset -1px -1px 0 rgba(27, 20, 100, 0.4);
  --inset: inset 1px 1px 2px rgba(27, 20, 100, 0.25);

  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --sans: "Arimo", Arial, "Liberation Sans", Helvetica, sans-serif;
  --serif: "Times New Roman", Times, "Liberation Serif", serif;
  --pixel: "Silkscreen", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font: 14px/1.35 var(--sans);
  padding: 14px 0 40px;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

.page {
  width: 1200px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--ink);
  overflow: hidden;
}

/* ---------- Header ---------- */
.topbar {
  display: flex; align-items: center; gap: 5px;
  background: #ebebeb; border-bottom: 1px solid #b3b3b3;
  padding: 3px 8px; font-size: 10px; color: #000;
}
.topbar .spacer { flex: 1; }
.topbar a { color: #1a1a1a; }
.topbar .sep { color: #808080; }

.masthead {
  display: flex; align-items: center; gap: 12px;
  background: var(--pink); padding: 10px 12px;
}
.masthead .brand { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.masthead .brand img { width: 382px; height: auto; }
.masthead .brand span { color: #fff; font-size: 14px; }
.masthead .spacer { flex: 1; }
.header-ad {
  position: relative; width: 468px; height: 98px;
  border: 1px solid #808080; overflow: hidden; display: block;
  background: #d9d9d9 url("../img/header-ad.png") center / cover;
}
.header-ad .cta {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: var(--sunset); color: #fff; font: 28px var(--sans);
  padding: 5px 18px; white-space: nowrap; text-decoration: none;
}
.header-ad:hover .cta { filter: brightness(1.08); }

.nav {
  display: flex; height: 28px; background: var(--blue);
}
.nav a {
  display: flex; align-items: center; padding: 0 20px;
  border-right: 1px solid var(--blue-dark);
  color: #fff; font: bold 15px Arial, var(--sans); text-transform: uppercase; text-decoration: none;
}
.nav a:hover { background: var(--blue-dark); }
.nav a.active { background: var(--white); color: var(--ink); }

.mobilebar, .mobile-menu { display: none; }

/* ---------- Footer ---------- */
.ticker {
  overflow: hidden; white-space: nowrap; background: var(--white);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  color: var(--pink); font: italic bold 18px var(--sans); padding: 8px 0;
}
.ticker .track { display: inline-block; animation: scroll 40s linear infinite; }
.ticker.pink-bg { background: var(--pink); border: 0; padding: 0; }
.ticker.pink-bg .inner { background: #fff; padding: 8px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker .track, .tape .track { animation: none; } }

.footer {
  background: var(--sea); color: #fff; text-align: center; padding: 14px 10px 24px;
  font-size: 11px;
}
.footer nav { font-size: 12px; margin-bottom: 8px; }
.footer nav a { color: #fff; text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
.footer nav .sep { opacity: .6; margin: 0 5px; }
.footer p { margin: 4px 0; }
.badges { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.badge {
  display: flex; height: 26px; border: 1px solid #000; font: 7px var(--pixel); letter-spacing: 1px;
}
.badge b { background: #2a2a2a; color: #fff; padding: 0 8px; display: flex; align-items: center; font-weight: normal; }
.badge i { background: #eee; color: var(--ink); padding: 0 8px; display: flex; align-items: center; font-style: normal; }

/* ---------- Shared UI kit ---------- */
.panel { background: #fff; border: 1px solid var(--ink); }
.panel-head {
  background: var(--gloss-blue); color: #fff; padding: 4px 8px;
  font: bold 15px Arial, var(--sans); text-transform: uppercase;
}
.panel-body { padding: 8px; }

.btn-gloss {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  background: var(--gloss-green); border: 1px solid var(--green-dark); border-radius: 5px;
  box-shadow: var(--shadow-drop); color: #fff; font: bold 14px var(--sans);
  padding: 6px 14px; min-height: 30px; cursor: pointer; text-decoration: none; overflow: hidden;
}
.btn-gloss::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 45%;
  background: rgba(255, 255, 255, .28); border-radius: 4px 4px 0 0; pointer-events: none;
}
.btn-gloss:hover { filter: brightness(1.07); }
.btn-gloss:active { transform: translateY(1px); }
.btn-gloss.big { font: bold 18px Arial, var(--sans); border-radius: 9px; min-height: 44px; padding: 10px 26px; }
.btn-gloss.small { font-size: 12px; min-height: 24px; padding: 3px 12px; border-radius: 4px; }

.btn-flat {
  display: inline-block; background: var(--pink); border: 3px solid var(--yellow);
  box-shadow: var(--shadow-hard); color: #fff; font: 28px Arial, var(--sans);
  padding: 12px 22px; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn-flat:hover { background: var(--pink-dark); }

.btn-plain {
  background: var(--lilac-light); border: 1px solid var(--ink); color: var(--ink);
  padding: 3px 10px; font-size: 12px; cursor: pointer; text-decoration: none; display: inline-block;
}
.btn-plain:hover { background: var(--lilac); }

.field, .select {
  height: 22px; border: 1px solid var(--ink); background: #fff; box-shadow: var(--inset);
  font-size: 12px; padding: 0 4px; color: var(--ink); border-radius: 0;
}
.select {
  appearance: none; -webkit-appearance: none; padding-right: 22px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='22'%3E%3Crect x='0.5' y='0' width='17.5' height='22' fill='%23ece8fb' stroke='%231b1464'/%3E%3Cpath d='M5 9h8l-4 5z' fill='%231b1464'/%3E%3C/svg%3E") right center no-repeat;
}
textarea.field { height: auto; padding: 4px; resize: vertical; }
.field:focus, .select:focus { outline: 2px solid var(--blue); outline-offset: 0; }

.tag { display: inline-block; background: var(--yellow); color: var(--ink); font: bold 14px var(--sans); padding: 3px 8px; }

.burst {
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  background: url("../img/burst.svg") center / contain no-repeat;
  color: var(--pink); font-family: var(--display); text-align: center; line-height: .95;
}

.ph { /* grey wireframe photo box — stays until real photos */
  position: relative; background: #d9d9d9; border: 1px solid #808080; overflow: hidden;
}
.ph::before, .ph::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 140%; height: 1px; background: #999;
  transform-origin: center;
}
.ph::before { transform: translate(-50%, -50%) rotate(var(--a, 36deg)); }
.ph::after { transform: translate(-50%, -50%) rotate(calc(var(--a, 36deg) * -1)); }
.ph span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10px; color: #555; z-index: 1; }

.display { font-family: var(--display); font-weight: normal; color: var(--ink); line-height: 1; margin: 0; }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--ink); padding-left: 6px; }
.tabs button, .tabs a {
  background: var(--gloss-blue); color: #fff; border: 1px solid var(--blue-dark); border-bottom: 0;
  border-radius: 4px 4px 0 0; font-size: 11px; padding: 3px 10px; cursor: pointer; text-decoration: none;
}
.tabs .active { background: #fff; color: var(--ink); font-weight: bold; border-color: var(--ink); position: relative; top: 1px; }

.gutter-gif { position: absolute; width: 30px; height: 40px; image-rendering: pixelated; }

/* ---------- Home ---------- */
.home-row { position: relative; display: flex; gap: 60px; padding: 20px 16px; }
.module { background: #fff; border: 2px solid var(--ink); }
.module-head {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--ink); padding: 8px 12px;
}
.module-head h2 { margin: 0; font: bold 24px var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.module-head .icons { display: flex; gap: 0; }
.module-head .icons img { width: 30px; height: 30px; }

.vacancy { width: 680px; height: 580px; flex: none; position: relative; }
.vacancy .stage { position: relative; height: 420px; margin: 12px 10px 0; border: 1px solid var(--ink); overflow: hidden; }
.vacancy .stage > img.photo { width: 100%; height: 100%; object-fit: cover; }
.vacancy .tag { position: absolute; left: 10px; top: 10px; }
.vacancy-word {
  position: absolute; left: 14px; top: 228px; margin: 0;
  font: 150px/1 var(--display); letter-spacing: 0;
  background: linear-gradient(0deg, #08b14b 26%, #11a0d9 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 3px var(--paper); paint-order: stroke fill;
  filter: drop-shadow(4px 4px 0 var(--ink));
}
.vacancy .burst { position: absolute; left: 488px; top: 236px; width: 180px; height: 180px; font-size: 41px; transform: rotate(-14deg); }
.check-vacancy {
  position: absolute; left: 362px; top: 12px; width: 280px;
  border: 1px solid var(--ink); filter: drop-shadow(3px 4px 3px rgba(0, 0, 0, .35));
}
.check-vacancy .panel-body { background: var(--lilac); display: grid; gap: 7px; padding: 10px; }
.check-vacancy .row { display: flex; align-items: center; gap: 5px; font-size: 12px; }
.check-vacancy label { font-weight: bold; width: 58px; flex: none; }
.check-vacancy .select { flex: 1; }
.check-vacancy .go { padding-top: 4px; }
.check-vacancy .go .btn-gloss { width: 100%; }
.vacancy .ctas { position: absolute; left: 178px; top: 495px; display: flex; gap: 12px; align-items: center; }
.vacancy .ctas .btn-gloss { width: 170px; height: 40px; }

.rooms { flex: 1; height: 580px; display: flex; flex-direction: column; }
.rooms .tabhead { border-bottom: 2px solid var(--ink); display: flex; }
.rooms .tabhead div {
  flex: 1; background: var(--lilac-light); border: 2px solid var(--ink); border-bottom: 0;
  padding: 12px 14px 10px; font: bold 15px Arial, var(--sans); text-transform: uppercase; margin: -2px -2px 0;
}
.room-grid { display: grid; grid-template-columns: repeat(2, 190px); gap: 14px; padding: 14px 14px 6px; }
.room-card { text-decoration: none; }
.room-card .thumb { position: relative; width: 190px; height: 190px; }
.room-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.room-card .thumb .view {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  background: var(--ink); color: #fff; font: bold 15px Arial, var(--sans); text-transform: uppercase;
  padding: 8px 18px; white-space: nowrap;
}
.room-card:hover .view { background: var(--pink); }
.room-card p { margin: 6px 0 0; font: bold 13px var(--sans); }
.fineprint { font: italic 12px var(--sans); margin: 4px 14px 0; }

.tape {
  overflow: hidden; white-space: nowrap; background: var(--yellow);
  font: bold 13px var(--sans); padding: 6px 0;
}
.tape .track { display: inline-block; animation: scroll 30s linear infinite; }
.tape .track span { margin-right: 16px; }

.home-bottom { background: var(--pink); padding: 0 8px 12px; display: flex; gap: 8px; align-items: flex-start; }
.home-bottom .panel { flex: none; }
.shop-strip { display: flex; gap: 4px; }
.shop-strip .ph { width: 125px; height: 104px; }
.slots { width: 100%; border-collapse: collapse; font-size: 12px; }
.slots td { padding: 3px 6px; }
.slots tr:nth-child(even) td { background: var(--lilac-light); }
.slots td:last-child { text-align: right; font-weight: bold; }
.slots tr.full td { color: #8b84c4; }
.slots-foot { background: var(--green); color: #fff; font-size: 11px; padding: 4px 6px; }
.steps { list-style: none; margin: 0; padding: 4px 8px; }
.steps li { display: flex; align-items: center; gap: 8px; font: bold 13px var(--sans); padding: 6px 0; }
.steps li b { font: 28px/1 var(--display); }

/* ---------- Booking ---------- */
.two-col { display: flex; gap: 10px; padding: 8px 8px 12px; align-items: flex-start; }
.two-col .main { flex: 1; min-width: 0; }
.two-col .side { width: 182px; flex: none; display: grid; gap: 14px; }
.page-title { font: 46px/1.05 var(--display); color: var(--ink); margin: 6px 0 6px; }
.step { border: 1px solid var(--ink); margin-bottom: 8px; background: #fff; }
.step .panel-head { font-size: 14px; }
.step .panel-body { padding: 8px; }
.form-row { display: flex; align-items: center; gap: 6px; font-size: 12px; margin: 6px 0; }
.form-row > label:first-child { width: 96px; text-align: right; font-weight: bold; flex: none; }
.day-pick { display: flex; gap: 5px; flex-wrap: wrap; }
.day-pick label { cursor: pointer; }
.day-pick input { position: absolute; opacity: 0; pointer-events: none; }
.day-pick span { display: inline-block; border: 1px solid var(--ink); background: var(--lilac-light); padding: 2px 8px; font-size: 11px; }
.day-pick input:checked + span { background: var(--ink); color: #fff; }
.day-pick input:focus-visible + span { outline: 2px solid var(--blue); }
table.grid { width: 100%; border-collapse: collapse; font-size: 11px; }
table.grid th { background: var(--lilac); text-align: left; padding: 5px 6px; border: 1px solid var(--ink); }
table.grid td { padding: 4px 6px; border: 1px solid var(--ink); background: #fff; }
table.grid tr:nth-child(even) td { background: var(--lilac-light); }
table.grid tr.full td { color: #9a95c4; }
.note { font: italic 11px var(--sans); margin: 6px 0 0; }
.cards { display: flex; gap: 6px; }
.cards span { border: 1px solid var(--ink); font: 7px var(--pixel); padding: 2px 5px; background: #fff; }
.submit-row { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.submit-row .grow { flex: 1; }
.summary dl { display: grid; grid-template-columns: auto auto; margin: 0; font-size: 11px; gap: 4px 6px; }
.summary dd { margin: 0; text-align: right; font-weight: bold; }
.summary .total { border-top: 1px solid var(--ink); padding-top: 4px; margin-top: 2px; font-weight: bold; }
.summary .total dd { font: bold 16px var(--serif); }
.side .burst { width: 100px; height: 100px; margin: 0 auto; font-size: 28px; transform: rotate(10deg); }
.side .burst small { font: bold 9px var(--sans); }
.side ul { margin: 0; padding: 0; list-style: none; font-size: 11px; }
.side ul li { margin: 3px 0; }

/* Confirmation */
.thanks { position: relative; background: var(--pink); height: 128px; overflow: hidden; }
.thanks h1 {
  position: absolute; left: 20px; top: 0; margin: 0; font: 118px/1.08 var(--display);
  background: linear-gradient(180deg, #c4bced 0%, #e41d78 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 3px var(--yellow); paint-order: stroke fill;
}
.thanks .burst { position: absolute; left: 500px; top: 8px; width: 140px; height: 140px; font-size: 30px; transform: rotate(-10deg); }
.thanks .burst small { font: bold 10px var(--sans); }
.confirm-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.confirm-table th { width: 125px; background: var(--lilac); text-align: left; padding: 6px; border: 1px solid var(--ink); }
.confirm-table td { padding: 6px; border: 1px solid var(--ink); }
.confirm-table tr:nth-child(even) td { background: var(--lilac-light); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(5, 184px); gap: 18px 8px; padding: 8px 10px; }
.shot { background: none; border: 0; padding: 0; cursor: pointer; text-align: center; }
.shot .frame { border: 1px solid var(--ink); box-shadow: 0 2px 0 var(--ink); padding: 3px; background: #fff; }
.shot .ph, .shot img { width: 100%; height: 128px; object-fit: cover; }
.shot small { display: block; font: 10px "Courier New", monospace; color: #6c6c9c; margin-top: 4px; }
.pager { text-align: center; font-size: 11px; padding: 6px 0 12px; }
.pager a { text-decoration: none; margin: 0 3px; }

/* "Microsoft Internet Explorer" pop-up window, reused for gallery + room close-ups */
.popup-backdrop {
  position: fixed; inset: 0; background: rgba(27, 20, 100, .45);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 16px;
}
.popup-backdrop.open { display: flex; }
.popup {
  width: 620px; max-width: 100%; background: var(--paper); border: 1px solid var(--ink);
  box-shadow: 3px 4px 6px rgba(0, 0, 0, .35);
}
.popup .titlebar {
  display: flex; align-items: center; background: var(--gloss-blue); color: #fff;
  font: bold 11px var(--sans); padding: 4px 4px 4px 8px;
}
.popup .titlebar span { flex: 1; }
.popup .titlebar button {
  width: 18px; height: 16px; margin-left: 3px; padding: 0; border: 1px solid var(--ink);
  background: var(--lilac-light); color: var(--ink); font: bold 9px var(--sans); cursor: pointer;
}
.popup .body { padding: 12px 14px 14px; }
.popup .viewport { border: 1px solid #808080; background: #d9d9d9; aspect-ratio: 590 / 400; position: relative; overflow: hidden; }
.popup .viewport img { width: 100%; height: 100%; object-fit: cover; }
.popup .caption { margin: 8px 0 0; font-size: 12px; }
.popup .caption b { display: block; font-size: 14px; }
.popup .actions { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }

/* ---------- Gift shop ---------- */
.shop-hero { position: relative; height: 112px; overflow: hidden; }
.shop-hero h1 { position: absolute; left: 14px; top: 0; font: 84px/1 var(--display); margin: 0; color: var(--ink); z-index: 1; }
.shop-hero .tape { position: absolute; left: -20px; top: 66px; width: 760px; transform: rotate(4deg); padding: 4px 0; font-size: 12px; }
.shop-hero .burst { position: absolute; left: 340px; top: 4px; width: 92px; height: 92px; font-size: 28px; z-index: 2; transform: rotate(8deg); }
.shop-hero .burst small { font: bold 9px var(--sans); }
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 8px 10px; }
.product { position: relative; border: 1px solid var(--ink); background: #fff; padding: 4px 4px 12px; text-align: center; }
.product .ph { height: 116px; }
.product h3 { margin: 6px 0 2px; font: bold 11px var(--sans); }
.price { font: bold 15px var(--serif); }
.price s { font: 10px var(--sans); color: #6c6c9c; margin-right: 4px; }
.product .btn-gloss { margin-top: 4px; }
.flag-new { position: absolute; left: -2px; top: -8px; background: var(--ink); color: #fff; font: 10px var(--display); padding: 1px 5px; transform: rotate(-8deg); z-index: 2; letter-spacing: .5px; }
.stamp-sold { position: absolute; left: 10px; top: 30px; font: 28px var(--display); color: var(--pink); transform: rotate(14deg); -webkit-text-stroke: 1px #fff; z-index: 2; }
.burst.hot { position: absolute; right: 20px; top: -10px; width: 50px; height: 50px; font-size: 18px; z-index: 2; }
.cartbar { margin: 6px 10px 12px; border: 1px solid var(--ink); background: var(--lilac-light); display: flex; padding: 5px 8px; font-size: 11px; }
.cartbar b { flex: 1; }

/* Product page */
.pdp { display: flex; gap: 14px; padding: 10px; }
.pdp .media { width: 300px; flex: none; position: relative; }
.pdp .media .ph { height: 300px; }
.pdp .thumbs { display: grid; grid-template-columns: repeat(4, 70px); gap: 5px; margin-top: 5px; }
.pdp .thumbs .ph { height: 70px; }
.pdp .media .burst { position: absolute; right: -14px; top: -6px; width: 64px; height: 64px; font-size: 22px; transform: rotate(8deg); }
.pdp .media .burst small { font: bold 7px var(--sans); }
.pdp .info { flex: 1; }
.pdp .buybox { border: 1px solid var(--ink); background: var(--lilac-light); padding: 8px; margin: 10px 0; }
.pdp .tabpanel { border: 1px solid var(--ink); padding: 6px; font-size: 11px; background: #fff; }
.also { padding: 0 10px 10px; }
.also h4 { margin: 4px 0; font-size: 11px; }
.also .row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.also a { border: 1px solid var(--ink); text-align: center; padding: 4px; text-decoration: none; font: bold 10px var(--sans); background: #fff; }
.also .ph { height: 66px; width: 76px; margin: 0 auto 3px; }

/* ---------- Manifesto ---------- */
.prose { font: 13px/1.7 var(--serif); padding: 0 12px; max-width: 720px; }
.prose h1 { font: bold 22px var(--serif); margin: 12px 0; }
.prose p { margin: 0 0 1.4em; }

/* ---------- Room / 360 page ---------- */
.room-layout { display: flex; gap: 10px; padding: 8px 8px 12px; align-items: flex-start; }
.pano-wrap { flex: 1; min-width: 0; }
.pano {
  position: relative; height: 560px; border: 2px solid var(--ink); background: #111;
  overflow: hidden; touch-action: none; cursor: grab; user-select: none;
}
.pano.dragging { cursor: grabbing; }
.pano:fullscreen { height: 100%; border: 0; }
.pano canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; image-rendering: auto; }
.pano .hint {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  background: rgba(27, 20, 100, .8); color: #fff; font: bold 11px var(--sans); padding: 4px 10px;
  pointer-events: none; transition: opacity .4s; white-space: nowrap;
}
.pano .tools { position: absolute; right: 8px; top: 8px; display: flex; gap: 4px; z-index: 3; }
.pano .tools button { width: 28px; height: 28px; padding: 0; font: bold 14px var(--sans); }
.hotspot {
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; z-index: 2;
  border: 0; padding: 0; cursor: pointer; background: url("../img/burst.svg") center / contain no-repeat;
  color: var(--pink); font: 15px/34px var(--display); text-align: center;
  animation: pulse 1.6s ease-in-out infinite;
}
.hotspot:hover, .hotspot:focus-visible { animation: none; transform: scale(1.25); outline: none; }
.hotspot .label {
  position: absolute; left: 50%; top: 36px; transform: translateX(-50%); white-space: nowrap;
  background: var(--ink); color: #fff; font: bold 11px var(--sans); padding: 2px 6px;
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.hotspot:hover .label, .hotspot:focus-visible .label { opacity: 1; }
@keyframes pulse { 50% { transform: scale(1.15) rotate(10deg); } }
@media (prefers-reduced-motion: reduce) { .hotspot { animation: none; } }
.setup-readout {
  position: absolute; left: 8px; top: 8px; z-index: 3; background: var(--yellow); color: var(--ink);
  font: bold 12px "Courier New", monospace; padding: 4px 8px; border: 1px solid var(--ink);
}
.room-switch { display: flex; gap: 2px; margin-top: 8px; flex-wrap: wrap; }
.room-switch a { flex: 1; min-width: 120px; }
.detail-list { list-style: none; margin: 0; padding: 0; font-size: 12px; }
.detail-list li { border-bottom: 1px dotted var(--lilac); }
.detail-list button { background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: left; width: 100%; font-weight: bold; }
.detail-list button:hover { color: var(--pink); text-decoration: underline; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  body { padding: 0; font-size: 15px; }
  .page { width: 100%; border: 0; }
  .topbar, .masthead, .nav { display: none; }
  .mobilebar {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    background: var(--pink); padding: 8px; position: sticky; top: 0; z-index: 50;
  }
  .mobilebar .brand img { height: 30px; width: auto; }
  .mobilebar .btn-gloss { background: var(--gloss-blue); border-color: var(--blue-dark); }
  .mobile-menu { display: none; background: var(--blue); }
  .mobile-menu.open { display: block; }
  .mobile-menu a { display: block; color: #fff; font: bold 15px Arial, var(--sans); text-transform: uppercase; padding: 12px 14px; border-top: 1px solid var(--blue-dark); text-decoration: none; }
  .mobile-menu a.active { background: #fff; color: var(--ink); }

  .home-row { flex-direction: column; gap: 14px; padding: 10px; }
  .gutter-gif { display: none; }
  .vacancy, .rooms { width: 100%; height: auto; }
  .vacancy .stage { height: auto; aspect-ratio: 350 / 236; margin: 10px 10px 0; }
  .vacancy-word { font-size: 25vw; top: auto; bottom: 2%; left: 3%; -webkit-text-stroke-width: 2px; }
  .vacancy .burst { width: 30vw; height: 30vw; font-size: 7vw; left: auto; right: 2%; top: 4%; }
  .check-vacancy { position: static; width: auto; margin: 10px; filter: none; }
  .vacancy .ctas { position: static; padding: 4px 10px 14px; justify-content: space-between; }
  .vacancy .ctas .btn-flat { font-size: 21px; padding: 10px 12px; }
  .vacancy .ctas .btn-gloss { width: 34%; }
  .rooms .tabhead div { flex: none; font-size: 12px; padding: 8px 10px; }
  .room-grid { grid-template-columns: 1fr 1fr; }
  .room-card .thumb { width: 100%; height: auto; aspect-ratio: 1; }
  .room-card .thumb .view { font-size: 12px; padding: 6px 10px; }
  .fineprint { margin-bottom: 10px; }
  .home-bottom { flex-direction: column; padding: 8px; }
  .home-bottom .panel { width: 100% !important; }
  .shop-strip { overflow-x: auto; }
  .shop-strip .ph { flex: none; }

  .two-col, .room-layout, .pdp { flex-direction: column; }
  .two-col .side, .pdp .media, .room-layout .side { width: 100% !important; }
  .form-row { flex-wrap: wrap; }
  .form-row > label:first-child { width: 100%; text-align: left; }
  table.grid { font-size: 12px; }
  table.grid th:nth-child(4), table.grid td:nth-child(4) { display: none; }
  .submit-row { flex-wrap: wrap; }
  .thanks { height: 96px; }
  .thanks h1 { font-size: 15vw; top: 8px; }
  .thanks .burst { left: auto; right: 4px; width: 90px; height: 90px; font-size: 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .also .row { grid-template-columns: repeat(3, 1fr); }
  .shop-hero h1 { font-size: 60px; }
  .shop-hero .burst { left: auto; right: 10px; }
  .pano { height: 70vh; }
  .hint-more { display: none; }
  .room-switch a { min-width: 0; }
  .badges { flex-wrap: wrap; }
}
.popup .viewport img { object-fit: contain; background: #111; }
.gallery-grid .shot img { height: 128px; }
.ph-photo { display: block; width: 125px; height: 104px; border: 1px solid var(--ink); overflow: hidden; flex: none; }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; }
.ph-photo:hover img { transform: scale(1.05); transition: transform .2s; }

/* ---------- Confirmation greeting + receipt ---------- */
.greeting { margin: 0 0 10px; font: 16px var(--sans); }
.greeting b { color: var(--pink); }
.receipt-backdrop { align-items: flex-start; overflow-y: auto; padding: 30px 16px; }
.receipt-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.receipt {
  position: relative; width: 300px; background: #fffef8; color: #222;
  font: 12px/1.45 "Courier New", Courier, monospace; padding: 18px 18px 26px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transform: rotate(-1.2deg);
}
.receipt::after { /* torn bottom edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px;
  background: linear-gradient(135deg, #fffef8 50%, transparent 50%) 0 0 / 12px 10px repeat-x,
              linear-gradient(225deg, #fffef8 50%, transparent 50%) 0 0 / 12px 10px repeat-x;
}
.receipt p { margin: 0; }
.r-logo { width: 200px; margin: 0 auto 8px; }
.r-c { text-align: center; }
.r-rule { border-top: 1px dashed #555; margin: 8px 0 !important; }
.r-row { display: flex; justify-content: space-between; gap: 10px; text-transform: uppercase; }
.r-row span:last-child { text-align: right; }
.r-total { font-weight: bold; font-size: 15px; }
.r-thanks { margin-top: 6px !important; font-weight: bold; }
.r-small { font-size: 10px; }
.r-barcode {
  height: 40px; margin: 10px 10px 2px;
  background: repeating-linear-gradient(90deg, #222 0 2px, transparent 2px 4px, #222 4px 5px, transparent 5px 8px, #222 8px 11px, transparent 11px 13px);
}
.receipt-actions { display: flex; gap: 8px; }
@media print {
  body.printing-receipt { background: #fff; padding: 0; }
  body.printing-receipt .page, body.printing-receipt .receipt-actions { display: none !important; }
  body.printing-receipt .receipt-backdrop { position: static; display: block; background: none; padding: 0; }
  body.printing-receipt .receipt { box-shadow: none; transform: none; margin: 0 auto; }
}

/* ---------- Bonus amenities (home) ---------- */
.amenities { background: var(--lilac); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 12px 16px 18px; }
.amen-head { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.amen-head h2 { margin: 0; font: 46px/1 var(--display); color: var(--ink); text-shadow: 3px 3px 0 var(--paper); }
.amen-burst { position: absolute; right: 6px; top: -8px; width: 82px; height: 82px; font-size: 22px; transform: rotate(10deg); }
.amen-burst small { font: bold 8px var(--sans); }
.amen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.amen-card { display: block; background: #fff; border: 2px solid var(--ink); box-shadow: var(--shadow-hard); padding: 6px 6px 10px; text-decoration: none; }
.amen-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--pink); }
.amen-img { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--ink); }
.amen-img img { width: 100%; height: 100%; object-fit: cover; }
.amen-card h3 { margin: 8px 2px 2px; font: bold 16px Arial, var(--sans); text-transform: uppercase; color: var(--pink); }
.amen-card p { margin: 0 2px; font-size: 12px; }
@media (max-width: 900px) {
  .amen-grid { grid-template-columns: 1fr; }
  .amen-head h2 { font-size: 36px; }
  .amen-burst { width: 64px; height: 64px; font-size: 17px; }
}

/* ---------- Manifesto map ---------- */
.map-box { margin-top: 8px; border: 2px solid var(--ink); box-shadow: var(--shadow-hard); height: 190px; background: #d9d9d9; }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.panel-body a[href^="tel:"] { color: inherit; text-decoration: none; }
