:root {
  --paper: #f7f2ea;
  --paper-deep: #ede5d9;
  --ink: #193a3a;
  --ink-soft: #58706b;
  --terracotta: #b9654e;
  --terracotta-dark: #894636;
  --sage: #becbb9;
  --line: rgba(25, 58, 58, .16);
  --white: #fffdf9;
  --measure: 78rem;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'Source Code Pro', ui-monospace, monospace;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.55;
  font-synthesis: none;
}

html[data-theme="dark"] {
  --paper: #142a2a;
  --paper-deep: #1e3a38;
  --ink: #f4eee4;
  --ink-soft: #bfd0c7;
  --terracotta: #e28a6c;
  --terracotta-dark: #f1a184;
  --sage: #344d47;
  --line: rgba(244, 238, 228, .2);
  --white: #203c3a;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
body, button, input, textarea, select { font-family: var(--font-body); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font-size: 1rem; }

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 3; }
.header-inner, .measure { width: min(calc(100% - 3rem), var(--measure)); margin-inline: auto; }
.header-inner { min-height: 5.4rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; text-decoration: none; min-height: 3rem; }
.brand-mark { width: 2.65rem; height: 2.65rem; flex: 0 0 auto; }
.brand-word { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -.035em; line-height: .95; }
.brand-word small { display: block; font: 600 .56rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); margin-top: .4rem; }
.site-nav { display: flex; align-items: center; gap: 1.35rem; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-size: .92rem; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--terracotta-dark); }
.header-actions { display: flex; align-items: center; gap: .65rem; }
.theme-toggle, .menu-toggle { border: 1px solid var(--line); color: var(--ink); background: transparent; border-radius: 999px; width: 2.55rem; height: 2.55rem; cursor: pointer; display: grid; place-items: center; }
.theme-toggle { font-size: 1.05rem; }
.menu-toggle { display: none; }

.hero { width: min(calc(100% - 3rem), 90rem); margin: 2rem auto 0; min-height: 35rem; display: grid; grid-template-columns: .84fr 1.16fr; background: var(--paper-deep); }
.hero-copy { padding: clamp(2rem, 6vw, 6rem) clamp(1.5rem, 5vw, 6rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.eyebrow, .kicker { font: 600 .68rem/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-dark); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.05em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(3rem, 7vw, 6.5rem); max-width: 8ch; margin-top: 1.2rem; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; }
.hero-copy > p { max-width: 28rem; color: var(--ink-soft); font-size: 1.14rem; margin: 1.5rem 0 2rem; }
.hero-photo { min-height: 35rem; position: relative; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ''; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, rgba(16, 46, 45, .36)); pointer-events: none; }
.hero-caption { position: absolute; z-index: 1; left: 1.4rem; bottom: 1.3rem; color: #fff; font-size: .8rem; letter-spacing: .03em; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.05rem; padding: .75rem 1.2rem; border: 1px solid var(--terracotta); background: var(--terracotta); color: #fffdf8; text-decoration: none; font-weight: 600; border-radius: 999px; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--terracotta-dark); border-color: var(--terracotta-dark); }
.button.secondary { background: transparent; color: var(--terracotta-dark); }
.button.secondary:hover { color: #fff; }
.button-arrow::after { content: '↗'; font-size: 1.1em; }

.rail-layout { width: min(calc(100% - 3rem), var(--measure)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 11rem; gap: 2.5rem; align-items: start; }
.rail-layout:has([data-side-links][hidden]) { grid-template-columns: minmax(0, 1fr); }
[data-side-links][hidden] { display: none; }
.side-links { border-left: 1px solid var(--line); padding: 1rem 0 1rem 1rem; position: sticky; top: 1rem; }
.side-links h2 { font: 600 .7rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.side-links ol { list-style: none; padding: 0; margin: 1rem 0 0; }
.side-links li + li { margin-top: .7rem; }
.side-links a { color: var(--ink-soft); font-size: .88rem; text-decoration: none; }

.section { padding: 6rem 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.2rem; }
.section-heading p { color: var(--ink-soft); max-width: 26rem; }
.intro-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; }
.intro-section .lead { font: 500 clamp(1.45rem, 2.5vw, 2.15rem)/1.22 var(--font-display); max-width: 32rem; }
.intro-section .body-copy { max-width: 31rem; color: var(--ink-soft); }
.body-copy p + p { margin-top: 1rem; }

.photo-band { width: min(calc(100% - 3rem), 90rem); margin-inline: auto; display: grid; grid-template-columns: 1.15fr .85fr; min-height: 29rem; background: var(--sage); }
.photo-band img { width: 100%; height: 100%; min-height: 29rem; object-fit: cover; }
.photo-band-copy { padding: clamp(2rem, 6vw, 5rem); display: flex; flex-direction: column; justify-content: center; }
.photo-band-copy p { color: var(--ink-soft); max-width: 28rem; margin: 1.2rem 0 1.5rem; }

.card-grid, .amenities, .nearby-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); gap: 1rem; }
.room-card { background: var(--white); border: 1px solid var(--line); }
.room-card img { aspect-ratio: 1.22 / 1; width: 100%; object-fit: cover; }
.room-card-body { padding: 1.4rem; }
.room-card-body p { color: var(--ink-soft); margin: .6rem 0 1rem; }
.card-meta { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--terracotta-dark); font: 600 .7rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }

.quote-section { text-align: center; padding: 6rem 1.5rem; background: var(--ink); color: var(--paper); }
.quote-section blockquote { max-width: 46rem; margin: 1rem auto 0; font: 500 clamp(1.8rem, 3.5vw, 3.4rem)/1.12 var(--font-display); letter-spacing: -.04em; }
.quote-section cite { display: block; color: var(--sage); font-style: normal; margin-top: 1.5rem; font-size: .9rem; }

