/* ==========================================================================
   Stay Cascade — "Guest Book"
   A cabin's guest book: ribbon bookmarks hang from the header, each section
   is a page of the book, and the footer ends at the campfire.
   Order: fonts & tokens → base → components → header → sections → consent
   → legal pages → utilities → motion → print
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin only) ---------- */
@font-face {
  font-family: 'Vollkorn';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/vollkorn-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Vollkorn';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/vollkorn-italic-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Asap';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/asap-latin-var.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  /* Palette: aspen gold, pine, granite, creek blue on cream paper.
     Text pairs checked numerically: ink/paper 13.6, ink-soft/paper 7.2,
     creek/paper 5.6, ember/paper 5.5, granite/paper 5.7, ink/gold 6.9. */
  --paper: #f6f1e6;
  --paper-2: #ece3cf;
  --sheet: #fbf8f1;
  --line: #d9cdb2;
  --ink: #1e2722;
  --ink-soft: #4a524c;
  --gold: #dba531;
  --gold-light: #f0c457;
  --pine: #2d4c3b;
  --pine-deep: #17291f;
  --night: #0f1c15;
  --granite: #5b6064;
  --creek: #2b6683;
  --ember: #a3442a;
  --wood: #6b3f24;
  --wood-light: #7a4a2a;
  --wood-dark: #4a2f1d;
  --sky: #1c3549;
  --on-dark: #e6dccb;
  --on-dark-soft: #c9bfae;
  --focus: var(--creek);

  --font-serif: 'Vollkorn', Georgia, 'Times New Roman', serif;
  --font-sans: 'Asap', 'Segoe UI', system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  --section-y: clamp(72px, 9vw, 128px);
  --radius: 6px;
  --shadow-page: 0 1px 0 var(--line), 0 24px 48px -30px rgba(23, 41, 31, 0.45);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
}

p, li, dd { text-wrap: pretty; }
p { margin: 0 0 1em; }

a { color: var(--pine); text-underline-offset: 0.18em; }
a:hover { color: var(--creek); }

img, svg { max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

[tabindex="-1"]:focus { outline: none; }

[hidden] { display: none; }

section[id] { scroll-margin-top: calc(var(--header-h) + 28px); }

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); color: var(--ink); }

.btn-ghost { border-color: rgba(246, 241, 230, 0.7); color: var(--paper); }
.btn-ghost:hover { background: rgba(246, 241, 230, 0.12); border-color: var(--paper); color: var(--paper); }

.btn-pine { background: var(--pine); color: var(--paper); }
.btn-pine:hover { background: var(--pine-deep); color: var(--paper); }
.btn-pine:disabled { opacity: 0.7; cursor: progress; }

.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

/* ---------- Brand lockup ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--paper);
  text-decoration: none;
}
.brand:hover { color: var(--gold-light); }
.brand-mark { width: 30px; height: 36px; flex: none; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ---------- Page mark: the ribbon lying across each page ---------- */
.page-mark {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 30px 6px 14px;
  background: var(--rib);
  color: var(--rib-ink);
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.3;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%);
}

.page-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.page-head h2,
.area-copy h2,
.register-side h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  color: var(--ink);
}
.page-intro {
  margin: 16px 0 0;
  max-width: 640px;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   Header: the book's cloth head band, with ribbon bookmarks hanging from it
   ========================================================================== */
.site-header {
  --focus: var(--gold);
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--pine-deep);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.ribbons ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Each ribbon carries its own colour through --rib / --rib-ink. The fill sits
   on the link itself (clipped to the ribbon shape) so text contrast is real,
   and the focus ring is drawn inside the shape where the clip can't cut it. */
.ribbons li { filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.28)); }

.ribbon {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: calc(var(--header-h) + 16px);
  padding: 0 14px 24px;
  background: var(--rib);
  color: var(--rib-ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 12px), 0 100%);
  transform: translateY(var(--drop, -4px));
  transition: transform 0.25s ease;
}
.ribbon:hover { --drop: 4px; color: var(--rib-ink); }
.ribbon[aria-current="true"] { --drop: 12px; }
.ribbon:focus-visible { outline: 3px solid var(--rib-ink); outline-offset: -8px; }

.sheet-call { display: none; }

