/* =========================================================
   Bahaus Hostel, Cankurtaran
   Palette: the orange the rooms are painted, the charcoal of
   the corner building and the white of its window frames.
   Blue only ever comes from the photographs.
   Type: League Spartan (Futura lineage, a nod to the name)
   for headlines, Karla for reading.
   Motif: one rounded end, like the building's curved corner.
   ========================================================= */

:root {
  --oda: #EF7B2E;
  --oda-2: #F48F4C;
  --oda-tint: #FCE6D6;
  --antrasit: #2C2F36;
  --antrasit-2: #3B3F48;
  --antrasit-3: #212329;
  --white: #FFFFFF;
  --ink: #2C2F36;
  --muted: #62666E;
  --line: #E4E2DF;
  --line-ink: rgba(44, 47, 54, .28);

  --on-dark: #F1F1EF;
  --on-dark-muted: #B4B8BF;
  --line-dark: rgba(241, 241, 239, .16);

  --f-display: "League Spartan", "Futura", "Century Gothic", system-ui, sans-serif;
  --f-body: "Karla", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 9vw, 140px);
  --header-h: 72px;
  --corner: clamp(44px, 7vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Hero: change these when the new header photo arrives */
  --hero-h: clamp(540px, calc(100svh - var(--header-h) - var(--bar-h) / 2 - 28px), 940px);
  --hero-pos: 50% 0%;            /* object-position of the photo */
  --hero-copy-top: clamp(28px, 6vh, 72px);
  --hero-align: flex-start;      /* flex-end puts the headline on the right */
  --bar-h: 96px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
dl, dd { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 2px solid var(--antrasit); outline-offset: 3px; }
.booking :focus-visible,
.know :focus-visible,
.site-footer :focus-visible,
.sticky-book :focus-visible,
.lightbox :focus-visible,
.ptab.is-active:focus-visible { outline-color: var(--oda); }
.booking .popover :focus-visible { outline-color: var(--antrasit); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--oda); color: var(--antrasit); padding: 10px 16px; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -.018em;
  color: var(--antrasit);
  margin: 0;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.125rem, 1.05rem + .32vw, 1.3rem);
  line-height: 1.55;
}

figcaption { margin-top: 12px; font-size: .875rem; color: var(--muted); }

/* One rounded corner, like the building's curved bay */
.corner { border-top-right-radius: var(--corner); }

/* ---------- Buttons & links ---------- */
/* Every button ends in a round, like the corner of the building */
.btn {
  --btn-bg: var(--antrasit);
  --btn-fg: var(--white);
  --btn-bd: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 12px 30px 12px 24px;
  border: 2px solid var(--btn-bd);
  border-radius: 0 999px 999px 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-body);
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn--sm { min-height: 40px; padding: 7px 22px 7px 16px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 14px 36px 14px 28px; font-size: 1rem; }
.btn--dark:hover { --btn-bg: var(--antrasit-2); }
.btn--orange { --btn-bg: var(--oda); --btn-fg: var(--antrasit); }
.btn--orange:hover { --btn-bg: var(--oda-2); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--antrasit); --btn-bd: var(--antrasit); }
.btn--ghost:hover { --btn-bg: var(--antrasit); --btn-fg: var(--white); }
.btn__icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.text-link {
  color: var(--antrasit);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--oda);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: currentColor; }

.link-btn {
  background: none; border: 0; padding: 8px 4px; cursor: pointer;
  color: var(--muted); font-size: .9375rem;
  text-decoration: underline; text-underline-offset: 4px;
}
.link-btn:hover { color: var(--antrasit); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid transparent; border-radius: 50%;
  color: var(--antrasit); cursor: pointer;
  transition: background-color .2s var(--ease), opacity .2s;
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: var(--oda-tint); }
.icon-btn:disabled { opacity: .3; cursor: default; background: transparent; }
.icon-btn--round { border-color: #CFCCC8; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  height: 100%;
  max-width: none;
  padding-inline: clamp(16px, 3.2vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--antrasit); }
