/* ==========================================================================
   File:    static/css/home.css
   Purpose: Stylesheet for the hard-reset homepage (templates/home.html).
            Single self-contained file. NO dependency on nsg_*, leafriver_*,
            switchboard, accordion, or sidebar CSS. If you need to change
            the homepage, change this file. Nothing else.
   Pattern: Modern editorial — restrained palette, serif headlines, generous
            whitespace, photography-forward, no chunky boxes.
   Changelog:
     2026-05-08 v1.0 - Initial.
   ========================================================================== */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Palette: forest, river, ink, bone, gold. Restrained. No teal anywhere. */
  --forest:        #1f3a2c;
  --forest-deep:   #11241c;
  --forest-pale:   #cfd9c4;
  --river-ink:     #1a3340;
  --gold:          #b8945a;
  --gold-soft:     #d9b97e;
  --ink:           #1c1c1a;
  --stone:         #5a564f;
  --stone-light:   #8a8479;
  --bone:          #faf7f0;
  --paper:         #f4efe3;
  --paper-warm:    #ebe4d3;
  --rule:          #d8d0bf;
  --rule-soft:     #e8e2d0;

  --serif:  'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --w-content: 1180px;
  --w-prose:   640px;
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--forest); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.005em; line-height: 1.1; margin: 0 0 0.5em; color: var(--forest-deep); }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: saturate(120%) blur(14px);
  -webkit-backdrop-filter: saturate(120%) blur(14px);
  border-bottom: 1px solid rgba(216, 208, 191, 0.6);
}
.header-inner {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  font-family: var(--serif);
  text-decoration: none;
  color: var(--forest-deep);
  font-size: 22px;
  letter-spacing: 0.005em;
  display: flex; gap: 6px; align-items: baseline;
}
.brand-the   { color: var(--stone-light); font-style: italic; font-weight: 400; }
.brand-name  { color: var(--forest-deep); font-weight: 500; }
.brand-place { color: var(--gold); font-style: italic; font-weight: 500; }

.primary-nav { display: flex; gap: 32px; align-items: center; }
.primary-nav a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.015em;
}
.primary-nav a:hover { color: var(--gold); }
.primary-nav .nav-contact {
  border: 1px solid var(--forest);
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--forest);
}
.primary-nav .nav-contact:hover { background: var(--forest); color: var(--bone); }

.nav-toggle {
  display: none;
  background: transparent; border: 0; padding: 8px; cursor: pointer;
  width: 36px; height: 36px; flex-direction: column; justify-content: space-around;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--forest-deep);
  transition: transform 0.25s ease, opacity 0.2s ease;
  margin: 0 auto;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .header-inner { padding: 14px 20px; }
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bone);
    flex-direction: column; gap: 0; align-items: stretch;
    padding: 8px 0;
    border-bottom: 1px solid var(--rule);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .primary-nav a { padding: 14px 24px; font-size: 16px; border-bottom: 1px solid var(--rule-soft); }
  .primary-nav a:last-child { border-bottom: 0; }
  .primary-nav .nav-contact { border: 0; border-radius: 0; padding: 14px 24px; }
  .primary-nav .nav-contact:hover { background: var(--paper); color: var(--forest); }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  margin-top: 0;
  padding-top: 72px; /* room under fixed header */
  color: var(--bone);
}
.hero-image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  z-index: 1;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(15, 25, 22, 0.55) 0%,
      rgba(15, 25, 22, 0.25) 30%,
      rgba(15, 25, 22, 0.55) 70%,
      rgba(8, 18, 14, 0.92) 100%);
}
.hero-content {
  position: relative; z-index: 3;
  width: 100%;
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 32px 96px;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 1.25rem 0;
  font-weight: 500;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.012em;
  margin: 0 0 1.5rem;
  color: var(--bone);
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.hero-title em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 400;
}
.hero-lede {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.5;
  font-weight: 400;
  font-style: normal;
  color: rgba(250, 247, 240, 0.95);
  max-width: 620px;
  margin: 0 0 2.5rem;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 247, 240, 0.25);
  max-width: 820px;
}
.hero-meta div { padding-right: 1.5rem; }
.hero-meta span {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, 0.65);
  margin-bottom: 6px;
}
.hero-meta strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--bone);
  letter-spacing: 0;
}

