/* ═══════════════════════════════════════════════════════════
   BLUE PATCH INITIATIVE
   Brand: forest greens, the blue of the wordmark, Playfair Display
   for headings and Inter for text. Fonts are served from /fonts.
   ═══════════════════════════════════════════════════════════ */

@font-face { font-family: 'Playfair Display'; src: url('fonts/playfair-display-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('fonts/playfair-display-latin-500-normal.woff2') format('woff2'); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('fonts/playfair-display-latin-500-italic.woff2') format('woff2'); font-weight: 400 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* original palette */
  --forest:     #0d3d1a;
  --forest-mid: #1a5c2a;
  --moss:       #2d7a42;
  --leaf:       #3fa55a;
  --sage:       #6abf80;
  --mint:       #a8dbb5;
  --foam:       #d4eedb;
  --pale:       #eaf6ed;
  --bg:         #f0f9f2;
  --white:      #ffffff;
  --text-dark:  #071a0c;
  --text-mid:   #2a4a32;
  --text-light: #5a826a;
  --border:     rgba(13,61,26,0.12);
  /* additions */
  --forest-deep: #072911;
  --paper:      #f7faf6;
  --blue:       #3f8ff8;   /* brand: pond blue, the "Blue" of the wordmark */
  --brand-leaf: #56b976;   /* brand: leaf green, the mark and "Initiative" on dark */
  --blue-deep:  #1f5fc4;
  --water:      #8cc0f7;
  --water-pale: #dcebfd;
  --earth:      #cdb089;
  --earth-deep: #a98a60;
  --rubble:     #9b958a;

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

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec-y: clamp(52px, 6.200vw, 92px);
  --radius: 18px;
  --nav-h: 68px;
  --shadow-soft: 0 18px 50px -24px rgba(7, 41, 17, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html, body { overflow-x: clip; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text-dark);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: var(--moss); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--forest); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
.on-dark a:focus-visible, .on-dark button:focus-visible, nav a:focus-visible, footer a:focus-visible { outline-color: var(--mint); }

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--white); color: var(--forest); padding: 10px 16px; border-radius: 8px; z-index: 10000; font-weight: 600; font-size: 14px; }
.skip-link:focus { top: 12px; }

/* ── ADMIN (unchanged behaviour; open the site with ?admin to see it) ── */
.edit-bar {
  display: none;
  position: fixed; top: 0; left: 0; right: 0;
  background: var(--forest-deep); color: white;
  padding: 10px 24px; align-items: center; justify-content: space-between;
  z-index: 9999; font-size: 13px; border-bottom: 2px solid var(--moss); line-height: 1.4;
}
html.admin .edit-bar { display: flex; }
html.admin { --admin-h: 44px; }
.edit-bar-left { display: flex; align-items: center; gap: 12px; }
.edit-badge { background: var(--moss); color: white; padding: 2px 10px; border-radius: 20px; font-size: 11px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; }
.edit-btn { background: var(--foam); color: var(--forest); border: none; padding: 6px 16px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 500; font-family: inherit; }
.edit-btn:hover { background: white; }
.edit-btn.danger { background: #c0392b; color: white; }
.edit-btn.danger:hover { background: #a93226; }
.edit-hint { color: var(--sage); font-size: 12px; }
body:not(.edit-mode) [contenteditable] { outline: none !important; }
body.edit-mode [contenteditable="true"] { outline: 2px dashed rgba(63,165,90,0.5); outline-offset: 2px; border-radius: 3px; transition: outline 0.15s; }
body.edit-mode [contenteditable="true"]:hover { outline: 2px solid var(--leaf); }
body.edit-mode [contenteditable="true"]:focus { outline: 2px solid var(--leaf); background: rgba(63,165,90,0.08); }
.img-wrap { position: relative; display: block; }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-upload-btn { display: none; position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.75); color: white; border: none; padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 12px; z-index: 10; font-family: inherit; }
.edit-mode .img-wrap:hover .img-upload-btn { display: block; }
.edit-mode .img-wrap { cursor: pointer; }
.admin-panel { position: fixed; top: 44px; right: 0; width: 260px; background: #0a1f0d; border-left: 2px solid var(--moss); border-bottom: 2px solid var(--moss); border-bottom-left-radius: 12px; z-index: 9998; padding: 16px; display: flex; flex-direction: column; gap: 14px; box-shadow: -4px 4px 20px rgba(0,0,0,0.4); }
.admin-section-title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--sage); margin-bottom: 6px; }
.admin-hint { font-size: 11px; color: rgba(168,219,181,0.6); margin-bottom: 8px; line-height: 1.5; }
.admin-btns { display: flex; flex-direction: column; gap: 6px; }
.admin-action-btn { background: rgba(255,255,255,0.07); border: 1px solid rgba(106,191,128,0.2); color: var(--mint); padding: 8px 12px; border-radius: 7px; cursor: pointer; font-size: 12px; text-align: left; transition: background 0.2s; font-family: inherit; }
.admin-action-btn:hover { background: rgba(255,255,255,0.13); }
.admin-action-btn.green { border-color: rgba(63,165,90,0.4); color: #7ecf93; }
.admin-action-btn.red { border-color: rgba(192,57,43,0.4); color: #e8928c; }
body.edit-mode .slide { cursor: grab; }
body.edit-mode .slide::before { content: '⠿ Drag to reorder'; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.6); color: var(--mint); font-size: 11px; padding: 4px 10px; border-radius: 20px; z-index: 20; pointer-events: none; white-space: nowrap; }
.save-toast { position: fixed; bottom: 30px; right: 30px; background: var(--forest); color: var(--mint); padding: 12px 22px; border-radius: 8px; font-size: 13px; z-index: 9999; opacity: 0; transform: translateY(10px); transition: all 0.3s; pointer-events: none; border: 1px solid var(--moss); }
.save-toast.show { opacity: 1; transform: translateY(0); }

main { padding-top: var(--admin-h, 0px); }

/* ── NAVIGATION ── */
.site-nav {
  position: sticky; top: var(--admin-h, 0px); z-index: 100;
  background: rgba(9, 48, 20, 0.96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(168, 219, 181, 0.16);
  transition: box-shadow 0.25s;
}
.site-nav.is-stuck { box-shadow: 0 10px 30px -18px rgba(0,0,0,0.6); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1; color: white; text-decoration: none; white-space: nowrap; letter-spacing: 0.1px; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-text { padding-bottom: 1px; }
.mk-land { fill: var(--mk-land, #56b976); }
.mk-bank { fill: none; stroke: var(--mk-bank, #f0faf3); stroke-width: 2.3; }
.mk-pond { fill: #3f8ff8; }
::selection { background: var(--mint); color: var(--forest-deep); }
.brand:hover { color: white; }
/* the logo name is one colour; the mark carries the blue and green */
.brand .b-blue, .brand .b-green { color: inherit; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 26px); }
.nav-links .nav-home { display: none; }
.nav-links a { color: var(--mint); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.1px; padding: 8px 0; position: relative; transition: color 0.2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--sage); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.nav-links a:hover, .nav-links a[aria-current] { color: white; }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-links .nav-cta { background: var(--mint); color: var(--forest); padding: 10px 20px; border-radius: 999px; font-weight: 600; }
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: white; color: var(--forest); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(168,219,181,0.4); color: white; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.nav-toggle .x { display: none; }
.nav-toggle[aria-expanded="true"] .x { display: block; }
.nav-toggle[aria-expanded="true"] .bars { display: none; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav-links .nav-home { display: block; }
  .nav-links a[aria-current] { color: white; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--forest-deep); border-bottom: 1px solid rgba(168,219,181,0.16);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    display: none; max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 15px 0; font-size: 17px; border-bottom: 1px solid rgba(168,219,181,0.12); }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta { margin-top: 18px; text-align: center; border-bottom: 0; padding: 14px 20px; }
  html:not(.js) .nav-links { display: flex; position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 18px; padding: 0 0 12px; }
  html:not(.js) .nav-inner { flex-wrap: wrap; }
  html:not(.js) .nav-toggle { display: none; }
}

/* ── TICKER ── */
.ticker-wrap { width: 100%; overflow: hidden; background: var(--forest-deep); padding: 9px 0; display: flex; align-items: center; user-select: none; border-bottom: 1px solid rgba(168,219,181,0.1); }
.ticker { display: flex; white-space: nowrap; animation: ticker-slide 48s linear infinite; }
.ticker:hover { animation-play-state: paused; }
.ticker > span { display: inline-flex; align-items: center; }
.ticker em { font-style: normal; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2.4px; color: var(--mint); opacity: 0.85; }
.ticker .tick-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--leaf); margin: 0 26px; display: inline-block; }
@keyframes ticker-slide { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* ── SHARED TYPE ── */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--moss); font-weight: 600; margin-bottom: 18px;
}
.section-eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; opacity: 0.7; }
.section-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.1rem);
  line-height: 1.12; letter-spacing: -0.01em; color: var(--forest);
  margin-bottom: 24px; text-wrap: balance;
}
.section-body { font-size: 17px; color: var(--text-mid); max-width: 62ch; line-height: 1.8; }
.section-body + .section-body { margin-top: 18px; }
.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); line-height: 1.7; color: var(--text-mid); max-width: 58ch; }
.sec { padding: var(--sec-y) 0; position: relative; }
.sec-white { background: var(--white); }
.sec-pale  { background: var(--pale); }
.sec-paper { background: var(--paper); }
.on-dark { background: var(--forest); color: var(--mint); }
.on-dark .section-eyebrow { color: var(--sage); }
.on-dark .section-title { color: white; }
.on-dark .section-body, .on-dark .lead { color: var(--mint); }
.on-dark a { color: var(--mint); }
.on-dark a:hover { color: white; }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 3.600vw, 44px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .section-body, .sec-head.center .lead { margin-left: auto; margin-right: auto; }
.section-wrapper { position: relative; scroll-margin-top: calc(var(--nav-h) + var(--admin-h, 0px)); }