.brand__mark { width: 26px; height: 26px; flex: none; fill: var(--oda); }
.brand__name {
  font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; line-height: 1;
  letter-spacing: -.02em; padding-top: .14em; white-space: nowrap;
}
.brand__kind {
  font-family: var(--f-body); font-weight: 500; font-size: .875rem; letter-spacing: 0;
  color: var(--muted); margin-left: 8px; position: relative; top: -.1em;
}

.nav__list { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav__list a {
  text-decoration: none; color: var(--antrasit);
  font-size: .9375rem; font-weight: 500;
  padding-block: 8px;
  background: linear-gradient(var(--oda), var(--oda)) left bottom / 0 2px no-repeat;
  transition: background-size .3s var(--ease);
}
.nav__list a:hover { background-size: 100% 2px; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }

.lang { display: flex; align-items: center; }
.lang__btn {
  background: none; border: 0; cursor: pointer;
  padding: 6px 8px; font-size: .8125rem; font-weight: 700; letter-spacing: .04em;
  color: #8A8E95;
}
.lang__btn + .lang__btn { border-left: 1px solid var(--line); }
.lang__btn.is-active { color: var(--antrasit); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--antrasit);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: var(--white);
  padding-block: 8px 40px;
  overflow-y: auto;
}
.mobile-menu__list li { border-bottom: 1px solid var(--line); }
.mobile-menu__list a {
  display: block; padding: 18px 0 14px;
  font-family: var(--f-display); font-weight: 700; font-size: 1.8rem; line-height: 1.1;
  color: var(--antrasit); text-decoration: none;
}
.mobile-menu__foot { display: grid; gap: 10px; margin-top: 32px; color: var(--muted); }
.mobile-menu__foot a { text-decoration: none; }

/* ---------- Hero ---------- */
/* The photo fills the hero. Each line of the headline sits on its own
   white band, like the white trim running round the black façade. */