.hero-scroll {
  position: absolute; z-index: 3;
  bottom: 28px; right: 32px;
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none;
  color: rgba(250, 247, 240, 0.85);
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.hero-scroll:hover { color: var(--gold-soft); }
.hero-scroll svg { animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge {
  0%, 60%, 100% { transform: translateY(0); }
  30%           { transform: translateY(5px); }
}

@media (max-width: 760px) {
  .hero { min-height: 88vh; padding-top: 60px; }
  .hero-content { padding: 0 24px 80px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 1rem 0; padding-top: 1.25rem; max-width: 100%; }
  .hero-scroll { right: 24px; bottom: 24px; }
  .hero-scroll span { display: none; }
}

/* ---------- SECTION COMMON ---------- */
section { position: relative; }
.section-head {
  max-width: var(--w-prose);
  margin: 0 auto 4rem;
  padding: 0 32px;
  text-align: center;
}
.section-head .eyebrow {
  color: var(--gold);
}
.section-head h2 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.08;
  margin-bottom: 1.25rem;
}
.section-head .lede {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--stone);
  margin: 0;
}
.section-head-light .eyebrow { color: var(--gold-soft); }
.section-head-light h2 { color: var(--bone); }

/* ---------- SPLIT SECTIONS (photo + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--bone);
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
}
.split-text {
  padding: 8rem 64px 8rem;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 720px;
  margin-left: auto;
}
.split-text .eyebrow { color: var(--gold); }
.split-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  margin-bottom: 1.5rem;
  max-width: 520px;
}
.split-text p {
  margin: 0 0 1.25rem;
  max-width: 540px;
  color: var(--ink);
}
.split-text .lede {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--stone);
  margin-bottom: 1.5rem;
}
.split-text strong { color: var(--forest-deep); font-weight: 600; }

.split-image {
  position: relative;
  min-height: 600px;
  background: var(--paper);
}
.split-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.split-reverse .split-text { order: 2; margin-left: 0; margin-right: auto; }
.split-reverse .split-image { order: 1; }

.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  margin: 1.5rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--rule);
  max-width: 540px;
}
.fact-grid div { margin: 0; }
.fact-grid dt {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone-light);
  margin-bottom: 6px;
  font-weight: 500;
}
.fact-grid dd {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--forest-deep);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-text { padding: 5rem 32px; max-width: 100%; margin: 0 auto; }
  .split-image { min-height: 380px; order: -1 !important; }
  .split-reverse .split-image { order: -1; }
  .split-reverse .split-text { order: 0; }
  .fact-grid { grid-template-columns: 1fr 1fr; max-width: 100%; }
}

/* ---------- CONCEPT (4-up cards) ---------- */
.concept {
  background: var(--paper);
  padding: 8rem 32px;
}
.concept-grid {
  max-width: var(--w-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}
.concept-card {
  padding: 2.5rem 0 0;
  border-top: 2px solid var(--forest);
}
.concept-card h3 {
  font-size: 1.65rem;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.concept-card p {
  color: var(--stone);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 760px) {
  .concept { padding: 5rem 24px; }
  .concept-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .concept-card { padding-top: 2rem; }
}

/* ---------- WHY ---------- */
.why {
  background: var(--forest-deep);
  color: var(--bone);
  padding: 8rem 32px;
}
.why .section-head h2 { color: var(--bone); }
.why .reasons {
  max-width: var(--w-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
}
.why .reason h3 {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--gold-soft);
  margin-bottom: 0.75rem;
  font-style: italic;
}
.why .reason p {
  color: rgba(250, 247, 240, 0.85);
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}
@media (max-width: 760px) {
  .why { padding: 5rem 24px; }
  .why .reasons { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- CTA ---------- */
.cta {
  background: var(--bone);
  text-align: center;
  padding: 7rem 32px;
  max-width: 760px;
  margin: 0 auto;
}
.cta h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.cta p {
  color: var(--stone);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background: var(--forest);
  color: var(--bone);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.cta-button:hover { background: var(--forest-deep); color: var(--bone); }

/* ---------- FOOTER ---------- */
/* Sticky thin bar at the viewport bottom — modular.nsgia.com pattern.
   2026-05-09 — fixed-position so it stays visible while scrolling. */
.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--forest-deep);
  color: rgba(250, 247, 240, 0.7);
  padding: 0.7rem 24px;
  font-family: var(--sans);
  font-size: 0.85rem;
  border-top: 1px solid rgba(250, 247, 240, 0.08);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}
/* Reserve space at end of page so the last content row is not hidden
   under the fixed footer. ~46px desktop / ~40px mobile matches padding
   plus one wrapped line of text. */
body { padding-bottom: 56px; }
.footer-line {
  max-width: var(--w-content);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.5;
}
.footer-line a {
  color: var(--gold-soft);
  text-decoration: none;
}
.footer-line a:hover { color: var(--bone); }
.footer-brand {
  font-family: var(--serif);
  color: var(--bone);
  font-style: italic;
}
.footer-sep { color: rgba(250, 247, 240, 0.35); }
.footer-copy { color: rgba(250, 247, 240, 0.45); }

@media (max-width: 600px) {
  .site-footer { padding: 0.6rem 16px; font-size: 0.78rem; }
  .footer-line { gap: 0.35rem; }
  body { padding-bottom: 70px; }
}

/* ==========================================================================
   FLOOD PLAIN SECTION  (Memo Ch. 8 — Building in the Flood Plain)
   2026-05-08 — adds the safety chapter, including community early-warning.
   ========================================================================== */
.floodplain {
  padding: 6rem 32px 7rem;
  background: var(--paper);
  border-top: 1px solid var(--rule-soft);
}
.floodplain .section-head {
  max-width: var(--w-prose);
  margin: 0 auto 4rem;
  text-align: center;
}
.floodplain .section-head .eyebrow { color: var(--gold); }
.floodplain .section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}
.floodplain .section-head .lede {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--stone);
  font-style: italic;
  margin: 0;
}

.spec-grid {
  max-width: var(--w-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.75rem 3.5rem;
}
.spec {
  border-top: 2px solid var(--gold);
  padding-top: 1.5rem;
}
.spec h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 0 0 0.65em;
  color: var(--forest-deep);
}
.spec p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
}

