/* The public landing page, built from the Moonshot design system: editorial content blocks,
   carbon blocks that overlap their photographs, features lists, dash lists, square and flat. */

.lp { font-size: 1rem; }
@media (min-width: 992px) { .lp { font-size: 1.2rem; } }

.lp-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.lp-narrow { max-width: 800px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Below 992px the design system's 2.5rem / 2rem, scaled down on narrow phones so long Dutch
   words ("Vergaderruimtes") still fit; hyphenation (lang nl-BE) as the last resort. */
.lp-h1 { font-size: clamp(1.75rem, 8.5vw, 2.5rem); line-height: 1.2; margin: 0 0 0.5em; }
.lp-h2 { font-size: clamp(1.5rem, 7.5vw, 2rem); line-height: 1.2; margin: 0.25em 0 0.7em; }
.lp-h1, .lp-h2, .lp-h3 { hyphens: auto; overflow-wrap: break-word; }
.lp-h3 { font-size: 1.65rem; line-height: 1.2; margin: 0.25em 0 0.6em; }
@media (min-width: 992px) {
  .lp-h1 { font-size: 3rem; }
  .lp-h2 { font-size: 2.75rem; }
  .lp-h3 { font-size: 2rem; }
}
.lp-lead { font-size: 1.15em; margin: 0 0 1em; }
.lp-text > :last-child { margin-bottom: 0; }
.lp-link { color: var(--action); font-weight: 700; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.2s ease; }
.lp-link:hover { background-size: 100% 1px; }

/* Content blocks (ContentBlock): space-5, space-7 from 992px */
.lp-block { padding: var(--space-5) 1.5rem; }
@media (min-width: 992px) { .lp-block { padding: 6rem var(--space-6); } }
.lp-block .btn { margin-top: var(--space-4); }
/* Long Dutch labels in wide-tracked capitals: let buttons wrap instead of overflowing phones. */
.lp .btn { white-space: normal; text-align: center; max-width: 100%; }

.lp-section { position: relative; padding: var(--space-6) 0; }
@media (min-width: 992px) { .lp-section { padding: 7rem 0; } }
.lp-section + .lp-section { border-top: var(--hairline) solid var(--line); }

/* Admin bar */
.lp-adminbar { background: var(--carbon); color: #ffffff; font-size: 0.8rem; padding: 8px 20px; text-align: center; }
.lp-adminbar a { color: #ffffff; font-weight: 700; }

/* Header */
.lp-header { border-bottom: var(--hairline) solid var(--line); }
.lp-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.lp-logo img { display: block; height: 1.75rem; width: auto; }
.lp-header-nav { display: flex; align-items: center; gap: 4px; }
.lp-navlink { padding: 8px 12px; color: var(--action); font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; }
.lp-navlink:hover { color: var(--action-hover); }
@media (max-width: 700px) { .lp-navlink { display: none; } }
/* Narrow phones: the sticky booking button at the bottom takes over from the header button. */
@media (max-width: 400px) { .lp-header-nav .btn { display: none; } }

/* Hero: the carbon block pushed down over the photograph */
.lp-hero { padding: var(--space-4) 0 0; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.lp-crumbs { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-4); }
.lp-crumbs a { color: var(--ink-muted); text-decoration: none; }
.lp-crumbs a:hover { color: var(--ink); }
.frame { position: relative; overflow: hidden; background: var(--wash); }
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-hero-photo { aspect-ratio: 3 / 2; }
.lp-hero.has-photo .lp-hero-block { margin: -3rem 1rem 0; position: relative; }
@media (min-width: 992px) {
  .lp-hero.has-photo .lp-hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .lp-hero.has-photo .lp-hero-photo { grid-column: 5 / 13; grid-row: 1; aspect-ratio: 4 / 3; }
  .lp-hero.has-photo .lp-hero-block { grid-column: 1 / 8; grid-row: 1; margin: 8rem 0 0; z-index: 1; }
}

/* In het kort */
.lp-summary { font-size: 1.15em; max-width: 52rem; margin: 0 0 var(--space-4); }

/* FeaturesList: uppercase term, value, hairline beneath */
.lp-features { margin: var(--space-3) 0 0; }
.lp-features > div { border-bottom: var(--hairline) solid var(--line); padding: 0.85rem 0; }
.lp-features dt { margin: 0; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--label); }
.lp-features dt:empty { display: none; }
.lp-features dd { margin: 2px 0 0; font-size: 0.95em; }
@media (min-width: 576px) {
  .lp-features > div { display: grid; grid-template-columns: 35% 65%; gap: 0 var(--space-2); align-items: baseline; }
  .lp-features dd { margin: 0; }
}
.lp-features--grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--space-4); border-top: var(--hairline) solid var(--line); }
@media (min-width: 768px) {
  .lp-features--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-features--grid > div { display: block; }
  .lp-features--grid dd { margin-top: 4px; }
}

