:root {
  --wine: #8a1c3e;
  --wine-2: #b2335a;
  --ink: #15121a;
  --night: #0e0c14;
  --cream: #f6f1ea;
  --sand: #e9e0d3;
  --gold: #e8c48a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--night); -webkit-font-smoothing: antialiased; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }

/* Top bar */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 12px 16px; pointer-events: none; }
.top > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--wine); display: grid; place-items: center; font-family: var(--serif); font-size: 20px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { letter-spacing: .28em; font-size: 14px; }
.brand-text small { letter-spacing: .34em; font-size: 9px; opacity: .7; margin-top: 4px; }
.pills { display: flex; gap: 6px; margin: 0 auto; }
.pills button, .ghost { border: 1px solid rgba(255,255,255,.18); background: rgba(20,16,26,.55); color: #fff; padding: 9px 16px; border-radius: 999px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s, color .2s; }
.pills button:hover, .pills button.on { background: #fff; color: var(--ink); }
.book { background: var(--wine); color: #fff; text-decoration: none; padding: 10px 18px; border-radius: 999px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.book:hover { background: var(--wine-2); }

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: radial-gradient(120% 80% at 50% 100%, #3a1726 0%, #1a1222 45%, var(--night) 100%); color: #fff; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
#scene.dragging { cursor: grabbing; }
#scene.pointing { cursor: pointer; }
#tags { position: absolute; inset: 0; pointer-events: none; }
.tag { position: absolute; left: 0; top: 0; pointer-events: auto; white-space: nowrap; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(20,16,26,.62); border: 1px solid rgba(255,255,255,.22); padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .25s, background .2s; cursor: pointer; }
.tag i { font-style: normal; color: var(--gold); margin-right: 6px; }
.tag.on { background: var(--wine); border-color: var(--wine-2); }
.tag.hide { opacity: 0; pointer-events: none; }

.intro { position: absolute; left: clamp(16px, 4vw, 56px); bottom: clamp(56px, 9vh, 96px); max-width: 340px; pointer-events: none; transition: opacity .35s; }
.intro h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.4vw, 76px); line-height: .92; margin: 8px 0 14px; letter-spacing: -.01em; }
.eyebrow { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0; }
.eyebrow.dark { color: var(--wine); }
.hint { font-size: 14px; opacity: .8; margin: 0; line-height: 1.5; }
.hand { display: inline-block; animation: sway 2.4s ease-in-out infinite; margin-right: 6px; }
@keyframes sway { 50% { transform: translateX(6px); } }

/* Floor index, like a lift panel */
.lift { position: absolute; left: clamp(16px, 4vw, 56px); top: 96px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.lift button { display: flex; gap: 12px; align-items: baseline; background: none; border: 0; color: rgba(255,255,255,.55); padding: 5px 0; text-align: left; font-size: 13px; }
.lift button b { width: 58px; white-space: nowrap; font-weight: 500; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.4); font-size: 11px; letter-spacing: .1em; }
.lift button:hover, .lift button.on { color: #fff; }
.lift button.on b { color: var(--gold); }

/* Info card */
.card { position: absolute; right: clamp(12px, 3vw, 40px); top: 50%; transform: translateY(-50%); width: min(400px, 36vw); max-height: calc(100% - 140px); overflow: auto; background: rgba(250,246,240,.97); color: var(--ink); border-radius: 22px; padding: 22px 22px 18px; box-shadow: 0 30px 80px rgba(0,0,0,.45); animation: rise .35s ease; }
.card[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(calc(-50% + 14px)); } }
.card .close, .lightbox .close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0,0,0,.06); font-size: 22px; line-height: 1; color: inherit; }
.lvl { margin: 0; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--wine); font-weight: 600; }
.card h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; margin: 6px 36px 8px 0; }
.lead { margin: 0 0 14px; font-size: 14.5px; line-height: 1.5; color: #4a4250; }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shots figure { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 3/2; background: linear-gradient(135deg, #e3d6c6, #cdb9a4); position: relative; cursor: zoom-in; }
.shots figure:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.shots img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.shots figure:hover img { transform: scale(1.04); }
.nophoto { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 10px; font-size: 12px; color: #5b4a3d; }
.nophoto a { color: var(--wine); font-weight: 600; }
.facts { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: 13.5px; }
.facts li { padding-left: 18px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--wine); }

.loader { position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; justify-items: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); background: var(--night); transition: opacity .6s; z-index: 5; }
.loader span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); border-top-color: var(--gold); animation: spin 1s linear infinite; }
.loader.done { opacity: 0; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; opacity: .7; }