.floodplain-callout {
  max-width: var(--w-prose);
  margin: 4rem auto 0;
  padding: 1.75rem 2rem;
  background: var(--bone);
  border-left: 3px solid var(--gold);
  font-size: 1.05rem;
  line-height: 1.65;
  border-radius: 2px;
}
.floodplain-callout p { margin: 0; color: var(--ink); }
.floodplain-callout strong { color: var(--forest-deep); font-weight: 600; }
.floodplain-callout em { font-style: italic; color: var(--forest-deep); }

@media (max-width: 760px) {
  .floodplain { padding: 4rem 24px 5rem; }
  .floodplain .section-head { margin-bottom: 3rem; }
  .spec-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .floodplain-callout { padding: 1.5rem 1.5rem; margin-top: 3rem; }
}

/* ==========================================================================
   THE MODEL  (Memo Ch. 2 — Regina / Wascana)
   2026-05-08 — adds the design-precedent chapter between The Place and The
   Concept. Two-column on desktop: prose left, three numbered "pieces" right.
   ========================================================================== */
.model {
  padding: 6rem 32px 6rem;
  background: var(--bone);
}
.model-inner {
  max-width: var(--w-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.model-text { padding-right: 1rem; }
.model-text .eyebrow { color: var(--gold); }
.model-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.4rem 0 1.5rem;
  line-height: 1.05;
}
.model-text .lede {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--stone);
  margin: 0 0 1.5rem;
}
.model-text p {
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.model-pieces {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.piece {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4.5rem;
  background: var(--paper);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
}
.piece-num {
  position: absolute;
  left: 1.5rem;
  top: 1.4rem;
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--gold);
  font-weight: 500;
  font-style: italic;
}
.piece h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--forest-deep);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.piece p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--ink);
}

@media (max-width: 860px) {
  .model { padding: 4rem 24px 4.5rem; }
  .model-inner { grid-template-columns: 1fr; gap: 3rem; }
  .model-text { padding-right: 0; }
  .piece { padding-left: 4rem; }
}

/* Precedent strip — Regina demoted to small proof point.
   Visual rules: never larger than .piece, never wider than 60ch,
   muted color, thin rule on the left, set well below the main grid. */
