/* ==========================================================================
   BILLINGS CABIN — An Almanac of Place
   Photo-first. Parallax. Sticky scroll. Cinematic.
   ========================================================================== */

:root {
  --paper:       #ebe1c9;
  --paper-deep:  #e0d5b8;
  --paper-soft:  #f3ecdb;
  --ink:         #0d1f17;
  --ink-soft:    #1a2e23;
  --ink-deep:    #050d09;
  --moss:        #2d3a25;
  --brass:       #b89248;
  --brass-deep:  #7d6325;
  --surveyor:    #8a1f1a;
  --pencil:      #4a4339;
  --pencil-soft: #6b6353;

  --display: "Fraunces", "Times New Roman", serif;
  --body:    "Newsreader", "Georgia", "Times New Roman", serif;
  --mono:    "IBM Plex Mono", "Courier New", monospace;

  --column-max: 1400px;
  --reading-max: 640px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-cinema: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-weight: 420;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 18px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}

body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05  0 0 0 0 0.10 0 0 0 0 0.07  0 0 0 0.12 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  opacity: 0.4;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1000;
}

header, main, footer, section { position: relative; z-index: 2; }

/* CURSOR */
.cursor {
  position: fixed;
  width: 22px; height: 22px;
  border: 1px solid var(--paper);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.2s var(--ease-out), border-color 0.2s, opacity 0.2s;
  mix-blend-mode: difference;
}
.cursor::before, .cursor::after { content: ""; position: absolute; background: var(--paper); }
.cursor::before { top: -8px; left: 50%; width: 1px; height: 6px; transform: translateX(-50%); }
.cursor::after  { left: -8px; top: 50%; height: 1px; width: 6px; transform: translateY(-50%); }
.cursor-dot {
  position: fixed; width: 4px; height: 4px;
  background: var(--surveyor); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor.hovering { transform: translate(-50%, -50%) scale(1.8); }
@media (hover: none) {
  body { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
}

/* TYPE */
h1, h2, h3, h4 { font-family: var(--display); font-weight: normal; letter-spacing: -0.01em; line-height: 1.05; }
.display {
  font-family: var(--display);
  font-variation-settings: "opsz" 144, "wght" 320, "SOFT" 100, "WONK" 1;
  font-style: italic;
  letter-spacing: -0.025em;
  line-height: 0.95;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--pencil);
}
.chapter-label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--surveyor);
  display: inline-flex; align-items: center; gap: 0.85rem;
}
.chapter-label::before, .chapter-label::after {
  content: ""; flex: 0 0 28px; height: 1px;
  background: var(--surveyor); opacity: 0.5;
}
.roman { font-family: var(--display); font-style: italic; font-variation-settings: "opsz" 144, "wght" 280, "SOFT" 100; }
.marginalia {
  font-family: var(--display); font-style: italic;
  font-size: 14px; color: var(--pencil); line-height: 1.45;
  font-variation-settings: "opsz" 9, "wght" 400, "SOFT" 50;
}
.coords {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--pencil-soft);
  font-feature-settings: "tnum";
}
p { max-width: var(--reading-max); }

.drop-cap::first-letter {
  font-family: var(--display); font-style: italic;
  font-variation-settings: "opsz" 144, "wght" 380, "SOFT" 60;
  font-size: 5.5em; float: left; line-height: 0.85;
  padding: 0.05em 0.14em 0 0; color: var(--surveyor);
}

a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; transition: color 0.2s, border-color 0.2s; }
a:hover { color: var(--surveyor); }

/* LOAD VEIL */
.load-veil {
  position: fixed; inset: 0;
  background: var(--ink-deep);
  z-index: 9000;
  transition: opacity 1.4s var(--ease-cinema);
  pointer-events: none;
}
.load-veil.gone { opacity: 0; }

/* SCROLL PROGRESS */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--surveyor);
  z-index: 100;
  transition: width 0.06s linear;
}

/* HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 1.75rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  z-index: 50;
  transition: padding 0.4s var(--ease-cinema), background 0.4s, backdrop-filter 0.4s, color 0.4s;
  color: var(--paper);
}
.site-header.scrolled {
  padding: 0.9rem var(--gutter);
  background: rgba(235, 225, 201, 0.96);
  backdrop-filter: blur(10px);
  color: var(--ink);
  border-bottom: 1px solid rgba(13, 31, 23, 0.08);
}
.brand { display: flex; align-items: center; gap: 0.85rem; border: none; color: inherit; }
.brand-seal { width: 40px; height: 40px; }
.brand-seal svg { width: 100%; height: 100%; }
.brand-name { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.brand-name span { font-family: var(--display); font-style: italic; font-size: 19px; font-variation-settings: "opsz" 36, "wght" 420; }
.brand-name small { font-family: var(--mono); font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; opacity: 0.7; }
.main-nav { display: flex; gap: 2.5rem; list-style: none; }
.main-nav a {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: inherit; border: none;
}
.main-nav a sup {
  font-family: var(--display); font-style: italic;
  font-size: 11px; margin-right: 0.45em; color: var(--brass);
}

/* HERO */
.hero {
  height: 100vh;
  min-height: 720px;
  position: relative;
  overflow: hidden;
  color: var(--paper);
}
.hero-photo { position: absolute; inset: 0; overflow: hidden; }
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: ken-burns 32s var(--ease-cinema) infinite alternate;
  filter: contrast(1.05) saturate(0.85);
}
@keyframes ken-burns {
  from { transform: scale(1.05) translate(0, 0); }
  to   { transform: scale(1.18) translate(-2%, -1%); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(5,13,9,0.55) 0%, rgba(5,13,9,0.15) 30%, rgba(5,13,9,0.5) 75%, rgba(5,13,9,0.85) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(5,13,9,0.4) 100%);
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 6rem var(--gutter) 6rem;
  text-align: center;
  z-index: 2;
}
.hero-inner { max-width: 1000px; }
.hero-eyebrow {
  margin-bottom: 2.5rem;
  color: var(--paper); opacity: 0;
  animation: rise 1.6s var(--ease-out) 0.6s forwards;
  display: inline-flex; align-items: center; gap: 1rem;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; width: 40px; height: 1px; background: var(--brass);
}
.hero-headline {
  font-size: clamp(3.5rem, 11vw, 9.5rem);
  margin-bottom: 2rem;
  opacity: 0;
  animation: rise 1.8s var(--ease-cinema) 0.9s forwards;
  letter-spacing: -0.03em;
}
.hero-headline em { font-style: italic; color: var(--brass); font-variation-settings: "opsz" 144, "wght" 320, "SOFT" 100, "WONK" 1; }
.hero-sub {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: rgba(235, 225, 201, 0.88);
  max-width: 560px; margin: 0 auto;
  opacity: 0;
  animation: rise 1.6s var(--ease-out) 1.3s forwards;
  font-variation-settings: "opsz" 18, "wght" 360, "SOFT" 50;
  line-height: 1.5;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-corner {
  position: absolute; bottom: 2rem;
  display: flex; gap: 2rem; align-items: center;
  opacity: 0;
  animation: rise 1.2s var(--ease-out) 1.8s forwards;
  color: rgba(235, 225, 201, 0.65);
  z-index: 2;
}
.hero-corner.left  { left: var(--gutter); }
.hero-corner.right { right: var(--gutter); }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: rgba(235, 225, 201, 0.65);
  opacity: 0;
  animation: rise 1.2s var(--ease-out) 2.1s forwards, bob 2.4s ease-in-out 3s infinite;
  text-align: center; z-index: 2;
}
.hero-scroll::after {
  content: "";
  display: block; width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--brass), transparent);
  margin: 0.85rem auto 0;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(10px); }
}