.hero {
  position: relative;
  padding-bottom: calc(var(--bar-h) / 2 + 56px);
}
.hero__media { position: relative; display: block; height: var(--hero-h); overflow: hidden; background: #8FBCE6; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos); }

.hero__copy {
  position: absolute; z-index: 2;
  top: var(--hero-copy-top); left: 0; right: 0;
  margin-inline: auto;
  width: 100%; max-width: var(--container);
  padding-inline: var(--gutter);
  display: flex; flex-direction: column; align-items: var(--hero-align);
  pointer-events: none;
}
.hero__place span {
  display: inline-block;
  background: var(--antrasit); color: var(--white);
  font-size: .9375rem; font-weight: 600; line-height: 1;
  padding: 10px 14px 9px;
}
.hero__title {
  margin: 14px 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.4rem, .9rem + 4vw, 5.4rem);
  line-height: 1.24;
  letter-spacing: -.02em;
  color: var(--antrasit);
}
.hero__title span {
  background: var(--white);
  padding: .1em .24em 0;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Booking ---------- */
.hero__booking {
  position: absolute; z-index: 5;
  left: 0; right: 0;
  top: calc(var(--hero-h) - var(--bar-h) / 2);
  margin-inline: auto;
  width: 100%; max-width: var(--container);
  padding-inline: var(--gutter);
}
.booking {
  position: relative;
  width: min(100%, 1184px);
  min-height: var(--bar-h);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.45fr auto;
  background: var(--antrasit);
  color: var(--on-dark);
  border-radius: 0 calc(var(--bar-h) / 2) calc(var(--bar-h) / 2) 0;
  box-shadow: 0 24px 50px -28px rgba(20, 22, 26, .55);
}
.booking__field {
  position: relative;
  display: grid; align-content: center; gap: 1px;
  text-align: left;
  padding: 14px 22px;
  min-width: 0;
  background: none; border: 0;
  color: var(--on-dark);
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
.booking__field + .booking__field { border-left: 1px solid var(--line-dark); }
.booking__field:hover, .booking__field[aria-expanded="true"] { background: rgba(241, 241, 239, .06); }
.booking__label { font-size: .8125rem; font-weight: 500; color: var(--on-dark-muted); }
.booking__value {
  font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; line-height: 1.3;
  color: var(--white); padding-top: .08em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.booking__value.is-empty { color: var(--on-dark-muted); }
.booking__sub { font-size: .8125rem; color: var(--on-dark-muted); min-height: 1.3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.booking__select {
  appearance: none; -webkit-appearance: none;
  width: 100%; min-width: 0;
  margin: 0; padding: .08em 26px 0 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EF7B2E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0 center / 18px no-repeat;
  border: 0; border-radius: 0;
  color: var(--white);
  font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; line-height: 1.3;
  cursor: pointer;
  text-overflow: ellipsis;
}
.booking__select:focus-visible { outline: none; }
.booking__field--select:focus-within { outline: 2px solid var(--oda); outline-offset: -4px; }
.booking__select option,
.booking__select optgroup { color: var(--antrasit); background: var(--white); font-family: var(--f-body); font-size: 1rem; font-style: normal; }

.booking__submit { display: flex; align-items: stretch; padding: 0; }
.booking__btn {
  height: 100%; min-height: var(--bar-h);
  border-radius: 0 calc(var(--bar-h) / 2) calc(var(--bar-h) / 2) 0;
  padding: 0 44px 0 30px;
  font-size: 1.0625rem;
}
.booking__note { margin-top: 14px; font-size: .875rem; color: var(--muted); max-width: 72ch; }

/* Popovers */
.popover {
  position: absolute; z-index: 40;
  top: calc(100% + 12px);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 70px -20px rgba(20, 22, 26, .45), 0 0 0 1px rgba(44, 47, 54, .08);
  animation: pop .22s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.datepicker { left: 0; width: min(720px, 100%); padding: 22px 24px 18px; border-top-right-radius: 28px; }
.datepicker__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.datepicker__hint { font-size: .9375rem; color: var(--muted); }
.datepicker__nav { display: flex; gap: 4px; }
.datepicker__months { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.datepicker__foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px;
}

.month__caption {
  font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; color: var(--antrasit);
  margin: 4px 0 12px; text-transform: capitalize;
}
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.month__dow { font-size: .75rem; color: var(--muted); text-align: center; padding-bottom: 8px; }
.day {
  position: relative;
  aspect-ratio: 1 / 1; min-height: 40px;
  display: grid; place-items: center;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: .9375rem; font-variant-numeric: tabular-nums; color: var(--ink);
}
.day span {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  transition: background-color .15s, color .15s;
}
.day:hover:not(:disabled) span { background: var(--oda-tint); }
.day:disabled { color: #B3B5B9; cursor: default; }
.day:focus-visible { outline: none; }
.day:focus-visible span { box-shadow: 0 0 0 2px var(--antrasit); }
.day.is-today span { box-shadow: inset 0 0 0 1px #CFCCC8; }
.day.in-range::before, .day.in-preview::before,
.day.is-start::before, .day.is-end::before {
  content: ""; position: absolute; inset: 4px 0; background: var(--oda-tint);
}
.day.is-start::before { left: 50%; }
.day.is-end::before { right: 50%; }
.day.is-start.is-end::before { display: none; }
.day.is-start:not(.has-range)::before { display: none; }
.day.is-start span, .day.is-end span { background: var(--antrasit); color: var(--white); }
.day.is-start:hover span, .day.is-end:hover span { background: var(--antrasit-2); }
.day--blank { pointer-events: none; }

.guests { width: 380px; padding: 8px 24px 20px; border-top-right-radius: 28px; }
.counter {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.counter__title { font-weight: 700; color: var(--antrasit); }
.counter__hint { font-size: .8125rem; color: var(--muted); }
.counter__ctrl { display: flex; align-items: center; gap: 14px; }
.counter__ctrl output { min-width: 1.5ch; text-align: center; font-variant-numeric: tabular-nums; font-size: 1.0625rem; font-weight: 700; }
.guests__note { font-size: .8125rem; line-height: 1.5; color: var(--muted); padding-top: 14px; }
.guests__foot { display: flex; justify-content: flex-end; padding-top: 18px; }

.scrim {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(24, 26, 30, .55);
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } }

/* ---------- Intro ---------- */
.intro { padding-top: clamp(56px, 6vw, 96px); }
.intro__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.intro__media { grid-column: 1 / span 6; }
.intro__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.intro__text { grid-column: 8 / -1; padding-top: clamp(8px, 2vw, 32px); }
.intro__text .h2 { margin-bottom: 26px; max-width: 12ch; }
.intro__text p + p { margin-top: 16px; color: var(--muted); }

.facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(16px, 2.4vw, 32px);
  margin-top: 36px;
}
.facts div { padding: 14px 0 16px; border-top: 2px solid var(--antrasit); }
.facts dt { font-size: .8125rem; color: var(--muted); }
.facts dd { margin-top: 2px; font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; line-height: 1.25; color: var(--antrasit); padding-top: .1em; }
.intro__proof { margin-top: 18px; font-size: .875rem; color: var(--muted); }

/* ---------- Rooms: the bed picker (the loud part) ---------- */
.rooms { background: var(--oda); color: var(--antrasit); }
.rooms__head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.rooms__title {
  grid-column: 1 / span 7;
  font-size: clamp(3rem, 1.2rem + 5.6vw, 7rem);
  line-height: .92;
  letter-spacing: -.03em;
  padding-top: .1em;
}
.rooms__intro { grid-column: 8 / -1; font-size: 1.0625rem; line-height: 1.55; padding-bottom: .4em; }

.picker {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 3fr);
  column-gap: 20px;
}
.picker__group {
  grid-row: 1;
  font-size: .9375rem; font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--antrasit);
}
.picker__group--dorm { grid-column: 1; }
.picker__group--private { grid-column: 2; }
.picker__tabs {
  grid-row: 2; grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 20px repeat(3, minmax(0, 1fr));
}
.ptab--private { grid-column: 6; }

.ptab {
  display: grid; align-content: start; justify-items: start; gap: 4px;
  min-width: 0;
  padding: 20px 16px 20px;
  text-align: left;
  background: transparent; border: 0;
  border-right: 1px solid var(--line-ink);
  color: var(--antrasit);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.ptab:nth-child(4), .ptab:last-child { border-right: 0; }
.ptab__art {
  height: 26px; width: auto; max-width: 100%;
  margin-bottom: 12px;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round;
  overflow: visible;
}
.ptab__name { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.ptab__meta { font-size: .875rem; line-height: 1.35; }
.ptab:hover { background: rgba(44, 47, 54, .08); }
.ptab.is-active { background: var(--antrasit); color: var(--white); }
.ptab.is-active .ptab__art { stroke: var(--oda); }

.rooms__stage { display: grid; margin-top: clamp(36px, 4vw, 56px); }
.room {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: end;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.room.is-active { opacity: 1; visibility: visible; transition: opacity .4s var(--ease), visibility 0s; }
.room__media { grid-column: 1 / span 7; }
.room__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room__body { grid-column: 9 / -1; display: grid; gap: 18px; justify-items: start; }
.room__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
  line-height: 1.08; letter-spacing: -.015em; margin: 0; padding-top: .1em;
}
.room__specs { width: 100%; display: grid; }
.room__specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-ink); font-size: .9375rem; }
.room__specs div:first-child { border-top: 1px solid var(--line-ink); }
.room__specs dd { font-weight: 700; text-align: right; }
.room__body .btn { margin-top: 6px; }
.rooms__common { margin-top: clamp(40px, 4vw, 56px); padding-top: 18px; border-top: 1px solid var(--line-ink); font-size: .9375rem; max-width: 80ch; }

/* ---------- Rooftop ---------- */
.roof__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  row-gap: clamp(48px, 5vw, 72px);
  align-items: start;
}
.roof__text { grid-column: 1 / span 6; grid-row: 1; }
.roof__text .h2 { margin-bottom: 24px; max-width: 12ch; }
.roof__main { grid-column: 8 / -1; grid-row: 1; }
.roof__main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 42%; }

.roof__list { margin-top: 36px; display: grid; }
.roof__list div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.roof__list div:last-child { border-bottom: 1px solid var(--line); }
.roof__list dt { font-weight: 700; }
.roof__list dd { color: var(--muted); }

.roof__week { grid-column: 1 / -1; grid-row: 2; }
.roof__week-title { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; margin: 0 0 16px; padding-top: .1em; }
.week {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 3px solid var(--antrasit);
}
.week li {
  display: grid; align-content: start; gap: 6px; justify-items: start;
  min-height: 128px;
  padding: 16px 14px 18px;
  border-right: 1px solid var(--line);
}
.week li:last-child { border-right: 0; }
.week__day { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; line-height: 1.2; padding-top: .1em; }
.week__item { font-size: .875rem; line-height: 1.35; color: var(--muted); }
.week__item--crawl { white-space: nowrap; }
.week__item--crawl {
  color: var(--antrasit); font-weight: 700;
  background: var(--oda);
  padding: 3px 12px 3px 8px;
  border-radius: 0 999px 999px 0;
}
.week__legend { margin-top: 14px; font-size: .9375rem; color: var(--muted); }

/* ---------- Good to know ---------- */
.know { background: var(--antrasit); color: var(--on-dark); }
.know .h2 { color: var(--white); }
.know__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.know__head { grid-column: 1 / span 4; }
.know__intro { margin-top: 22px; color: var(--on-dark-muted); max-width: 34ch; }
.know__list {
  grid-column: 6 / -1;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3vw, 48px);
}
.know__list div { padding: 18px 0 22px; border-top: 1px solid var(--line-dark); }
.know__list dt { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; line-height: 1.25; color: var(--white); padding-top: .1em; }
.know__list dd { margin-top: 4px; color: var(--on-dark-muted); font-size: .9375rem; }

/* ---------- Section head ---------- */
.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: end;
  margin-bottom: clamp(36px, 4.4vw, 60px);
}
.section-head .h2 { grid-column: 1 / span 6; }
.section-head__text { grid-column: 8 / -1; color: var(--muted); max-width: 52ch; }