.model-precedent {
  max-width: var(--w-content);
  margin: 4.5rem auto 0;
  padding: 1.5rem 0 0 1.75rem;
  border-left: 2px solid var(--rule);
}
.precedent-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.5rem;
}
.precedent-body {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--stone);
  margin: 0;
  max-width: 62ch;
}
@media (max-width: 860px) {
  .model-precedent { margin-top: 2.5rem; padding: 1rem 0 0 1rem; }
}

/* ==========================================================================
   THE VILLAGE  (Memo Ch. 5 — daily life, walking distance)
   2026-05-08 — three-band layout: stat → prose → tenant grid.
   ========================================================================== */
.village {
  padding: 6rem 32px 6rem;
  background: var(--paper);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.village-stat {
  max-width: var(--w-prose);
  margin: 0 auto 3.5rem;
  text-align: center;
}
.village-stat .eyebrow { color: var(--gold); margin-bottom: 1.25rem; }
.village-stat .stat-figure {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 1;
  color: var(--forest-deep);
  margin: 0;
  letter-spacing: -0.02em;
}
.village-stat .stat-figure-sub {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--stone);
  margin: 0.75rem 0 0;
  letter-spacing: 0.01em;
}

.village-prose {
  max-width: var(--w-prose);
  margin: 0 auto 4rem;
  text-align: center;
}
.village-prose h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  margin: 0 0 1.25rem;
  line-height: 1.15;
}
.village-prose .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--stone);
  margin: 0 0 1.5rem;
  line-height: 1.55;
}
.village-prose p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 1rem;
  text-align: left;
}
.village-prose p:last-child { text-align: center; max-width: 56ch; margin: 0 auto; }

.village-tenants {
  max-width: var(--w-content);
  margin: 0 auto;
  text-align: center;
}
.tenants-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.5rem;
}
.tenant-grid {
  list-style: none;
  margin: 0 auto 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  max-width: 920px;
}
.tenant-grid li {
  font-family: var(--serif);
  font-size: 1.05rem;
  background: var(--bone);
  border: 1px solid var(--rule-soft);
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  color: var(--forest-deep);
  letter-spacing: 0.005em;
}
.tenants-foot {
  max-width: 56ch;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--stone);
}

@media (max-width: 760px) {
  .village { padding: 4rem 24px 4.5rem; }
  .village-stat { margin-bottom: 2.5rem; }
  .village-prose { margin-bottom: 3rem; }
  .village-prose p { text-align: left; }
  .tenant-grid li { font-size: 0.95rem; padding: 0.45rem 1rem; }
}

/* ==========================================================================
   FEATURE LIST  (used in The River Edge / Memo Ch. 6 split-text)
   2026-05-08 — bullet list with gold left mark and bold lead-in.
   Reusable wherever a split-text needs a tight feature roster.
   ========================================================================== */
.split-text .feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.split-text .feature-list li {
  position: relative;
  padding: 0 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
}
.split-text .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 2px;
  background: var(--gold);
}
.split-text .feature-list strong {
  color: var(--forest-deep);
  font-weight: 600;
}
.split-text .footnote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--stone);
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-soft);
}
.split-text h2 em {
  font-style: italic;
  color: var(--gold);
}

/* ==========================================================================
   ECONOMICS  (Memo Ch. 9 — financing precedent and site opportunity)
   2026-05-09 — section-head + prose body. Reset from layer-card grid.
   ========================================================================== */
.economics {
  padding: 6rem 32px 6rem;
  background: var(--bone);
  border-top: 1px solid var(--rule-soft);
}
.economics .section-head {
  max-width: var(--w-prose);
  margin: 0 auto 3rem;
  text-align: center;
}
.economics .section-head .eyebrow { color: var(--gold); }
.economics .section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0;
}

.economics-prose {
  max-width: var(--w-prose);
  margin: 0 auto;
}
.economics-prose p {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 1.5rem;
}
.economics-prose p:last-child { margin-bottom: 0; }
.economics-prose-close {
  margin-top: 2rem !important;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule-soft);
  font-style: italic;
  color: var(--forest-deep);
}

@media (max-width: 760px) {
  .economics { padding: 4rem 24px 4.5rem; }
  .economics .section-head { margin-bottom: 2.25rem; }
  .economics-prose p { font-size: 1.05rem; }
}