/* citations */
.cite { white-space: nowrap; text-decoration: none; border-bottom: 1px dotted currentColor; font-size: 0.94em; }
.cite:hover { border-bottom-style: solid; }
.on-dark .cite { color: var(--foam); }
.source-note { font-size: 13.5px; color: var(--text-light); margin-top: 18px; line-height: 1.6; }
.on-dark .source-note { color: var(--sage); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: inherit; font-size: 15px; font-weight: 600; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; line-height: 1.2; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--mint); color: var(--forest) !important; }
.btn-primary:hover { background: white; }
.btn-ghost { border-color: rgba(168,219,181,0.5); color: white !important; }
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,0.08); }
.btn-solid { background: var(--forest); color: white !important; }
.btn-solid:hover { background: var(--moss); }
.btn-outline { border-color: var(--moss); color: var(--forest) !important; }
.btn-outline:hover { background: var(--forest); border-color: var(--forest); color: white !important; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* icons */
.ico { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ── HERO ── */
#hero { background: var(--forest); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); min-height: min(88vh, 820px); overflow: hidden; }
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(56px, 8vw, 104px) clamp(28px, 5vw, 76px) clamp(56px, 8vw, 104px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  position: relative; z-index: 2;
  background:
    url('images/contours.svg') no-repeat left -310px bottom -370px / 720px 720px,
    radial-gradient(900px 500px at -10% 110%, rgba(63,165,90,0.22), transparent 60%),
    var(--forest);
}
.hero-eyebrow {
  font-size: 11px; letter-spacing: 2.6px; text-transform: uppercase; color: var(--mint); font-weight: 600;
  margin-bottom: 28px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16);
  padding: 7px 16px; border-radius: 50px; display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
}
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 4px rgba(168,219,181,0.2); }
.hero-title { font-family: var(--serif); font-weight: 700; font-size: clamp(2.7rem, 1.4rem + 4.6vw, 5.1rem); line-height: 1.04; letter-spacing: -0.012em; color: white; margin-bottom: 22px; }
.hero-title span { color: var(--brand-leaf); }
.hero-tagline { font-family: var(--serif); font-weight: 500; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); line-height: 1.35; color: var(--foam); margin-bottom: 20px; max-width: 24ch; }
.hero-subtitle { font-size: 16.5px; color: var(--mint); max-width: 50ch; margin-bottom: 34px; line-height: 1.8; }
.hero-img-side { position: relative; overflow: hidden; min-height: 380px; }
.hero-img-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-img-side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,41,17,0) 45%, rgba(7,41,17,0.82) 100%); pointer-events: none; }
.hero-img-overlay { position: absolute; left: 28px; right: 28px; bottom: 22px; z-index: 3; color: var(--foam); font-size: 12px; letter-spacing: 0.4px; display: flex; align-items: center; gap: 8px; }
.hero-img-overlay svg { width: 15px; height: 15px; flex: none; stroke: var(--sage); fill: none; stroke-width: 2; }
.status-card {
  position: absolute; z-index: 4; left: 28px; bottom: 58px; width: min(330px, calc(100% - 56px));
  background: rgba(255,255,255,0.97); color: var(--text-dark); border-radius: 16px; padding: 18px 20px 20px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.55);
}
.status-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.status-label { font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--moss); display: inline-flex; align-items: center; gap: 8px; }
.status-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(63,165,90,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63,165,90,0.55); } 70% { box-shadow: 0 0 0 9px rgba(63,165,90,0); } 100% { box-shadow: 0 0 0 0 rgba(63,165,90,0); } }
.status-phase { font-size: 12px; color: var(--text-light); font-weight: 500; }
.status-title { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--forest); margin-bottom: 12px; }
.status-bar { height: 6px; border-radius: 6px; background: var(--foam); overflow: hidden; }
.status-bar i { display: block; height: 100%; width: 50%; background: var(--moss); border-radius: 6px; }

/* facts band */
.facts { background: var(--forest-deep); color: white; }
.facts-grid { display: grid; grid-template-columns: 1.5fr 1.2fr 1.3fr 0.9fr; }
.fact { padding: 26px 28px 26px 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid rgba(168,219,181,0.16); }
.hero-meta-label { font-size: 10.5px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--sage); display: block; margin-bottom: 6px; font-weight: 600; }
.hero-meta-value { font-size: 15px; color: white; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* ── CONTEXT ── */
.context-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--white); border: 1px solid var(--foam); border-radius: var(--radius); padding: 26px 26px 24px; }
.stat-num { font-family: var(--serif); font-weight: 700; font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1; color: var(--forest); letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.stat-label { margin-top: 12px; font-size: 14.5px; line-height: 1.55; color: var(--text-mid); }
.stat.is-alert { background: var(--forest); border-color: var(--forest); }
.stat.is-alert .stat-num { color: white; }
.stat.is-alert .stat-label { color: var(--mint); }

/* ── THE POND ── */
.pond-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.pond-uid { display: inline-block; background: var(--pale); color: var(--moss); padding: 5px 14px; border-radius: 20px; font-size: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; margin-bottom: 18px; font-weight: 600; border: 1px solid var(--foam); }
.pond-stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 34px; border-top: 1px solid var(--foam); }
.pond-stat { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--foam); }
.pond-stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--foam); }
.pond-stat-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.6px; color: var(--moss); margin-bottom: 4px; font-weight: 600; }
.pond-stat-val { font-size: 15.5px; font-weight: 500; color: var(--forest); font-variant-numeric: tabular-nums; }
.pond-collage { position: relative; padding: 0 0 44px 44px; }
.about-img { width: 100%; aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; position: relative; box-shadow: var(--shadow-soft); }
.about-img .img-tag { top: 16px; bottom: auto; }
.about-inset { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; border: 6px solid var(--white); box-shadow: 0 22px 44px -22px rgba(7,41,17,0.6); background: var(--pale); }
.about-inset .img-tag { left: 10px; bottom: 10px; font-size: 11.5px; padding: 5px 11px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.img-tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; background: rgba(7,41,17,0.82); color: var(--foam); font-size: 12px; padding: 7px 13px; border-radius: 999px; letter-spacing: 0.2px; backdrop-filter: blur(4px); }

