/* Roskilde B&B + Køge Guesthouse. Design "04 Sunset" (desktop) with 05's booking-first phone layout.
   Orange Strait wordmark, wheat ground, dusk navy, the terrace at sunset. */

@font-face { font-family: "Strait"; src: url("strait.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("source-serif-4.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("source-serif-4-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --paper: #fcf6e9;
  --barley: #ebcf92;
  --barley-soft: #f5e6c2;
  --sunset: #e8700f;
  --sunset-ink: #b4520a;
  --book: #c2570a;
  --book-hover: #9c4405;
  --dusk: #1e2944;
  --meadow: #1c6a64;
  --ink: #2a2a33;
  --muted: #5d5a55;
  --rule: #e2d2ad;
  --score: #1e2944;
  --display: "Strait", "Arial Narrow", sans-serif;
  --text: "Source Serif 4", Georgia, serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.1875rem/1.6 var(--text);
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sunset-ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--dusk); }
:focus-visible { outline: 3px solid var(--sunset); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; color: var(--dusk); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.1em; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--dusk); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
.button {
  display: inline-flex; align-items: center; min-height: 52px; padding: 12px 26px; border-radius: 6px;
  background: var(--dusk); color: #fff; text-decoration: none; font: 600 1.1rem/1 var(--text);
}
.button:hover { background: var(--book); color: #fff; }

/* ---------- top bar + masthead ---------- */
.topbar { background: var(--dusk); color: #e9e2d3; font-size: .95rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; flex-wrap: wrap; }
.topbar p { margin: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.topbar a { color: #e9e2d3; }
.topbar a:first-child { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .lang a { color: #f6a65c; font-weight: 600; }

.masthead { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.masthead .wrap { display: flex; align-items: center; gap: 20px; padding-block: 12px; }
.brand { text-decoration: none; display: grid; line-height: 1; margin-right: auto; }
.brand-name { font-family: var(--display); font-size: 2.1rem; color: var(--sunset); letter-spacing: -.01em; }
.brand-line { font-family: var(--text); font-style: italic; font-size: .95rem; color: var(--muted); margin-top: 4px; }
.nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav a { font-family: var(--display); font-size: 1.2rem; color: var(--dusk); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { border-bottom-color: var(--barley); }
.nav a[aria-current="page"] { border-bottom-color: var(--sunset); }
.menu-toggle { display: none; }

/* the orange "Book here" (Pernille: top right, after Guest Reviews) */
.book-now, .book-go, .mobile-book {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px;
  background: var(--book); color: #fff; border: 0; border-radius: 6px; cursor: pointer;
  font: 600 1.15rem/1 var(--text); text-decoration: none; white-space: nowrap;
}
.book-now:hover, .book-go:hover, .mobile-book:hover { background: var(--book-hover); color: #fff; }

/* ---------- home: hero ---------- */
.hero { position: relative; isolation: isolate; height: min(76vh, 800px); min-height: 420px; overflow: hidden; background: var(--dusk); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to top, rgb(20 22 38 / .78) 0%, rgb(20 22 38 / .25) 42%, transparent 66%),
              linear-gradient(to right, rgb(20 22 38 / .45) 0%, transparent 55%); }
.hero-text { position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px); z-index: 1; }
.hero h1 {
  color: #fff7ea; font-size: clamp(2.5rem, 7vw, 6.2rem); line-height: .95; letter-spacing: -.015em;
  max-width: 14ch; margin: 0; text-shadow: 0 2px 24px rgb(0 0 0 / .3);
  animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) .15s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- home: photo + booking window ---------- */
.welcome { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr); gap: clamp(20px, 3vw, 44px); padding-block: clamp(36px, 6vw, 80px); align-items: start; }
.welcome-photo { margin: 0; }
.welcome-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; box-shadow: 0 18px 40px rgb(30 41 68 / .18); }

.book { background: var(--barley-soft); border: 2px solid var(--barley); border-radius: 10px; padding: clamp(20px, 2.4vw, 30px); }
.book h2 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin-bottom: 16px; }
.book-fields { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.book label { display: grid; gap: 6px; font-weight: 600; color: var(--dusk); font-size: 1.05rem; }
.book input, .book select {
  font: 1.15rem/1.2 var(--text); color: var(--ink); background: #fff; min-height: 52px; width: 100%;
  border: 2px solid #c9b48a; border-radius: 6px; padding: 10px 12px;
}
.book input:focus-visible, .book select:focus-visible { outline: 3px solid var(--sunset); outline-offset: 1px; border-color: var(--dusk); }
.book-go { grid-column: 1 / -1; width: 100%; font-size: 1.25rem; min-height: 58px; }
.book-note { margin: 14px 0 0; font-size: 1rem; color: var(--muted); }
.book-note a { font-weight: 700; color: var(--dusk); white-space: nowrap; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 22px 0 0; padding: 0 4px; }
.facts dt { font-family: var(--display); font-size: 1.25rem; color: var(--dusk); }
.facts dd { margin: 2px 0 0; font-size: 1rem; color: var(--muted); }

/* inner pages: compact booking band at the end */
.book-band { background: var(--barley); padding-block: clamp(24px, 4vw, 44px); margin-top: clamp(40px, 6vw, 80px); }
.book-compact { background: transparent; border: 0; padding: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 28px; align-items: center; }
.book-compact h2 { margin: 0; font-size: 1.7rem; }
.book-compact .book-fields { grid-template-columns: 1.4fr 1fr 1fr auto; align-items: end; }
.book-compact .book-go { grid-column: auto; width: auto; font-size: 1.15rem; min-height: 52px; }
.book-compact .book-note { grid-column: 2; margin: 0; color: var(--dusk); }
.booking-page { padding-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }

/* ---------- intro ---------- */
.intro { background: #fff; border-block: 1px solid var(--rule); }
.intro .wrap { padding-block: clamp(44px, 6vw, 84px); }
.lead { font-size: 1.32rem; line-height: 1.5; color: var(--dusk); }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.85rem; margin-top: 1.2em; color: var(--sunset-ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.35rem; margin-top: 1em; }
.prose table { border-collapse: collapse; width: 100%; font-size: 1rem; }
.prose td, .prose th { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--rule); }

/* ---------- gallery strip ---------- */
.gallery { padding-block: clamp(48px, 7vw, 96px); }
.gallery-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.gallery-head h2 { font-size: 2.2rem; margin: 0 auto 0 0; }
.gallery-head button, .viewer button, .map-load {
  font: 1.05rem/1 var(--display); color: var(--dusk); background: transparent; cursor: pointer;
  border: 1.5px solid var(--dusk); border-radius: 999px; padding: 12px 20px;
}
.gallery-head button:hover, .map-load:hover { background: var(--dusk); color: var(--paper); }
.gallery-all { font-weight: 600; margin-right: 8px; }
.strip {
  list-style: none; margin: 0; padding: 0 var(--gutter);
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 28vw, 380px); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--barley) transparent; overscroll-behavior-x: contain;
}
.strip li { scroll-snap-align: start; }
.strip a { display: block; border-radius: 6px; overflow: hidden; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.strip a:hover img { transform: scale(1.03); }

/* ---------- visit us ---------- */
.visit { position: relative; isolation: isolate; background: var(--dusk); padding-block: clamp(56px, 9vw, 120px); overflow: hidden; }
.visit-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .9; }
.visit-row { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.card { font-style: normal; background: var(--paper); border-radius: 8px; padding: clamp(22px, 3vw, 36px); }
.card h2 { color: var(--sunset); font-size: 2.2rem; }
.card p:last-child { margin: 0; }
.map { border-radius: 8px; overflow: hidden; min-height: 300px; display: grid; place-content: center; justify-items: center; gap: 8px; background: rgb(30 41 68 / .55); }
.map .map-load { color: var(--paper); border-color: var(--paper); }
.map .map-load:hover { background: var(--paper); color: var(--dusk); }
.map-note { color: #e9e2d3; font-size: .9rem; margin: 0; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.map.loaded { display: block; }

/* ---------- inner pages ---------- */
.page-head { padding-block: clamp(36px, 6vw, 80px) clamp(16px, 3vw, 32px); }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 18ch; margin: 0; }
.page-head h1::after { content: ""; display: block; width: 72px; height: 4px; background: var(--sunset); margin-top: 20px; border-radius: 2px; }
.page-head .lead { margin: 20px 0 0; max-width: 60ch; }
.sec { padding-block: clamp(16px, 2.5vw, 28px); }
.sec-tinted .prose { background: var(--barley-soft); border-radius: 10px; padding: clamp(20px, 3vw, 36px); max-width: none; }
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.side { display: grid; gap: 16px; }
figure { margin: 0; }
figure a { display: block; border-radius: 8px; overflow: hidden; }
figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
figure a:hover img { transform: scale(1.03); }
figcaption { font-size: .95rem; color: var(--muted); margin-top: 8px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-block: 8px 24px; }
.cards { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.cards li { border-top: 3px solid var(--sunset); padding-top: 16px; display: flex; flex-direction: column; }
.cards img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 14px; }
.cards h3 { font-size: 1.45rem; margin-bottom: 6px; }
.cards p { font-size: 1.02rem; color: var(--muted); }
.cards li > a { margin-top: auto; font-weight: 600; }
.fold { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-block: 20px; padding-block: 4px; }
.fold + .fold { margin-top: -21px; }
.fold summary { cursor: pointer; font-family: var(--display); font-size: 1.6rem; color: var(--dusk); padding: 16px 0; list-style-position: inside; }
.fold summary::marker { color: var(--sunset); }
.fold > * + * { padding-bottom: 20px; }

/* ---------- guest reviews (layout modelled on how reviews read on Booking.com) ---------- */
.reviews { padding-block: 8px clamp(28px, 4vw, 48px); }
.rev-summary { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: clamp(18px, 2.6vw, 30px); margin-bottom: 24px; }
.rev-summary h2 { margin: 0; font-size: 2rem; }
.rev-summary p { margin: 0; color: var(--muted); }
.badge { display: inline-grid; place-items: center; min-width: 2.4em; height: 2.4em; padding: 0 .3em; background: var(--score); color: #fff; font: 700 1rem/1 system-ui, sans-serif; border-radius: 8px 8px 8px 0; }
.badge.big { font-size: 1.5rem; }
.cats { grid-column: 1 / -1; list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; }
.cats li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 1rem; }
.cats .bar { grid-column: 1 / -1; grid-row: 2; height: 8px; background: var(--barley-soft); border-radius: 4px; overflow: hidden; }
.cats .bar span { display: block; height: 100%; background: var(--score); border-radius: 4px; }
.review-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.review { display: grid; grid-template-columns: 200px 1fr; gap: 18px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: clamp(16px, 2.4vw, 26px); }
.who { display: flex; gap: 12px; align-items: flex-start; }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sunset); color: #fff; font: 700 1.1rem/1 system-ui, sans-serif; }
.who p { margin: 0; }
.name { font-weight: 600; color: var(--dusk); }
.country { font-size: .95rem; color: var(--muted); }
.when { font-size: .9rem; color: var(--muted); margin: 0 0 4px; }
.score-row { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.headline { font-weight: 600; font-size: 1.2rem; color: var(--dusk); margin: 0 0 10px; }
.pos, .neg { display: grid; grid-template-columns: 26px 1fr; margin: 0 0 8px; font-size: 1.05rem; }
.ico { font-size: 1.15rem; line-height: 1.4; }
.pos .ico { color: #2f7d32; }
.neg .ico { color: #7a6a5a; }
.reply { margin-top: 10px; border-left: 3px solid var(--barley); padding-left: 14px; font-size: 1rem; color: var(--muted); }
.reply-head { font-weight: 600; color: var(--dusk); margin: 0 0 4px; }
.reply p:last-child { margin: 0; }
.rev-source { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- footer ---------- */
.footer { background: var(--dusk); color: #d9d3c6; padding-block: 48px 28px; font-size: 1rem; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer h2 { font-size: 1.3rem; color: #fff7ea; margin-bottom: .4em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 6px; }
.footer a { color: #f6a65c; }
.footer a:hover { color: #fff; }
.footer .brand-name { font-size: 2rem; margin: 0; }
.footer .brand-line { color: #b9b2a3; margin: 4px 0 0; }

/* ---------- photo viewer ---------- */
.viewer { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.viewer::backdrop { background: rgb(18 22 36 / .92); }
.viewer[open] { display: grid; place-items: center; }
.viewer figure { display: grid; gap: 10px; justify-items: center; padding: 64px 16px; }
.viewer img { max-height: calc(100vh - 150px); width: auto; aspect-ratio: auto; border-radius: 3px; }
.viewer figcaption { color: #d9d3c6; }
.viewer button { position: fixed; color: var(--paper); border-color: rgb(252 246 233 / .6); background: rgb(18 22 36 / .5); }
.viewer button:hover { background: var(--paper); color: var(--dusk); }
.viewer-close { top: 16px; right: 16px; }
.viewer-prev { left: 16px; bottom: 20px; }
.viewer-next { right: 16px; bottom: 20px; }

.mobile-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav a { font-size: 1.08rem; }
  .book-compact { grid-template-columns: 1fr; }
  .book-compact .book-note { grid-column: 1; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .welcome, .split, .visit-row { grid-template-columns: 1fr; }
  .photo-grid, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .review { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body { padding-bottom: 76px; }
  .masthead .wrap { flex-wrap: wrap; }
  .masthead .book-now { display: none; }
  .menu-toggle { display: block; font: 1.05rem/1 var(--display); color: var(--dusk); background: transparent; border: 1.5px solid var(--dusk); border-radius: 999px; padding: 12px 18px; cursor: pointer; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; gap: 0; order: 3; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.3rem; }
  .nav a[aria-current="page"] { color: var(--sunset-ink); border-bottom-color: var(--rule); }
  .brand-name { font-size: 1.75rem; }
  .brand-line { font-size: .85rem; }
  .hero { height: 52vh; min-height: 320px; }
  .welcome { padding-top: 20px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule);
    box-shadow: 0 -4px 18px rgb(30 41 68 / .12);
  }
  .mobile-call { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border: 2px solid var(--dusk); border-radius: 6px; color: var(--dusk); font: 600 1.05rem/1.1 var(--text); text-decoration: none; text-align: center; padding: 6px; }
  .topbar a[href^="mailto"] { display: none; }
}
@media (max-width: 600px) {
  .book-fields, .book-compact .book-fields { grid-template-columns: 1fr 1fr; }
  .book-fields label:first-child { grid-column: 1 / -1; }
  .book-compact .book-go { grid-column: 1 / -1; width: 100%; }
  .photo-grid, .cards, .cats { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr; }
  .strip { grid-auto-columns: 80vw; }
  .facts { grid-template-columns: 1fr 1fr; }
  .gallery-head button { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