/* ==========================================================================
   COMPARABLES  (Memo Ch. 10 — Wascana / Crosby / Shangri La / Wildlight)
   2026-05-08 — 2x2 reference-card grid + centered closing line.
   ========================================================================== */
.comparables {
  padding: 6rem 32px 6rem;
  background: var(--paper);
  border-top: 1px solid var(--rule-soft);
}
.comparables .section-head {
  max-width: var(--w-prose);
  margin: 0 auto 4rem;
  text-align: center;
}
.comparables .section-head .eyebrow { color: var(--gold); }
.comparables .section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}
.comparables .section-head .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--stone);
  margin: 0;
}

.compare-grid {
  max-width: var(--w-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.compare {
  background: var(--bone);
  border: 1px solid var(--rule-soft);
  border-top: 3px solid var(--gold);
  padding: 2rem 2rem 1.5rem;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}
.compare-loc {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.5rem;
}
.compare-name {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--forest-deep);
  margin: 0 0 1rem;
}
.compare-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1.25rem;
  flex: 1;
}
.compare-tag {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--stone);
}

.compare-close {
  text-align: center;
  margin: 3.5rem auto 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--forest-deep);
  letter-spacing: 0.005em;
}

@media (max-width: 760px) {
  .comparables { padding: 4rem 24px 4.5rem; }
  .comparables .section-head { margin-bottom: 3rem; }
  .compare-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .compare { padding: 1.5rem 1.5rem 1.25rem; }
  .compare-name { font-size: 1.4rem; }
  .compare-close { font-size: 1.15rem; margin-top: 2.5rem; }
}

/* ==========================================================================
   LIBRARY  (templates/library.html)
   2026-05-08 — standalone reference library page with friendly empty state.
   Shares site-header / site-footer chrome from this same stylesheet.
   ========================================================================== */
.library {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 6rem 32px 6rem;
  min-height: 60vh;
}
.library-head {
  max-width: var(--w-prose);
  margin: 0 auto 4rem;
  text-align: center;
}
.library-head .eyebrow { color: var(--gold); margin-bottom: 0.75rem; }
.library-head h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--forest-deep);
  margin: 0 0 1.25rem;
}
.library-head .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--stone);
  margin: 0;
}

.library-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: var(--w-prose);
  margin: 0 auto;
}
.library-item {
  padding: 2rem 0;
  border-top: 1px solid var(--rule-soft);
}
.library-item:last-child { border-bottom: 1px solid var(--rule-soft); }
.library-date {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.4rem;
}
.library-title {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.6rem;
}
.library-title a {
  color: var(--forest-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.library-title a:hover { border-bottom-color: var(--gold); }
.library-summary {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 0.5rem;
}
.library-meta {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--stone);
  margin: 0;
  letter-spacing: 0.04em;
}

.library-empty {
  max-width: 56ch;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: var(--paper);
  border-left: 2px solid var(--gold);
  border-radius: 2px;
  text-align: left;
}
.library-empty-line {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1rem;
}
.library-empty-line:last-child { margin-bottom: 0; color: var(--stone); }
.library-empty a {
  color: var(--forest-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.library-empty a:hover { color: var(--gold); }

@media (max-width: 760px) {
  .library { padding: 4rem 24px 4.5rem; }
  .library-head { margin-bottom: 3rem; }
  .library-empty { padding: 2rem 1.5rem; }
}

/* ============================================================
   ORIENTATION — atmospheric photo-led intro section
   3 stacked cards, all photos, identical 16:9 treatment with
   bottom-anchored gradient overlay. Limbic, peaceful, oriented.
   ============================================================ */
.section-eyebrow {
  font-family: var(--serif);
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 1.5rem;
  text-align: center;
}
.orientation {
  width: 85%;
  max-width: 1400px;
  margin: 4rem auto 4rem;
  padding: 0;
}
.orientation-card {
  position: relative;
  width: 100%;
  margin: 0 0 1.25rem;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(17, 36, 28, 0.12);
}
.orientation-card:last-child { margin-bottom: 0; }
.orientation-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.orientation-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.orientation-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg,
              rgba(17, 36, 28, 0) 0%,
              rgba(17, 36, 28, 0.55) 50%,
              rgba(17, 36, 28, 0.85) 100%);
  padding: 4rem 2rem 1.75rem;
}
.orientation-overlay h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 0.35rem;
  letter-spacing: -0.005em;
  line-height: 1.1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}