/* Sections */
.band { padding: clamp(56px, 9vw, 110px) 20px; background: var(--cream); }
.wrap { max-width: 1120px; margin: 0 auto; }
.band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 4vw, 46px); line-height: 1.08; margin: 10px 0 16px; max-width: 760px; }
.band p { font-size: 16px; line-height: 1.65; color: #3e3842; max-width: 720px; }
.sub { margin-top: -6px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.stats div { border-top: 1px solid rgba(0,0,0,.15); padding-top: 14px; }
.stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: 40px; color: var(--wine); }
.stats span { font-size: 13px; color: #5b5360; }
.stay { background: var(--sand); }
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 26px; }
.room { border: 0; padding: 0; text-align: left; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 20px rgba(60,30,30,.08); transition: transform .2s; color: var(--ink); }
.room:hover { transform: translateY(-3px); }
.room .ph { aspect-ratio: 3/2; position: relative; background: linear-gradient(135deg, #e3d6c6, #cdb9a4); }
.room img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room div.t { padding: 12px 14px 14px; }
.room small { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--wine); font-weight: 600; }
.room strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; margin-top: 4px; }
.dine { background: #1c1520; color: #fff; }
.dine p { color: rgba(255,255,255,.75); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 20px 0 24px; font-size: 14.5px; }
.hours dt { color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: 11px; padding-top: 3px; }
.hours dd { margin: 0; }
.ghost { text-transform: none; letter-spacing: 0; font-size: 14px; margin-top: 8px; }
.ghost:hover { background: #fff; color: var(--ink); }
.table { overflow-x: auto; margin-top: 24px; background: #fff; border-radius: 16px; }
table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 14px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid #eee4d8; }
th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #7a6f7f; font-weight: 600; }
td:first-child { font-weight: 600; }
.info { background: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 6px; color: var(--wine); }
.grid p { font-size: 15px; margin: 0; }
.foot { background: var(--wine); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 26px 20px; gap: 14px; flex-wrap: wrap; }
.foot p { margin: 0; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.foot .book { background: #fff; color: var(--wine); }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(10,8,14,.92); display: grid; place-items: center; padding: 20px; color: #fff; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 12px; }
.lightbox p { margin: 12px 0 0; font-size: 14px; opacity: .8; text-align: center; }
.lightbox .close { background: rgba(255,255,255,.12); color: #fff; top: 16px; right: 16px; }

/* Tablets and phones */
@media (max-width: 900px) {
  .pills { position: fixed; left: 0; right: 0; top: 62px; margin: 0; padding: 0 12px; overflow-x: auto; scrollbar-width: none; }
  .pills::-webkit-scrollbar { display: none; }
  .pills button { flex: 0 0 auto; padding: 8px 13px; font-size: 12px; }
  .top { justify-content: space-between; }
  .lift { display: none; }
  .card { top: auto; bottom: 10px; left: 10px; right: 10px; width: auto; transform: none; max-height: 56%; padding: 18px 16px 14px; border-radius: 20px; animation: sheet .3s ease; }
  @keyframes sheet { from { opacity: 0; transform: translateY(30px); } }
  .card h2 { font-size: 22px; }
  .shots { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; }
  .shots figure, .shots figure:first-child { grid-column: auto; aspect-ratio: 3/2; scroll-snap-align: start; }
  .intro { bottom: 54px; }
  .intro h1 { font-size: 46px; }
  .hint { font-size: 13px; }
  .two, .grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats b { font-size: 32px; }
  body.card-open .intro, body.card-open .scroll { opacity: 0; }
}
@media (max-width: 900px) { .shots:has(figure:only-child) { grid-auto-columns: 100%; } }
.top { transition: background .3s; }
body.below .top { background: rgba(14,12,20,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (max-width: 900px) { body.below .pills { display: none; } }
