/* Mara guest app — palette, type and spacing from the Mara Brand Guidelines (2026). */
@font-face { font-family: 'Gambarino'; src: url(/assets/Gambarino-Regular.otf) format('opentype'); font-display: swap; }
@font-face { font-family: 'Einer Grotesk'; src: url(/assets/EinerGrotesk-Regular.otf) format('opentype'); font-display: swap; }

:root {
  --terracotta: #6E2621; --clay: #F4886C; --sage: #9AA47C; --sand: #DDC7AD; --earth: #775139; --dark: #1E1E1E; --bone: #E6DFCB;
  --paper: #F4EFE6; --card: #FFFDF9; --line: #E2D6C4;
  --serif: 'Gambarino', Georgia, serif; --sans: 'Einer Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --r: 18px; --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--paper); color: var(--dark); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
#app { max-width: 520px; margin: 0 auto; min-height: 100dvh; position: relative; padding-bottom: calc(84px + var(--safe-b)); }

.logo { display: block; background: currentColor; -webkit-mask: url(/assets/wordmark.png) center / contain no-repeat; mask: url(/assets/wordmark.png) center / contain no-repeat; aspect-ratio: 2400 / 764; }
.mark { display: block; background: currentColor; -webkit-mask: url(/assets/icon.png) center / contain no-repeat; mask: url(/assets/icon.png) center / contain no-repeat; aspect-ratio: 256 / 314; }

/* Header */
.top { background: var(--terracotta); color: var(--bone); padding: calc(18px + var(--safe-t)) 22px 30px; border-radius: 0 0 28px 28px; }
.top .bar { display: flex; justify-content: space-between; align-items: center; }
.top .mark { width: 26px; color: var(--clay); }
.top .bar small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.top h1 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.05; margin: 30px 0 8px; color: var(--bone); }
.top p { margin: 0; opacity: .8; }

.wrap { padding: 20px 18px; display: grid; gap: 14px; }
.eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--earth); }
h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; margin: 4px 0 6px; color: var(--terracotta); }
h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; margin: 0 0 4px; color: var(--terracotta); }
.muted { color: var(--earth); font-size: 14px; }

.card { background: var(--card); border-radius: var(--r); padding: 20px; border: 1px solid var(--line); }
.card.sand { background: var(--sand); border-color: transparent; }
.card.dark { background: var(--dark); color: var(--bone); border-color: transparent; }
.card.dark h2, .card.dark h3 { color: var(--bone); }

.dates { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.dates .d b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--terracotta); line-height: 1.1; }
.dates .d span { font-size: 13px; color: var(--earth); }
.dates .arrow { width: 26px; height: 1px; background: var(--earth); }
.rows { margin-top: 14px; border-top: 1px solid var(--line); }
.rows div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; gap: 12px; }
.rows div span:first-child { color: var(--earth); }
.rows div span:last-child { text-align: right; }