.orientation-overlay p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
@media (max-width: 760px) {
  .orientation { margin: 2.5rem auto 2.5rem; width: 94%; }
  .orientation-overlay { padding: 3rem 1.25rem 1.25rem; }
  .orientation-overlay h3 { font-size: 1.4rem; }
  .orientation-overlay p { font-size: 0.95rem; }
}

/* ============================================================
   BREATHER — short prose pause between sections
   Centered, narrow column, italic, generous vertical whitespace
   ============================================================ */
.breather {
  width: 85%;
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  text-align: center;
}
.breather-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--stone);
  margin: 0;
}
@media (max-width: 760px) {
  .breather { padding: 1rem 0 1.5rem; }
  .breather-text { font-size: 0.98rem; }
}

/* ============================================================
   CONCEPT GALLERY — infographic plates section
   Distinct visual treatment from photos: cream/parchment background
   matching the infographics' own backgrounds, full-width plates with
   uniform outer frame regardless of internal aspect ratio.
   object-fit: contain so nothing in the illustrations gets cropped.
   ============================================================ */
.concept-gallery {
  background: #f7f1e3;
  padding: 4rem 0 4.5rem;
  margin: 2rem 0 4rem;
}
.concept-gallery .section-eyebrow {
  color: var(--forest-deep);
  margin-bottom: 2.5rem;
}
.concept-plate {
  width: 85%;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  padding: 0;
}
.concept-plate:last-of-type { margin-bottom: 1.5rem; }
.concept-plate-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #fefcf6;
  border: 1px solid rgba(17, 36, 28, 0.08);
  box-shadow: 0 2px 12px rgba(17, 36, 28, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.concept-plate-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.concept-plate figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--stone);
  margin: 0.85rem 0.25rem 0;
  text-align: center;
}
.concept-disclaimer {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-light);
  text-align: center;
  margin: 2.5rem 0 0;
}
@media (max-width: 760px) {
  .concept-gallery { padding: 2.5rem 0 3rem; margin: 1.5rem 0 2.5rem; }
  .concept-plate { margin-bottom: 1.75rem; width: 94%; }
  .concept-plate figcaption { font-size: 0.92rem; }
}

/* Hero/split background-image hooks (replaces inline style attrs) */
.hero-image--canopy {
  background-image: url('/static/images/hero/canopy_road.jpg');
}
.split-image--river {
  background-image: url('/static/images/hero/river_cypress.jpg');
  background-size: cover;
  background-position: center;
}


/* ============================================================
   SITE PLAN — region allocation on real parcel boundary
   ============================================================ */
.site-plan {
  background: #f7f1e3;
  padding: 4rem 0 4.5rem;
  margin: 2rem 0 4rem;
}
.site-plan .section-eyebrow { color: var(--forest-deep); margin-bottom: 1rem; }
.site-plan-h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-align: center; margin: 0 0 0.85rem; color: var(--forest-deep);
}
.site-plan-lede {
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  line-height: 1.5; color: var(--stone); text-align: center;
  max-width: 700px; margin: 0 auto 2rem; padding: 0 1.5rem;
}
.site-plan-svg-wrap {
  width: 85%; max-width: 900px; margin: 0 auto;
  background: #fefcf6; border: 1px solid rgba(17,36,28,0.1);
  box-shadow: 0 2px 12px rgba(17,36,28,0.08);
  padding: 1.5rem; border-radius: 4px;
}
.site-plan-svg { display: block; width: 100%; height: auto; font-family: var(--serif); }
.site-plan-disclaimer {
  font-family: var(--serif); font-style: italic; font-size: 0.85rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--stone-light); text-align: center; margin: 2rem 0 0;
}