/* ---------- Location ---------- */
.location__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: stretch;
}
.location__map { grid-column: 1 / span 7; min-height: 560px; background: var(--line); border-top-right-radius: var(--corner); overflow: hidden; }
.location__map iframe { display: block; width: 100%; height: 100%; min-height: 560px; border: 0; filter: saturate(.6) contrast(1.02); }
.location__info { grid-column: 9 / -1; display: flex; flex-direction: column; align-items: flex-start; }
.location__address {
  display: grid; margin-bottom: 28px;
  font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; line-height: 1.35; color: var(--antrasit);
}
.distances { width: 100%; margin-bottom: 24px; }
.distances__title { font-size: .875rem; font-weight: 700; margin: 0 0 6px; }
.distances ul + .distances__title { margin-top: 24px; }
.distances li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9375rem;
}
.distances li span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.location__note { font-size: .875rem; color: var(--muted); margin-bottom: 22px; }

/* ---------- Gallery ---------- */
.gallery { padding-top: 0; }
.gallery__title { margin-bottom: clamp(32px, 4vw, 52px); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(160px, 18vw, 270px);
  gap: clamp(8px, 1.2vw, 16px);
}
.gallery__grid li { min-width: 0; }
.g-a { grid-column: 1 / span 6; grid-row: 1 / span 2; }
.g-b { grid-column: 7 / span 3; grid-row: 1 / span 2; }
.g-c { grid-column: 10 / -1; grid-row: 1; }
.g-d { grid-column: 10 / -1; grid-row: 2; }
.g-e { grid-column: 1 / span 4; grid-row: 3; }
.g-f { grid-column: 5 / span 2; grid-row: 3; }
.g-g { grid-column: 7 / span 3; grid-row: 3; }
.g-h { grid-column: 10 / -1; grid-row: 3; }
.g-a .gallery__item { border-top-right-radius: var(--corner); }
.gallery__item {
  display: block; width: 100%; height: 100%; padding: 0; border: 0;
  background: var(--line); cursor: zoom-in; overflow: hidden;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.025); }