/* Steps */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.step:last-child { border-bottom: 0; }
.step .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--sand); color: var(--earth); font-size: 13px; }
.step.done .dot { background: var(--sage); border-color: var(--sage); color: #fff; }
.step.next .dot { background: var(--terracotta); border-color: var(--terracotta); color: var(--bone); }
.step b { display: block; font-weight: 400; }
.step small { color: var(--earth); font-size: 13px; }
.chev { color: var(--earth); }

/* Buttons + forms */
.btn { appearance: none; border: 0; border-radius: 999px; padding: 16px 22px; background: var(--terracotta); color: var(--bone); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; width: 100%; text-align: center; text-decoration: none; display: block; }
.btn.ghost { background: transparent; color: var(--terracotta); border: 1px solid var(--terracotta); }
.btn.clay { background: var(--clay); color: var(--dark); }
.btn:disabled { opacity: .5; }
label { display: grid; gap: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--earth); }
input, select, textarea { width: 100%; padding: 14px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--dark); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--clay); outline-offset: 1px; border-color: transparent; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--dark); }
.check input { width: 22px; height: 22px; flex: none; accent-color: var(--terracotta); }
form { display: grid; gap: 14px; }
.err { color: var(--terracotta); background: #F8E3DC; padding: 12px 14px; border-radius: 12px; font-size: 14px; }

/* Key */
.key { text-align: center; padding: 28px 20px; }
.pin { font-family: var(--serif); font-size: 52px; letter-spacing: .2em; color: var(--clay); margin: 6px 0 2px; padding-left: .2em; }
.tap { width: 168px; height: 168px; border-radius: 50%; margin: 22px auto 8px; display: grid; place-items: center; background: var(--terracotta); color: var(--bone); border: 0; cursor: pointer; position: relative; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.tap::before, .tap::after { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid var(--clay); opacity: .5; }
.tap::after { inset: -26px; opacity: .25; }
.tap.pulse::before { animation: ring 1.2s ease-out infinite; }
.tap.ok { background: var(--sage); }
.tap .mark { width: 34px; color: var(--clay); margin: 0 auto 8px; }
.tap.ok .mark { color: #fff; }
@keyframes ring { from { transform: scale(.9); opacity: .8; } to { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tap.pulse::before { animation: none; } }

/* Tabs */
nav.tabs { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 520px; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,253,249,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 8px 6px calc(8px + var(--safe-b)); z-index: 5; }
nav.tabs a { text-decoration: none; color: var(--earth); display: grid; justify-items: center; gap: 3px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 0; }
nav.tabs a svg { width: 22px; height: 22px; }
nav.tabs a.on { color: var(--terracotta); }

/* Welcome / find booking */
.hero { min-height: 100dvh; background: var(--terracotta); color: var(--bone); padding: calc(60px + var(--safe-t)) 26px 40px; display: flex; flex-direction: column; }
.hero .logo { width: 70%; max-width: 260px; color: var(--clay); margin-bottom: 18px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; margin: auto 0 10px; }
.hero p { opacity: .8; margin: 0 0 24px; }
.hero label { color: var(--sand); }
.hero input { background: rgba(255,255,255,.08); border-color: rgba(230,223,203,.3); color: var(--bone); }
.hero .btn { background: var(--clay); color: var(--dark); }
.hero .err { background: rgba(244,136,108,.18); color: var(--bone); }

.list a, .list div.item { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; gap: 12px; }
.list > :last-child { border-bottom: 0; }
.tag { display: inline-block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--sand); color: var(--earth); padding: 4px 10px; border-radius: 999px; }
.tag.sage { background: var(--sage); color: #fff; }
.stars { display: flex; gap: 8px; justify-content: center; }
.stars button { background: none; border: 1px solid var(--line); border-radius: 50%; width: 48px; height: 48px; font-size: 20px; cursor: pointer; color: var(--sand); }
.stars button.on { color: var(--clay); border-color: var(--clay); }
.back { color: var(--bone); text-decoration: none; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.toast { position: fixed; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translateX(-50%); background: var(--dark); color: var(--bone); padding: 12px 18px; border-radius: 999px; font-size: 14px; z-index: 10; }

/* ---------- v2: check-in wizard, key, ordering, chat ---------- */
nav.tabs { grid-template-columns: repeat(5, 1fr); }
nav.tabs a { position: relative; }
.badge { position: absolute; top: 4px; right: calc(50% - 16px); width: 8px; height: 8px; border-radius: 50%; background: var(--clay); }
.more { display: block; margin-top: 10px; color: var(--terracotta); text-decoration: none; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.okmark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sage); color: #fff; margin: 0 auto 12px; }
.okmark svg, .okline svg { width: 22px; height: 22px; }
.okline { display: flex; gap: 8px; align-items: center; color: var(--earth); margin: 0; font-size: 14px; }
.progress { display: flex; gap: 6px; }
.progress i { flex: 1; height: 3px; border-radius: 3px; background: var(--line); }
.progress i.done { background: var(--sage); }
.progress i.on { background: var(--terracotta); }
.row2 { display: flex; gap: 10px; }
.row2 .btn { flex: 1; }
.btn.small { width: auto; padding: 9px 14px; font-size: 11px; display: inline-block; }
.bad { border-color: var(--clay) !important; box-shadow: 0 0 0 1px var(--clay); }
textarea { resize: vertical; }
.shot { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; padding: 16px; border: 1px dashed var(--sand); border-radius: 14px; cursor: pointer; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--dark); background: var(--paper); }
.shot svg { width: 26px; height: 26px; color: var(--terracotta); }
.shot.has { border-style: solid; border-color: var(--sage); }
.shot img { grid-column: 1 / -1; width: 100%; max-height: 220px; object-fit: cover; border-radius: 10px; }
.rules-box { background: var(--paper); border-radius: 12px; padding: 14px; font-size: 14px; color: var(--earth); }
.sig { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 150px; touch-action: none; }
.sig canvas { width: 100%; height: 100%; display: block; }
.link { position: absolute; right: 10px; bottom: 8px; background: none; border: 0; color: var(--earth); font-size: 12px; text-decoration: underline; cursor: pointer; text-transform: none; letter-spacing: 0; }
.offer-inline { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--paper); border-radius: 12px; padding: 12px 14px; }
.item.offer { align-items: flex-start; }
.price { text-align: right; display: grid; justify-items: end; gap: 4px; white-space: nowrap; font-family: var(--serif); font-size: 18px; color: var(--terracotta); }
.price small { font-family: var(--sans); font-size: 11px; color: var(--earth); letter-spacing: .06em; text-transform: uppercase; }
.code { font-family: var(--serif); font-size: 20px; letter-spacing: .14em; color: var(--terracotta); }
.walletcard { background: linear-gradient(135deg, var(--terracotta), #4a1814); border-radius: 16px; padding: 18px; color: var(--bone); display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; text-align: left; aspect-ratio: 1.586; max-width: 320px; margin: 0 auto 18px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.walletcard .mark { width: 30px; color: var(--clay); align-self: start; }
.walletcard b { display: block; font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1; }
.walletcard small { font-size: 10px; letter-spacing: .14em; opacity: .8; }
.walletcard > small { grid-column: 1 / -1; align-self: end; }
.wallet-btn { appearance: none; border: 1px solid #555; background: #000; color: #fff; border-radius: 10px; padding: 13px 20px; font-size: 16px; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; margin: 4px auto 0; }
.wallet-btn .apple { width: 16px; height: 19px; background: #fff; border-radius: 3px 3px 5px 5px; }
.sheet { position: fixed; inset: 0; background: rgba(30,30,30,.45); display: flex; align-items: flex-end; justify-content: center; z-index: 20; padding: 12px; }
.sheet .card { width: 100%; max-width: 500px; max-height: 90dvh; overflow: auto; display: grid; gap: 12px; padding-bottom: calc(20px + var(--safe-b)); }
.sheet h2 { margin: 0; }
.chat { min-height: calc(100dvh - 300px); grid-template-rows: 1fr auto; }
.bubbles { display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 82%; background: var(--card); border: 1px solid var(--line); padding: 10px 14px; border-radius: 16px 16px 16px 4px; font-size: 15px; }
.bubble small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--earth); margin-bottom: 2px; }
.bubble.me { align-self: flex-end; background: var(--terracotta); color: var(--bone); border-color: transparent; border-radius: 16px 16px 4px 16px; }
.composer { position: sticky; bottom: calc(84px + var(--safe-b)); display: flex; gap: 8px; background: var(--paper); padding: 8px 0; }
.composer input { flex: 1; border-radius: 999px; }
details.guide summary { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: center; font-family: var(--serif); font-size: 20px; color: var(--terracotta); }
details.guide summary::-webkit-details-marker { display: none; }
details.guide p { margin: 12px 0 0; color: var(--dark); font-size: 15px; }
.gi { width: 36px; height: 36px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; color: var(--earth); flex: none; }
.gi svg { width: 20px; height: 20px; }
.card.list { padding-top: 6px; padding-bottom: 6px; }
.siglabel { display: grid; gap: 6px; }
.siglabel > span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--earth); }
.bubble { overflow-wrap: anywhere; }
.composer { min-width: 0; }
.composer .btn.small { flex: none; }
.wallet-btn .apple { display: none; }

/* ---------- v3: top picks, photo cards, booking, explore ---------- */
.stack { display: grid; gap: 10px; }
.sechead { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 2px 2px; }
.sechead h2 { margin: 0; font-size: 26px; }
.sechead a { color: var(--earth); text-decoration: none; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.band { padding: 6px 0 4px; }
.band .sechead { margin: 6px 20px 10px; }
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 18px 14px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }

/* image tiles: a photo, or a branded Mara tile until one is added */
.tile { display: block; position: relative; background: var(--terracotta) center / cover no-repeat; overflow: hidden; width: 100%; height: 100%; }
.tile-ic { position: absolute; top: 12px; left: 12px; width: 26px; height: 26px; opacity: .9; }
.tile-ic svg { width: 100%; height: 100%; }
.tile-name { position: absolute; left: 14px; right: 14px; bottom: 10px; font-family: var(--serif); font-size: 24px; line-height: 1.05; }
.tile.sm .tile-name { display: none; }
.tile.sm .tile-ic { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; }
.tone-terracotta { background-color: var(--terracotta); color: var(--clay); }
.tone-dark { background-color: var(--dark); color: var(--clay); }
.tone-sage { background-color: var(--sage); color: #fff; }
.tone-earth { background-color: var(--earth); color: var(--sand); }
.tone-clay { background-color: var(--clay); color: var(--terracotta); }
.tone-sand { background-color: var(--sand); color: var(--terracotta); }

.pick { flex: 0 0 72%; max-width: 260px; scroll-snap-align: start; appearance: none; border: 1px solid var(--line); background: var(--card); border-radius: var(--r); padding: 0; overflow: hidden; text-align: left; cursor: pointer; display: grid; grid-template-rows: 170px auto; color: inherit; }
.pick-media { position: relative; }
.pill { position: absolute; top: 10px; right: 10px; background: var(--bone); color: var(--terracotta); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.pick-body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.pick-body b { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--terracotta); line-height: 1.15; }
.pick-body small { color: var(--earth); font-size: 14px; }
.pick-cta { margin-top: 8px; display: block; text-align: center; background: var(--terracotta); color: var(--bone); border-radius: 999px; padding: 11px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

.rowcard { appearance: none; width: 100%; display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 0 14px 0 0; overflow: hidden; text-align: left; cursor: pointer; color: inherit; text-decoration: none; min-height: 92px; }
.rowcard > .tile { height: 100%; min-height: 92px; }
.rowcard-body { display: grid; gap: 2px; padding: 12px 0; min-width: 0; }
.rowcard-body b { font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--terracotta); line-height: 1.15; }
.rowcard-body small { color: var(--earth); font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rowcard-body em { font-style: normal; font-size: 13px; color: var(--dark); margin-top: 2px; }
.rowcard-cta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--terracotta); border: 1px solid var(--terracotta); border-radius: 999px; padding: 8px 12px; white-space: nowrap; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 18px 0; scrollbar-width: none; position: sticky; top: 0; z-index: 4; background: var(--paper); padding-bottom: 10px; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; text-decoration: none; color: var(--terracotta); border: 1px solid var(--sand); background: var(--card); border-radius: 999px; padding: 8px 14px; font-size: 13px; }
section[id^="sec-"] { scroll-margin-top: 64px; display: grid; gap: 8px; }

.inforow { display: grid !important; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; }
.sheet-card { padding-top: 0 !important; overflow: hidden; }
.sheet-media { margin: 0 -20px 4px; height: 170px; }
.tile.wide .tile-name { font-size: 30px; }
.deps { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.dep { appearance: none; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 10px; display: grid; gap: 2px; cursor: pointer; text-align: center; }
.dep b { font-weight: 400; font-size: 16px; color: var(--terracotta); }
.dep small { font-size: 11px; color: var(--earth); }
.dep.on { border-color: var(--terracotta); background: var(--terracotta); }
.dep.on b, .dep.on small { color: var(--bone); }
.dep:disabled { opacity: .45; cursor: not-allowed; }
.codecard { text-align: center; }
.codecard .pin { color: var(--terracotta); font-size: 46px; }
.mapcard { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; text-decoration: none; color: inherit; }
.place b { font-weight: 400; }
.place .chev svg { width: 18px; height: 18px; }
.pick .tile-name, .sheet-media .tile-name { display: none; }
.tile:not(.sm):not([style*="background-image"])::after { content: ''; position: absolute; left: 50%; top: 50%; width: 54px; height: 66px; transform: translate(-50%, -50%); background: currentColor; opacity: .55; -webkit-mask: url(/assets/icon.png) center / contain no-repeat; mask: url(/assets/icon.png) center / contain no-repeat; }
.rowcard { grid-template-columns: 76px 1fr auto; gap: 12px; }
.rowcard-cta { padding: 7px 11px; font-size: 11px; }

/* ---------- v4: inviting home, venues, events, boutique key ---------- */
.hero2 { position: relative; min-height: 330px; background: var(--terracotta) center / cover no-repeat; color: var(--bone); padding: calc(16px + var(--safe-t)) 20px 56px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 0 0 28px 28px; overflow: hidden; }
.hero2::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,30,30,.35) 0%, rgba(30,30,30,0) 30%, rgba(60,20,16,.15) 55%, rgba(60,20,16,.78) 100%); }
.hero2 > * { position: relative; }
.hero2-top { display: flex; justify-content: space-between; align-items: center; }
.hero2-top .logo { width: 92px; color: var(--bone); }
.hero2-chat { position: relative; width: 40px; height: 40px; border-radius: 50%; background: rgba(230,223,203,.18); backdrop-filter: blur(8px); display: grid; place-items: center; color: var(--bone); }
.hero2-chat svg { width: 20px; height: 20px; }
.hero2-chat .badge { top: 6px; right: 6px; }
.hero2-text h1 { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1; margin: 0 0 6px; }
.hero2-text p { margin: 0 0 14px; opacity: .92; }
.kicker { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.staychip { display: inline-block; background: rgba(230,223,203,.2); backdrop-filter: blur(8px); color: var(--bone); text-decoration: none; border-radius: 999px; padding: 8px 14px; font-size: 13px; border: 1px solid rgba(230,223,203,.3); }
.wrap.lift { margin-top: -38px; position: relative; z-index: 2; }
.nextcard { display: flex; justify-content: space-between; align-items: center; background: var(--card); border-radius: var(--r); padding: 18px 20px; text-decoration: none; color: inherit; box-shadow: 0 10px 30px rgba(110,38,33,.14); }
.nextcard small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--earth); }
.nextcard b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--terracotta); }
.nextcard em { font-style: normal; color: var(--earth); font-size: 14px; }
.nextarrow { width: 44px; height: 44px; border-radius: 50%; background: var(--terracotta); color: var(--bone); display: grid; place-items: center; font-size: 20px; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quick a, .quick button { appearance: none; border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 14px 4px 12px; display: grid; justify-items: center; gap: 6px; text-decoration: none; color: var(--terracotta); font-size: 12px; cursor: pointer; }
.quick svg { width: 24px; height: 24px; }
.livecard { display: grid; gap: 12px; }
.liveorder { display: grid; gap: 8px; }
.spread2 { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.spread2 b { font-weight: 400; }
.track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.track i { height: 4px; border-radius: 4px; background: var(--line); }
.track i.on { background: var(--sage); }

.vcard { flex: 0 0 68%; max-width: 250px; scroll-snap-align: start; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: 180px auto; }
.vcard.small { flex-basis: 44%; max-width: 170px; grid-template-rows: 130px auto; }
.vcard-media { position: relative; }
.vcard-body { padding: 12px 14px 14px; display: grid; gap: 2px; }
.vcard-body small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--earth); }
.vcard-body b { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--terracotta); line-height: 1.1; }
.vcard-body em { font-style: normal; font-size: 13px; color: var(--earth); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcard.small .vcard-body b { font-size: 17px; }
.ecard { flex: 0 0 62%; max-width: 230px; scroll-snap-align: start; appearance: none; text-align: left; cursor: pointer; padding: 0; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: 150px auto; }
.ecard-media { position: relative; }
.ecard-media .pill { left: 10px; right: auto; }
.ecard-body { padding: 12px 14px 14px; display: grid; gap: 2px; }
.ecard-body b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--terracotta); }
.ecard-body small { color: var(--earth); font-size: 13px; }
.vcard .tile-name, .ecard .tile-name { display: none; }
.venuehero { min-height: 300px; }
.center { text-align: center; }