.pond-mini-gallery { margin-top: clamp(48px, 6vw, 76px); }
.mini-gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.mini-gallery-label { font-family: var(--serif); font-weight: 700; font-size: 24px; color: var(--forest); }
.gallery-link { color: var(--moss); font-weight: 600; font-size: 14.5px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.gallery-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.gallery-link:hover svg { transform: translateX(3px); }
.site-gallery-wrap { position: relative; overflow: hidden; width: 100%; padding: 4px 0 6px; }
.site-gallery-slides { display: flex; gap: 16px; transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }
.site-slide { flex: 0 0 auto; position: relative; border-radius: 16px; overflow: hidden; background: var(--forest); display: flex; flex-direction: column; }
.site-slide-img-wrap { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.site-slide-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.site-slide:hover .site-slide-img-wrap img { transform: scale(1.04); }
.site-slide-caption { background: var(--forest); color: var(--mint); font-size: 13px; padding: 13px 16px 15px; line-height: 1.5; min-height: 58px; display: flex; align-items: center; }
.site-slider-btn, .slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.94); color: var(--forest); border: none;
  width: 44px; height: 44px; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,0.25); transition: background 0.2s, transform 0.2s;
  font-family: inherit; padding-bottom: 3px;
}
.site-slider-btn:hover, .slider-btn:hover { background: white; transform: translateY(-50%) scale(1.06); }
.site-slider-btn { top: calc(50% - 40px); }
.site-slider-prev, .slider-prev { left: 12px; }
.site-slider-next, .slider-next { right: 12px; }
.site-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.site-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--foam); border: 0; cursor: pointer; transition: all 0.2s; padding: 0; }
.site-dot.active { background: var(--moss); width: 22px; border-radius: 6px; }

/* ── GOAL ── */
.goal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.goal-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.goal-pillar { background: rgba(255,255,255,0.055); border: 1px solid rgba(168,219,181,0.16); padding: 26px 24px 24px; border-radius: var(--radius); transition: background 0.25s, border-color 0.25s; }
.goal-pillar:hover { background: rgba(255,255,255,0.09); border-color: rgba(168,219,181,0.32); }
.pillar-icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(168,219,181,0.14); color: var(--mint); display: grid; place-items: center; margin-bottom: 18px; }
.pillar-step { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--sage); font-weight: 600; margin-bottom: 4px; }
.pillar-title { font-family: var(--serif); font-size: 19px; font-weight: 700; color: white; margin-bottom: 8px; line-height: 1.3; }
.pillar-desc { font-size: 14.5px; color: var(--mint); line-height: 1.65; }

/* ── WHY IT MATTERS ── */
.importance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.importance-card { background: var(--white); border: 1px solid var(--foam); border-radius: var(--radius); padding: 30px 28px 26px; display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
.importance-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.importance-card-icon { width: 52px; height: 52px; border-radius: 15px; background: var(--pale); color: var(--moss); display: grid; place-items: center; margin-bottom: 20px; }
.importance-card-title { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--forest); margin-bottom: 10px; line-height: 1.3; }
.importance-card-body { font-size: 15px; color: var(--text-mid); line-height: 1.7; }
.card-sources { margin-top: auto; padding-top: 18px; font-size: 12.5px; color: var(--text-light); line-height: 1.6; }
.card-sources span { display: block; text-transform: uppercase; letter-spacing: 1.4px; font-size: 10px; font-weight: 600; margin-bottom: 2px; }

/* ── HOW IT WORKS (diagrams) ── */
.diagram { background: var(--paper); border: 1px solid var(--foam); border-radius: 22px; padding: clamp(20px, 3vw, 40px); }
.diagram + .diagram { margin-top: 24px; }
.diagram-title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); color: var(--forest); line-height: 1.25; margin-bottom: 6px; }
.diagram-intro { font-size: 15.5px; color: var(--text-mid); max-width: 70ch; margin-bottom: 26px; }
.diagram-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { background: var(--white); border: 1px solid var(--foam); border-radius: 16px; overflow: hidden; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 20px 0; }
.panel-tag { font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text-light); }
.panel-tag.is-after { color: var(--blue-deep); }
.panel-name { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--forest); }
.panel svg { display: block; width: 100%; height: auto; }
.legend { padding: 4px 20px 20px; display: grid; gap: 10px; counter-reset: lg; }
.legend li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.55; color: var(--text-mid); }
.legend li::before { counter-increment: lg; content: counter(lg); width: 24px; height: 24px; border-radius: 50%; background: var(--forest); color: white; font-size: 12px; font-weight: 600; display: grid; place-items: center; margin-top: 1px; }
.legend.is-after li::before { background: var(--blue-deep); }
.legend strong { color: var(--text-dark); font-weight: 600; }
svg text { font-family: var(--sans); }
.season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.season { background: var(--white); border: 1px solid var(--foam); border-radius: 16px; overflow: hidden; }
.season svg { display: block; width: 100%; height: auto; background: #f3f8fb; }
.season-body { padding: 14px 18px 18px; }
.season-when { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-deep); }
.season-name { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--forest); margin: 2px 0 6px; }
.season-text { font-size: 14px; line-height: 1.6; color: var(--text-mid); }
.zone-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; align-items: center; }
.zone-wrap svg { display: block; width: 100%; height: auto; background: var(--white); border: 1px solid var(--foam); border-radius: 16px; }
.zone-list { display: grid; gap: 14px; }
.zone-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: 14.5px; line-height: 1.6; color: var(--text-mid); }
.zone-list b { width: 30px; height: 30px; border-radius: 50%; background: var(--moss); color: white; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.zone-list strong { color: var(--text-dark); display: block; font-weight: 600; }
.honesty { margin-top: 24px; background: var(--forest); color: var(--mint); border-radius: 22px; padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.honesty .ico { color: var(--sage); width: 32px; height: 32px; }
.honesty h3 { font-family: var(--serif); color: white; font-size: 21px; margin-bottom: 8px; line-height: 1.3; }
.honesty p { font-size: 15.5px; line-height: 1.75; max-width: 78ch; }

/* ── SCIENCE IN DETAIL ── */
.diagram.is-white { background: var(--white); }
.diagram.is-white .panel, .diagram.is-white .season, .diagram.is-white .budget-card { background: var(--paper); }
.diagram.is-white .zone-wrap svg { background: var(--paper); }
.zone-list.is-blue b { background: var(--blue-deep); }
.zone-list.is-blue strong { display: inline; }
.budget { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.budget-card { border: 1px solid var(--foam); border-radius: 16px; padding: 22px 24px; }
.budget-label { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; color: var(--moss); margin-bottom: 10px; }
.equation { font-family: var(--serif); font-weight: 700; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); line-height: 1.5; color: var(--forest); }
.equation .in { color: var(--blue-deep); }
.equation .out { color: #8a5a22; }
.split-bar { display: flex; height: 22px; border-radius: 6px; overflow: hidden; gap: 2px; }
.split-bar .perc { flex: 60; background: var(--blue-deep); }
.split-bar .evap { flex: 40; background: #9fb6c9; }
.split-key { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--text-dark); }
.split-key li { display: inline-flex; align-items: center; gap: 8px; }
.split-key i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.split-key i.perc { background: var(--blue-deep); }
.split-key i.evap { background: #9fb6c9; }
.budget-note { font-size: 13.5px; line-height: 1.6; color: var(--text-light); margin-top: 12px; }
.needs { margin-top: 22px; background: var(--pale); border-left: 4px solid var(--leaf); border-radius: 0 14px 14px 0; padding: 18px 22px 20px; }
.needs-title { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; color: var(--moss); margin-bottom: 8px; }
.needs ul { display: grid; gap: 6px; }
.needs li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.6; color: var(--text-mid); }
.needs li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }
.season-grid.is-three { grid-template-columns: repeat(3, 1fr); }

/* ── DOCUMENTS ── */
.doc-why { margin-top: 22px; max-width: 72ch; font-size: 15.5px; line-height: 1.75; color: var(--text-mid); background: var(--white); border: 1px solid var(--foam); border-left: 4px solid var(--leaf); border-radius: 0 14px 14px 0; padding: 16px 20px; }
.doc-why strong { color: var(--text-dark); font-weight: 600; }
.doc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.doc { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--white); border: 1px solid var(--foam); border-radius: var(--radius); padding: 20px; }
.doc-icon { width: 44px; height: 44px; border-radius: 13px; background: var(--pale); color: var(--moss); display: grid; place-items: center; }
.doc-title { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--forest); line-height: 1.3; }
.doc-desc { font-size: 15px; line-height: 1.6; color: var(--text-mid); margin-top: 4px; }
.doc-status { display: inline-block; margin-top: 12px; font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; color: var(--text-light); background: var(--paper); border: 1px solid var(--foam); padding: 4px 11px; border-radius: 999px; text-decoration: none; }
.doc-status.is-link { color: var(--forest); background: var(--foam); border-color: var(--mint); }
.doc-status.is-link:hover { background: var(--mint); }
.doc-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; font-size: 15px; color: var(--text-mid); }

