/* =========================================================
   Donkerhuk West · Design B "Field journal"
   Change the heading font in ONE place: --font-heading
   Options installed: Fredericka the Great, Zilla Slab, Bree Serif, Cabin Sketch
   ========================================================= */

@font-face { font-family: "Fredericka the Great"; src: url("../fonts/fredericka-the-great-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Zilla Slab"; src: url("../fonts/zilla-slab-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bree Serif"; src: url("../fonts/bree-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cabin Sketch"; src: url("../fonts/cabin-sketch-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --font-heading: "sysfalso", sans-serif;   /* Adobe Fonts, loaded via use.typekit.net in base.njk */
  --heading-weight: 700;            /* sysfalso comes in 400 and 700 */
  --font-body: "Source Sans 3", system-ui, sans-serif;

  --ink: #2A2620;
  --muted: #5A5246;
  --paper: #E8E0D4;
  --card: #FBF8F2;
  --header: #F1EBE1;
  --olive: #3F4A2E;
  --olive-deep: #2B3320;
  --terracotta: #B5562B;
  --donkerhuk-yellow: #FDBB29;   /* sun in the Donkerhuk Safaris logo */
  --ochre: #D9A441;
  --dash: #B8A98F;
  --night: #221A0F;

  --wrap: 1320px;
  --gutter: 32px;
  --radius: 6px;
  --header-h: 96px;   /* height of the header bar, used to size the hero */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper) url("../img/paper.png") repeat;
  background-size: 390px 390px;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--olive); }
a:hover { color: var(--terracotta); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }

h1, h2, h3, .h { font-family: var(--font-heading); font-weight: var(--heading-weight); line-height: 1.05; margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 112px; padding-bottom: 112px; }
.title-xl { font-size: clamp(42px, 5vw, 72px); color: var(--olive); }
.title-l { font-size: clamp(38px, 4.2vw, 60px); color: var(--olive); }
.lead { font-size: 19px; color: var(--muted); max-width: 600px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Skip link: hidden until it receives keyboard focus */
a.visually-hidden:focus { position: fixed !important; top: 12px; left: 12px; z-index: 100; width: auto; height: auto; overflow: visible; clip: auto; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; outline: 3px solid #D9A441; outline-offset: 2px; }
/* <picture> from the image pipeline should not change layout: the <img> inside is styled directly */
picture { display: contents; }

/* ---------- Buttons & links ---------- */
.btn { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; font-family: var(--font-body); }
.btn-primary { background: var(--terracotta); color: #fff; }
/* Hover: darker terracotta with logo yellow text (contrast 5:1). The extra selectors beat the nav link hover colour. */
.btn-primary:hover, .site-header .btn-primary:hover, .mobile-nav .btn-primary:hover { background: #7A3819; color: var(--donkerhuk-yellow); }
.btn-ghost { color: #fff; border: 2px dashed rgba(255,255,255,0.75); }
.btn-ghost:hover { color: #fff; border-style: solid; }
.btn-dark { background: var(--ink); color: #fff; border: 2px solid #fff; }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--donkerhuk-yellow); border-color: var(--donkerhuk-yellow); color: var(--ink); }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 17px; }
.more svg { width: 20px; height: 20px; }
.title-link { color: inherit; text-decoration: none; }
.title-link:hover { color: var(--terracotta); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; transition: box-shadow 0.2s ease; background: var(--header); border-bottom: 2px dashed #C9BBA4; }
.site-header .bar { display: flex; align-items: center; justify-content: center; gap: 40px; min-height: var(--header-h); padding-top: 8px; padding-bottom: 8px; }
.site-header nav.side { flex: 1 1 0; display: flex; align-items: center; gap: 32px; font-size: 16px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.site-header nav.left { justify-content: flex-end; }
.site-header nav.right { justify-content: flex-start; }
.site-header nav a { color: var(--ink); text-decoration: none; }
.site-header nav a:hover { color: var(--terracotta); }
.site-header .logo img { height: 80px; width: auto; }
.site-header nav a[aria-current] { color: var(--terracotta); }
.has-sub { position: relative; display: flex; align-items: center; gap: 2px; }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.sub-toggle svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.has-sub .sub { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -18px; min-width: 260px; background: var(--card); border: 2px dashed var(--dash); border-radius: var(--radius); box-shadow: 0 14px 30px rgba(42,38,32,0.18); text-transform: none; letter-spacing: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; z-index: 30; }
.has-sub .sub a { display: block; padding: 10px 18px; font-size: 17px; font-weight: 600; }
.has-sub .sub a:hover { background: rgba(217,164,65,0.18); }
.has-sub:hover .sub, .has-sub.is-open .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub.is-open .sub-toggle svg, .has-sub:hover .sub-toggle svg { transform: rotate(180deg); }
.mobile-nav a.child { padding: 6px 0 6px 22px; font-size: 22px; color: var(--muted); }
.lang { display: flex; gap: 6px; font-size: 14px; text-transform: none; color: var(--muted); }
.lang [aria-current] { font-weight: 700; }
.site-header .btn { min-height: 44px; padding: 10px 18px; font-size: 16px; text-transform: none; letter-spacing: 0; color: #fff; }
.burger { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: transparent; border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); cursor: pointer; }
.mobile-nav { display: none; flex-direction: column; padding: 8px 20px 24px; border-top: 2px dashed #C9BBA4; }
.mobile-nav a { padding: 10px 0; font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: 28px; color: var(--ink); text-decoration: none; }
.mobile-nav .lang { padding: 12px 0; font-size: 16px; }
.mobile-nav .lang a { font-family: var(--font-body); font-size: 16px; padding: 0; }
.mobile-nav .btn { margin-top: 6px; font-family: var(--font-body); font-size: 17px; color: #fff; }
.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(42,38,32,0.12); }
.site-header.is-open .mobile-nav { display: flex; max-height: calc(100vh - var(--header-h) - 2px); max-height: calc(100svh - var(--header-h) - 2px); overflow-y: auto; overscroll-behavior: contain; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--terracotta); color: #fff; box-shadow: 0 8px 20px rgba(42,38,32,0.28); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s, background 0.2s ease; }
.to-top svg { width: 24px; height: 24px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); }
.to-top:focus-visible { outline: 3px solid var(--sun, #D9A441); outline-offset: 3px; }
@media (max-width: 760px) { .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; } }
@media (max-width: 980px) {
  .site-header nav.side { display: none; }
  .burger { display: inline-flex; }
  .site-header .bar { justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
  .site-header .logo img { height: 62px; }
  :root { --header-h: 80px; }
}

/* ---------- Hero: pinned sunset scene ---------- */
.hero-scene { position: relative; height: 260vh; background: var(--night); }
.hero-scene .stage { position: sticky; top: calc(var(--header-h) + 2px); height: calc(100vh - var(--header-h) - 2px); height: calc(100svh - var(--header-h) - 2px); overflow: hidden; background: #222441; }
.hero-scene .layer { position: absolute; left: 0; top: 0; max-width: none; will-change: transform; }
.hero-scene .dusk { position: absolute; inset: 0; background: linear-gradient(180deg, #2E2740 0%, #6B3F2A 55%, #C07A3A 100%); mix-blend-mode: multiply; opacity: 0; }
.hero-scene .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,19,10,0.85) 0%, rgba(26,19,10,0.45) 45%, rgba(26,19,10,0) 75%); opacity: 0; }
.hero-scene .hero-logo { position: absolute; left: 50%; top: 40%; width: clamp(240px, 30vw, 440px); height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 4px 18px rgba(26,19,10,0.55)); pointer-events: none; will-change: opacity, transform; }
.no-js .hero-scene .hero-logo, .reduce-motion .hero-scene .hero-logo { display: none; }
.hero-scene .copy { position: absolute; left: 0; right: 0; bottom: 16%; color: #fff; opacity: 0; }
.hero-scene h1 { max-width: 820px; font-size: clamp(44px, 6.6vw, 100px); line-height: 1; }
/* Short screens (laptops): headline also scales with the screen height so it never runs out of the top */
@media (max-height: 820px) and (min-width: 761px) {
  .hero-scene h1 { max-width: 1000px; font-size: clamp(40px, min(6.6vw, 10.5vh), 100px); }
  .hero-scene .copy { bottom: 8%; }
  .hero-scene .copy p { margin-top: 14px; font-size: 18px; }
  .hero-scene .actions { margin-top: 20px; }
}
.hero-scene .copy p { margin-top: 22px; max-width: 520px; font-size: 20px; line-height: 1.55; color: #EFE6D4; }
.squiggle { display: block; margin-top: 18px; }
.hero-scene .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-scene .hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 18px 6px; border-radius: 999px; background: rgba(26,19,10,0.45); color: #fff; font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: 22px; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.hero-scene .hint svg { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .hero-scene .hint svg { animation: none; } }
.hero-scene .credit { position: absolute; left: 16px; bottom: 10px; font-size: 11px; color: rgba(255,255,255,0.55); }
/* no JS or reduced motion: show the finished scene, no pinning */
.no-js .hero-scene, .reduce-motion .hero-scene { height: auto; }
.no-js .hero-scene .stage, .reduce-motion .hero-scene .stage { position: relative; }
.no-js .hero-scene .copy, .no-js .hero-scene .scrim { opacity: 1; }

/* ---------- Facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 0; border-top: 2px dashed var(--dash); border-bottom: 2px dashed var(--dash); padding: 28px 0; }
.facts > div { padding: 0 24px; }
.facts > div + div { border-left: 2px dashed var(--dash); }
.facts .num { font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: 48px; color: var(--olive); line-height: 1; }
.facts .label { margin-top: 6px; font-size: 16px; color: var(--muted); }

/* ---------- Polaroid photos ---------- */
.polaroid { margin: 0; position: relative; background: #fff; padding: 16px 16px 20px; box-shadow: 0 14px 30px rgba(42,38,32,0.18); }
.polaroid.sm { padding: 10px 10px 14px; box-shadow: 0 8px 18px rgba(42,38,32,0.14); }
.polaroid img { width: 100%; object-fit: cover; }
.polaroid figcaption { margin-top: 14px; font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: 24px; line-height: 1.2; }
.polaroid.sm figcaption { margin-top: 10px; font-size: 21px; }
.tape::before { content: ""; position: absolute; top: -14px; left: 50%; width: 120px; height: 30px; margin-left: -60px; background: rgba(217,164,65,0.55); transform: rotate(3deg); }
.polaroid { transform: rotate(var(--tilt, 0deg)); }
.tilt-l { --tilt: -1.8deg; }
.tilt-r { --tilt: 1.6deg; }
.tilt-l2 { --tilt: -1deg; }
.tilt-r2 { --tilt: 1deg; }

/* ---------- Two-column blocks ---------- */
.split { display: flex; flex-wrap: wrap; gap: 72px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split .text p + p { margin-top: 18px; }
.split h2 { margin-bottom: 24px; }

/* ---------- Camps zig-zag ---------- */
.camps { display: flex; flex-direction: column; gap: 88px; margin-top: 64px; }
.camp { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.camp:nth-child(even) { flex-direction: row-reverse; }
.camp .photo { flex: 3 1 480px; min-width: 0; }
.camp .photo img { width: 100%; height: 480px; object-fit: cover; border-radius: 4px; }
.camp .body { flex: 2 1 340px; min-width: 0; }
.camp .no { font-family: var(--font-heading); font-size: 64px; line-height: 1; color: var(--ochre); }
.camp h3 { margin: 8px 0 14px; font-size: 44px; }
.tag { display: inline-block; padding: 6px 14px; border: 2px dashed var(--olive); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--olive); }
.camp p { margin: 18px 0 22px; }

/* ---------- Quote band ---------- */
.band-olive { background: var(--olive); color: #F1EBE1; }
.quote { margin: 0 auto; max-width: 980px; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: clamp(32px, 3.8vw, 52px); line-height: 1.15; color: #fff; }
.quote figcaption { margin-top: 26px; font-size: 17px; font-weight: 600; color: #E9D9A8; }
/* longer review text: a little smaller */
.quote-long blockquote { font-size: clamp(26px, 2.9vw, 40px); line-height: 1.22; }

/* ---------- Grids of polaroids ---------- */
.head-row { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; }
.grid-activities { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 44px 36px; }
.grid-activities .polaroid { padding: 14px 14px 22px; }
.grid-activities img { aspect-ratio: 4 / 3; }
.grid-activities figcaption { padding: 2px 6px 0; }
.grid-activities figcaption h3 { font-size: 32px; margin-bottom: 8px; }
.grid-activities figcaption p { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: #4A4238; }
.grid-small { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px 22px; }
.grid-small img { aspect-ratio: 1 / 1; }
.grid-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 36px 30px; }
@media (max-width: 760px) { .grid-gallery { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px 14px; } }
.grid-gallery img { aspect-ratio: 4 / 3; }
.tint { background: rgba(63,74,46,0.08); border-top: 2px dashed var(--dash); border-bottom: 2px dashed var(--dash); }

/* ---------- Gallery hover + lightbox ---------- */
.lb-trigger { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
[data-lightbox] .polaroid, a.polaroid { transition: box-shadow 0.3s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  [data-lightbox] .polaroid:hover,
  [data-lightbox] .polaroid:focus-within,
  a.polaroid:hover,
  a.polaroid:focus-visible {
    animation: wiggle 0.6s ease-in-out;
    transform: rotate(var(--tilt, 0deg)) scale(1.03);
    box-shadow: 0 18px 36px rgba(42,38,32,0.26);
    z-index: 1;
  }
}
@keyframes wiggle {
  0%   { transform: rotate(var(--tilt, 0deg)) scale(1); }
  25%  { transform: rotate(calc(var(--tilt, 0deg) - 3deg)) scale(1.03); }
  55%  { transform: rotate(calc(var(--tilt, 0deg) + 2.5deg)) scale(1.03); }
  80%  { transform: rotate(calc(var(--tilt, 0deg) - 1deg)) scale(1.03); }
  100% { transform: rotate(var(--tilt, 0deg)) scale(1.03); }
}
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 56px 72px 40px; border: 0; background: rgba(26,19,10,0.94); color: #F1EBE1; }
.lightbox::backdrop { background: rgba(26,19,10,0.6); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lb-img { max-width: min(1600px, 100%); max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; border: 10px solid #fff; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.lb-caption { margin-top: 16px; font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: 26px; text-align: center; }
.lb-count { position: absolute; top: 18px; left: 24px; margin: 0; font-size: 15px; color: #D7D2BF; }
.lb-btn { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 999px; border: 2px dashed rgba(241,235,225,0.6); background: rgba(42,38,32,0.5); color: #fff; cursor: pointer; }
.lb-btn:hover { border-style: solid; background: var(--terracotta); }
.lb-btn svg { width: 26px; height: 26px; }
.lb-close { top: 14px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 760px) {
  .lightbox { padding: 64px 12px 24px; }
  .lb-img { border-width: 6px; max-height: calc(100vh - 200px); }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-caption { font-size: 22px; margin-bottom: 64px; }
}

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 36px 0 0; padding: 0 0 0 36px; border-left: 3px dashed var(--dash); display: flex; flex-direction: column; gap: 30px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -48px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--ochre); border: 3px solid var(--paper); }
.timeline li:last-child::before { background: var(--olive); }
.timeline .year { font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: 34px; color: var(--terracotta); line-height: 1; }
.timeline li:last-child .year { color: var(--olive); }
.timeline p { margin-top: 6px; }

/* ---------- Rates ---------- */
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin: 52px 0 56px; }
.price-card { position: relative; background: var(--card); border: 2px dashed var(--dash); border-radius: var(--radius); padding: 36px 32px; }
.price-card::after { content: ""; position: absolute; top: 18px; right: 18px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--dash); background: var(--paper); }
.price-card h3 { font-size: 34px; }
.price-card .sub { margin: 4px 0 22px; font-size: 16px; color: var(--muted); }
.prices { display: flex; flex-wrap: wrap; gap: 28px; }
.price { font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: 48px; line-height: 1; color: var(--olive); }
.price.accent { color: var(--terracotta); }
.price-label { margin-top: 4px; font-size: 15px; color: var(--muted); }

.rate-table-wrap { overflow-x: auto; }
.rate-table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 17px; }
.rate-table th, .rate-table td { padding: 18px 12px 18px 0; text-align: left; }
.rate-table thead th { padding-top: 0; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: #E9D9A8; }
.rate-table tbody tr { border-top: 2px dashed #6B7556; }
.rate-table tbody tr:last-child { border-bottom: 2px dashed #6B7556; }
.rate-table tbody th { font-weight: 600; }
.rate-table .amt { font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: 30px; color: #fff; }
.note-card { background: #F1EBE1; color: var(--ink); border-radius: var(--radius); padding: 32px; transform: rotate(1deg); }
.note-card .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 2px dashed var(--dash); }
.note-card .row:last-of-type { border-bottom: 2px dashed var(--dash); }
.note-card .amt { font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: 24px; }

/* ---------- Rates page ---------- */
.rate-table.light thead th { color: var(--muted); }
.rate-table.light tbody tr { border-top-color: var(--dash); }
.rate-table.light tbody tr:last-child { border-bottom-color: var(--dash); }
.rate-table.light .amt { color: var(--olive); }
.rate-table small, .price-row small { font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: 0; }
.rate-table:not(.light) small { color: #D7D2BF; }
.rate-table .amt { white-space: nowrap; }
@media (max-width: 760px) {
  .rate-table { font-size: 15px; }
  .rate-table .amt { font-size: 22px; }
  .rate-table th, .rate-table td { padding: 14px 14px 14px 0; }
}
.fine { margin-top: 16px; font-size: 15px; color: var(--muted); }
.price-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 14px 0; border-top: 2px dashed var(--dash); }
.price-row:last-of-type { border-bottom: 2px dashed var(--dash); }
.price-row .amt { font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: 24px; color: var(--terracotta); text-align: right; white-space: nowrap; }

/* ---------- Legal pages (imprint, privacy) ---------- */
.legal-page { padding-top: 88px; padding-bottom: 120px; }
.legal-page .breadcrumb { color: var(--muted); }
.legal-page .breadcrumb a { color: var(--olive); }
.legal-page h1 { font-size: clamp(48px, 6vw, 88px); }
.legal-text { max-width: 760px; margin-top: 40px; }
.legal-text h2 { margin: 44px 0 12px; font-size: clamp(28px, 3vw, 36px); color: var(--olive); }
.legal-text p, .legal-text li { font-size: 17px; line-height: 1.7; }
.legal-text p + p { margin-top: 14px; }
.legal-text .lead { max-width: none; font-size: 19px; }
.legal-text ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.legal-text a { color: var(--olive); }
mark.todo { background: #F5D77A; color: var(--ink); padding: 0 4px; border-radius: 3px; }

/* ---------- Checklists ---------- */
.lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 48px; }
.list-card { background: var(--card); border: 2px dashed var(--dash); border-radius: var(--radius); padding: 32px; }
.list-card h3 { font-size: 32px; margin-bottom: 18px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.5; }
.checks li { display: flex; gap: 12px; }
.checks svg { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; }

/* ---------- Booking block ---------- */
.book { background: var(--terracotta); color: #fff; border-radius: var(--radius); padding: 52px 56px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.book > div { flex: 1 1 300px; min-width: 0; }
.book h2 { font-size: 48px; margin-bottom: 12px; }
.book p { color: #FCE9DD; }
.book form { flex: 2 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
@media (max-width: 640px) { .book form { grid-template-columns: 1fr; } }
.book label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.book input, .book select, .book textarea { height: 50px; padding: 0 12px; border: 0; border-radius: var(--radius); background: var(--card); color: var(--ink); font: inherit; font-size: 16px; width: 100%; }
.book .hp { position: absolute; left: -9999px; }
.book .full { grid-column: 1 / -1; }
.book form button { grid-column: 1 / -1; justify-self: start; white-space: nowrap; padding-inline: 36px; }
.book textarea { height: auto; min-height: 96px; padding: 12px; resize: vertical; line-height: 1.5; }
.book textarea::placeholder { color: var(--muted); }
.form-status { grid-column: 1 / -1; font-weight: 600; }

/* ---------- Page hero (camp pages) ---------- */
.page-hero { position: relative; height: 760px; display: flex; align-items: flex-end; background: var(--ink); color: #fff; }
.page-hero > img, .page-hero > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26,19,10,0.85) 0%, rgba(26,19,10,0.35) 40%, rgba(26,19,10,0) 70%); }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 64px; }
.page-hero h1 { max-width: 900px; font-size: clamp(46px, 6.6vw, 100px); line-height: 1; }
.page-hero .intro { margin-top: 20px; max-width: 600px; font-size: 20px; line-height: 1.55; color: #EFE6D4; }
.breadcrumb { font-size: 15px; margin-bottom: 18px; color: #E9D9A8; }
.breadcrumb a { color: #E9D9A8; }
.stamp { position: absolute; z-index: 1; top: 48px; right: 56px; width: 168px; height: 168px; border-radius: 50%; border: 3px dashed #F1EBE1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #F1EBE1; transform: rotate(-10deg); background: rgba(42,38,32,0.35); }
.stamp em { font-style: normal; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.stamp strong { font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: 34px; line-height: 1; white-space: nowrap; }
.stamp span { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { color: #D7D2BF; }
.site-footer .mountains { width: 100%; height: auto; }
.site-footer .inner { background: var(--olive-deep); margin-top: -1px; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 24px; padding-bottom: 48px; }
.site-footer .brand { flex: 1 1 280px; min-width: 0; }
.site-footer .brand img { height: 110px; width: auto; }
.site-footer .brand .badge { display: inline-block; margin-top: 24px; border-radius: 999px; transition: transform 0.2s ease; }
.site-footer .brand .badge:hover { transform: translateY(-2px); text-decoration: none; }
.site-footer .brand .badge img { height: 56px; width: auto; display: block; }
.site-footer .brand p { margin-top: 20px; max-width: 300px; font-size: 16px; line-height: 1.6; }
.site-footer .links { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; }
.site-footer h2 { margin-bottom: 12px; font-size: 24px; color: #fff; }
.site-footer p { font-size: 15px; line-height: 1.7; }
.site-footer a { color: #E9D9A8; text-decoration: none; }
/* ---------- Social links (footer + contact page) ---------- */
.social-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.social-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px 0 14px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: 0 2px 8px rgba(42,38,32,0.14); transition: box-shadow 0.2s, transform 0.2s; }
.social-links img { width: 24px; height: 24px; flex: none; }
.social-links a:hover { color: var(--ink); text-decoration: none; box-shadow: 0 4px 14px rgba(42,38,32,0.24); transform: translateY(-1px); }
.social-links a:focus-visible { outline: 3px solid #D9A441; outline-offset: 2px; }
.site-footer .social-links { margin-top: 16px; gap: 10px; }
.site-footer .social-links a { min-height: 38px; padding: 0 16px 0 10px; font-size: 15px; box-shadow: none; }
.site-footer .social-links img { width: 20px; height: 20px; }
.site-footer .social-links a { color: var(--ink); }
.site-footer .social-links a:hover { color: #7A3819; text-decoration: none; }
section > .social-links, .social-row .social-links { justify-content: center; }
.social-row { margin-top: 28px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 28px; border-top: 2px dashed #4A553A; font-size: 13px; color: #B9B4A0; }

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  body { font-size: 17px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .tilt-l, .tilt-r, .tilt-l2, .tilt-r2 { --tilt: 0deg; }
  .note-card { transform: none; }
  .facts > div + div { border-left: 0; }
  .facts > div { padding: 0; }
  .camp .photo img { height: 300px; }
  .camp, .camp:nth-child(even) { flex-direction: column; align-items: stretch; gap: 24px; }
  .camp .photo, .camp .body { flex: none; width: 100%; }
  .camp h3 { font-size: 36px; }
  .split { gap: 40px; }
  .book { padding: 32px 22px; }
  .page-hero { height: 600px; }
  .stamp { display: none; }
  .hero-scene .hint { bottom: 18px; font-size: 18px; }
}

/* ---------- Gallery page ---------- */
.gallery-page { padding-top: 88px; padding-bottom: 120px; }
.gallery-page .breadcrumb { color: var(--muted); }
.gallery-page .breadcrumb a { color: var(--olive); }
.gallery-page h1 { font-size: clamp(48px, 6vw, 88px); }
.gallery-page .intro { max-width: 640px; margin-top: 18px; font-size: 19px; line-height: 1.55; }
.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 30px; }
.no-js .gallery-filter { display: none; }
.gallery-filter button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 2px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.gallery-filter button .n { font-size: 13px; font-weight: 600; opacity: 0.7; }
.gallery-filter button:hover { background: rgba(42,38,32,0.08); }
.gallery-filter button[aria-pressed="true"] { background: var(--ink); color: var(--donkerhuk-yellow); }
.gallery-filter button:focus-visible { outline: 3px solid #D9A441; outline-offset: 2px; }
.grid-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
@media (max-width: 560px) { .grid-photos { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.grid-photos figure { margin: 0; background: #fff; padding: 6px; box-shadow: 0 6px 16px rgba(42,38,32,0.14); }
.grid-photos figure[hidden] { display: none; }
.grid-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .grid-photos figure { transition: transform 0.25s ease, box-shadow 0.25s ease; }
  .grid-photos figure:hover, .grid-photos figure:focus-within { transform: scale(1.03) rotate(-0.6deg); box-shadow: 0 12px 26px rgba(42,38,32,0.22); position: relative; z-index: 1; }
}

/* ---------- Guestbook ---------- */
.gb-page { padding-top: 88px; padding-bottom: 120px; }
.gb-page .breadcrumb { color: var(--muted); }
.gb-page .breadcrumb a { color: var(--olive); }
.gb-page h1 { font-size: clamp(48px, 6vw, 88px); }
.gb-page .intro { max-width: 640px; margin-top: 18px; font-size: 19px; line-height: 1.55; }
.gb-jump { margin-top: 26px; }
.gb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; margin-top: 48px; }
.gb-entries { display: grid; gap: 22px; }
.gb-entry { position: relative; margin: 0; padding: 28px 30px 24px 64px; background: var(--card); border-radius: var(--radius); box-shadow: 0 6px 18px rgba(42,38,32,0.10); }
.gb-entry::before { content: "“"; position: absolute; left: 20px; top: 6px; font-family: var(--font-heading); font-size: 72px; line-height: 1; color: #D9A441; }
.gb-entry p { margin: 0; font-size: 18px; line-height: 1.6; }
.gb-entry footer { margin-top: 14px; font-size: 15px; color: var(--muted); }
.gb-entry footer strong { color: var(--ink); }
.gb-form { position: sticky; top: calc(var(--header-h) + 24px); background: var(--terracotta); color: #fff; border-radius: var(--radius); padding: 32px 30px; }
.gb-form h2 { font-size: 34px; margin-bottom: 16px; color: #fff; }
.gb-form form { display: grid; gap: 16px; }
.gb-form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.gb-form .opt { font-weight: 400; }
.gb-form input[type="text"], .gb-form textarea { height: 50px; padding: 0 12px; border: 0; border-radius: var(--radius); background: var(--card); color: var(--ink); font: inherit; font-size: 16px; width: 100%; }
.gb-form textarea { height: auto; min-height: 150px; padding: 12px; resize: vertical; line-height: 1.5; }
.gb-form input::placeholder { color: var(--muted); }
.gb-form .gb-consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.45; }
.gb-form .gb-consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); }
.gb-form .gb-consent a { color: #fff; }
.gb-form .hp { position: absolute; left: -9999px; }
.gb-form button { justify-self: start; white-space: nowrap; padding-inline: 32px; }
.gb-note { margin: 0; font-size: 14px; color: #FCE9DD; }
.gb-msg { margin: 0 0 18px; padding: 12px 16px; border-radius: var(--radius); font-weight: 600; line-height: 1.45; }
.gb-msg.gb-ok { background: #fff; color: var(--olive); }
.gb-msg.gb-error { background: #FCE9DD; color: #7A1E10; }
.quote-more { margin: 22px 0 0; font-size: 16px; }
.quote-more a { color: #fff; font-weight: 600; }
@media (max-width: 960px) {
  .gb-layout { grid-template-columns: 1fr; }
  .gb-form { position: static; }
}
@media (max-width: 560px) {
  .gb-entry { padding: 52px 20px 20px; }
  .gb-entry::before { left: 16px; top: 4px; font-size: 60px; }
  .gb-form { padding: 26px 20px; }
}

.site-footer .map-link { display: inline-flex; align-items: center; gap: 6px; }
.site-footer .map-link svg { flex: none; color: #D9A441; }