/* boutique key card */
.keytop { padding-bottom: 70px; }
.keystack { position: relative; padding-top: 14px; }
.keystack::before { content: ''; position: absolute; left: 22px; right: 22px; top: 0; height: 40px; border-radius: 22px 22px 0 0; background: var(--clay); opacity: .55; }
.keycard { position: relative; aspect-ratio: 1.586; border-radius: 22px; padding: 22px 24px; color: var(--bone); overflow: hidden; display: grid; grid-template-rows: auto 1fr auto;
  background: radial-gradient(120% 90% at 85% 0%, #8a3a31 0%, #6E2621 45%, #4d1915 100%); box-shadow: 0 18px 40px rgba(77,25,21,.35), inset 0 0 0 1px rgba(244,136,108,.35); }
.keycard::after { content: ''; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 270px; background: var(--clay); opacity: .12; -webkit-mask: url(/assets/icon.png) center / contain no-repeat; mask: url(/assets/icon.png) center / contain no-repeat; }
.keycard::before { content: ''; position: absolute; inset: 10px; border-radius: 15px; border: 1px solid rgba(230,223,203,.18); pointer-events: none; }
.kc-top { display: flex; justify-content: space-between; align-items: center; }
.kc-logo { width: 84px; aspect-ratio: 2400 / 764; background: var(--clay); -webkit-mask: url(/assets/wordmark.png) center / contain no-repeat; mask: url(/assets/wordmark.png) center / contain no-repeat; }
.kc-nfc { width: 26px; height: 26px; color: var(--sand); opacity: .9; }
.kc-nfc svg { width: 100%; height: 100%; }
.kc-room { align-self: center; }
.kc-room small, .kc-foot small { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); opacity: .8; }
.kc-room b { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: .95; letter-spacing: .02em; }
.kc-foot { display: flex; justify-content: space-between; font-size: 13px; position: relative; z-index: 1; }
.kc-foot span:last-child { text-align: right; }
.keypreview { position: relative; }
.keypreview > :not(.keylock) { filter: grayscale(.6) opacity(.45); }
.keylock { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--bone); background: rgba(30,30,30,.55); border-radius: 22px; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.keylock svg { width: 34px; height: 34px; }
.keystate { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.keystate b { display: block; font-weight: 400; color: var(--terracotta); }
.keystate small { color: var(--earth); font-size: 13px; }
.okmark.small { width: 40px; height: 40px; margin: 0; }
.wallet-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; background: #000; color: #fff; border: 0; border-radius: 14px; padding: 12px 18px; font-size: 19px; cursor: pointer; margin: 0; }
.wallet-btn span:last-child { text-align: left; line-height: 1.05; }
.wallet-btn small { display: block; font-size: 11px; opacity: .8; }
.wb-ic { width: 30px; height: 30px; }
.wb-ic svg { width: 100%; height: 100%; }
.codecard .pin { letter-spacing: .12em; }
.carousel { scroll-padding-inline: 18px; }

.hero2 .back { background: rgba(30,30,30,.45); backdrop-filter: blur(8px); color: var(--bone); opacity: 1; padding: 8px 14px; border-radius: 999px; }
.hero2-text { text-shadow: 0 1px 12px rgba(0,0,0,.35); }

/* venue logos (white artwork used as a mask, so it takes any colour) */
.vlogo { display: block; background: var(--bone); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: left center; mask-position: left center; }
.vlogo.on-photo { position: absolute; left: 14px; bottom: 12px; width: 46%; height: 34px; filter: drop-shadow(0 1px 6px rgba(0,0,0,.4)); }
.vlogo.vhero { width: 70%; max-width: 280px; height: 64px; margin: 8px 0 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* key options */
.wallet-btn.google { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; }
.keyble { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.keyble b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--terracotta); }
.keyble small { color: var(--earth); font-size: 13px; }
.blebtn { flex: none; width: 74px; height: 74px; border-radius: 50%; border: 0; background: var(--terracotta); color: var(--bone); display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 8px rgba(244,136,108,.18); transition: background .2s; }
.blebtn svg { width: 30px; height: 30px; }
.blebtn.busy { animation: blepulse 1s ease-in-out infinite; }
.blebtn.ok { background: var(--sage); }
@keyframes blepulse { 50% { box-shadow: 0 0 0 16px rgba(244,136,108,.05); } }
@media (prefers-reduced-motion: reduce) { .blebtn.busy { animation: none; } }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.doorbtn { appearance: none; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; color: var(--terracotta); cursor: pointer; font-size: 14px; }
.doorbtn svg { width: 18px; height: 18px; }
.doorbtn.busy { opacity: .6; }
.doorbtn.ok { background: var(--sage); color: #fff; border-color: var(--sage); }

/* key screen: card sits cleanly below the header, wallet button right under it */
.keytop { padding-bottom: 30px; }
.keywrap { padding-top: 22px; gap: 16px; }
.keywrap .keystack { padding-top: 0; }
.keywrap .keystack::before { display: none; }
.keywrap .keycard { max-width: 420px; width: 100%; margin: 0 auto; }
.keywrap .wallet-btn { max-width: 420px; margin: 0 auto; }

/* bathroom access picker */
.bathpick { margin: 6px 0 4px; }
.segs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg { display: block; margin: 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 13px 10px; border-radius: 14px; border: 1.5px solid rgba(30,30,30,.14); font-weight: 600; background: #fff; }
.seg input:checked + span { border-color: var(--terracotta, #6E2621); background: var(--terracotta, #6E2621); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--clay, #F4886C); outline-offset: 2px; }
.bathcard { border: 1.5px solid var(--clay, #F4886C); }

.vcard .credit { display: block; font-style: normal; font-size: 9px; letter-spacing: .02em; opacity: .55; margin-top: 2px; }

.hero2-text h1.long { font-size: clamp(38px, 10.5vw, 52px); line-height: 1.02; }

/* time-of-day home photos: tune the shade so the greeting always reads */
.hero2.day::before { background: linear-gradient(180deg, rgba(30,30,30,.30) 0%, rgba(30,30,30,0) 26%, rgba(60,20,16,.35) 50%, rgba(60,20,16,.88) 100%); }
.hero2.morning::before { background: linear-gradient(180deg, rgba(30,30,30,.30) 0%, rgba(30,30,30,0) 30%, rgba(60,20,16,.2) 55%, rgba(60,20,16,.8) 100%); }
.hero2.night::before { background: linear-gradient(180deg, rgba(10,10,20,.25) 0%, rgba(10,10,20,0) 35%, rgba(20,14,20,.55) 100%); }

.bandsub { margin: -6px 20px 10px; font-size: 13px; }

/* shuttle: rides + live status */
.ride h3 { margin: 2px 0 0; font-size: 20px; }
.ride.off { opacity: .6; }
.ride-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.rpill { flex: none; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--sand); color: var(--earth); }
.rpill.on { background: var(--sage); color: #fff; }
.rpill.warn { background: var(--clay); color: #fff; }
.ridesteps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 16px 0 6px; padding: 0; }
.ridesteps li { position: relative; text-align: center; font-size: 11px; color: var(--earth); }
.ridesteps li i { display: block; width: 12px; height: 12px; border-radius: 50%; margin: 0 auto 6px; background: var(--sand); position: relative; z-index: 1; }
.ridesteps li::before { content: ''; position: absolute; top: 5px; left: -50%; right: 50%; height: 2px; background: var(--sand); }
.ridesteps li:first-child::before { display: none; }
.ridesteps li.done i, .ridesteps li.done::before, .ridesteps li.now::before { background: var(--terracotta); }
.ridesteps li.now i { background: var(--clay); box-shadow: 0 0 0 4px rgba(244,136,108,.25); }
.ridesteps li.now span { color: var(--terracotta); font-weight: 600; }
.times { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.times span { font-size: 13px; padding: 6px 10px; border-radius: 999px; background: var(--paper, #F4EFE6); border: 1px solid var(--line); }
.ride .rows a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.ride .rows > div > span:first-child { white-space: nowrap; padding-right: 14px; }
.ride .rows > div > span:last-child { text-align: right; }