.goal-grid > *, .goal-pillars-wrap { min-width: 0; }
.swipe-hint { display: none; font-size: 13px; color: var(--text-light); margin: -8px 0 12px; }

/* ── NOTE WITH "READ MORE" ── */
.note { margin-top: 30px; background: var(--white); border: 1px solid var(--foam); border-left: 4px solid var(--leaf); border-radius: 0 16px 16px 0; padding: 22px 26px 20px; max-width: 70ch; }
.note-label { font-size: 11px; letter-spacing: 1.600px; text-transform: uppercase; font-weight: 600; color: var(--moss); margin-bottom: 4px; }
.note-title { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.300; color: var(--forest); margin-bottom: 10px; }
.note p { font-size: 15.500px; line-height: 1.750; color: var(--text-mid); }
.note p + p { margin-top: 0.900em; }
details.more { margin-top: 10px; }
.section-body + details.more { margin-top: 16px; }
details.more + .section-body { margin-top: 18px; }
details.more .section-body + .section-body { margin-top: 14px; }
details.more summary { cursor: pointer; font-weight: 600; font-size: 14.500px; color: var(--moss); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.2s; }
details.more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
details.more summary:hover { color: var(--forest); }
details.more[open] summary { margin-bottom: 10px; }

/* ── VIDEO AND SOCIAL ── */
.video-facade { position: absolute; inset: 0; display: grid; place-items: center; text-decoration: none; background: var(--forest-deep); }
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.780; transition: opacity 0.2s; }
.video-facade:hover img { opacity: 0.900; }
.video-play { position: relative; display: inline-flex; align-items: center; gap: 10px; background: white; color: var(--forest); font-weight: 600; font-size: 15px; padding: 13px 22px 13px 16px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,0.350); }
.video-play svg { width: 22px; height: 22px; fill: var(--moss); }
.follow { margin-top: clamp(32px, 4vw, 52px); padding-top: clamp(28px, 3.500vw, 40px); border-top: 1px solid var(--foam); display: grid; grid-template-columns: minmax(0, 1.300fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px 22px; align-items: center; }
.follow-title { font-family: var(--serif); font-weight: 700; font-size: 24px; color: var(--forest); line-height: 1.250; margin-bottom: 6px; }
.follow-head p { font-size: 15px; line-height: 1.650; color: var(--text-mid); max-width: 44ch; }
.follow-card { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid var(--foam); border-radius: var(--radius); background: var(--paper); text-decoration: none; color: var(--text-mid); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.follow-card:hover { border-color: var(--leaf); box-shadow: var(--shadow-soft); transform: translateY(-2px); color: var(--text-mid); }
.follow-card .ico { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--pale); color: var(--moss); }
.follow-card strong { display: block; font-family: var(--serif); font-size: 18px; color: var(--forest); line-height: 1.300; }
.follow-card span span { display: block; font-size: 13.500px; line-height: 1.500; margin-top: 2px; }

/* ── LOCATION MAP ── */
.map-figure { margin: 0; }
.map-scroll { overflow-x: auto; border-radius: 22px; box-shadow: var(--shadow-soft); background: var(--forest-deep); -webkit-overflow-scrolling: touch; }
.map-frame { position: relative; min-width: 760px; aspect-ratio: 1600 / 1000; }
.map-frame img { width: 100%; height: 100%; display: block; }
.map-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-open { position: absolute; left: 0.4%; top: 0.6%; width: 11.6%; height: 5.6%; border-radius: 4px; }
.map-hint { display: none; font-size: 13px; color: var(--text-light); margin-top: 10px; }
.map-caption { font-size: 13.5px; line-height: 1.6; color: var(--text-light); margin-top: 14px; max-width: 96ch; }
.map-legend { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.map-legend li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: 15px; line-height: 1.6; color: var(--text-mid); }
.map-legend b { width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: white; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.map-legend .is-site { grid-column: 1 / -1; }
.map-legend .is-site b { background: var(--blue); box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--foam); width: 22px; height: 22px; margin: 4px; }
.map-legend strong { color: var(--text-dark); font-weight: 600; }

/* ── REFLECTION ── */
.reflect-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.reflect-by { font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; font-weight: 600; color: var(--moss); }
.reflect-body p { font-size: 18px; line-height: 1.85; color: var(--text-mid); max-width: 64ch; }
.reflect-body p + p { margin-top: 1.1em; }

/* ── QUOTE BAND: Carson's line leads, Devvrat's answers it in a smaller voice ── */
.quote-band { position: relative; overflow: hidden; background: var(--forest-deep); color: white; min-height: clamp(340px, 34vw, 500px); display: grid; align-items: center; padding: clamp(56px, 7vw, 92px) 0; }
.quote-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.quote-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,41,17,0.95) 0%, rgba(7,41,17,0.82) 46%, rgba(7,41,17,0.22) 100%); }
.quote-band .container { position: relative; z-index: 1; width: 100%; }
.quote-band blockquote { max-width: 800px; }
.quote-band cite { display: block; font-style: normal; font-weight: 600; text-transform: uppercase; color: var(--mint); }
.quote-band .carson { position: relative; padding-top: clamp(44px, 5vw, 62px); }
.quote-band .carson::before { content: '\201C'; position: absolute; left: -0.04em; top: -0.1em; font-family: var(--serif); font-weight: 700; font-size: clamp(84px, 9vw, 128px); line-height: 1; color: var(--brand-leaf); }
.quote-band .carson p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 1rem + 2.3vw, 2.75rem); line-height: 1.24; letter-spacing: -0.005em; text-wrap: balance; }
.quote-band .carson cite { margin-top: 20px; font-size: 12.5px; letter-spacing: 1.8px; }
.quote-band .fallback { margin-top: clamp(30px, 4vw, 46px); padding-top: clamp(20px, 2.4vw, 26px); max-width: 500px; position: relative; }
.quote-band .fallback::before { content: ''; position: absolute; left: 0; top: 0; width: 56px; height: 2px; background: var(--brand-leaf); }
.quote-band .fallback p { font-family: var(--serif); font-weight: 500; font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem); line-height: 1.5; color: var(--foam); text-wrap: balance; }
.quote-band .fallback cite { margin-top: 8px; font-size: 11px; letter-spacing: 1.6px; color: var(--sage); }
/* until Carson's line is filled in, visitors see Devvrat's line on its own, at full size */
.quote-band.quote-pending .carson { display: none; }
body.edit-mode .quote-band.quote-pending .carson { display: block; }
.quote-band.quote-pending:not(.x) .fallback { margin-top: 0; padding-top: 0; max-width: 800px; }
body:not(.edit-mode) .quote-band.quote-pending .fallback::before { display: none; }
body:not(.edit-mode) .quote-band.quote-pending .fallback p { font-style: italic; font-size: clamp(1.6rem, 1rem + 2.3vw, 2.75rem); line-height: 1.24; color: white; }
body.edit-mode .quote-band.quote-pending .fallback { margin-top: 30px; padding-top: 22px; }