.gallery__item:focus-visible { outline-offset: 2px; }

/* ---------- Closing ---------- */
.closing { padding-block: 0 var(--section); }
.closing__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: center;
  padding-top: var(--section);
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.closing__media { grid-column: 1 / span 6; }
.closing__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.closing__body { grid-column: 8 / -1; }
.closing__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.6rem, 1.3rem + 4vw, 5.6rem);
  line-height: .95; letter-spacing: -.03em; color: var(--antrasit);
  margin: 0; padding-top: .1em; text-wrap: balance;
}
.closing__text { margin-top: 22px; color: var(--muted); max-width: 36ch; }
.closing__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--antrasit-3); color: var(--on-dark-muted); font-size: .9375rem; padding-top: 64px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--oda); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 32px; padding-bottom: 48px; }
.site-footer__name {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--white);
  margin-bottom: 14px; letter-spacing: -.02em;
}
.site-footer__name span { font-family: var(--f-body); font-weight: 500; font-size: .875rem; color: var(--on-dark-muted); letter-spacing: 0; margin-left: -2px; }
.site-footer__mark { width: 24px; height: 24px; fill: var(--oda); flex: none; }
.site-footer__brand p:last-child { max-width: 34ch; }
.site-footer__title { font-size: .875rem; font-weight: 700; color: var(--oda); margin: 0 0 10px; }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 22px calc(22px + env(safe-area-inset-bottom));
  font-size: .8125rem;
  background: linear-gradient(var(--line-dark), var(--line-dark)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-book { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(28, 30, 35, .97);
  color: var(--white);
}
.lightbox[open] { display: grid; place-items: center; animation: fade .25s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 82vh; object-fit: contain; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; font-size: .9375rem; color: var(--on-dark-muted); padding-inline: 72px; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); color: var(--white); cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .16); }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 1180px) and (min-width: 900px) {
  .booking { grid-template-columns: 1fr 1fr .9fr 1.3fr auto; }
  .booking__field { padding-inline: 18px; }
  .booking__btn { padding: 0 34px 0 22px; }
  .booking__value, .booking__select { font-size: 1.25rem; }
  .ptab { padding-inline: 12px; }
  .ptab__art { height: 22px; }
}

