/* ==========================================================================
   SOVA — A different way to stay
   Design tokens taken from the SOVA brandbook (kleurenpalet + typografie)
   ========================================================================== */

:root {
  /* Brand palette */
  --blue: #0224cc;          /* Accenten — the signature cobalt */
  --blue-deep: #011a99;
  --blue-soft: #e8ebfb;
  --cream: #f3eee8;         /* Lampen — warm paper */
  --paper: #fbf9f6;
  --white: #ffffff;         /* Beddengoed / wanden */
  --wood: #c49a6c;          /* Meubilair — light oak */
  --stone: #d7dae3;         /* Banken */
  --steel: #a6a8ad;         /* RVS details */
  --ink: #14182b;
  --ink-soft: #4a4e63;
  --muted: #8a8d9c;
  --line: rgba(2, 36, 204, 0.14);
  --line-ink: rgba(20, 24, 43, 0.1);

  /* Type */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(80px, 11vw, 160px);
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--blue); color: var(--white); }

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

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--blue);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.display { font-size: clamp(44px, 7.4vw, 104px); line-height: 1; letter-spacing: -0.02em; }
.h1 { font-size: clamp(38px, 5.4vw, 72px); }
.h2 { font-size: clamp(30px, 3.8vw, 52px); }
.h3 { font-size: clamp(22px, 2.2vw, 30px); }
em, .italic { font-style: italic; }

.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--ink-soft); font-weight: 300; }
.body-blue { color: var(--blue); }

.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.label--muted { color: var(--muted); }