.header-cta { margin-left: 18px; }

.bookmark-toggle { display: none; }

/* Wide screens: ribbons sit inline and hang below the band. */
@media (min-width: 1080px) {
  .ribbons {
    align-self: flex-start;
    margin-left: auto;
  }
}

/* Narrower screens: one bookmark button opens the ribbons as a sheet. */
@media (max-width: 1079.98px) {
  .header-cta { margin-left: auto; }

  .js .bookmark-toggle {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: flex-start;
    width: 60px;
    height: calc(var(--header-h) + 12px);
    padding: 0 0 22px;
    border: 0;
    background: var(--gold);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 11px), 0 100%);
    transition: background-color 0.2s ease;
  }
  .js .bookmark-toggle:hover { background: var(--gold-light); }
  .js .bookmark-toggle:focus-visible { outline: 3px solid var(--ink); outline-offset: -7px; }

  .js .ribbons {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: 36px var(--gutter) 40px;
    overflow-y: auto;
    background: var(--paper);
    overscroll-behavior: contain;
  }
  .js .ribbons.is-open { display: block; }

  .js .ribbons ul {
    flex-direction: column;
    gap: 12px;
    max-width: 520px;
  }
  .js .ribbons li:nth-child(2) { margin-right: 6%; }
  .js .ribbons li:nth-child(3) { margin-right: 12%; }
  .js .ribbons li:nth-child(4) { margin-right: 4%; }
  .js .ribbons li:nth-child(5) { margin-right: 9%; }

  .js .ribbon {
    justify-content: flex-start;
    align-items: center;
    height: 56px;
    padding: 0 40px 0 20px;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 50%, 100% 100%, 0 100%);
    transform: translateX(var(--drop, 0));
  }
  .js .ribbon:hover { --drop: 8px; }
  .js .ribbon[aria-current="true"] { --drop: 0; }

  .js .sheet-call {
    display: block;
    margin: 32px 0 0;
    color: var(--ink-soft);
  }
  .sheet-call a { color: var(--pine); font-weight: 600; }

  /* Without JavaScript the ribbons wrap onto their own row under the band. */
  html:not(.js) .site-header { height: auto; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-top: 10px; }
  html:not(.js) .ribbons { order: 3; flex-basis: 100%; overflow-x: auto; }
  html:not(.js) .ribbon { height: 52px; padding-bottom: 16px; transform: none; }
}

@media (max-width: 479.98px) {
  .header-inner { gap: 8px; }
  .cta-more { display: none; }
  .header-cta { padding: 0 16px; }
  .brand-name { font-size: 1.15rem; }
}

@media (max-width: 359.98px) {
  .site-header .brand-name { display: none; }
}

/* ==========================================================================
   Hero: dusk at the cabin
   ========================================================================== */
.hero {
  --focus: var(--gold);
  padding-top: clamp(56px, 6vw, 84px);
  background: var(--sky);
  color: var(--paper);
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero-volume {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--gold-light);
}