/* PROLOGUE */
.prologue { background: var(--paper); padding: 5rem var(--gutter); text-align: center; }
.prologue p {
  font-family: var(--display); font-style: italic;
  font-variation-settings: "opsz" 60, "wght" 360, "SOFT" 80;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--ink); max-width: 760px; margin: 0 auto;
  line-height: 1.4;
}
.prologue .chapter-label { margin-bottom: 1.5rem; }

/* CHAPTER STRUCTURE */
.chapter { padding: 9rem var(--gutter); position: relative; overflow: hidden; }
.chapter-inner { max-width: var(--column-max); margin: 0 auto; position: relative; z-index: 2; }
.chapter-mark {
  position: absolute; top: 7rem; left: var(--gutter);
  font-family: var(--display); font-style: italic;
  font-size: clamp(8rem, 20vw, 20rem);
  color: var(--ink); opacity: 0.04;
  line-height: 0.8;
  font-variation-settings: "opsz" 144, "wght" 280, "SOFT" 100;
  pointer-events: none; z-index: 1;
}
.chapter-header { margin-bottom: 5rem; }
.chapter-header .chapter-label { margin-bottom: 1.75rem; }
.chapter-header h2 {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-style: italic;
  font-variation-settings: "opsz" 144, "wght" 340, "SOFT" 80, "WONK" 1;
  max-width: 950px; letter-spacing: -0.025em;
}

/* CHAPTER I */
.house-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 5rem; align-items: start;
}
.house-photo {
  position: relative; aspect-ratio: 4 / 5;
  overflow: hidden; background: var(--ink);
}
.house-photo .parallax-img {
  width: 100%; height: 115%;
  position: absolute; top: -7.5%; left: 0;
}
.house-photo .parallax-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.9);
}
.photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(5,13,9,0.9));
  color: var(--paper);
  display: flex; justify-content: space-between;
  z-index: 2;
}
.photo-caption .coords { color: rgba(235,225,201,0.75); }
.house-text { padding-top: 1.5rem; position: relative; }
.house-text p {
  font-size: 1.1rem;
  margin-bottom: 1.6rem;
  font-variation-settings: "opsz" 14, "wght" 380, "SOFT" 0;
  max-width: 540px;
}
.margin-note {
  display: block; padding: 1.25rem 0 0 1.25rem;
  margin-top: 2.5rem;
  border-left: 1px solid var(--surveyor);
  font-family: var(--display); font-style: italic;
  font-size: 14px; color: var(--pencil); line-height: 1.45;
  max-width: 360px;
}
.margin-note .coords { display: block; margin-bottom: 0.6rem; color: var(--surveyor); }
.house-specs {
  margin-top: 5rem;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.spec { padding: 2rem 1rem; border-right: 1px solid var(--ink); text-align: center; }
.spec:last-child { border-right: none; }
.spec-num {
  font-family: var(--display); font-style: italic;
  font-size: 3rem;
  font-variation-settings: "opsz" 96, "wght" 340, "SOFT" 50;
  color: var(--ink); display: block; line-height: 1; margin-bottom: 0.6rem;
}
.spec-label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--pencil); }

/* CHAPTER II — LAND STICKY */
.land-sticky {
  background: var(--ink-deep);
  color: var(--paper);
  position: relative;
  height: 500vh;
}
.land-sticky-wrap {
  position: sticky; top: 0;
  height: 100vh; width: 100%;
  overflow: hidden;
}
.land-intro {
  position: absolute; top: 2rem; left: 0; right: 0;
  text-align: center; z-index: 5;
  padding: 0 var(--gutter);
}
.land-intro .chapter-label { color: var(--brass); }
.land-intro .chapter-label::before, .land-intro .chapter-label::after { background: var(--brass); }
.land-intro h2 {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-variation-settings: "opsz" 72, "wght" 360, "SOFT" 80;
  margin-top: 1rem;
  color: var(--paper);
}
.land-photos { position: absolute; inset: 0; }
.land-photo {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-cinema);
}
.land-photo.active { opacity: 1; }
.land-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s var(--ease-cinema);
  filter: contrast(1.05) saturate(0.85);
}
.land-photo.active img { transform: scale(1.0); }
.land-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(5,13,9,0.85) 0%, rgba(5,13,9,0.4) 45%, rgba(5,13,9,0.15) 100%),
    linear-gradient(to bottom, transparent 60%, rgba(5,13,9,0.6) 100%);
}
.land-stage {
  position: absolute;
  bottom: 7rem;
  left: var(--gutter);
  right: 50%;
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s var(--ease-cinema), transform 1.2s var(--ease-cinema);
  pointer-events: none;
  z-index: 4;
}
.land-stage.active { opacity: 1; transform: translateY(0); pointer-events: all; }
.stage-num {
  font-family: var(--display); font-style: italic;
  font-size: 1.1rem;
  color: var(--brass);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.land-stage h3 {
  font-family: var(--display); font-style: italic;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-variation-settings: "opsz" 144, "wght" 320, "SOFT" 100, "WONK" 1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem; line-height: 0.95;
}
.stage-coords {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--brass); display: block; margin-bottom: 1.5rem;
}
.land-stage p {
  font-family: var(--display); font-style: italic;
  font-size: 1.15rem; max-width: 480px;
  color: rgba(235,225,201,0.88);
  font-variation-settings: "opsz" 18, "wght" 380, "SOFT" 50;
  line-height: 1.5;
}
.land-progress {
  position: absolute;
  right: var(--gutter); top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column;
  gap: 1.5rem;
  z-index: 5;
}
.land-tick {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(235,225,201,0.45);
  transition: color 0.4s, opacity 0.4s;
}
.land-tick .line { width: 24px; height: 1px; background: currentColor; transition: width 0.5s var(--ease-out), background 0.4s; }
.land-tick.active { color: var(--brass); }
.land-tick.active .line { width: 48px; background: var(--brass); }