/* Rooms: blocks overlap their photos by 20% from 1200px, alternating left and right */
.lp-room { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: var(--space-5); }
.lp-room-photo { aspect-ratio: 3 / 2; }
.lp-gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2, 0.75rem); margin-top: var(--space-2, 0.75rem); }
.lp-gallery .frame { aspect-ratio: 4 / 3; }
@media (min-width: 48rem) { .lp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-room.has-photo .lp-room-block { margin: -2.5rem 1rem 0; position: relative; }
@media (min-width: 992px) {
  .lp-room.has-photo { grid-template-columns: repeat(10, minmax(0, 1fr)); align-items: center; }
  .lp-room.has-photo .lp-room-photo { grid-column: 1 / 7; grid-row: 1; aspect-ratio: 4 / 3; }
  .lp-room.has-photo .lp-room-block { grid-column: 6 / 11; grid-row: 1; margin: 0; z-index: 1; }
  .lp-room.has-photo.is-reverse .lp-room-photo { grid-column: 5 / 11; }
  .lp-room.has-photo.is-reverse .lp-room-block { grid-column: 1 / 6; }
}
@media (min-width: 1200px) {
  .lp-room.has-photo .lp-room-block { grid-column: 5 / 11; }
  .lp-room.has-photo.is-reverse .lp-room-block { grid-column: 1 / 7; }
}
.lp-room:not(.has-photo) .lp-room-block { max-width: 52rem; }
.lp-room.is-reverse:not(.has-photo) .lp-room-block { margin-left: auto; }

/* Room blocks on the overview: book, or read more on the room's own page */
.lp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); margin-top: var(--space-4); }
.lp-actions .btn { margin-top: 0; }
.lp-block .lp-link { color: inherit; }
.lp-title-link { color: inherit; text-decoration: none; }
.lp-title-link:hover { text-decoration: underline; text-decoration-thickness: var(--hairline); text-underline-offset: 0.2em; }
a.frame { display: block; }

/* Room page: description beside the features list, then the gallery */
.lp-detail-cta { margin-top: var(--space-4); }
.lp-room-detail .lp-gallery { margin-top: var(--space-5); }

/* Room page: the other rooms */
.lp-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); margin-top: var(--space-4); }
@media (min-width: 768px) { .lp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-card { border: var(--hairline) solid var(--line); display: flex; flex-direction: column; }
.lp-card-photo { aspect-ratio: 3 / 2; }
.lp-card-body { padding: var(--space-4); display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.lp-card-body .btn { margin-top: auto; }
.lp-card-price { color: var(--ink-muted); margin-bottom: var(--space-3); }
.lp-back { margin: var(--space-4) 0 0; }

/* SectionTab: the black tab up the left edge, from 992px */
.lp-section-tab { display: none; }
@media (min-width: 1240px) {
  .lp-section-tab {
    display: inline-block; position: absolute; top: 0; left: 0; z-index: 2;
    padding: 1.25rem 2.25rem 1.25rem var(--space-5);
    background: var(--night); color: var(--on-night);
    font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; white-space: nowrap;
    transform-origin: 0 0; transform: rotate(270deg) translateX(-100%);
  }
}

/* Two columns: title beside content */
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
@media (min-width: 992px) { .lp-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-6); align-items: start; } }

/* DashList */
.lp-dash-list { list-style: none; margin: 0; padding: 0; }
.lp-dash-list li { position: relative; padding-left: 2.25rem; margin-bottom: 0.4rem; line-height: 1.65; }
.lp-dash-list li::before { content: ""; position: absolute; top: 0.85em; left: 0; width: 0.9rem; height: var(--hairline); background: var(--ink-subtle); }
@media (min-width: 768px) { .lp-dash-list--columns { columns: 2; column-gap: var(--space-4); } .lp-dash-list--columns li { break-inside: avoid; } }

.lp-address-block address { font-style: normal; margin-bottom: var(--space-3); line-height: 1.65; }
.lp-address-block .lp-dash-list { margin-bottom: var(--space-3); }

/* Google Maps embed: square, hairline frame, monochrome like the rest of the brand */
.lp-map { margin-top: var(--space-5); border: var(--hairline) solid var(--line); aspect-ratio: 4 / 3; background: var(--wash); }
@media (min-width: 768px) { .lp-map { aspect-ratio: 21 / 9; } }
.lp-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(1); }

/* FAQ */
.lp-faq details { border-bottom: var(--hairline) solid var(--line); }
.lp-faq details:first-of-type { border-top: var(--hairline) solid var(--line); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); padding: 1.25rem 0; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary h3 { margin: 0; font-size: 1.05em; }
.lp-faq summary::after { content: ""; flex: none; width: 0.7rem; height: 0.7rem; border-right: var(--hairline) solid var(--ink); border-bottom: var(--hairline) solid var(--ink); transform: rotate(45deg) translateY(-25%); transition: transform 0.2s; }
.lp-faq details[open] summary::after { transform: rotate(-135deg); }
.lp-faq summary:focus-visible { box-shadow: var(--focus-ring); }
.lp-faq details .lp-text { padding: 0 0 1.25rem; max-width: 46rem; }
.lp-updated { margin: var(--space-3) 0 0; font-size: 0.8rem; color: var(--ink-subtle); }

/* Closing call to action */
.lp-cta { text-align: center; }
.lp-cta .lp-wrap { display: flex; flex-direction: column; align-items: center; }
.lp-contact { margin: var(--space-4) 0 0; font-size: 0.9em; color: var(--ink-muted); }

/* Mobile: a booking button that stays in reach */
.lp-sticky { display: none; }
@media (max-width: 767.98px) {
  .lp-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .lp-sticky .btn { margin: 0; }
  .lp { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) { .lp-link, .lp-faq summary::after { transition: none; } }