.hero h1 {
  font-size: clamp(2.35rem, 5.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.hero-lede {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: clamp(1.0625rem, 1.6vw, 1.2rem);
  color: var(--on-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-scene {
  height: clamp(330px, 50vw, 690px);
  /* The top of the scene is open sky, so it can slide up under the buttons. */
  margin-top: clamp(-64px, -4vw, -8px);
}

.scene { display: block; width: 100%; height: 100%; }

.pillow-text {
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  font-weight: 600;
  fill: var(--pine);
}

/* ==========================================================================
   Pages (sections)
   ========================================================================== */
.page { padding: var(--section-y) 0; }
.page-tinted { background: var(--paper-2); }

/* ---------- The cabin: floor plan with hotspots ---------- */
.plan {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.plan-figure {
  margin: 0;
  padding: clamp(14px, 2.4vw, 28px);
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-page);
}
.plan-figure figcaption {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.plan-drawing { position: relative; }
.plan-svg { display: block; width: 100%; height: auto; }

.plan-deck rect,
.plan-porch { fill: #efe6d2; stroke: var(--granite); stroke-width: 2; }
.plan-deck path { fill: none; stroke: var(--line); stroke-width: 1.2; }
.plan-fire { fill: #f1d8b0; stroke: var(--ember); stroke-width: 2; }
.plan-fire-core { fill: var(--ember); }
.plan-furniture { fill: var(--paper-2); stroke: var(--granite); stroke-width: 1.5; }
.plan-stove { fill: var(--ink-soft); }
.plan-walls { fill: none; stroke: var(--ink); stroke-width: 8; stroke-linecap: square; }
.plan-openings { fill: none; stroke: var(--sheet); stroke-width: 10; }
.plan-doors { fill: none; stroke: var(--ink-soft); stroke-width: 1.5; stroke-dasharray: 4 3; }
.plan-steps { fill: none; stroke: var(--granite); stroke-width: 2; }
text.plan-north { font-family: var(--font-sans); font-size: 14px; font-weight: 700; fill: var(--granite); }
path.plan-north { fill: none; stroke: var(--granite); stroke-width: 2; }

.hotspots { margin: 0; padding: 0; list-style: none; }
.hotspots li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
}
html:not(.js) .hotspots { display: none; }

.hotspot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 3px solid var(--sheet);
  border-radius: 50%;
  background: var(--pine);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 10px -4px rgba(23, 41, 31, 0.6);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.hotspot:hover { transform: scale(1.08); background: var(--creek); }
.hotspot[aria-pressed="true"] { background: var(--gold); color: var(--ink); }

.rooms {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.room {
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: background-color 0.25s ease;
}
.room.is-active {
  background: var(--sheet);
  box-shadow: var(--shadow-page);
}
.room h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 600;
}
.room-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.room-toggle:hover { color: var(--pine); }
.room-no {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--pine);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
}
.room.is-active .room-no { background: var(--gold); color: var(--ink); }
.room p { margin: 10px 0 4px 42px; color: var(--ink-soft); }

.facts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: clamp(40px, 5vw, 64px) 0 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.facts div { padding: 16px 14px 18px; }
.facts div + div { border-left: 1px dashed var(--line); }
.facts dt { font-size: 0.875rem; color: var(--ink-soft); }
.facts dd {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.25;
}

/* ---------- Around Cascade: trail signpost ---------- */
.area {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.area-copy h2 { margin-bottom: 20px; }
.area-lede { font-size: 1.125rem; color: var(--ink-soft); }

.season-notes { display: grid; gap: 18px; margin-top: 28px; }
.season-notes p {
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  color: var(--ink-soft);
}
.season-notes strong { color: var(--ink); }

.signpost { position: relative; padding-bottom: 8px; }
.signpost::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 48px;
  left: 50%;
  width: 22px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--wood-dark), var(--wood-light) 50%, var(--wood-dark));
  border-radius: 4px 4px 0 0;
}

.signpost-title {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 10px 22px;
  background: var(--wood-dark);
  color: var(--gold-light);
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.5);
}

.planks { position: relative; margin: 0; padding: 0; list-style: none; }
.planks li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  width: 92%;
  margin-bottom: 10px;
  padding: 11px 38px 11px 20px;
  background-color: var(--wood-light);
  background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0 2px, transparent 2px 7px);
  color: var(--paper);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 0 100%);
}
.planks li:nth-child(even) {
  margin-left: auto;
  padding: 11px 20px 11px 38px;
  background-color: var(--wood);
  clip-path: polygon(24px 0, 100% 0, 100% 100%, 24px 100%, 0 50%);
}
.plank-place { font-weight: 600; }
.plank-dist {
  flex: none;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-light);
}
.signpost-note {
  margin: 30px 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

/* ---------- House manual: binder with index tabs ---------- */
.binder { max-width: 1000px; }

.binder-tabs {
  display: flex;
  gap: 6px;
  padding-left: clamp(56px, 8vw, 96px);
}
html:not(.js) .binder-tabs { display: none; }

.binder-tab {
  --tab: #f2dca0;
  --tab-edge: var(--gold);
  min-height: 48px;
  padding: 10px 18px 14px;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: var(--tab);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transform: translateY(6px);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.binder-tab:nth-child(2) { --tab: #d6e3d4; --tab-edge: var(--pine); }
.binder-tab:nth-child(3) { --tab: #d3e2ea; --tab-edge: var(--creek); }
.binder-tab:nth-child(4) { --tab: #e2ddd5; --tab-edge: var(--granite); }
.binder-tab:nth-child(5) { --tab: #efd2c4; --tab-edge: var(--ember); }
.binder-tab:hover { transform: translateY(2px); }
.binder-tab[aria-selected="true"] {
  background: var(--sheet);
  box-shadow: inset 0 4px 0 var(--tab-edge);
  transform: translateY(1px);
}
.binder-tab:focus-visible { outline-offset: -5px; }

.binder-page {
  position: relative;
  min-height: 380px;
  padding: clamp(28px, 4vw, 48px) clamp(22px, 5vw, 64px) clamp(28px, 4vw, 48px) clamp(64px, 8vw, 104px);
  background: var(--sheet);
  border-radius: 4px 12px 12px 12px;
  box-shadow: var(--shadow-page);
}
/* Three punched ring holes down the left edge. */
.binder-page::before {
  content: '';
  position: absolute;
  top: 48px;
  bottom: 48px;
  left: clamp(18px, 3vw, 34px);
  width: 20px;
  background: radial-gradient(circle, var(--paper-2) 7px, var(--line) 8px, transparent 9px) center top / 20px 33.333% repeat-y;
}
.binder-panel + .binder-panel { margin-top: 36px; }
.js .binder-panel + .binder-panel { margin-top: 0; }
.binder-panel h3 { margin-bottom: 18px; font-size: 1.6rem; }

.manual-list { margin: 0; padding: 0; list-style: none; }
.manual-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--paper-2);
  color: var(--ink-soft);
}
.manual-list li:last-child { border-bottom: 0; }
.manual-list li::before {
  content: '';
  position: absolute;
  top: 21px;
  left: 2px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 0 60% 0 60%;
}
.manual-list strong { color: var(--ink); }

/* ---------- Rates: painted lodge board ---------- */
.rates-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.rate-board {
  position: relative;
  padding: clamp(26px, 4vw, 44px);
  background-color: var(--wood-dark);
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.08) 0 2px, transparent 2px 9px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 40%, rgba(255, 255, 255, 0.03));
  color: var(--paper);
  border-radius: 10px;
  box-shadow: inset 0 0 0 6px #3a2416, 0 26px 44px -28px rgba(23, 41, 31, 0.7);
}
/* Two brass nails holding the board up. */
.rate-board::before,
.rate-board::after {
  content: '';
  position: absolute;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f5dc9a, #a07a2c);
}
.rate-board::before { left: 16px; }
.rate-board::after { right: 16px; }

.rate-board-title {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 3px double rgba(240, 196, 87, 0.6);
  text-align: center;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold-light);
}

.rate-rows { margin: 0; }
.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(246, 241, 230, 0.3);
}
.rate-row dt { font-family: var(--font-serif); font-size: 1.3rem; }
.rate-row dt span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--on-dark);
}
.rate-row dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-light);
  white-space: nowrap;
}