/* CHAPTER III — PROVISIONS */
.provisions { background: var(--paper); }
.provisions-photo {
  height: 80vh; min-height: 540px;
  overflow: hidden; position: relative;
  margin-bottom: -1px;
}
.provisions-photo .parallax-img {
  width: 100%; height: 130%;
  position: absolute; top: -15%; left: 0;
}
.provisions-photo .parallax-img img {
  width: 100%; height: 100%;
  object-fit: cover; filter: contrast(1.05) saturate(0.9);
}
.provisions-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,13,9,0.25) 0%, transparent 30%, rgba(235,225,201,0.95) 100%);
}
.provisions-photo .photo-caption { background: none; bottom: auto; top: 2rem; z-index: 3; }
.provisions-photo .photo-caption .coords { color: rgba(235,225,201,0.85); }

.inventory {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 5rem; max-width: 1100px; margin: 0 auto;
}
.inventory-item {
  display: flex; align-items: baseline;
  padding: 1.4rem 0;
  border-bottom: 1px dotted var(--pencil-soft);
  font-family: var(--display);
  font-size: 1.2rem;
  font-variation-settings: "opsz" 24, "wght" 380;
}
.inventory-item em {
  font-style: italic;
  font-variation-settings: "opsz" 24, "wght" 380, "SOFT" 50;
  color: var(--pencil); font-size: 0.95em; margin-left: 0.5em;
}
.inventory-item .ix {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.22em; color: var(--surveyor);
  margin-right: 1.4rem; min-width: 32px;
}
.inventory-item .leader {
  flex: 1;
  border-bottom: 1px dotted var(--pencil-soft);
  margin: 0 0.6em 0.35em; height: 1px;
}

/* CHAPTER IV — VISIT */
.visit { background: var(--ink); color: var(--paper); position: relative; }
.visit-bg { position: absolute; inset: 0; z-index: 1; opacity: 0.22; overflow: hidden; }
.visit-bg img {
  width: 100%; height: 100%;
  object-fit: cover; filter: contrast(1.1) saturate(0.6) blur(2px);
}
.visit-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,31,23,0.3) 0%, rgba(13,31,23,0.85) 100%);
}
.visit .chapter-mark { color: var(--paper); opacity: 0.06; }
.visit .chapter-label { color: var(--brass); }
.visit .chapter-label::before, .visit .chapter-label::after { background: var(--brass); }
.flow {
  margin-top: 4rem;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.flow-step { padding: 2.5rem 2rem; border-right: 1px dashed rgba(235,225,201,0.18); position: relative; }
.flow-step:last-child { border-right: none; }
.flow-num {
  font-family: var(--display); font-style: italic;
  font-size: 5rem;
  font-variation-settings: "opsz" 144, "wght" 280, "SOFT" 100;
  color: var(--brass); line-height: 1; margin-bottom: 1.5rem;
}
.flow-step h4 {
  font-style: italic; font-size: 1.65rem;
  font-variation-settings: "opsz" 36, "wght" 420, "SOFT" 50;
  margin-bottom: 1rem;
}
.flow-step p {
  font-family: var(--display); font-size: 14.5px;
  font-style: italic; color: rgba(235,225,201,0.7);
  font-variation-settings: "opsz" 12, "wght" 380, "SOFT" 50;
  line-height: 1.55;
}
.flow-stamp {
  position: absolute; top: 2rem; right: 2rem;
  width: 64px; height: 64px;
  border: 2px solid var(--surveyor);
  color: var(--surveyor);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 8px;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-align: center; line-height: 1.2;
  transform: rotate(-12deg) scale(0.5);
  opacity: 0;
  transition: opacity 0.6s 0.4s, transform 0.6s 0.4s var(--ease-out);
}
.flow-step.in .flow-stamp { opacity: 0.9; transform: rotate(-12deg) scale(1); }
.visit-cta { text-align: center; margin-top: 6rem; }
.btn-primary {
  display: inline-block;
  padding: 1.25rem 3rem;
  background: var(--brass); color: var(--ink);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.34em; text-transform: uppercase;
  border: none;
  transition: all 0.4s var(--ease-out);
}
.btn-primary:hover {
  background: var(--surveyor); color: var(--paper);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

/* GUESTBOOK */
.guestbook { position: relative; padding: 10rem var(--gutter); color: var(--paper); overflow: hidden; }
.guestbook-bg { position: absolute; inset: 0; z-index: 1; }
.guestbook-bg img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.1) saturate(0.7); }
.guestbook-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,13,9,0.7) 0%, rgba(5,13,9,0.85) 50%, rgba(5,13,9,0.7) 100%);
}
.guestbook-inner { max-width: var(--column-max); margin: 0 auto; position: relative; z-index: 2; }
.guestbook-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; margin-top: 4rem; }
.guestbook-entry { position: relative; padding-top: 2.5rem; }
.guestbook-entry::before {
  content: "❝";
  position: absolute; top: -1rem; left: 0;
  font-family: var(--display); font-size: 5.5rem;
  font-style: italic; color: var(--brass);
  line-height: 1; opacity: 0.55;
}
.guestbook-entry blockquote {
  font-family: var(--display); font-style: italic;
  font-size: 1.3rem;
  font-variation-settings: "opsz" 24, "wght" 400, "SOFT" 50;
  line-height: 1.5; color: var(--paper);
  margin-bottom: 1.5rem;
}
.guestbook-entry cite {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--brass); font-style: normal;
}