.runner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  margin-bottom: clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  padding: 0 30px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: var(--white); }
.btn--light { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn--light:hover { background: var(--cream); border-color: var(--cream); }
.btn--line-light { background: transparent; border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--line-light:hover { background: var(--white); color: var(--blue); }
.btn[disabled] { opacity: 0.35; pointer-events: none; }
.btn--block { width: 100%; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: gap 0.3s var(--ease);
}
.link:hover { gap: 16px; }
.arrow { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; }
.arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  color: var(--blue);
}
.site-header.is-over-dark { color: var(--white); }
.site-header.is-scrolled { background: rgba(251, 249, 246, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--blue); box-shadow: 0 1px 0 var(--line); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 32px; }
.wordmark { font-family: var(--sans); font-weight: 300; font-size: 30px; letter-spacing: 0.08em; line-height: 1; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav__links a { white-space: nowrap; font-size: 13px; font-weight: 400; letter-spacing: 0.06em; position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right 0.35s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { right: 0; }
.nav__cta { display: flex; align-items: center; gap: 22px; }
.nav__cta .btn { height: 44px; padding: 0 22px; font-size: 12px; }
.lang { white-space: nowrap; font-size: 12px; letter-spacing: 0.1em; opacity: 0.8; }

.burger { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 49; background: var(--blue); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease);
}
.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.menu-open .site-header { color: var(--white); background: transparent; box-shadow: none; }
.mobile-menu a { font-family: var(--serif); font-size: 38px; line-height: 1.35; display: block; }
.mobile-menu .label { color: rgba(255,255,255,.6); margin-top: 40px; }

@media (max-width: 1180px) {
  .nav__links, .nav__cta .lang { display: none; }
  .burger { display: block; }
}
@media (max-width: 520px) {
  .nav__cta .btn { display: none; }
}

@keyframes heroIn { to { transform: scale(1); } }

/* ---------- Booking bar ---------- */

.bookbar {
  position: relative; z-index: 5;
  margin-top: -56px;
  background: var(--white);
  box-shadow: 0 30px 60px -30px rgba(2, 36, 204, 0.28), 0 0 0 1px var(--line);
  display: grid; grid-template-columns: 1.15fr 1.15fr 0.9fr 1fr auto; align-items: stretch;
}
.bookbar__field { padding: 20px 26px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; position: relative; }
.bookbar__field .label { font-size: 10px; }
.bookbar__field input, .bookbar__field select {
  border: 0; background: transparent; font: inherit; font-family: var(--serif); font-size: 20px; color: var(--ink); padding: 0; width: 100%; outline: none; appearance: none; -webkit-appearance: none; cursor: pointer;
}
.bookbar__field input::-webkit-calendar-picker-indicator { opacity: 0.35; cursor: pointer; }
.bookbar .btn { height: auto; min-height: 88px; padding: 0 40px; border-radius: 0; }
@media (max-width: 900px) {
  .bookbar { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .bookbar__field { border-bottom: 1px solid var(--line); }
  .bookbar__field:nth-child(2n) { border-right: 0; }
  .bookbar .btn { grid-column: 1 / -1; min-height: 64px; }
  .bookbar__field { padding: 16px 18px; }
  .bookbar__field input, .bookbar__field select { font-size: 17px; }
}

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section--cream { background: var(--cream); }
.section--blue { background: var(--blue); color: var(--white); }
.section--blue h1, .section--blue h2, .section--blue h3, .section--blue .label { color: var(--white); }
.section--blue .lead { color: rgba(255,255,255,.82); }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: 22px; }
.stack-lg > * + * { margin-top: 36px; }
.center { text-align: center; }
.measure { max-width: 620px; }
.measure-center { max-width: 720px; margin-left: auto; margin-right: auto; }

/* Intro split (Visie page) */
.intro { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* Values — the four kernwaarden */
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.value { padding: 36px 28px 8px 0; }
.value + .value { padding-left: 28px; border-left: 1px solid var(--line); }
.value__num { font-family: var(--serif); font-style: italic; color: var(--blue); font-size: 15px; }
.value h3 { font-size: 26px; margin: 18px 0 12px; }
.value p { margin: 0; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 960px) {
  .values { grid-template-columns: 1fr 1fr; }
  .value:nth-child(3) { padding-left: 0; border-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .value + .value { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Media frames & placeholders ---------- */

.frame { position: relative; overflow: hidden; background: var(--cream); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.03); }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-11 { aspect-ratio: 1 / 1; }
.caption { margin-top: 14px; font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }

.ph {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(2,36,204,.035) 14px 15px),
    var(--cream);
  border: 1px dashed rgba(2, 36, 204, 0.35);
  color: var(--blue);
  text-align: center;
  padding: 24px;
}
.ph::before {
  content: ""; width: 34px; height: 26px; border: 1px solid currentColor; border-radius: 2px; opacity: .6;
  background: linear-gradient(currentColor, currentColor) 50% 64% / 60% 1px no-repeat;
}
.ph__title { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.ph__note { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-soft); max-width: 300px; line-height: 1.4; }
.ph--dark { background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.06) 14px 15px), #0d0d0d; color: #f3f3f1; border-color: rgba(243,243,241,.35); }
.ph--dark .ph__note { color: rgba(243,243,241,.7); }

/* ---------- Apartment cards ---------- */

.apt-card { display: block; }
.apt-card .frame { aspect-ratio: 4 / 4.6; }
.apt-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-top: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.apt-card__meta h3 { font-size: 34px; }
.apt-card__price { font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.apt-card__price strong { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--blue); }
.apt-card__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: 14px; color: var(--ink-soft); }

/* ---------- Steps (how it works) ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { padding: 0 28px 0 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.22); }
.step__n { font-family: var(--serif); font-size: 64px; line-height: 1; font-style: italic; opacity: .9; }
.step h3 { font-size: 24px; margin: 26px 0 10px; }
.step p { margin: 0; font-size: 15px; opacity: .82; }
.section--blue .step h3 { color: var(--white); }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; }
}

/* ---------- Feature list / amenities ---------- */

.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.amenities li { display: flex; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.amenities li:not(:nth-child(3n+1)) { padding-left: 22px; }
.amenities svg { flex: none; width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.2; }
@media (max-width: 860px) { .amenities { grid-template-columns: 1fr 1fr; } .amenities li:not(:nth-child(3n+1)) { padding-left: 0; } .amenities li:nth-child(2n) { padding-left: 18px; } }
@media (max-width: 520px) { .amenities { grid-template-columns: 1fr; } .amenities li:nth-child(2n) { padding-left: 0; } }

/* Blue cards (moodboard toelichting) */
.bluecards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bluecard { background: var(--blue); color: var(--white); padding: 34px 30px 38px; min-height: 240px; display: flex; flex-direction: column; text-align: center; align-items: center; justify-content: center; gap: 14px; }
.bluecard h3 { color: var(--white); font-size: 21px; font-style: italic; font-weight: 600; }
.bluecard p { margin: 0; font-family: var(--serif); font-size: 15px; line-height: 1.55; opacity: .92; max-width: 270px; }
@media (max-width: 860px) { .bluecards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .bluecards { grid-template-columns: 1fr; } }

/* Swatches */
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.swatch__chip { aspect-ratio: 1 / 2.2; border: 1px solid var(--line-ink); }
.swatch__name { margin-top: 12px; font-family: var(--serif); font-size: 14px; color: var(--ink-soft); text-align: center; }
@media (max-width: 640px) { .swatches { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Quote / statement ---------- */

.statement { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 52px); line-height: 1.22; color: var(--blue); letter-spacing: -0.01em; }
.statement em { color: var(--wood); }

/* ---------- Teaser rows ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.split__text { padding: clamp(56px, 8vw, 120px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.split__text > div { max-width: 520px; }
.split--rev .split__text { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; min-height: 0; } .split--rev .split__text { order: 0; } .split .frame { aspect-ratio: 4 / 3; } }

/* ---------- FAQ accordion ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); color: var(--blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 13px; height: 13px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 28px; max-width: 760px; color: var(--ink-soft); }
.faq .faq__a p { margin: 0 0 12px; }

/* ---------- Page heads ---------- */

.pagehead { padding: 180px 0 clamp(56px, 7vw, 96px); }
.pagehead .display, .pagehead .h1 { margin-top: 22px; }
.pagehead .lead { margin-top: 28px; max-width: 640px; }
.pagehead--blue { background: var(--blue); color: var(--white); }
.pagehead--blue h1, .pagehead--blue .label { color: var(--white); }
.pagehead--blue .lead { color: rgba(255,255,255,.82); }

/* ---------- Tables ---------- */

.rates { width: 100%; border-collapse: collapse; font-size: 15px; }
.rates th, .rates td { text-align: left; padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.rates th { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.rates td strong { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--blue); }
.table-scroll { overflow-x: auto; }

/* ---------- Notes / callouts ---------- */

.note { border-left: 2px solid var(--blue); padding: 6px 0 6px 22px; color: var(--ink-soft); font-size: 15px; }
.devnote {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--blue-soft); color: var(--blue-deep);
  padding: 14px 18px; font-size: 13px; line-height: 1.5; border-radius: var(--radius);
}
.devnote strong { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; white-space: nowrap; padding-top: 2px; }

/* ---------- Newsletter / CTA band ---------- */

.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }

/* ---------- Footer ---------- */

.site-footer { background: var(--blue); color: var(--white); padding: clamp(72px, 9vw, 120px) 0 40px; }
.site-footer a { opacity: 0.85; transition: opacity 0.2s; }
.site-footer a:hover { opacity: 1; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 72px; border-bottom: 1px solid rgba(255,255,255,.25); }
.footer__brand .wordmark { font-size: 56px; }
.footer__brand p { font-family: var(--serif); font-size: 20px; margin: 18px 0 0; }
.footer__col h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 12px; letter-spacing: 0.06em; opacity: .7; }
.newsletter { display: flex; border-bottom: 1px solid rgba(255,255,255,.5); margin-top: 24px; max-width: 360px; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--white); font: inherit; padding: 12px 0; outline: none; }
.newsletter input::placeholder { color: rgba(255,255,255,.6); }
.newsletter button { background: none; border: 0; color: var(--white); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Forms (shared) ---------- */

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--blue); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1px solid var(--line-ink); border-radius: var(--radius); padding: 14px 16px; outline: none;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.check input { accent-color: var(--blue); width: 18px; height: 18px; margin-top: 2px; flex: none; }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */

.mt-0 { margin-top: 0; } .mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; } .mt-xl { margin-top: 96px; }
.mb-0 { margin-bottom: 0; }
.hide-sm { } @media (max-width: 760px) { .hide-sm { display: none !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }


/* ---------- Home hero (editorial, matches .pagehead) ---------- */
.home-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 140px; }
.home-hero > .wrap { width: 100%; }
.home-hero__grid { display: grid; grid-template-columns: 1.75fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.home-hero .display { font-size: clamp(52px, 7.6vw, 120px); line-height: .95; }
.home-hero__aside { padding-bottom: 10px; }
.home-hero__aside .lead { margin: 0 0 28px; }
@media (max-width: 860px) {
  .home-hero { padding: 110px 0 120px; }
  .home-hero__grid { grid-template-columns: 1fr; }
}

/* Home: booking bar sits in the flow under the headline, no image */
body[data-page="home"] .bookbar { margin-top: 48px; scroll-margin-top: 140px; box-shadow: 0 0 0 1px var(--line); }
.home-facts { list-style: none; margin: 0; padding: 26px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.home-facts li { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.home-facts span { display: block; font-family: var(--serif); font-size: 24px; color: var(--blue); margin-bottom: 2px; }
@media (max-width: 640px) { .home-facts { grid-template-columns: 1fr 1fr; row-gap: 24px; } }

/* Scroll cue */
.scroll-cue { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--blue); }
.scroll-cue span { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; }
.scroll-cue i { position: relative; width: 1px; height: 56px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--blue); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue i::after { animation: none; top: 30%; } }

/* ---------- Homepage quick-book ---------- */
.quickbook { padding: clamp(72px, 9vw, 128px) 0 clamp(24px, 3vw, 40px); scroll-margin-top: 60px; }
.quickbook__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; padding-bottom: 22px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.qb { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.qb__units { border: 0; margin: 0; padding: 0; min-width: 0; }
.qb__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.qb-unit { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 168px; padding: 20px 20px 18px; background: var(--white); border: 1px solid var(--line); cursor: pointer; transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.qb-unit input { position: absolute; opacity: 0; pointer-events: none; }
.qb-unit:hover { border-color: var(--blue); }
.qb-unit:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.qb-unit__num { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--blue); }
.qb-unit__type { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--blue); margin-top: auto; }
.qb-unit__meta { font-size: 13px; color: var(--muted); }
.qb-unit__status { position: absolute; top: 18px; right: 18px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--wood); }
.qb-unit.is-selected { background: var(--blue); border-color: var(--blue); }
.qb-unit.is-selected .qb-unit__num, .qb-unit.is-selected .qb-unit__type, .qb-unit.is-selected .qb-unit__status { color: var(--white); }
.qb-unit.is-selected .qb-unit__meta { color: rgba(255,255,255,.75); }
.qb-unit.is-taken { cursor: not-allowed; background: transparent; border-style: dashed; }
.qb-unit.is-taken .qb-unit__num, .qb-unit.is-taken .qb-unit__type { color: var(--steel); }
.qb-unit.is-taken .qb-unit__status { color: var(--muted); }
.qb-unit.is-taken:hover { border-color: var(--line); }
.qb__panel { background: var(--white); border: 1px solid var(--line); padding: 24px; display: grid; gap: 18px; position: sticky; top: 100px; }
.qb__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qb__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.qb__field .label { font-size: 10px; }
.qb__field input { font: inherit; font-family: var(--serif); font-size: 18px; color: var(--ink); border: 0; border-bottom: 1px solid var(--line-ink); padding: 6px 0 8px; background: transparent; outline: none; width: 100%; border-radius: 0; }
.qb__field input:focus { border-color: var(--blue); }
.qb__field--guests { flex-direction: row; justify-content: space-between; align-items: center; }
.qb__stepper { display: flex; align-items: center; border: 1px solid var(--line-ink); }
.qb__stepper button { width: 38px; height: 38px; border: 0; background: none; color: var(--blue); font-size: 19px; }
.qb__stepper button:hover { background: var(--blue-soft); }
.qb__stepper output { min-width: 34px; text-align: center; font-family: var(--serif); font-size: 18px; }
.qb__summary { min-height: 64px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.qb__hint { color: var(--muted); }
.qb__warn { color: var(--ink-soft); border-left: 2px solid var(--wood); padding-left: 12px; }
.qb__price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--ink-soft); }
.qb__price strong { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--blue); }
.qb__per { font-size: 12px; color: var(--muted); }
.qb__fine { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }
.quickbook .home-facts { margin-top: 28px; }
@media (max-width: 960px) { .qb { grid-template-columns: 1fr; } .qb__panel { position: static; } }
@media (max-width: 560px) { .qb__grid { grid-template-columns: repeat(2, 1fr); } .qb-unit { min-height: 140px; padding: 16px; } .qb-unit__num { font-size: 38px; } }