/* SVG element styles */
.sp-parcel { fill: #fdf9ed; stroke: #11241c; stroke-width: 8; stroke-linejoin: round; }
.sp-river { fill: #c9d8df; opacity: 0.78; }
.sp-river-label {
  fill: #6b7e87; font-size: 56px; font-style: italic;
  text-anchor: middle; letter-spacing: 0.04em;
}

.sp-zone { stroke: rgba(17,36,28,0.4); stroke-width: 3; stroke-dasharray: 8 6; }
.sp-zone--parking      { fill: #b8b5ad; opacity: 0.42; }
.sp-zone--discovery    { fill: #d2a55b; opacity: 0.45; }
.sp-zone--garden       { fill: #6f8f55; opacity: 0.38; }
.sp-zone--butterfly    { fill: #c789a8; opacity: 0.42; }
.sp-zone--bird         { fill: #8db8c4; opacity: 0.42; }
.sp-zone--housing      { fill: #d6c397; opacity: 0.45; }
.sp-zone--river-housing{ fill: #e3d3a3; opacity: 0.45; }
.sp-zone--village      { fill: #c97d5d; opacity: 0.45; }
.sp-zone--inn          { fill: #b39065; opacity: 0.45; }
.sp-zone--pier         { fill: #a4c4d4; opacity: 0.5; }
.sp-zone--conservation { fill: #b9c9a0; opacity: 0.42; }

/* Reference road sketch from siteplan CA #29839 — drawn on top of zones */
.sp-road {
  stroke-width: 24;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.95;
}

.sp-label {
  font-family: var(--serif); font-size: 44px; font-weight: 500;
  text-anchor: middle; fill: #1c1c1a; letter-spacing: 0.01em;
}
.sp-label--big { font-size: 56px; font-weight: 600; }
.sp-label--small {
  font-size: 32px; font-style: italic; font-weight: 400;
  fill: rgba(28,28,26,0.78);
}
.sp-label--boardwalk {
  fill: #4a6470; font-size: 32px; font-style: italic;
  text-anchor: middle;
}

.sp-spine {
  stroke: var(--gold); stroke-width: 12; stroke-linecap: round;
  stroke-dasharray: 24 16; opacity: 0.9;
}
.sp-boardwalk-river {
  stroke: #6b6b65; stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 12 8; opacity: 0.8;
}

.sp-bridge line { stroke: #6b6b65; stroke-width: 4; }
.sp-bridge polygon { fill: #6b6b65; }
.sp-label--bridge {
  fill: #6b6b65; font-size: 30px; font-style: italic;
  text-anchor: middle; font-weight: 400;
}

.sp-compass circle { fill: #fefcf6; stroke: var(--forest-deep); stroke-width: 4; }
.sp-compass polygon { fill: var(--forest-deep); }
.sp-compass text {
  fill: var(--forest-deep); font-size: 36px; font-weight: 600;
  text-anchor: middle; letter-spacing: 0.06em;
}

.sp-scale line { stroke: var(--forest-deep); stroke-width: 4; }
.sp-scale text {
  fill: var(--forest-deep); font-size: 32px; font-style: italic;
  text-anchor: middle;
}

@media (max-width: 760px) {
  .site-plan { padding: 2.5rem 0 3rem; margin: 1.5rem 0 2.5rem; }
  .site-plan-svg-wrap { width: 94%; padding: 0.75rem; }
}

/* ============================================================
   SITE PLAN v3 — boundary + roads + amenity list (no interior zones)
   ============================================================ */
.site-plan-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: 2.5rem;
  align-items: start;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.site-plan-svg-wrap {
  background: #fefcf6;
  border: 1px solid rgba(17,36,28,0.1);
  box-shadow: 0 2px 12px rgba(17,36,28,0.08);
  padding: 1.5rem;
  border-radius: 4px;
}
.site-plan-amenities {
  background: #fefcf6;
  border: 1px solid rgba(17,36,28,0.1);
  padding: 1.75rem 1.5rem;
  border-radius: 4px;
}
.site-plan-amenities-h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--forest-deep);
  margin: 0 0 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(17,36,28,0.15);
}
.site-plan-amenities-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-plan-amenities-list li {
  padding: 0.65rem 0;
  border-bottom: 1px dotted rgba(17,36,28,0.12);
}
.site-plan-amenities-list li:last-child { border-bottom: none; }
.site-plan-amenities-list strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--forest-deep);
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}
.site-plan-amenities-list span {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--stone);
  line-height: 1.4;
}
.site-plan-amenities-foot {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--stone-light);
  margin: 1.25rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(17,36,28,0.1);
  letter-spacing: 0.04em;
}

@media (max-width: 860px) {
  .site-plan-layout { grid-template-columns: 1fr; gap: 1.5rem; width: 94%; }
}