/* FOOTER PANO */
.footer-pano {
  height: 50vh; min-height: 360px;
  overflow: hidden; position: relative;
}
.footer-pano .parallax-img { width: 100%; height: 130%; position: absolute; top: -15%; left: 0; }
.footer-pano img {
  width: 100%; height: 100%;
  object-fit: cover; filter: contrast(1.05) saturate(0.85);
}
.footer-pano::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,13,9,0.2), rgba(5,13,9,0.6));
}
.footer-pano-text {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--paper);
  padding: 0 var(--gutter); z-index: 2;
}
.footer-pano-text p {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-variation-settings: "opsz" 72, "wght" 340, "SOFT" 80, "WONK" 1;
  max-width: 760px; line-height: 1.35;
}

/* SITE FOOTER */
.site-footer { background: var(--ink); color: var(--paper); padding: 6rem var(--gutter) 2rem; position: relative; }
.footer-grid {
  max-width: var(--column-max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem; padding-bottom: 4rem;
  border-bottom: 1px solid rgba(235,225,201,0.12);
}
.footer-brand { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-seal { width: 96px; height: 96px; color: var(--brass); }
.footer-brand p {
  font-family: var(--display); font-style: italic;
  font-size: 14.5px; color: rgba(235,225,201,0.65);
  max-width: 360px;
  font-variation-settings: "opsz" 9, "wght" 380;
}
.footer-col h5 {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 1.5rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
  color: rgba(235,225,201,0.82);
  font-family: var(--display); font-style: italic;
  font-size: 15.5px; border: none;
  font-variation-settings: "opsz" 14, "wght" 380;
}
.footer-col a:hover { color: var(--brass); }
.footer-meta {
  max-width: var(--column-max); margin: 2.5rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-meta .coords, .footer-meta small {
  color: rgba(235,225,201,0.4);
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.28em; text-transform: uppercase;
}

/* DEMO BANNER */
.demo-banner {
  position: sticky; top: 0;
  background: var(--surveyor); color: var(--paper);
  padding: 0.6rem var(--gutter);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  text-align: center; z-index: 60;
}

/* PAGE HERO */
.page-hero {
  height: 65vh; min-height: 460px;
  position: relative; overflow: hidden;
  color: var(--paper);
}
.page-hero-photo { position: absolute; inset: 0; }
.page-hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; filter: contrast(1.05) saturate(0.85);
  transform: scale(1.02);
  animation: ken-burns 28s var(--ease-cinema) infinite alternate;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,13,9,0.45) 0%, rgba(5,13,9,0.7) 100%);
}
.page-hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem var(--gutter) 3rem;
  max-width: var(--column-max); margin: 0 auto;
  z-index: 2;
}
.page-hero .chapter-label { color: var(--brass); margin-bottom: 1.75rem; }
.page-hero .chapter-label::before, .page-hero .chapter-label::after { background: var(--brass); }
.page-hero h1 {
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  font-style: italic;
  font-variation-settings: "opsz" 144, "wght" 320, "SOFT" 100, "WONK" 1;
  max-width: 950px; letter-spacing: -0.025em;
}
.page-hero p.lede {
  margin-top: 1.75rem;
  font-family: var(--display); font-style: italic;
  font-size: 1.3rem;
  color: rgba(235,225,201,0.85);
  max-width: 620px;
  font-variation-settings: "opsz" 18, "wght" 380, "SOFT" 50;
}

/* GALLERY */
.plates { padding: 7rem var(--gutter); max-width: var(--column-max); margin: 0 auto; }
.plates-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2.5rem; }
.plate { position: relative; overflow: hidden; cursor: none; background: var(--ink); }
.plate-1 { grid-column: span 4; aspect-ratio: 16 / 10; }
.plate-2 { grid-column: span 2; aspect-ratio: 4 / 5; }
.plate-3 { grid-column: span 3; aspect-ratio: 1 / 1; }
.plate-4 { grid-column: span 3; aspect-ratio: 4 / 3; }
.plate-5 { grid-column: span 2; aspect-ratio: 3 / 4; }
.plate-6 { grid-column: span 4; aspect-ratio: 16 / 9; }
.plate-7 { grid-column: span 2; aspect-ratio: 1 / 1; }
.plate-8 { grid-column: span 4; aspect-ratio: 16 / 8; }
.plate img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-cinema), filter 0.6s;
  filter: contrast(1.05) saturate(0.85);
}
.plate:hover img { transform: scale(1.06); filter: contrast(1.08) saturate(0.95); }
.plate-meta {
  position: absolute; bottom: 1rem; left: 1rem;
  color: var(--paper);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.28em; text-transform: uppercase;
  opacity: 0; transition: opacity 0.5s;
  background: rgba(13,31,23,0.85);
  padding: 0.5rem 0.85rem;
}
.plate:hover .plate-meta { opacity: 1; }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(5,13,9,0.96);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 4rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 92%; max-height: 88%; }
.lightbox-close {
  position: absolute; top: 2rem; right: 2rem;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--paper); border: 1px solid var(--paper);
  background: transparent;
  padding: 0.7rem 1.25rem; cursor: pointer;
}

/* REQUEST */
.request {
  padding: 6rem var(--gutter);
  max-width: var(--column-max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 5rem; align-items: start;
}
.request-side h3 {
  font-style: italic; font-size: 1.85rem;
  font-variation-settings: "opsz" 60, "wght" 380, "SOFT" 50;
  margin-bottom: 1rem;
}
.calendar { margin-top: 2rem; background: var(--paper-deep); padding: 1.75rem; border: 1px solid var(--pencil-soft); }
.calendar-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem; padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--pencil-soft);
}
.calendar-month { font-family: var(--display); font-style: italic; font-size: 1.25rem; font-variation-settings: "opsz" 24, "wght" 420; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.calendar-dow {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--pencil); text-align: center; padding: 0.45rem 0;
}
.calendar-day {
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink); position: relative;
}
.calendar-day.muted { color: var(--pencil-soft); }
.calendar-day.today { background: var(--ink); color: var(--paper); border-radius: 50%; }
.calendar-day.booked { color: var(--pencil-soft); text-decoration: line-through; }
.calendar-day.pending::after {
  content: ""; position: absolute;
  bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--surveyor); border-radius: 50%;
}
.calendar-legend { margin-top: 1rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.calendar-legend > div {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--pencil); display: flex; align-items: center; gap: 0.5rem;
}