/* ── PROGRESS ── */
.progress-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; margin-bottom: 34px; }
.progress-top .section-title { margin-bottom: 0; }
.progress-figure { text-align: right; }
.progress-figure-label { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-light); font-weight: 600; }
#progress-pct-display { font-family: var(--serif); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 700; color: var(--forest); line-height: 1; }
.progress-bar-wrap { background: var(--foam); border-radius: 30px; height: 10px; overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: 30px; background: linear-gradient(90deg, var(--moss), var(--leaf)); transition: width 1.2s ease; }
.progress-pct { font-size: 15px; color: var(--text-mid); margin-top: 14px; }
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 40px 0 46px; counter-reset: ph; }
.phase { position: relative; padding: 0 18px 0 0; counter-increment: ph; }
.phase::before { content: ''; position: absolute; top: 17px; left: 36px; right: 0; height: 2px; background: var(--foam); }
.phase.is-done::before { background: var(--moss); }
.phase:last-child::before { display: none; }
.phase-dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--foam); color: var(--text-light); font-size: 14px; font-weight: 600; position: relative; z-index: 1; }
.phase-dot::after { content: counter(ph); }
.phase.is-done .phase-dot { background: var(--moss); border-color: var(--moss); color: white; }
.phase.is-done .phase-dot::after { content: '✓'; }
.phase.is-now .phase-dot { border-color: var(--leaf); color: var(--forest); box-shadow: 0 0 0 5px rgba(63,165,90,0.18); }
.phase-state { margin-top: 14px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; color: var(--text-light); }
.phase.is-done .phase-state { color: var(--moss); }
.phase.is-now .phase-state { color: var(--leaf); }
.phase-name { font-family: var(--serif); font-weight: 700; font-size: 17.5px; color: var(--forest); line-height: 1.3; margin-top: 2px; }
.phase-when { font-size: 13.5px; color: var(--text-light); margin-top: 2px; }

.progress-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.gallery-slider-wrap { --slide-h: clamp(300px, 33vw, 460px); position: relative; overflow: hidden; border-radius: 22px; background: var(--forest); box-shadow: var(--shadow-soft); }
.gallery-slider { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }
.slide { min-width: 100%; width: 100%; position: relative; flex-shrink: 0; overflow: hidden; }
.slide-img-wrap { display: block; width: 100%; height: var(--slide-h); overflow: hidden; }
.slide-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; display: block; }
.slide-caption { background: var(--forest); color: var(--mint); font-size: 14.5px; padding: 16px 24px 40px; min-height: 80px; }
.slider-btn { top: calc(var(--slide-h) / 2); }
.slider-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); border: none; cursor: pointer; transition: all 0.2s; padding: 0; }
.dot.active { background: white; width: 22px; border-radius: 6px; }

.timeline { position: relative; }
.timeline-heading { font-family: var(--serif); font-weight: 700; font-size: 24px; color: var(--forest); margin-bottom: 26px; }
.timeline-list { position: relative; padding-left: 38px; }
.timeline-list::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--foam); }
.timeline-entry { position: relative; padding-bottom: 30px; }
.timeline-entry:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -38px; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--moss); border: 4px solid var(--paper); box-shadow: 0 0 0 2px var(--moss); }
.timeline-dot.pending { background: var(--paper); box-shadow: 0 0 0 2px var(--mint); }
.timeline-date { font-size: 11.5px; color: var(--moss); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 3px; font-weight: 600; }
.timeline-title { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--forest); line-height: 1.35; }
.timeline-desc { font-size: 15px; color: var(--text-mid); margin-top: 5px; line-height: 1.7; max-width: 68ch; }

/* ── RESEARCH ── */
.research-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.findings { margin: 28px 0 34px; display: grid; gap: 16px; }
.findings li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; font-size: 15.5px; line-height: 1.7; color: var(--mint); }
.findings li svg { width: 22px; height: 22px; stroke: var(--sage); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 3px; }
.findings strong { color: white; font-weight: 600; }
.research-figure { background: rgba(255,255,255,0.055); border: 1px solid rgba(168,219,181,0.18); border-radius: 22px; padding: 14px; }
.research-figure img { border-radius: 12px; width: 100%; }
.research-figure figcaption { font-size: 13px; color: var(--sage); line-height: 1.6; padding: 12px 8px 4px; }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 5px 0 2px; vertical-align: baseline; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 10px; border-top: 1px solid rgba(168,219,181,0.18); }
.metric { padding: 16px 12px 8px; }
.metric + .metric { border-left: 1px solid rgba(168,219,181,0.18); }
.metric-label { font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.metric-val { font-family: var(--serif); font-weight: 700; color: white; font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem); line-height: 1.25; margin-top: 4px; white-space: nowrap; }
.metric-sub { font-size: 12.5px; color: var(--sage); margin-top: 2px; line-height: 1.4; }

/* ── INTERVIEW ── */
.interview-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 22px; overflow: hidden; background: var(--forest); box-shadow: var(--shadow-soft); }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-note { font-size: 13px; color: var(--text-light); margin-top: 14px; }
.interviewee-bio { margin-top: 28px; padding: 22px 24px; border-left: 3px solid var(--leaf); border-radius: 0 14px 14px 0; background: var(--pale); }
.interviewee-name { font-size: 19px; font-weight: 700; color: var(--forest); font-family: var(--serif); }
.interviewee-title { font-size: 13px; color: var(--moss); margin: 2px 0 10px; font-weight: 500; }
.interviewee-desc { font-size: 15px; color: var(--text-mid); line-height: 1.7; }

/* ── ABOUT ME ── */
.about-me-inner { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.about-me-card { background: var(--white); border: 1px solid var(--foam); border-radius: 22px; padding: 36px 28px 30px; text-align: center; position: sticky; top: calc(var(--nav-h) + var(--admin-h, 0px) + 28px); box-shadow: var(--shadow-soft); }
.about-me-avatar { width: 132px; height: 132px; border-radius: 50%; background: var(--moss); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--leaf); margin: 0 auto 20px; overflow: hidden; position: relative; display: block; }
.about-me-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-me-name { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--forest); margin-bottom: 4px; }
.about-me-title { font-size: 11.5px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--moss); margin-bottom: 6px; font-weight: 600; }
.about-me-school { font-size: 14px; color: var(--text-mid); margin-bottom: 20px; }
.about-me-tag { display: inline-block; background: var(--pale); border: 1px solid var(--foam); color: var(--moss); padding: 5px 13px; border-radius: 20px; font-size: 12px; margin: 3px; font-weight: 500; }
.about-me-body { font-size: 17px; color: var(--text-mid); line-height: 1.85; margin-bottom: 20px; max-width: 66ch; }
.about-me-highlights { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 30px; border-top: 1px solid var(--mint); }
.highlight-item { padding: 16px 18px 16px 0; border-bottom: 1px solid var(--mint); }
.highlight-item:not(:nth-child(3n+1)) { padding-left: 20px; border-left: 1px solid var(--mint); }
.highlight-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.6px; color: var(--moss); margin-bottom: 5px; font-weight: 600; }
.highlight-val { font-size: 15px; color: var(--forest); font-weight: 500; line-height: 1.5; }