.rate-extras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 22px 0 0;
}
.rate-extras dt { font-size: 0.875rem; color: var(--on-dark); }
.rate-extras dd { margin: 2px 0 0; font-weight: 600; }

.rate-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.rate-steps li {
  position: relative;
  padding: 0 0 28px 60px;
  color: var(--ink-soft);
  counter-increment: step;
}
.rate-steps li::before {
  content: counter(step);
  position: absolute;
  top: -4px;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--granite);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}
.rate-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 42px;
  bottom: 2px;
  left: 19px;
  border-left: 2px dotted var(--granite);
}
.rate-steps strong { display: block; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); }

/* ---------- Guest book: open two-page spread ---------- */
.book {
  columns: 2;
  column-gap: clamp(56px, 8vw, 120px);
  padding: clamp(28px, 5vw, 64px);
  background-color: var(--sheet);
  background-image: linear-gradient(90deg, transparent calc(50% - 36px), rgba(23, 41, 31, 0.09) 50%, transparent calc(50% + 36px));
  border-radius: 4px;
  box-shadow:
    0 0 0 1px var(--line),
    0 4px 0 -1px #efe6d2,
    0 4px 0 0 var(--line),
    0 8px 0 -1px #e8dec8,
    0 8px 0 0 var(--line),
    0 34px 60px -36px rgba(23, 41, 31, 0.5);
}
.entry {
  break-inside: avoid;
  margin-bottom: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--paper-2);
}
.entry h3 {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  color: var(--creek);
  transform: rotate(-0.6deg);
  transform-origin: left center;
}
.entry p { margin: 10px 0 0; color: var(--ink-soft); }
.entry-reply { font-weight: 700; color: var(--ember); }