form.application {
  background: var(--paper-deep); padding: 3rem;
  border: 1px solid var(--pencil-soft); position: relative;
}
form.application::before {
  content: "An Inquiry";
  position: absolute; top: -1px; left: 1.75rem;
  background: var(--paper-deep); padding: 0 0.85rem;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--surveyor);
  transform: translateY(-50%);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.form-grid .full { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #4a4236; font-weight: 500;
}
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1.1rem;
  background: rgba(255,255,255,0.35); border: none;
  border-bottom: 1.5px solid #2d3a25;
  padding: 0.65rem 0.75rem; color: #14241b;
  font-weight: 450; border-radius: 2px 2px 0 0;
}
.field input::placeholder, .field textarea::placeholder {
  color: #8b8576; font-style: italic; opacity: 1;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--surveyor);
  background: rgba(255,255,255,0.6);
}
.field textarea { min-height: 110px; resize: vertical; font-family: var(--body); line-height: 1.5; }
.honeypot { position: absolute; left: -9999px; }
.submit-row {
  margin-top: 2.25rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.submit-row p {
  font-family: var(--display); font-style: italic;
  font-size: 13px; color: var(--pencil);
  font-variation-settings: "opsz" 9, "wght" 380;
}
form.application.submitted { text-align: center; padding: 4.5rem 2rem; }
form.application.submitted h3 {
  font-style: italic; font-size: 2.1rem;
  margin-bottom: 1rem;
  font-variation-settings: "opsz" 60, "wght" 380, "SOFT" 80;
}

/* DASH */
.dash { padding: 3rem var(--gutter); max-width: var(--column-max); margin: 0 auto; }
.dash-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 3rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--ink); gap: 2rem;
}
.dash-head h1 {
  font-style: italic; font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-variation-settings: "opsz" 96, "wght" 360, "SOFT" 80;
}
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3.5rem; align-items: start; }
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ink); margin-bottom: 3.5rem;
}
.metric { padding: 1.75rem; border-right: 1px solid var(--ink); }
.metric:last-child { border-right: none; }
.metric-num {
  font-family: var(--display); font-style: italic;
  font-size: 2.75rem;
  font-variation-settings: "opsz" 60, "wght" 340, "SOFT" 50;
  display: block; line-height: 1; margin-bottom: 0.5rem;
}
.metric-label {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--pencil);
}
.dash-section { margin-bottom: 3.5rem; }
.dash-section h3 {
  font-family: var(--display); font-style: italic;
  font-size: 1.6rem; margin-bottom: 1.75rem;
  font-variation-settings: "opsz" 36, "wght" 420, "SOFT" 50;
  display: flex; align-items: baseline; gap: 1rem;
}
.dash-section h3 .count {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.28em; font-style: normal;
  color: var(--surveyor);
}
.request-card {
  background: var(--paper-deep);
  padding: 1.75rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--brass);
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 1.5rem; align-items: center;
}
.avatar {
  width: 52px; height: 52px;
  border-radius: 50%; background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-style: italic; font-size: 1.25rem;
  font-variation-settings: "opsz" 36, "wght" 420;
}
.request-info { display: flex; flex-direction: column; gap: 0.3rem; }
.request-info .name { font-family: var(--display); font-style: italic; font-size: 1.1rem; font-variation-settings: "opsz" 14, "wght" 460; }
.request-info .meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; color: var(--pencil); text-transform: uppercase; }
.request-actions { display: flex; gap: 0.5rem; }
.btn-approve, .btn-decline {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.28em; text-transform: uppercase;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--ink); background: transparent;
  color: var(--ink); cursor: pointer;
  transition: all 0.25s;
}
.btn-approve:hover { background: var(--moss); color: var(--paper); border-color: var(--moss); }
.btn-decline:hover { background: var(--surveyor); color: var(--paper); border-color: var(--surveyor); }
.reassurance-row {
  margin-top: 4.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ink);
}
.reassure { padding: 2.25rem; border-right: 1px solid var(--ink); }
.reassure:last-child { border-right: none; }
.reassure h4 {
  font-style: italic; font-size: 1.5rem;
  font-variation-settings: "opsz" 36, "wght" 420, "SOFT" 50;
  margin-bottom: 0.75rem;
}
.reassure p {
  font-family: var(--display); font-size: 14.5px;
  font-style: italic; color: var(--pencil);
  font-variation-settings: "opsz" 9, "wght" 380;
}