.final-cta { background: var(--terracotta); color: #fffaf2; padding: 4rem clamp(1.5rem, 6vw, 6rem); display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.final-cta h2 { max-width: 12ch; }
.final-cta .button { background: var(--ink); border-color: var(--ink); }

.page-main { padding: 4.5rem 0 6rem; }
.page-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: end; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 10ch; font-size: clamp(3rem, 7vw, 6rem); }
.page-intro p { max-width: 32rem; color: var(--ink-soft); font-size: 1.15rem; }
.page-section { padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
.page-section:last-child { border-bottom: 0; }
.page-section > h2 { margin-bottom: 1.8rem; }
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.feature-list li { padding: 1.2rem 0; border-top: 2px solid var(--terracotta); font-weight: 600; }
.feature-list span { display: block; color: var(--ink-soft); font-weight: 400; font-size: .93rem; margin-top: .3rem; }
.gallery { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: repeat(2, 13rem); gap: .8rem; }
.gallery figure { margin: 0; position: relative; overflow: hidden; cursor: zoom-in; }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: .8rem; bottom: .65rem; color: #fff; font-size: .78rem; text-shadow: 0 1px 8px #000; }

.booking-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; background: var(--paper-deep); padding: clamp(1.5rem, 4vw, 3rem); }
.price-list { display: grid; gap: .8rem; }
.price-row { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.price-row strong { color: var(--terracotta-dark); }
.booking-form { display: grid; gap: .8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
label { display: grid; gap: .35rem; color: var(--ink-soft); font-size: .85rem; }
input, textarea, select { width: 100%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: .2rem; padding: .75rem .8rem; }
textarea { min-height: 7rem; resize: vertical; }
.form-note { font-size: .84rem; color: var(--ink-soft); }
.form-status { min-height: 1.5rem; color: var(--terracotta-dark); font-weight: 600; }

.location-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 1rem; }
.map-card { display: block; min-height: 23rem; padding: 2rem; background: var(--ink); color: var(--paper); position: relative; overflow: hidden; text-decoration: none; }
.map-card::before { content: ''; position: absolute; inset: 1.4rem; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; transform: rotate(-22deg) scaleX(.65); }
.map-card::after { content: 'OUDEGRACHT 112'; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%) rotate(-7deg); font: 600 .75rem var(--font-mono); letter-spacing: .1em; color: var(--terracotta); white-space: nowrap; }
.map-card p { position: relative; z-index: 1; color: var(--sage); font-size: .9rem; }
.nearby-item { padding: 1.2rem 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; }
.nearby-item small { color: var(--terracotta-dark); white-space: nowrap; }

.site-footer { padding: 3rem 0; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 2rem; }
.site-footer h2 { font-size: 1.45rem; margin-bottom: .75rem; }
.site-footer p, .site-footer a { color: var(--ink-soft); font-size: .9rem; }
.site-footer a { text-decoration-color: var(--terracotta); text-underline-offset: .2em; }
.footer-label { font: 600 .68rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--terracotta-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .8rem; }

.article-layout { width: min(calc(100% - 3rem), 56rem); margin: 0 auto; }
.byline { display: flex; gap: 1rem; align-items: center; margin: 2rem 0; padding: 1rem; border: 1px solid var(--line); }
.byline img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; }
.article-header { padding: 3rem 0 2rem; border-bottom: 1px solid var(--line); }
.article-header h1 { max-width: 18ch; font-size: clamp(2.8rem, 6vw, 5.5rem); margin-top: .9rem; }
.article-deck { max-width: 38rem; font-size: 1.2rem; color: var(--ink-soft); margin-top: 1rem; }
.article-cover { margin: 2rem 0; width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.prose { max-width: 43rem; padding-bottom: 5rem; }
.prose p { font-size: 1.12rem; line-height: 1.75; margin: 1.2rem 0; }
.prose h2, .prose h3 { margin: 2.3rem 0 .7rem; }
.prose a { color: var(--terracotta-dark); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.empty-state { color: var(--ink-soft); padding: 2rem 0; }
.not-found { min-height: 55vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { margin: 0 auto 1rem; }
.not-found p { color: var(--ink-soft); max-width: 28rem; margin: 0 auto 1.5rem; }

.lightbox { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 2rem; background: rgba(10, 29, 29, .9); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 85vh; max-width: min(90vw, 70rem); object-fit: contain; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; width: 2.8rem; height: 2.8rem; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; background: transparent; cursor: pointer; font-size: 1.5rem; }

@media (max-width: 800px) {
  .header-inner, .measure, .rail-layout { width: min(calc(100% - 2rem), var(--measure)); }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem; border-bottom: 1px solid var(--line); background: var(--paper); flex-direction: column; align-items: stretch; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .65rem 0; }
  .menu-toggle { display: grid; }
  .hero { width: calc(100% - 2rem); margin-top: 1rem; grid-template-columns: 1fr; }
  .hero-photo { min-height: 24rem; grid-row: 1; }
  .hero-copy { min-height: 24rem; }
  .rail-layout { grid-template-columns: 1fr; }
  .side-links { display: none; }
  .section { padding: 4rem 0; }
  .intro-section, .page-intro, .photo-band, .location-grid, .booking-panel, .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .photo-band { width: calc(100% - 2rem); }
  .photo-band img { min-height: 20rem; }
  .page-main { padding: 3rem 0 4rem; }
  .gallery { grid-template-rows: repeat(2, 10rem); }
  .final-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  h1 { font-size: 3.2rem; }
  .header-inner { min-height: 4.8rem; }
  .brand-word { font-size: 1.2rem; }
  .brand-mark { width: 2.35rem; height: 2.35rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