/* ---------- Stay request: the guest register ---------- */
.register { max-width: 920px; }

.register-side { text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }
.register-side > p { max-width: 620px; margin: 16px auto 0; font-size: 1.125rem; color: var(--ink-soft); }

.register-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 40px;
  margin: 26px 0 0;
}
.register-contact dt { font-size: 0.875rem; color: var(--ink-soft); }
.register-contact dd {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  font-weight: 600;
}

.register-note {
  max-width: 620px;
  margin: 14px auto 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.register-page {
  position: relative;
  padding: clamp(24px, 5vw, 56px);
  background: var(--sheet);
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-page);
}
.register-page::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(10px, 2.4vw, 28px);
  border-left: 2px solid rgba(163, 68, 42, 0.35);
}

.register-head {
  margin: 0 0 6px;
  padding-bottom: 12px;
  border-bottom: 3px double var(--line);
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-style: italic;
  color: var(--pine);
}

.form-intro { margin: 14px 0 22px; font-size: 0.9375rem; color: var(--ink-soft); }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 28px;
}
.field { min-width: 0; }
/* Fields without an error line keep the same rhythm as those with one. */
.field:not(:has(.field-error)) { margin-bottom: 28px; }
.field-wide { grid-column: 1 / -1; }

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
}
.optional { font-weight: 400; color: var(--ink-soft); }

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 2px;
  padding: 8px 2px;
  border: 0;
  border-bottom: 2px solid var(--ink-soft);
  border-radius: 0;
  background-color: transparent;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.field select {
  appearance: none;
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234a524c' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 12px 8px;
  cursor: pointer;
}
/* Ruled lines that scroll with the text, like a register page. */
.field textarea {
  min-height: 132px;
  padding: 0 2px;
  line-height: 33px;
  background-image: repeating-linear-gradient(transparent 0 32px, var(--line) 32px 33px);
  background-attachment: local;
  resize: vertical;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-bottom-color: var(--pine); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline-offset: 2px; border-bottom-color: var(--creek); }
.field [aria-invalid="true"] { border-bottom-color: var(--ember); }

.field-error {
  min-height: 1.5em;
  margin: 4px 0 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ember);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 18px;
}
.form-privacy { margin: 0; font-size: 0.875rem; color: var(--ink-soft); }

.form-status { margin-top: 18px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--pine); }
.form-status.is-error { color: var(--ember); }

/* ==========================================================================
   Footer: around the campfire
   ========================================================================== */
.site-footer {
  --focus: var(--gold);
  padding-bottom: 40px;
  background: var(--night);
  color: var(--on-dark);
  text-align: center;
}

.campfire {
  display: flex;
  justify-content: center;
  padding-top: clamp(48px, 6vw, 72px);
}
.fire-svg { display: block; width: clamp(180px, 22vw, 240px); height: auto; }

.footer-inner { padding-top: 22px; }
.footer-line {
  margin-bottom: 18px;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-style: italic;
  color: var(--paper);
}
.footer-brand { margin-bottom: 10px; }

.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--gold-light); }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 12px;
  margin-bottom: 4px;
  font-weight: 600;
}
.footer-contact a { display: inline-flex; align-items: center; min-height: 44px; }

.footer-places { color: var(--on-dark-soft); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 22px;
  margin: 8px 0 22px;
  padding: 0;
  list-style: none;
}
.footer-links a,
.footer-links .link-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--paper);
}
.footer-links .link-button:hover { color: var(--gold-light); }

.footer-fine {
  max-width: 680px;
  margin: 0 auto 8px;
  font-size: 0.875rem;
  color: var(--on-dark-soft);
}

/* ==========================================================================
   Cookie consent: a note card tucked into the book
   ========================================================================== */
.consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 26px 24px 22px;
  background: var(--sheet);
  color: var(--ink);
  border-top: 6px solid var(--gold);
  border-radius: 4px 4px var(--radius) var(--radius);
  box-shadow: 0 0 0 1px var(--line), 0 26px 50px -20px rgba(15, 28, 21, 0.55);
}
.consent-title {
  margin-bottom: 8px;
  font-size: 1.4rem;
  font-weight: 600;
}
.consent-text { font-size: 0.9375rem; color: var(--ink-soft); }
.consent-text a { color: var(--pine); font-weight: 600; }

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.consent-btn {
  flex: 1 1 140px;
  min-height: 46px;
  padding: 0 16px;
  border: 2px solid var(--pine);
  border-radius: 4px;
  background: var(--pine);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.consent-btn:hover { background: var(--pine-deep); border-color: var(--pine-deep); }
.consent-link {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.consent-link:hover { color: var(--creek); }

.consent-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-top: 6px solid var(--gold);
  border-radius: 4px 4px var(--radius) var(--radius);
  background: var(--sheet);
  color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(15, 28, 21, 0.6);
}
.consent-dialog::backdrop { background: rgba(15, 28, 21, 0.6); }
.consent-dialog-inner { padding: 28px 26px 24px; }

.consent-categories { margin: 18px 0 0; padding: 0; list-style: none; }
.consent-category { padding: 14px 0; border-top: 1px solid var(--paper-2); }
.consent-category p { margin: 6px 0 0; font-size: 0.9375rem; color: var(--ink-soft); }
.consent-category-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.consent-category h3 { font-size: 1.15rem; font-weight: 600; }
.consent-always { font-size: 0.875rem; font-weight: 600; color: var(--pine); }

.consent-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 52px;
  min-height: 44px;
  cursor: pointer;
}
.consent-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.consent-switch-track {
  position: relative;
  width: 52px;
  height: 30px;
  border-radius: 15px;
  background: var(--granite);
  transition: background-color 0.2s ease;
}
.consent-switch-track::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  transition: transform 0.2s ease;
}
.consent-switch input:checked + .consent-switch-track { background: var(--pine); }
.consent-switch input:checked + .consent-switch-track::after { transform: translateX(22px); }
.consent-switch input:focus-visible + .consent-switch-track { outline: 3px solid var(--focus); outline-offset: 3px; }

.consent-btn-save { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.consent-btn-save:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* ==========================================================================
   Legal pages and 404
   ========================================================================== */
.legal-hero {
  padding: clamp(64px, 8vw, 104px) 0 clamp(32px, 4vw, 48px);
  background: var(--paper-2);
}
.legal-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.legal-hero p:last-child { margin: 14px 0 0; font-size: 1.125rem; color: var(--ink-soft); }
.legal-updated { margin: 0 0 6px; font-size: 0.9375rem; color: var(--ink-soft); }

.legal-body { padding: clamp(40px, 6vw, 72px) 0 var(--section-y); }

.prose { max-width: 820px; }
.prose h2 {
  margin: 48px 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 600;
}
.prose h3 { margin: 26px 0 8px; font-size: 1.25rem; font-weight: 600; }
.prose p,
.prose ul { margin: 0 0 14px; color: var(--ink-soft); }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); }
.prose address { margin-bottom: 14px; font-style: normal; color: var(--ink-soft); }
.prose .callout {
  padding: 18px 22px;
  background: var(--sheet);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
}

.prose .table-wrap {
  max-width: 100%;
  margin-bottom: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.9375rem; }
.prose th,
.prose td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.prose th { background: var(--sheet); font-weight: 700; color: var(--ink); }
.prose tr:last-child td { border-bottom: 0; }
.prose code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--paper-2);
  font-size: 0.875em;
  color: var(--ink);
  white-space: nowrap;
}

/* Narrow screens: each table row stacks into label/value blocks instead of scrolling. */
@media (max-width: 720px) {
  .prose .table-wrap { overflow: visible; border: 0; }
  .prose table { min-width: 0; }
  .prose table,
  .prose tbody,
  .prose tr,
  .prose td { display: block; }
  .prose thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .prose tr {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .prose td { padding: 10px 14px; }
  .prose tr:last-child td { border-bottom: 1px solid var(--line); }
  .prose tr td:last-child { border-bottom: 0; }
  .prose td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ink);
  }
}