/* PORTAL */
.portal { padding: 3rem var(--gutter); max-width: var(--column-max); margin: 0 auto; }
.welcome-letter {
  background: var(--paper-deep); padding: 3.5rem;
  margin-bottom: 3rem;
  border-left: 3px solid var(--surveyor);
  position: relative;
}
.welcome-letter::after {
  content: "BY INVITATION";
  position: absolute; top: 1.75rem; right: 1.75rem;
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.32em; color: var(--surveyor);
  border: 1px solid var(--surveyor);
  padding: 0.45rem 0.65rem;
  transform: rotate(8deg); opacity: 0.7;
}
.welcome-letter h1 {
  font-style: italic; font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-variation-settings: "opsz" 96, "wght" 360, "SOFT" 80;
  margin-bottom: 1.25rem;
}
.welcome-letter p {
  font-family: var(--display); font-style: italic;
  font-size: 1.15rem; color: var(--ink);
  margin-bottom: 1rem;
  font-variation-settings: "opsz" 14, "wght" 400;
  max-width: 660px;
}
.welcome-letter cite {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--pencil); font-style: normal;
  display: block; margin-top: 1.75rem;
}
.stay-card {
  background: var(--paper-deep); padding: 2rem;
  margin-bottom: 1.5rem;
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 2rem; align-items: center;
}
.stay-card .photo { aspect-ratio: 4 / 3; background: var(--ink); overflow: hidden; }
.stay-card img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(0.85); }
.stay-card h4 {
  font-style: italic; font-size: 1.45rem;
  font-variation-settings: "opsz" 36, "wght" 420, "SOFT" 50;
  margin-bottom: 0.7rem;
}
.stay-card .dates {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.25em; color: var(--pencil);
  text-transform: uppercase; margin-bottom: 1rem;
}
.stay-card p { font-family: var(--display); font-style: italic; font-size: 0.98rem; color: var(--pencil); }
.door-code { background: var(--ink); color: var(--paper); padding: 1.75rem; text-align: center; }
.door-code .label {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 0.55rem;
}
.door-code .code {
  font-family: var(--display); font-style: italic;
  font-size: 2.75rem;
  font-variation-settings: "opsz" 96, "wght" 360, "SOFT" 80;
  letter-spacing: 0.12em;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .house-grid { grid-template-columns: 1fr; gap: 3rem; }
  .house-specs { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(2) { border-right: none; }
  .spec:nth-child(3), .spec:nth-child(4) { border-top: 1px solid var(--ink); }
  .land-sticky { height: auto; }
  .land-sticky-wrap { position: relative; height: auto; }
  .land-stage { position: relative; opacity: 1; transform: none; bottom: auto; left: auto; right: auto; padding: 3rem var(--gutter); pointer-events: all; }
  .land-progress { display: none; }
  .land-photos { position: relative; height: 60vh; }
  .land-photo { position: relative; opacity: 1; height: 100%; display: block; }
  .land-photo + .land-photo { display: none; }
  .inventory { grid-template-columns: 1fr; gap: 0; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step:nth-child(even) { border-right: none; }
  .flow-step:nth-child(1), .flow-step:nth-child(2) { border-bottom: 1px dashed rgba(235,225,201,0.18); }
  .guestbook-grid { grid-template-columns: 1fr; }
  .plates-grid { grid-template-columns: repeat(2, 1fr); }
  .plate-1, .plate-3, .plate-4, .plate-6, .plate-8 { grid-column: span 2; }
  .plate-2, .plate-5, .plate-7 { grid-column: span 1; }
  .request { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .dash-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(3), .metric:nth-child(4) { border-top: 1px solid var(--ink); }
  .reassurance-row { grid-template-columns: 1fr; }
  .reassure { border-right: none; border-bottom: 1px solid var(--ink); }
  .stay-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: span 1; }
  .hero-corner { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1.2s var(--ease-cinema), transform 1.2s var(--ease-cinema);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ==========================================================================
   READABILITY OVERRIDES — v3.1 polish
   ========================================================================== */

/* Body paragraphs use upright Newsreader for max readability */
.house-text p,
.flow-step p,
.land-stage p,
.welcome-letter p,
.stay-card p,
.reassure p,
.footer-brand p {
  font-family: var(--body);
  font-style: normal;
  font-weight: 420;
  font-variation-settings: normal;
}

/* Italic only where it serves — headlines, captions, drop-cap leads */
.hero-sub,
.page-hero p.lede,
.prologue p,
.marginalia,
.inventory-item em,
.guestbook-entry blockquote,
.footer-pano-text p {
  font-family: var(--body);
  font-style: italic;
  font-weight: 420;
}

/* Newsreader-specific weight bump for emphasis */
.welcome-letter h1, .dash-head h1, .page-hero h1, .hero-headline {
  font-family: var(--display);
}

/* DARK PHOTO OVERLAY TEXT — bump opacities for legibility */
.hero-sub { color: rgba(245, 235, 215, 0.95); }
.hero-corner { color: rgba(245, 235, 215, 0.85); }
.hero-corner .coords { color: rgba(245, 235, 215, 0.85); }
.hero-scroll { color: rgba(245, 235, 215, 0.85); }

.land-stage p { color: rgba(245, 235, 215, 0.94); }

.flow-step p { color: rgba(245, 235, 215, 0.88); }

.guestbook-entry blockquote { color: rgba(245, 235, 215, 0.98); }
.guestbook-entry cite { color: var(--brass); }

.page-hero p.lede { color: rgba(245, 235, 215, 0.95); }

.footer-col a { color: rgba(245, 235, 215, 0.94); }
.footer-brand p { color: rgba(245, 235, 215, 0.78); }

.visit .chapter-header p { color: rgba(245, 235, 215, 0.92) !important; }

/* Deepen overlay gradients so text sits cleanly */
.hero-overlay {
  background:
    linear-gradient(to bottom, rgba(5,13,9,0.55) 0%, rgba(5,13,9,0.25) 35%, rgba(5,13,9,0.55) 78%, rgba(5,13,9,0.9) 100%),
    radial-gradient(ellipse at center, transparent 25%, rgba(5,13,9,0.5) 100%);
}
.land-photo::after {
  background:
    linear-gradient(to right, rgba(5,13,9,0.9) 0%, rgba(5,13,9,0.55) 40%, rgba(5,13,9,0.2) 100%),
    linear-gradient(to bottom, transparent 55%, rgba(5,13,9,0.7) 100%);
}
.page-hero::after {
  background: linear-gradient(to bottom, rgba(5,13,9,0.55) 0%, rgba(5,13,9,0.8) 100%);
}
.guestbook-bg::after {
  background: linear-gradient(to bottom, rgba(5,13,9,0.82) 0%, rgba(5,13,9,0.92) 50%, rgba(5,13,9,0.82) 100%);
}

/* CREAM-PAPER BG TEXT — darken pencil for legibility */
.marginalia { color: var(--pencil); }
.house-text p { color: var(--ink); }
.house-text p[style*="pencil"] { color: var(--pencil) !important; }
.inventory-item em { color: var(--pencil); }
.spec-label, .metric-label { color: var(--pencil); }

/* Newsreader weight for inventory items */
.inventory-item { font-family: var(--body); font-weight: 460; font-size: 1.2rem; }
.inventory-item em { font-weight: 420; }

/* House text body — heavier */
.house-text p { font-size: 1.1rem; line-height: 1.65; font-weight: 420; }

/* Stage text — solid readable size */
.land-stage p { font-size: 1.2rem; line-height: 1.55; }

/* Flow step body — more solid */
.flow-step p { font-size: 15px; line-height: 1.65; }

/* Drop cap stays as Fraunces */
.drop-cap::first-letter { font-family: var(--display); }

/* ==========================================================================
   DEMO TRAY — pitch-mode mode switcher
   ========================================================================== */

/* ==========================================================================
   v3.2 — LEGIBILITY PASS
   Mono micro-type was too small / low-contrast. Sizes up, contrast up.
   ========================================================================== */

:root {
  --pencil:      #3e382e;   /* darker on cream */
  --pencil-soft: #5a5346;
}

.coords { font-size: 11.5px; color: var(--pencil-soft); }
.eyebrow { font-size: 12px; color: var(--pencil); }
.chapter-label { font-size: 12px; }
.main-nav a { font-size: 11px; }
.marginalia { font-size: 15.5px; }
.spec-label, .metric-label { font-size: 10.5px; color: var(--pencil); }
.plate-meta { font-size: 11px; background: rgba(13,31,23,0.92); }
.footer-col h5 { font-size: 11px; }
.footer-meta .coords, .footer-meta small { font-size: 10px; color: rgba(245,235,215,0.68); }
.guestbook-entry cite { font-size: 11px; }
.request-info .meta { font-size: 11px; color: var(--pencil); }
.calendar-dow { font-size: 10px; }
.calendar-legend > div { font-size: 10px; }
.flow-stamp { font-size: 9px; }
.welcome-letter cite { font-size: 11px; color: var(--pencil); }
.door-code .label { font-size: 10.5px; }
.stay-card .dates { font-size: 11px; color: var(--pencil); }
.dash-section h3 .count { font-size: 11.5px; }
.hero-scroll { font-size: 10px; color: rgba(245,235,215,0.82); }
.stage-coords { font-size: 12px; }
.land-tick { font-size: 10.5px; color: rgba(245,235,215,0.62); }
.photo-caption .coords { color: rgba(245,235,215,0.92); font-size: 11px; }
.hero-corner .coords { color: rgba(245,235,215,0.92); font-size: 11px; }

/* dark-section body copy lifted */
.flow-step p { color: rgba(245,235,215,0.9); }
.land-stage p { color: rgba(245,235,215,0.96); }
.footer-brand p { color: rgba(245,235,215,0.82); }
.footer-col a { color: rgba(245,235,215,0.95); }
.inventory-item em { color: var(--pencil); }

/* ==========================================================================
   NEARBY FIELD GUIDE — typeset listing system
   ========================================================================== */
.nearby { background: var(--paper); }
.nearby-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.nearby-cat h3 {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: "opsz" 36, "wght" 440, "SOFT" 50;
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
  display: flex; align-items: baseline; gap: 0.85rem;
}
.nearby-cat h3 .cat-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--surveyor);
  font-style: normal;
}
.nearby-cat .cat-note {
  font-family: var(--body);
  font-style: italic;
  font-size: 14.5px;
  color: var(--pencil);
  margin-bottom: 1.4rem;
}
.nearby-item {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  padding: 0.85rem 0;
  border-bottom: 1px dotted var(--pencil-soft);
  font-family: var(--body);
  font-size: 16px;
}
.nearby-item:last-child { border-bottom: none; }
.nearby-item .ni-name {
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.nearby-item .ni-name a { border-bottom: 1px solid var(--brass); }
.nearby-item .ni-name a:hover { color: var(--surveyor); border-color: var(--surveyor); }
.nearby-item .leader {
  flex: 1;
  border-bottom: 1px dotted var(--pencil-soft);
  margin: 0 0.4em 0.3em;
  height: 1px;
  min-width: 24px;
}
.nearby-item .ni-note {
  font-style: italic;
  color: var(--pencil);
  font-size: 14.5px;
  text-align: right;
}
.nearby-photo {
  grid-column: span 2;
  height: 46vh;
  min-height: 320px;
  overflow: hidden;
  position: relative;
  margin: 1rem 0;
}
.nearby-photo .parallax-img { width: 100%; height: 130%; position: absolute; top: -15%; left: 0; }
.nearby-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.88);
}
.nearby-photo .photo-caption {
  background: linear-gradient(transparent, rgba(5,13,9,0.85));
}
@media (max-width: 900px) {
  .nearby-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .nearby-photo { grid-column: span 1; height: 40vh; }
  .nearby-item { flex-wrap: wrap; }
  .nearby-item .ni-note { text-align: left; width: 100%; padding-left: 0; }
  .nearby-item .leader { display: none; }
}

/* ==========================================================================
   v3.3 — HARD LEGIBILITY PASS
   Bright hero photo demands real scrims, text shadows, bigger type.
   ========================================================================== */

/* BODY — bigger, slightly heavier */
body { font-size: 19px; font-weight: 440; }

/* HERO — heavy scrim for bright photography */
.hero-photo img { filter: contrast(1.05) saturate(0.85) brightness(0.85); }
.hero-overlay {
  background:
    linear-gradient(to bottom,
      rgba(5,13,9,0.72) 0%,
      rgba(5,13,9,0.38) 30%,
      rgba(5,13,9,0.45) 55%,
      rgba(5,13,9,0.78) 80%,
      rgba(5,13,9,0.95) 100%),
    radial-gradient(ellipse at center, rgba(5,13,9,0.25) 0%, rgba(5,13,9,0.55) 100%);
}
.hero-eyebrow {
  font-size: 13px;
  color: var(--brass);
  letter-spacing: 0.3em;
  text-shadow: 0 1px 14px rgba(0,0,0,0.85), 0 0 2px rgba(0,0,0,0.6);
}
.hero-eyebrow::before, .hero-eyebrow::after { box-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.hero-headline {
  text-shadow: 0 3px 40px rgba(5,13,9,0.65), 0 1px 6px rgba(5,13,9,0.45);
}
.hero-sub {
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  color: #f7eed9;
  font-weight: 460;
  text-shadow: 0 2px 18px rgba(5,13,9,0.85), 0 1px 4px rgba(5,13,9,0.6);
  max-width: 640px;
  line-height: 1.55;
}
.hero-corner .coords {
  font-size: 12.5px;
  color: #f2e8d2;
  text-shadow: 0 1px 10px rgba(0,0,0,0.85);
}
.hero-scroll {
  font-size: 11px;
  color: #f2e8d2;
  text-shadow: 0 1px 10px rgba(0,0,0,0.85);
}

/* HEADER over photos — shadow so nav reads on anything */
.site-header:not(.scrolled) {
  text-shadow: 0 1px 12px rgba(0,0,0,0.75), 0 0 2px rgba(0,0,0,0.5);
}
.site-header:not(.scrolled) .brand-seal svg { filter: drop-shadow(0 1px 6px rgba(0,0,0,0.6)); }
.main-nav a { font-size: 12px; letter-spacing: 0.24em; }
.brand-name span { font-size: 20px; }
.brand-name small { font-size: 10px; }

/* PAGE HEROES — same treatment */
.page-hero-photo img { filter: contrast(1.05) saturate(0.85) brightness(0.85); }
.page-hero::after {
  background: linear-gradient(to bottom, rgba(5,13,9,0.65) 0%, rgba(5,13,9,0.88) 100%);
}
.page-hero h1 { text-shadow: 0 3px 32px rgba(5,13,9,0.6); }
.page-hero p.lede {
  font-size: 1.4rem;
  color: #f7eed9;
  font-weight: 460;
  text-shadow: 0 2px 16px rgba(5,13,9,0.8);
}
.page-hero .chapter-label { font-size: 13px; text-shadow: 0 1px 10px rgba(0,0,0,0.8); }

/* LAND STICKY — stage text shadows */
.land-stage h3 { text-shadow: 0 3px 32px rgba(5,13,9,0.7); }
.land-stage p { font-size: 1.28rem; text-shadow: 0 2px 14px rgba(5,13,9,0.85); }
.stage-coords { font-size: 12.5px; text-shadow: 0 1px 8px rgba(0,0,0,0.8); }
.land-intro h2 { text-shadow: 0 2px 20px rgba(5,13,9,0.8); }
.land-intro .chapter-label { font-size: 13px; text-shadow: 0 1px 8px rgba(0,0,0,0.8); }
.land-tick { font-size: 11px; color: rgba(247,238,217,0.7); text-shadow: 0 1px 8px rgba(0,0,0,0.8); }
.land-tick.active { color: var(--brass); }

/* MICRO-TYPE — one more notch */
.coords { font-size: 12px; }
.chapter-label { font-size: 12.5px; }
.eyebrow { font-size: 12.5px; }
.marginalia { font-size: 16px; }
.inventory-item { font-size: 1.28rem; }
.inventory-item em { font-size: 0.92em; }
.inventory-item .ix { font-size: 11px; }
.spec-label, .metric-label { font-size: 11px; }
.footer-col h5 { font-size: 11.5px; }
.footer-col a { font-size: 16.5px; }
.guestbook-entry blockquote { font-size: 1.4rem; text-shadow: 0 2px 14px rgba(5,13,9,0.7); }
.guestbook-entry cite { font-size: 11.5px; text-shadow: 0 1px 8px rgba(0,0,0,0.7); }
.flow-step p { font-size: 15.5px; }
.flow-step h4 { font-size: 1.75rem; }
.house-text p { font-size: 1.16rem; }
.prologue p { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.nearby-item { font-size: 17px; }
.nearby-item .ni-note { font-size: 15px; }
.nearby-cat .cat-note { font-size: 15.5px; }

/* MINI FIELD GUIDE STRIP (index) ================================ */
.mini-guide {
  background: var(--paper-deep);
  padding: 6rem var(--gutter);
  border-top: 1px solid var(--pencil-soft);
  border-bottom: 1px solid var(--pencil-soft);
}
.mini-guide-inner { max-width: 1200px; margin: 0 auto; }
.mini-guide-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 2rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.mini-guide-head h2 {
  font-family: var(--display);
  font-style: italic;
  font-variation-settings: "opsz" 96, "wght" 340, "SOFT" 80, "WONK" 1;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  letter-spacing: -0.02em;
}
.mini-guide-head .all-link {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--surveyor);
  border-bottom: 1px solid var(--surveyor);
  white-space: nowrap;
}
.mini-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 4rem;
}
@media (max-width: 900px) { .mini-guide-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   v4 — DELIVER PASS
   Real readability fixes: kill custom cursor, calm the display type,
   lift contrast. This block wins on cascade order.
   ========================================================================== */

/* 1. NORMAL CURSOR — the crosshair was the "faint ring" noise on screen */
body { cursor: auto; }
.cursor, .cursor-dot { display: none !important; }
a, button, .plate, [data-hover], .land-tick { cursor: pointer; }

/* 2. DISPLAY TYPE — Fraunces only for the ONE hero moment.
      Everything else: upright Newsreader. Cleaner, far easier to read. */
.chapter-header h2,
.page-hero h1,
.prologue p,
.land-stage h3,
.nearby-cat h3,
.guestbook-entry blockquote,
.footer-pano-text p,
.invoice-title {
  font-family: "Newsreader", Georgia, serif !important;
  font-style: normal !important;
  font-variation-settings: normal !important;
  font-weight: 560 !important;
  letter-spacing: -0.01em;
}

/* Keep the hero headline expressive but upright + tighter — still characterful, now legible */
.hero-headline {
  font-family: "Newsreader", Georgia, serif !important;
  font-style: normal !important;
  font-variation-settings: normal !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
  line-height: 1.0;
}
.hero-headline em {
  font-style: italic !important;
  font-weight: 600 !important;
  color: var(--brass);
}

/* 3. BODY COPY — slightly larger, darker, roomier */
:root { --ink: #14241b; --pencil: #36302833; }
body { font-size: 18.5px; line-height: 1.7; color: #16271d; }
.hero-sub, .page-hero p.lede {
  font-style: normal;
  font-weight: 450;
  color: rgba(248,240,222,0.97);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.6;
}
.house-text p { color: #1a2c20; font-size: 1.12rem; line-height: 1.72; }
.marginalia { color: #4a4236; font-size: 15.5px; font-style: italic; }

/* 4. MONO LABELS — up in size + contrast everywhere they appear small */
.eyebrow { font-size: 12.5px; letter-spacing: 0.26em; color: #5c5446; }
.chapter-label { font-size: 12.5px; letter-spacing: 0.26em; }
.coords { font-size: 12px; letter-spacing: 0.16em; color: #6a6253; }
.main-nav a { font-size: 11.5px; letter-spacing: 0.2em; }
.spec-label, .metric-label { font-size: 11px; letter-spacing: 0.2em; color: #5c5446; }
.nearby-item .ni-note, .nearby-cat .cat-note { font-size: 15px; }
.footer-col a { color: rgba(248,240,222,0.96); }

/* 5. NEARBY FIELD GUIDE — make names obviously tappable, notes readable */
.nearby-item { font-size: 16.5px; }
.nearby-item .ni-name { font-weight: 560; }
.nearby-item .ni-name a {
  color: var(--ink);
  border-bottom: 1.5px solid var(--brass);
  font-weight: 560;
}
.nearby-item .ni-name a:hover { color: var(--surveyor); border-color: var(--surveyor); }

/* Form privacy reassurance line */
.form-privacy {
  margin-top: 1.5rem;
  font-family: var(--body);
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.55;
  color: #6a6253;
  max-width: 520px;
  border-top: 1px dotted var(--pencil-soft);
  padding-top: 1.25rem;
}