/* ── CONTACT ── */
#contact { background: url('images/contours.svg') no-repeat right -280px top -300px / 760px 760px, radial-gradient(900px 480px at 110% -10%, rgba(63,165,90,0.25), transparent 60%), var(--forest); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.contact-title { font-family: var(--serif); font-weight: 700; color: white; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 22px; text-wrap: balance; }
.contact-info-column { display: grid; gap: 14px; }
.contact-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(168,219,181,0.18); border-radius: var(--radius); padding: 24px 26px; }
.contact-card-label { font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--sage); margin-bottom: 6px; font-weight: 600; }
.contact-card-name { font-size: 18px; font-weight: 700; color: white; font-family: var(--serif); margin-bottom: 2px; }
.contact-card-email { display: inline-block; font-size: 14.5px; color: var(--mint); text-decoration: none; border-bottom: 1px solid rgba(168,219,181,0.3); padding-bottom: 1px; overflow-wrap: anywhere; }
.contact-card-email:hover { color: white; border-bottom-color: white; }
.contact-card .contact-card-name + .contact-card-email { margin-bottom: 0; }
.contact-card .spaced { margin-top: 14px; }

/* ── REFERENCES ── */
.ref-list { max-width: 900px; counter-reset: ref; }
.ref-list li { font-size: 15px; line-height: 1.7; color: var(--text-mid); padding: 16px 16px 16px 2.4em; text-indent: -1.6em; border-top: 1px solid var(--foam); overflow-wrap: anywhere; scroll-margin-top: calc(var(--nav-h) + var(--admin-h, 0px) + 24px); transition: background 0.4s, box-shadow 0.4s; border-radius: 6px; }
.ref-list li:last-child { border-bottom: 1px solid var(--foam); }
.ref-list li.is-target, .ref-list li:target { background: var(--pale); box-shadow: inset 4px 0 0 var(--leaf); }
.ref-list em { font-style: italic; }
.ref-list a { overflow-wrap: anywhere; }
.ref-note { font-size: 14px; color: var(--text-light); max-width: 70ch; margin-top: 22px; }

/* ── FOOTER ── */
footer { background: url('images/contours.svg') no-repeat right -330px bottom -400px / 640px 640px, var(--forest-deep); color: var(--sage); padding: clamp(40px, 5vw, 60px) 0 24px; font-size: 14.5px; line-height: 1.7; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.footer-brand { font-size: 26px; margin-bottom: 14px; gap: 13px; }
.footer-brand .brand-mark { width: 44px; height: 44px; }
.footer-about { max-width: 36ch; color: var(--mint); opacity: 0.9; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.social a { display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px 8px 11px; border: 1px solid rgba(168,219,181,0.32); border-radius: 999px; color: white; font-weight: 600; font-size: 13.5px; line-height: 1.2; transition: background 0.2s, border-color 0.2s; }
.social a:hover { background: rgba(255,255,255,0.1); border-color: var(--mint); text-decoration: none; }
.social svg { width: 20px; height: 20px; flex: none; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(18px, 3vw, 40px); }
.footer-head { font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: white; font-weight: 600; margin-bottom: 12px; }
.footer-links { display: grid; gap: 7px; }
footer a { color: var(--mint); text-decoration: none; }
footer a:hover { color: white; text-decoration: underline; }
.footer-site { margin-top: clamp(26px, 3.4vw, 38px); padding-top: 20px; border-top: 1px solid rgba(168,219,181,0.14); font-size: 13.5px; line-height: 1.7; max-width: 62ch; }
.footer-base { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 12.5px; color: var(--sage); opacity: 0.85; max-width: calc(100% - 200px); }

/* ── ESSAY PAGE ── */
.essay-hero { background: var(--forest); color: var(--mint); padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); background-image: url('images/contours.svg'), radial-gradient(900px 500px at 100% 0%, rgba(63,165,90,0.22), transparent 60%); background-repeat: no-repeat; background-position: right -240px top -300px, 0 0; background-size: 720px 720px, auto; }
.essay-hero .back { color: var(--mint); text-decoration: none; font-size: 14px; font-weight: 600; display: flex; width: max-content; gap: 8px; align-items: center; margin-bottom: 30px; }
.essay-hero .back:hover { color: white; }
.essay-title { font-family: var(--serif); font-weight: 700; color: white; font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.7rem); line-height: 1.1; letter-spacing: -0.01em; max-width: 20ch; text-wrap: balance; }
.essay-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 36px; font-size: 14.5px; }
.essay-meta b { display: block; font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.essay-meta span { color: white; }
.essay-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding-top: clamp(40px, 6vw, 72px); padding-bottom: var(--sec-y); align-items: start; }
.essay-toc { position: sticky; top: calc(var(--nav-h) + 28px); font-size: 14px; }
.essay-toc-title { font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--moss); font-weight: 600; margin-bottom: 12px; }
.essay-toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--foam); color: var(--text-mid); text-decoration: none; line-height: 1.4; }
.essay-toc a:hover { color: var(--forest); border-left-color: var(--leaf); }
.essay-toc .btn { margin-top: 22px; border-left: 0; font-size: 13.5px; padding: 11px 18px; display: inline-flex; }
.essay-body { max-width: 720px; font-size: 18px; line-height: 1.85; color: var(--text-mid); }
.essay-body p { margin-bottom: 1.2em; }
.essay-body h2 { font-family: var(--serif); font-weight: 700; color: var(--forest); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.2; margin: 2.2em 0 0.7em; scroll-margin-top: calc(var(--nav-h) + 24px); }
.essay-body h3 { font-family: var(--serif); font-weight: 700; color: var(--forest); font-size: 1.3rem; line-height: 1.3; margin: 1.8em 0 0.6em; }
.essay-body ul { list-style: none; margin: 0 0 1.4em; display: grid; gap: 0.75em; }
.essay-body ul li { position: relative; padding-left: 26px; }
.essay-body ul li::before { content: ''; position: absolute; left: 4px; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.essay-body strong { color: var(--text-dark); font-weight: 600; }
.abstract { background: var(--pale); border-left: 4px solid var(--leaf); border-radius: 0 16px 16px 0; padding: 24px 28px; margin-bottom: 1.6em; }
.abstract p:last-child { margin-bottom: 0; }
.abstract .kw { font-size: 15px; color: var(--text-light); }
.essay-fig { margin: 1.8em 0; }
.essay-fig img { width: 100%; border-radius: 14px; border: 1px solid var(--foam); }
.essay-fig figcaption { font-size: 14px; color: var(--text-light); margin-top: 10px; line-height: 1.6; }
.essay-body .ref-list li { font-size: 15px; }
.essay-note { font-size: 14px; color: var(--text-light); border-top: 1px solid var(--foam); margin-top: 2.4em; padding-top: 1.2em; }

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  #hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 56px var(--gutter) 48px; }
  .hero-img-side { min-height: 0; height: min(92vw, 520px); }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 20px 20px 20px 0; }
  .fact + .fact { padding-left: 20px; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(168,219,181,0.16); }
  .doc-list { grid-template-columns: 1fr 1fr; }
  .follow { grid-template-columns: 1fr 1fr; }
  .follow-head { grid-column: 1 / -1; }
  .about-me-highlights { grid-template-columns: 1fr 1fr; }
  .highlight-item:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .highlight-item:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--mint); }
  .context-grid, .pond-grid, .goal-grid, .research-grid, .interview-grid, .contact-layout, .about-me-inner, .zone-wrap, .progress-split { grid-template-columns: 1fr; }
  .gallery-slider-wrap { --slide-h: min(540px, 62vw); }
  .pond-collage { max-width: 560px; }
  .about-img { aspect-ratio: 4/3; }
  .importance-grid { grid-template-columns: 1fr 1fr; }
  .season-grid { grid-template-columns: 1fr 1fr; }
  .season-grid.is-three { grid-template-columns: 1fr; }
  .season-grid.is-three .season { display: grid; grid-template-columns: minmax(0, 220px) 1fr; align-items: center; }
  .budget { grid-template-columns: 1fr; }
  .diagram-pair { grid-template-columns: 1fr; }
  .about-me-card { position: static; max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr; }
  .essay-layout { grid-template-columns: 1fr; }
  .essay-toc { position: static; display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .stat-grid, .map-legend, .follow { grid-template-columns: 1fr; }
  .importance-grid, .goal-pillars, .doc-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .importance-card, .goal-pillar, .doc { flex: 0 0 82%; scroll-snap-align: center; }
  .importance-card:hover { transform: none; }
  .importance-grid::-webkit-scrollbar, .goal-pillars::-webkit-scrollbar, .doc-list::-webkit-scrollbar { display: none; }
  .swipe-hint { display: block; }
  .note { padding: 18px 18px 16px; }
  .phases:not(.is-home) { display: none; }
  .doc { grid-template-columns: 36px 1fr; gap: 12px; padding: 16px; }
  .doc-icon { width: 36px; height: 36px; border-radius: 11px; }
  .doc-icon .ico { width: 20px; height: 20px; }
  .doc-title { font-size: 17px; }
  .doc-desc { font-size: 14px; }
  .doc-status { margin-top: 8px; }
  .progress-split { gap: 26px; }
  .map-hint { display: block; }
  .reflect-body p { font-size: 17px; }
  .season-grid.is-three .season { display: block; }
  .doc { padding: 20px; gap: 14px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 18px; }
  .phases { grid-template-columns: 1fr; gap: 0; margin: 32px 0 38px; }
  .phase { display: grid; grid-template-columns: 36px 1fr; column-gap: 16px; padding: 0 0 22px; }
  .phase::before { top: 36px; bottom: 0; left: 17px; right: auto; width: 2px; height: auto; }
  .phase-dot { grid-row: 1 / span 3; }
  .phase-state { margin-top: 0; }
  .progress-top { grid-template-columns: 1fr; gap: 14px; }
  .progress-figure { text-align: left; }
  .about-me-highlights, .pond-stats { grid-template-columns: 1fr; }
  .highlight-item:not(:nth-child(3n+1)), .highlight-item:nth-child(even), .pond-stat:nth-child(even) { padding-left: 0; border-left: 0; }
  .metrics { grid-template-columns: 1fr; }
  .metric + .metric { border-left: 0; border-top: 1px solid rgba(168,219,181,0.18); }
  .honesty { grid-template-columns: 1fr; }
  .status-card { left: 16px; bottom: 52px; width: calc(100% - 32px); }
  .hero-img-overlay { left: 16px; right: 16px; bottom: 16px; }
  .pond-collage { padding: 0 0 34px 22px; }
  .brand { font-size: 19px; gap: 9px; }
  .brand-mark { width: 30px; height: 30px; }
  .quote-band::after { background: linear-gradient(180deg, rgba(7,41,17,0.92), rgba(7,41,17,0.8)); }
  .hero-text { background-position: left -380px bottom -440px, 0 0, 0 0; }
  .essay-hero { background-position: right -330px top -380px, 0 0; }
  .gallery-slider-wrap { --slide-h: 72vw; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-base { max-width: none; }
  .edit-hint { display: none; }
  .essay-body { font-size: 17px; }
  .diagram { padding: 18px 12px; border-radius: 16px; }
  .diagram-title, .diagram-intro { padding: 0 6px; }
  .legend { padding: 4px 14px 16px; }
}
@media (max-width: 420px) {
  .season-grid { grid-template-columns: 1fr; }
  .fact { padding: 14px 14px 14px 0; }
  .fact + .fact { padding-left: 14px; }
  .fact:nth-child(3) { padding-left: 0; }
  .hero-meta-value { font-size: 13.500px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker, .status-label::before { animation: none; }
  .gallery-slider, .site-gallery-slides { transition: none; }
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print {
  .site-nav, .ticker-wrap, .edit-bar, .essay-toc, footer, .btn { display: none !important; }
  .essay-hero { background: none; color: black; padding: 0 0 20px; }
  .essay-title, .essay-meta span { color: black; }
  .essay-layout { display: block; padding: 0; }
  .essay-body { max-width: none; font-size: 12pt; }
}

/* ═══════════════ PAGES (the site is several pages, not one long scroll) ═══════════════ */
.crumbs { background: var(--paper); border-bottom: 1px solid var(--foam); font-size: 13.5px; line-height: 1.3; }
.crumbs .container { display: flex; align-items: center; gap: 10px; min-height: 46px; color: var(--text-light); }
.crumbs a { color: var(--moss); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--text-dark); font-weight: 500; }
.sec-links { margin-top: clamp(26px, 3.2vw, 38px); }
.section-body + .sec-links { margin-top: 26px; }
.sec-head .lead + .section-body { margin-top: 16px; }
.mini-title { font-family: var(--serif); font-weight: 700; font-size: 23px; line-height: 1.25; color: var(--forest); margin-top: 38px; }
.mini-title + .about-me-highlights { margin-top: 16px; }

.pager { background: var(--white); border-top: 1px solid var(--foam); }
.pager-inner { display: grid; grid-template-columns: 1fr 1fr; }
.pager-link { display: grid; gap: 2px; padding: 26px 0 28px; text-decoration: none; }
.pager-link.is-next { text-align: right; border-left: 1px solid var(--foam); }
.pager-dir { font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; color: var(--text-light); }
.pager-name { font-family: var(--serif); font-weight: 700; font-size: clamp(1.1rem, 1rem + 0.8vw, 1.55rem); line-height: 1.25; color: var(--forest); }
.pager-link:hover .pager-name { color: var(--moss); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* home: the three doors behind the project */
.behind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.behind-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--foam); border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s; }
.behind-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); border-color: var(--mint); color: inherit; }
.behind-media { position: relative; aspect-ratio: 16 / 10; background: var(--forest); overflow: hidden; }
.behind-media img { width: 100%; height: 100%; object-fit: cover; }
.behind-media.is-portrait img { object-position: center 22%; }
.behind-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: white; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.behind-play svg { width: 26px; height: 26px; fill: var(--moss); margin-left: 2px; }
.behind-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.behind-kicker { font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; color: var(--moss); }
.behind-title { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.25; color: var(--forest); margin: 5px 0 8px; }
.behind-text { font-size: 15px; line-height: 1.65; color: var(--text-mid); }
.behind-go { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--moss); }
.behind-go svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.behind-card:hover .behind-go { color: var(--forest); }
.behind-card:hover .behind-go svg { transform: translateX(3px); }