@media (max-width: 1023px) {
  .intro__media, .intro__text,
  .roof__text, .roof__main,
  .know__head, .know__list,
  .location__map, .location__info,
  .room__media, .room__body,
  .rooms__title, .rooms__intro,
  .closing__media, .closing__body,
  .section-head .h2, .section-head__text { grid-column: 1 / -1; }
  .intro__text { margin-top: 36px; padding-top: 0; }
  .rooms__intro { margin-top: 18px; max-width: 56ch; }
  .room { align-items: start; }
  .room__body { margin-top: 24px; }
  .roof__main { grid-row: 2; max-width: 560px; }
  .roof__week { grid-row: 3; grid-column: 1 / -1; }
  .know__list { margin-top: 36px; }
  .section-head__text { margin-top: 16px; }
  .location__info { grid-row: 1; margin-bottom: 40px; }
  .location__map { grid-row: 2; }
  .closing__body { margin-top: 36px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  /* Photo on top with the headline in its sky, search right below */
  .hero { padding-bottom: 0; }
  .hero__media { height: clamp(440px, 72svh, 640px); }
  .hero__media img { object-position: 50% 0%; }
  .hero__copy { top: 22px; }
  .hero__booking { position: relative; top: auto; margin-top: -56px; }

  .booking { grid-template-columns: 1fr 1fr; border-radius: 0 32px 0 0; }
  .booking__field { min-height: 82px; padding: 12px 16px; }
  .booking__field:nth-child(3) { border-left: 0; }
  .booking__field:nth-child(3), .booking__field:nth-child(4) { border-top: 1px solid var(--line-dark); }
  .booking__submit { grid-column: 1 / -1; }
  .booking__btn { width: 100%; min-height: 60px; border-radius: 0; padding: 0 20px; }
  .booking__value, .booking__select { font-size: 1.2rem; }
  .booking__note { margin-top: 12px; }

  /* Popovers become bottom sheets */
  .popover {
    position: fixed; z-index: 80;
    left: 0 !important; right: 0 !important; top: auto; bottom: 0;
    width: 100% !important; max-height: 88vh; overflow-y: auto;
    border-radius: 18px 18px 0 0;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    animation: sheet .3s var(--ease);
  }
  .datepicker { display: flex; flex-direction: column; overflow: hidden; padding-inline: 16px; }
  .datepicker__months { grid-template-columns: 1fr; gap: 20px; overflow-y: auto; min-height: 0; flex: 1 1 auto; overscroll-behavior: contain; }
  .datepicker__foot { flex: none; }
  .day span { width: 44px; height: 44px; }

  /* Bed picker scrolls sideways */
  .picker { display: block; }
  .picker__group { display: none; }
  .picker__tabs {
    display: flex; overflow-x: auto; scroll-snap-type: x proximity;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    border-top: 3px solid var(--antrasit);
  }
  .picker__tabs::-webkit-scrollbar { display: none; }
  .ptab { flex: 0 0 auto; width: 168px; scroll-snap-align: start; border-right: 1px solid var(--line-ink); }
  .ptab:nth-child(4) { border-right: 3px solid var(--antrasit); }

  .week { grid-template-columns: 1fr; border-top-width: 3px; }
  .week li { min-height: 0; grid-template-columns: 7.5rem 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .week__day { font-size: 1rem; }

  .sticky-book {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(44, 47, 54, .96);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transform: translateY(110%);
    transition: transform .35s var(--ease);
  }
  .sticky-book .btn { flex: 1; }
  .sticky-book__icon { width: 48px; height: 48px; flex: none; color: var(--on-dark); border-color: rgba(241, 241, 239, .35); }
  .sticky-book__icon:hover { background: rgba(241, 241, 239, .08); }
  .sticky-book.is-visible { transform: none; }
  .site-footer { padding-bottom: 76px; }

  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(150px, 40vw, 260px); }
  .gallery__grid li { grid-column: auto; grid-row: auto; }
  .gallery__grid .g-a, .gallery__grid .g-h { grid-column: 1 / -1; }
  .gallery__grid .g-b, .gallery__grid .g-f { grid-row: span 2; }
}
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .site-header__inner { gap: 10px; }
  .site-header__actions { gap: 4px; }
  .brand__name { font-size: 1.4rem; }
  .site-header__cta { display: none; }
  .hero__title { font-size: clamp(2.05rem, 1.2rem + 4.4vw, 2.6rem); }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts dd { font-size: 1.1rem; }
  .know__list { grid-template-columns: 1fr; }
  .roof__list div { grid-template-columns: 1fr; gap: 2px; }
  .location__map, .location__map iframe { min-height: 360px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .closing__actions .btn { width: 100%; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 64px; transform: none; }
  .lightbox__cap { bottom: 132px; padding-inline: 24px; }
  .week li { grid-template-columns: 6.5rem 1fr auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
