/* Al Andalux guest app. Tokens come from the website; the big italic numerals from the printed manual. */
:root {
  --ink: #0d101e;
  --navy: #222647;
  --gold: #dfac46;
  --gold-deep: #7d5a1c;      /* small labels on sand: passes contrast */
  --sand: #ece5d6;
  --page: #f4f0e6;
  --card: #fbf9f3;
  --panel: #ebe5d6;
  --text: #23274a;
  --text-2: #555a78;
  --line: rgba(34, 38, 71, 0.12);
  --line-soft: rgba(34, 38, 71, 0.1);
  --alarm: #9c4a2d;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 12px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }

.app { position: relative; max-width: 480px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; background: var(--page); display: flex; flex-direction: column; }
.icon { flex: none; }

/* ---------- shared pieces ---------- */
.label { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.muted { color: var(--text-2); }
/* wifi names and passwords: a typeface where 0 and O, 1 and l cannot be confused */
.mono { font-family: ui-monospace, 'SF Mono', 'Roboto Mono', Menlo, Consolas, monospace; letter-spacing: 0.01em; }
.small { font-size: 13px; }
.card { border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.card.pad { padding: 16px; }
.navy { border-radius: var(--r); background: var(--navy); color: var(--sand); padding: 18px; }
.navy .label { color: var(--gold); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; gap: 12px; }
.grow { flex: 1; min-width: 0; }

.btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-align: center; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-navy { background: var(--navy); color: var(--sand); }
.btn-line { border-color: rgba(34, 38, 71, 0.4); background: transparent; color: var(--text); }
.btn-ghost { border-color: rgba(223, 172, 70, 0.6); background: transparent; color: var(--gold); }
.btn-small { min-height: 44px; min-width: 84px; padding: 0 14px; font-size: 13px; }
.btn.is-done { border-color: currentColor; }

.sq { flex: none; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid rgba(34, 38, 71, 0.3); }

.list > * { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.list > *:last-child { border-bottom: 0; }
.list-card { padding: 0 16px; }
.item-title { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.item-text { font-size: 14px; color: var(--text-2); }
.badge { flex: none; font-size: 12px; font-weight: 600; color: var(--gold-deep); white-space: nowrap; }

.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--panel); font-size: 14px; color: #4b5070; }
.note .icon { margin-top: 2px; color: var(--gold-deep); }
.note strong { display: block; color: var(--text); font-weight: 600; }

.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.figs img { width: 100%; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.figs figcaption { margin-top: 4px; font-size: 12px; color: var(--text-2); text-align: center; }

/* ---------- home ---------- */
.home { position: relative; flex: 1; display: flex; flex-direction: column; overflow: hidden; background: var(--ink); color: var(--sand); }
.home-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,16,30,0.90) 0%, rgba(13,16,30,0.78) 22%, rgba(13,16,30,0.10) 29%, rgba(13,16,30,0.06) 44%, rgba(13,16,30,0.80) 50%, rgba(13,16,30,0.96) 100%); }
.home-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: calc(18px + env(safe-area-inset-top)) 20px calc(26px + env(safe-area-inset-bottom)); }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.brand img:first-child { width: 30px; height: 30px; }
.brand img + img { height: 13px; width: auto; }
.home-hello { margin-top: 26px; display: flex; flex-direction: column; gap: 8px; }
.home-hello .kicker { font-size: 12px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.home-hello h1 { font-size: clamp(36px, 11.8vw, 46px); font-weight: 200; line-height: 1.05; letter-spacing: 0.01em; }
.home-hello .where { display: flex; align-items: center; gap: 6px; font-size: 13px; letter-spacing: 0.04em; }
.home-hello .where .icon { color: var(--gold); }
.home-gap { flex: 1; min-height: 150px; }
.now { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 14px 12px 16px; border-radius: 14px; border: 1px solid rgba(223,172,70,0.55); background: rgba(13,16,30,0.74); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.now .label { color: var(--gold); }
.now .title { font-size: 16px; font-weight: 500; }
.now .sub { font-size: 13px; color: #cfc8b9; }
.now .icon { color: var(--gold); }
.tiles { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { height: 100px; padding: 0 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; border: 1px solid rgba(223,172,70,0.32); background: rgba(13,16,30,0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--sand); font-size: 12.5px; font-weight: 500; letter-spacing: 0.05em; text-align: center; }
.tile .icon { color: var(--gold); }
.tile:active, .now:active { background: rgba(13,16,30,0.86); }
.demo-flag { position: relative; z-index: 2; padding: 6px 12px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 600; text-align: center; }

/* ---------- section pages ---------- */
.head { position: relative; height: 232px; overflow: hidden; background: var(--navy); }
.head.plain { height: 204px; }
.head > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.head-tint { position: absolute; inset: 0; background: rgba(34,38,71,0.82); }
.head-bar { position: relative; display: flex; justify-content: space-between; align-items: center; padding: calc(10px + env(safe-area-inset-top)) 16px 0 8px; }
.back { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; color: var(--sand); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; }
.back .icon { color: var(--gold); }
.head-bar > img { width: 28px; height: 28px; }
.head-title { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; gap: 10px; }
.head-title .num { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 136px; line-height: 0.74; letter-spacing: -0.04em; color: rgba(223,172,70,0.6); margin-left: -8px; margin-bottom: -4px; }
.head-title h1 { margin: 0 12px 22px 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 38px; line-height: 1; color: var(--gold); }
.main { padding: 20px 20px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; }
.main > section > .label { display: block; margin-bottom: 10px; }
.lead { font-size: 15px; color: #4b5070; }
.foot-contact { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 0 16px; border-radius: var(--r); border: 1px solid rgba(34,38,71,0.4); background: transparent; color: var(--text); font-size: 14px; font-weight: 500; text-align: left; }
.foot-contact .icon:first-child { color: var(--gold-deep); }

/* dates and times */
.split { display: flex; align-items: stretch; }
.split > div { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 2px; }
.split > div + div { border-left: 1px solid var(--line); }
.split .big { font-size: 19px; white-space: nowrap; }
.split .mid { flex: none; width: 70px; padding: 0; align-items: center; justify-content: center; gap: 0; }
.split .mid b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; line-height: 1; color: var(--gold-deep); }
.split .mid span { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); }

.facts > div { display: flex; justify-content: space-between; gap: 16px; }
.facts .k { flex: none; font-size: 13px; color: var(--text-2); }
.facts .v { font-size: 14.5px; font-weight: 500; text-align: right; }

.bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.bars i { height: 4px; border-radius: 2px; background: rgba(236,229,214,0.25); }
.bars i.on { background: var(--gold); }

.link-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; font-size: 14.5px; font-weight: 500; }

/* door codes */
.code { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(236,229,214,0.16); }
.code:last-child { padding-bottom: 0; border-bottom: 0; }
.code .what { font-size: 13px; color: #cfc8b9; }
.code .digits { font-size: 30px; font-weight: 300; letter-spacing: 0.22em; line-height: 1.2; }
.navy p { font-size: 14px; }
.navy .lockline { display: flex; align-items: center; gap: 14px; font-size: 18px; line-height: 1.3; }
.navy .lockline .icon { color: var(--gold); }

/* steps */
.steps li { display: flex; gap: 14px; }
.steps .rail { flex: none; width: 34px; display: flex; flex-direction: column; align-items: center; }
.steps .rail b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; line-height: 1; color: var(--gold-deep); }
.steps .rail i { flex: 1; width: 1px; margin: 6px 0; background: rgba(125,90,28,0.4); }
.steps li:last-child .rail i { display: none; }
.steps .body { flex: 1; padding-bottom: 20px; display: flex; flex-direction: column; gap: 4px; }
.steps li:last-child .body { padding-bottom: 0; }
.steps .body strong { font-size: 16px; font-weight: 600; line-height: 1.3; padding-top: 5px; }
.steps .body span { font-size: 14px; color: var(--text-2); }

/* wifi */
.wifi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wifi-grid .v { font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.wifi-bar { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; }
.wifi-bar .icon { color: var(--gold-deep); }
.wifi-bar .v { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }

/* the house */
.search { position: relative; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-2); pointer-events: none; }
.search input { width: 100%; height: 48px; padding: 0 14px 0 44px; border-radius: var(--r); border: 1px solid rgba(34,38,71,0.3); background: var(--card); color: var(--text); font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: #6d7190; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.acc details { border-bottom: 1px solid var(--line-soft); }
.acc details:last-child { border-bottom: 0; }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 0 16px; font-size: 15.5px; font-weight: 600; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { color: var(--gold-deep); transition: transform 0.2s; }
.acc details[open] summary .icon { transform: rotate(180deg); }
.acc .inside { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: #4b5070; }
.rules li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.rules li:last-child { border-bottom: 0; }
.rules .icon { margin-top: 3px; color: var(--gold-deep); }
.empty { padding: 18px 16px; font-size: 14.5px; color: var(--text-2); text-align: center; }

/* food */
.chips { display: flex; gap: 8px; margin: 0 -20px; padding: 0 20px 2px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(34,38,71,0.4); background: transparent; color: var(--text); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--sand); }
.place { display: flex; align-items: center; gap: 12px; }
.place .name { display: flex; align-items: baseline; gap: 8px; }
.place .price { font-size: 13px; color: var(--gold-deep); font-weight: 600; }
.place .dist { font-size: 12.5px; font-weight: 600; color: var(--gold-deep); }
.place .acts { display: flex; flex-direction: column; gap: 8px; }
.group-note { margin: -4px 0 10px; font-size: 14px; color: var(--text-2); }

/* things to do */
.todo-n { flex: none; width: 30px; align-self: flex-start; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1; color: var(--gold-deep); }
.next { display: flex; align-items: center; gap: 14px; }
.next .icon { color: var(--gold); }
.next .t { font-size: 15px; font-weight: 500; }

/* check-out */
.check { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; text-align: left; font-size: 15px; }
.check:last-child { border-bottom: 0; }
.check .ring { flex: none; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid rgba(34,38,71,0.45); color: transparent; }
.check[aria-pressed="true"] .ring { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.check[aria-pressed="true"] .t { color: var(--text-2); text-decoration: line-through; }
.thanks { align-items: center; text-align: center; gap: 8px; padding: 28px 18px; }
.thanks img { width: 34px; height: 34px; }
.thanks .big { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(22px, 7vw, 27px); line-height: 1.15; color: var(--gold); }
.thanks .links { display: flex; gap: 18px; margin-top: 6px; font-size: 13.5px; font-weight: 600; }
.thanks .links a { min-height: 44px; display: flex; align-items: center; border-bottom: 0; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(223,172,70,0.6); }

/* emergency */
.call112 { display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 14px 18px; border-radius: var(--r); background: var(--alarm); color: #fff; }
.call112 .t { font-size: 24px; font-weight: 600; line-height: 1.15; }
.call112 .s { font-size: 14px; }
.service .num { font-size: 16px; font-weight: 500; }
.host { display: flex; align-items: center; gap: 10px; }
.host .name { flex: 1; font-size: 16px; font-weight: 600; }

/* contact sheet */
dialog.sheet { width: 100%; max-width: 480px; margin: auto auto 0; padding: 26px 20px calc(28px + env(safe-area-inset-bottom)); border: 0; border-radius: 22px 22px 0 0; background: var(--page); color: var(--text); }
dialog.sheet::backdrop { background: rgba(13,16,30,0.66); }
dialog.sheet h2 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 32px; line-height: 1.05; }
dialog.sheet p { margin: 6px 0 14px; font-size: 14px; color: var(--text-2); }
dialog.sheet .btn { height: 52px; font-size: 15px; letter-spacing: 0.03em; }
dialog.sheet .close { height: 48px; border: 0; background: transparent; color: var(--text-2); font-size: 14px; font-weight: 500; }

/* closed pages */
.closed { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px 28px; background: var(--ink); color: var(--sand); text-align: center; }
.closed > img { width: 54px; height: 54px; }
.closed h1 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 36px; line-height: 1.1; color: var(--gold); }
.closed p { max-width: 320px; font-size: 15px; color: #cfc8b9; }
.closed .btn { margin-top: 6px; padding: 0 24px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
