:root {
  color-scheme: light;
  --ink: #252b2b;
  --muted: #576565;
  --accent: #eb5344;
  --lime: #a4c424;
  --paper: #f9f8f8;
  --line: #d6dcdc;
  font: 16px/1.5 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, .button { display: inline-flex; align-items: center; gap: .6rem; border: 1px solid transparent; border-radius: .4rem; padding: .65rem 1rem; background: var(--lime); color: var(--ink); font-weight: 700; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { filter: brightness(.94); }
button:disabled { opacity: .5; cursor: default; }
.secondary { background: white; border-color: var(--line); }
:focus-visible { outline: 3px solid #b62214; outline-offset: 3px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: .85rem max(5vw, 1rem); background: var(--ink); color: white; flex-wrap: wrap; }
.brand { text-decoration: none; font-weight: 800; display: inline-flex; align-items: center; gap: .75rem; }
.mark { display: inline-grid; place-items: center; background: var(--accent); color: var(--ink); width: 2.25rem; height: 2.25rem; border-radius: 50%; }
nav { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.demo { padding: .5rem 5vw; background: #e9efcc; }
.hero { min-height: 29rem; display: grid; align-items: center; color: white; background: linear-gradient(90deg, #252b2bf5 12%, #252b2b42 100%), url('/hostel.jpg') center 52% / cover; }
.hero-copy { padding: 3.5rem 5vw; max-width: 63rem; }
.hero-copy .eyebrow { color: #d6e98a; }
.hero-copy > p:not(.eyebrow) { max-width: 30rem; font-size: 1.2rem; }
h1, h2, h3, p { margin: 0 0 .7em; }
h1 { font-size: clamp(2.7rem, 7vw, 5.8rem); line-height: .98; letter-spacing: -.05em; margin-bottom: .2em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.035em; margin-bottom: .3em; }
h3 { line-height: 1.2; }
.eyebrow { color: #9e2d22; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .76rem; }
.section { max-width: 90rem; margin: auto; padding: 3rem 5vw; }
.section + .section { border-top: 1px solid var(--line); }
.booking-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr); gap: 1.25rem; align-items: start; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; align-items: stretch; }
.card, .panel { background: white; border: 1px solid var(--line); border-radius: .75rem; padding: 1.2rem; overflow-wrap: anywhere; }
.card { border-top: .25rem solid var(--accent); }
.card p { white-space: pre-line; }
.text-link { display: block; margin-top: .6rem; font-weight: 700; }
.hint { color: var(--muted); font-size: .9rem; }
label { display: grid; gap: .25rem; font-weight: 600; margin-bottom: .7rem; }
input, select, textarea { width: 100%; min-width: 0; padding: .45rem; border: 1px solid #aeb8b8; border-radius: .3rem; background: white; color: inherit; }
input[type=checkbox] { width: auto; }
fieldset { margin: 0 0 .75rem; border: 1px solid var(--line); border-radius: .3rem; padding: .6rem; min-width: 0; }
fieldset label:last-child { margin-bottom: 0; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
footer { background: var(--ink); color: white; padding: 1.5rem 5vw; display: flex; flex-wrap: wrap; gap: .7rem 2rem; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .55rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.scroll { overflow-x: auto; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem; align-items: start; }
.admin-heading { margin-bottom: 1rem; }
.status { position: sticky; bottom: 0; padding: .65rem 5vw; margin: 0; color: white; background: var(--ink); z-index: 2; }
.status:empty { display: none; }
details { margin: .8rem 0; }
summary { cursor: pointer; font-weight: 700; }
@media (max-width: 720px) {
  .booking-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 24rem; }
  .section { padding: 2rem 5vw; }
}
.booking-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.booking-link { display: grid; grid-template-rows: auto 1fr auto; gap: .5rem; min-height: 9rem; }
.booking-link strong { font-size: 1.3rem; }
.booking-link span { color: var(--muted); }
.booking-link .booking-arrow { justify-self: end; color: var(--accent); }
.booking-links .booking-link:hover { background: var(--hostel-blue-soft); text-decoration: none; }
.booking-info h1 { margin-top: .45em; }
.booking-info > p { max-width: 46rem; }
#booking-lookup { display: grid; gap: .75rem; max-width: 28rem; margin-block: 1rem; }
#booking-lookup button { justify-self: start; }
@media (max-width: 52rem) { .booking-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 34rem) { .booking-links { grid-template-columns: 1fr; } }


.booking-links .booking-link { padding: 1.35rem; }
.booking-links .booking-link:hover { background: #f0f3df; }

.room-page {
  --ink: var(--hostel-ink, #252b2b);
  --muted: var(--hostel-muted, #515c59);
  --accent: var(--hostel-blue, #006cb6);
  --paper: var(--hostel-paper, #fffdf2);
  --line: var(--hostel-line, #d6cc9e);
  background: var(--paper);
  font-family: var(--hostel-font, system-ui, sans-serif);
}
.room-page .topbar, .room-page .hero {
  background: var(--hostel-yellow, #ece2a6);
  color: var(--ink);
}
.room-page .hero { grid-template-columns: 1fr 1fr; align-items: stretch; }
.room-page .hero-copy { align-self: center; }
.room-page .hero-copy .eyebrow { color: var(--muted); }
.room-page .hero h1 { font-size: clamp(2.2rem, 5vw, 4.3rem); line-height: 1.08; }
.room-page .hero-art { width: 100%; height: 100%; max-height: 34rem; object-fit: cover; }
@media (max-width: 720px) {
  .room-page .hero { grid-template-columns: 1fr; }
  .room-page .hero-art { max-height: 18rem; }
}