.not-found {
  padding: clamp(72px, 10vw, 140px) 0;
  text-align: center;
}
.not-found-ribbon {
  display: block;
  width: 64px;
  height: 96px;
  margin: 0 auto 24px;
}
.not-found h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.not-found p { max-width: 560px; margin: 16px auto 0; font-size: 1.125rem; color: var(--ink-soft); }
.not-found-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.btn-outline { border-color: var(--pine); color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: var(--paper); }

/* ==========================================================================
   Responsive layout
   ========================================================================== */
@media (max-width: 960px) {
  .plan,
  .area,
  .rates-body { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts div:nth-child(4) { border-left: 0; }
  .facts div:nth-child(n + 4) { border-top: 1px dashed var(--line); }
  .signpost { max-width: 520px; margin: 0 auto; width: 100%; }
  .plan-figure,
  .rooms { width: 100%; max-width: 680px; margin: 0 auto; }
}

@media (max-width: 760px) {
  .book { columns: 1; background-image: none; }
  .binder-tabs {
    flex-wrap: wrap;
    gap: 6px;
    padding-left: 0;
    margin-bottom: 10px;
  }
  .binder-tab {
    flex: 1 1 auto;
    border-radius: 8px;
    transform: none;
  }
  .binder-tab:hover { transform: none; }
  .binder-tab[aria-selected="true"] { box-shadow: inset 0 -4px 0 var(--tab-edge), 0 0 0 1px var(--line); transform: none; }
  .binder-page { border-radius: 12px; }
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(n) { border-left: 0; }
  .facts div:nth-child(even) { border-left: 1px dashed var(--line); }
  .facts div:nth-child(n + 3) { border-top: 1px dashed var(--line); }
  .rate-extras { grid-template-columns: minmax(0, 1fr); }
  .rate-row { flex-wrap: wrap; gap: 2px 16px; }
  .planks li,
  .planks li:nth-child(even) { width: 100%; }
  .room p { margin-left: 0; }
  .binder-page::before { display: none; }
  .binder-page { padding-left: clamp(20px, 5vw, 32px); }
  .register-page::before { display: none; }
}

@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
  .hotspot { width: 40px; height: 40px; font-size: 0.9375rem; }
  .plank-dist { font-size: 0.9375rem; }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Motion
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

.twinkle { animation: twinkle 4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.shimmer {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: shimmer 6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
@keyframes shimmer {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(0.8deg); }
}

.porch-glow { animation: porch-glow 5s ease-in-out infinite; }
@keyframes porch-glow {
  0%, 100% { opacity: 0.85; }
  45% { opacity: 1; }
  60% { opacity: 0.7; }
}

.swing {
  transform-origin: 590px 508px;
  animation: swing 7s ease-in-out infinite;
}
@keyframes swing {
  0%, 100% { transform: rotate(-0.8deg); }
  50% { transform: rotate(0.8deg); }
}

.smoke { animation: smoke 6s ease-in-out infinite; }
@keyframes smoke {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 0.25; transform: translateY(-6px); }
}

.flame {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: flicker 1.6s ease-in-out infinite;
}
.flame-mid { animation-duration: 1.2s; animation-delay: -0.4s; }
.flame-core { animation-duration: 0.9s; animation-delay: -0.2s; }
@keyframes flicker {
  0%, 100% { transform: scale(1, 1) skewX(0deg); }
  30% { transform: scale(0.97, 1.06) skewX(2deg); }
  65% { transform: scale(1.02, 0.95) skewX(-2deg); }
}

.fire-halo { animation: porch-glow 3s ease-in-out infinite; }

.sparks circle { animation: spark 3s ease-out infinite; }
.sparks circle:nth-child(2) { animation-delay: -1s; }
.sparks circle:nth-child(3) { animation-delay: -2s; }
@keyframes spark {
  0% { opacity: 0; transform: translateY(20px); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .site-header,
  .hero-scene,
  .campfire,
  .hotspots,
  .binder-tabs,
  .consent,
  .consent-dialog,
  .register-page { display: none; }
  body { background: #fff; }
  .js .reveal { opacity: 1; transform: none; }
  .book { columns: 1; box-shadow: none; }
}