/* how it works: a contents list, then numbered diagrams in two parts */
.toc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px clamp(28px, 5vw, 72px); counter-reset: toc; border-top: 1px solid var(--foam); border-bottom: 1px solid var(--foam); padding: 24px 0 22px; scroll-margin-top: calc(var(--admin-h, 0px) + 12px); }
.toc-head { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--forest); margin-bottom: 8px; }
.toc-head span { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600; color: var(--moss); margin-bottom: 2px; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 6px 0; text-decoration: none; color: var(--text-mid); font-size: 15.5px; font-weight: 500; line-height: 1.5; }
.toc a::before { content: counter(toc); width: 26px; height: 26px; border-radius: 50%; background: var(--pale); color: var(--forest); font-size: 12.5px; font-weight: 600; display: grid; place-items: center; margin-top: -1px; transition: background 0.2s, color 0.2s; }
.toc a:hover { color: var(--forest); text-decoration: underline; }
.toc a:hover::before { background: var(--forest); color: white; }
.chapters { counter-reset: ch; }
.part { padding-top: clamp(40px, 5vw, 64px); }
.part-head { max-width: 760px; margin-bottom: 22px; }
.part-head .section-eyebrow { margin-bottom: 8px; }
.part-title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.2rem); line-height: 1.18; color: var(--forest); }
.part-intro { margin-top: 12px; font-size: 17px; line-height: 1.8; color: var(--text-mid); max-width: 62ch; }
.chapter { counter-increment: ch; scroll-margin-top: calc(var(--admin-h, 0px) + 44px); }
.chapter + .chapter { margin-top: 24px; }
.chapter .diagram-title { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: center; margin-bottom: 10px; }
.chapter .diagram-title::before { content: counter(ch); width: 38px; height: 38px; border-radius: 50%; background: var(--forest); color: white; font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1; display: grid; place-items: center; }
.chapter .diagram-intro { margin-left: 52px; }
.chapter-up { display: inline-block; margin: 10px 0 0 6px; font-size: 13.5px; font-weight: 600; color: var(--moss); text-decoration: none; }
.chapter-up:hover { text-decoration: underline; }
.chapters > .honesty { margin-top: clamp(36px, 4.5vw, 56px); }
/* slim bar that follows the reader through the diagrams */
.chapter-bar { position: sticky; top: calc(var(--nav-h) + var(--admin-h, 0px) + 1px); height: 0; z-index: 60; }
.chapter-bar-inner { background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--foam); box-shadow: 0 10px 24px -20px rgba(7,41,17,0.5); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; }
.chapter-bar.is-on .chapter-bar-inner { visibility: visible; opacity: 1; transform: none; }
.chapter-bar .container { display: flex; align-items: center; gap: 16px; min-height: 48px; }
.chapter-bar-top { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600; color: var(--moss); text-decoration: none; }
.chapter-bar-top:hover { text-decoration: underline; }
.chapter-bar ol { display: flex; gap: 6px; }
.chapter-bar ol a { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--pale); color: var(--forest); font-size: 12.5px; font-weight: 600; text-decoration: none; transition: background 0.2s, color 0.2s; }
.chapter-bar ol a:hover { background: var(--foam); }
.chapter-bar ol a[aria-current] { background: var(--forest); color: white; }
.chapter-bar li:nth-child(4) { margin-left: 10px; }
.chapter-bar-title { font-family: var(--serif); font-weight: 700; font-size: 16px; color: var(--forest); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

@media (max-width: 980px) {
  .behind-grid { grid-template-columns: 1fr; gap: 14px; }
  .behind-card { flex-direction: row; }
  .behind-media { flex: 0 0 clamp(120px, 32%, 260px); aspect-ratio: auto; }
  .behind-play { width: 44px; height: 44px; }
  .behind-play svg { width: 20px; height: 20px; }
}
@media (max-width: 640px) {
  .crumbs .container { min-height: 42px; }
  .toc { grid-template-columns: 1fr; padding: 18px 0 16px; }
  .chapter .diagram-title { grid-template-columns: 32px 1fr; gap: 10px; }
  .chapter .diagram-title::before { width: 32px; height: 32px; font-size: 14px; }
  .chapter .diagram-intro { margin-left: 0; }
  .chapter-bar .container { gap: 10px; }
  .chapter-bar-top { display: none; }
  .chapter-bar ol { gap: 4px; }
  .chapter-bar ol a { width: 26px; height: 26px; }
  .chapter-bar li:nth-child(4) { margin-left: 6px; }
  .chapter-bar-title { font-size: 14px; }
  .behind-body { padding: 16px 16px 18px; }
  .behind-title { font-size: 18px; }
  .behind-text { font-size: 14px; line-height: 1.55; }
  .behind-go { padding-top: 12px; font-size: 14px; }
  .pager-link { padding: 20px 0 22px; }
  .pager-link.is-next { padding-left: 14px; }
  .pager-link.is-prev { padding-right: 14px; }
  .mini-title { font-size: 21px; }
  .quote-band .carson::before { left: 0; }
}
@media print { .crumbs, .pager, .chapter-bar, .chapter-up { display: none !important; } }

/* ═══════════════ OCTOBER 2026: drawn map, layout plan, request form, references on every page ═══════════════ */
.crumbs-refs { margin-left: auto; font-weight: 600; }
.sec > .container > .pond-mini-gallery { margin-top: 0; }
.map-frame.is-drawn { background: #eef0e2; }
.map-frame.is-drawn img { border-radius: 0; }
.map-key { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: 13.5px; color: var(--text-mid); }
.map-key li { display: inline-flex; align-items: center; gap: 7px; }
.map-key i { width: 16px; height: 16px; border-radius: 4px; border: 1px solid rgba(13,61,26,0.18); flex: none; }
.map-key i + i { margin-left: -3px; }
.map-key i.is-village { background: #e8dfcd; background-image: radial-gradient(#cbbd9f 1.2px, transparent 1.3px); background-size: 5px 5px; }
.map-key i.is-plot { background: #f6f3e6; border: 1.5px dashed var(--forest); }
.plan-figure { margin: 0; }
.plan-figure > a, .plan-figure .map-scroll { display: block; border: 1px solid #c9cdc4; border-radius: 4px; overflow: hidden; background: white; box-shadow: var(--shadow-soft); }
.plan-figure .map-scroll { overflow-x: auto; }
.plan-figure .map-scroll img { min-width: 760px; }
.plan-figure.is-section { margin-top: clamp(30px, 4vw, 46px); }
.plan-list.is-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px clamp(22px, 3vw, 44px); }
.plan-figure img { width: 100%; height: auto; }
.mini-title.is-first { margin-top: 0; }
.plan-list { margin-top: 14px; display: grid; gap: 12px; }
.plan-list li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.65; color: var(--text-mid); }
.plan-list li::before { content: ''; position: absolute; left: 2px; top: 0.66em; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }
.plan-list strong { color: var(--text-dark); font-weight: 600; }

.doc-request { margin-top: clamp(32px, 4vw, 48px); padding: clamp(22px, 3vw, 36px); background: var(--white); border: 1px solid var(--foam); border-radius: 22px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(22px, 4vw, 56px); align-items: start; scroll-margin-top: 20px; }
.doc-request-head p { margin-top: 10px; font-size: 15.5px; line-height: 1.7; color: var(--text-mid); max-width: 40ch; }
.doc-request-head .req-alt { font-size: 14px; color: var(--text-light); }
.req-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.req-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-dark); letter-spacing: 0.1px; }
.req-form .is-wide { grid-column: 1 / -1; }
.req-form input, .req-form select, .req-form textarea { font: 400 16px/1.4 var(--sans); color: var(--text-dark); background: var(--paper); border: 1.5px solid var(--foam); border-radius: 10px; padding: 11px 13px; width: 100%; min-width: 0; }
.req-form textarea { resize: vertical; min-height: 104px; }
.req-form input:focus, .req-form select:focus, .req-form textarea:focus { outline: none; border-color: var(--leaf); background: var(--white); box-shadow: 0 0 0 3px rgba(63,165,90,0.18); }
.req-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.req-actions .btn { font-family: inherit; }
.req-note { flex: 1 1 240px; font-size: 13px; line-height: 1.55; color: var(--text-light); }
.req-note.is-sent { color: var(--moss); font-weight: 500; }

.page-refs-wrap { background: var(--paper); border-top: 1px solid var(--foam); padding: 20px 0; scroll-margin-top: 0; }
details.page-refs summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 14px; padding: 6px 0; }
details.page-refs summary::-webkit-details-marker { display: none; }
.page-refs-title { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--forest); }
.page-refs-count { font-size: 13px; color: var(--text-light); }
details.page-refs summary::after { content: ''; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--moss); border-bottom: 2px solid var(--moss); transform: rotate(45deg) translateY(-3px); transition: transform 0.2s; }
details.page-refs[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
details.page-refs summary:hover .page-refs-title { color: var(--moss); }
details.page-refs[open] summary { margin-bottom: 14px; }
details.page-refs .ref-note { margin: 18px 0 8px; }
html:not(.js) details.page-refs summary::after { display: none; }

@media (max-width: 980px) {
  .doc-request { grid-template-columns: 1fr; }
  .plan-list.is-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .req-form { grid-template-columns: 1fr; }
  .plan-list.is-cols { grid-template-columns: 1fr; }
  .doc-request { border-radius: 16px; }
  .page-refs-title { font-size: 18px; }
}
@media print { .crumbs-refs, .req-form { display: none !important; } details.page-refs > * { display: block; } }

/* pages where the menu sits outside <main> (gallery, essay) */
body > .site-nav { margin-top: var(--admin-h, 0px); }
body > .site-nav + main { padding-top: 0; }
