/* ============================================
   //dzian — loud typographic one-pager
   Giant mixed-style display type, full-bleed
   deep-green color blocks with tone-on-tone
   pattern, firefly-gold pop. Sage identity.
   (Dark IDE experience lives at /dev.html)
   ============================================ */

:root {
  --bg: #FAFAF7;
  --card: #FFFFFF;
  --ink: #1F2A22;
  --ink-soft: #4A5A4E;
  --ink-muted: #79857C;
  --green: #344E41;
  --green-mid: #3A5A40;
  --sage: #5C7650;
  --sage-light: #A3B18A;
  --gold: #FFD24A;
  --gold-soft: #E8C87A;
  --line: #E3E6D9;
  --radius: 12px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'SF Mono', 'Fira Code', monospace;
}

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

html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) {
  html:focus-within { scroll-behavior: smooth; }
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

a { color: var(--sage); }

/* Accessibility */
.skip-link {
  position: absolute; left: 8px; top: -56px; z-index: 1001;
  padding: 10px 16px; background: var(--green); color: #fff;
  border-radius: var(--radius); text-decoration: none; transition: top 0.2s ease;
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }

/* Triangle cursor — follows the mouse, rotates toward travel direction.
   difference blending inverts it against whatever color it crosses:
   dark on the cream sections, light on the green blocks. */
.cursor-tri {
  position: fixed; top: 0; left: 0; width: 22px; height: 22px;
  z-index: 9999; pointer-events: none; opacity: 0;
  transition: opacity 0.2s ease; will-change: transform;
  display: none;
  mix-blend-mode: difference;
}
.cursor-tri svg { width: 100%; height: 100%; display: block; }
.cursor-tri polygon { fill: #F2EFE6; }
@media (pointer: fine) {
  .cursor-tri { display: block; }
  body, a, button, summary, .linklike { cursor: none; }
  input, textarea { cursor: text; }
}

/* Announcement bar */
.annbar {
  position: relative; background: var(--green-mid); color: #fff;
  text-align: center; padding: 9px 48px;
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.annbar a { color: var(--gold); }
.annbar-x {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,0.7);
  cursor: pointer; font-size: 0.9rem; padding: 6px 10px;
}
.annbar-x:hover { color: #fff; }

/* Top bar — sticky, anchored by a hairline, wordmark with weight */
.top {
  position: sticky; top: 0; z-index: 90;
  background: rgba(250, 250, 247, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
.brand {
  display: inline-flex; align-items: baseline; gap: 4px;
  color: var(--ink); text-decoration: none;
  font-weight: 900; font-size: 1.5rem; letter-spacing: -0.03em;
}
.brand-sl { font-family: var(--mono); font-weight: 700; font-size: 1rem; color: var(--sage); }
.topnav { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.topnav a {
  color: var(--ink); text-decoration: none;
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 8px 0;
}
.topnav a:hover { color: var(--sage); }
.topnav a.active { color: var(--sage); }

/* Full-width bar — logo hugs the left edge, links hug the right */
.top .top-row { max-width: none; padding-left: 36px; padding-right: 36px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; min-height: 46px; border-radius: 999px;
  font-size: 0.95rem; font-weight: 700; text-decoration: none;
  border: none; cursor: pointer; font-family: var(--font);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghostlight { background: none; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-ghostlight:hover { border-color: #fff; }

/* ============ STAGE — pinned scroll scene (hero -> intro in one shot) ======
   Scroll drives: cream floods to green, the title dissolves into the ground,
   the pine grows + slides aside, the intro arrives. JS writes the values;
   CSS only defines the resting state so it degrades gracefully. */
.stage { position: relative; height: 380vh; }
.stage-pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

/* The brand ground that floods in (same tile as .blockgreen so they fuse) */
.stage-bg {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cg fill='none' stroke='%232C4237' stroke-width='2'%3E%3Cpath d='M14 34 L24 14 L34 34 Z'/%3E%3C/g%3E%3Ctext x='56' y='78' font-family='monospace' font-size='20' font-weight='700' fill='%232C4237'%3E//%3C/text%3E%3C/svg%3E");
  will-change: opacity;
}

.stage-title {
  position: relative; z-index: 2; text-align: center; padding: 0 16px;
  font-size: clamp(3.6rem, 15vw, 13.5rem);
  line-height: 0.95; letter-spacing: -0.03em;
  text-transform: uppercase; color: var(--ink);
  will-change: opacity, transform;
}
.h-solid { font-weight: 900; }
.h-italic { font-style: italic; font-weight: 300; color: var(--sage); text-transform: lowercase; }
.h-outline {
  font-weight: 900; color: transparent;
  -webkit-text-stroke: 2.5px var(--ink);
}
@supports not (-webkit-text-stroke: 1px black) {
  .h-outline { color: var(--sage-light); }
}

/* The pine fills the whole pinned viewport. This MUST be full-bleed: the
   camera dollies in until the tree is larger than the frame, and if the
   element is smaller than the screen the model gets sliced off at the element
   edge — a hard rectangular cut down the side and bottom of the pine.
   Its on-screen size comes from the camera-orbit radius, never a CSS scale,
   so it stays sharp instead of being an upscaled raster. */
.stage-tree {
  position: absolute; z-index: 1;
  inset: 0; width: 100%; height: 100%;
  pointer-events: none; will-change: transform;
}
.stage-tree model-viewer {
  width: 100%; height: 100%;
  background: transparent; --poster-color: transparent;
  --progress-bar-color: transparent; --progress-bar-height: 0px;
}

/* Intro copy — arrives as the ground turns green */
.stage-intro {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center;
  opacity: 0; pointer-events: none;
  will-change: opacity, transform;
}
.stage-intro .bg-head { margin-bottom: 1.2rem; }
.stage-intro .bg-body { max-width: 520px; margin-bottom: 1.2rem; }
.stage-intro .bg-tags { margin-bottom: 1.4rem; }

.stage-foot {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3;
  text-align: center; padding: 0 24px;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted);
  transition: color 0.4s ease;
}
.stage.is-dark .stage-foot { color: rgba(255, 255, 255, 0.5); }

/* ---- Page stages ----
   The scroll-3D beats after the hero: the trail (#work), the award
   (#background) and the camp (#contact). All three share this shell and the one
   driver in js/home.js.

   Each carries the SAME block class as the section it introduces (.blocklight
   or .blockgreen) so a stage and its section read as one continuous field
   rather than two stacked panels — the pasted-panel look is exactly what killed
   the earlier per-section 3D attempt.

   Same rules as the hero: the 3D layer only ever SLIDES (never CSS-scaled, or
   it goes soft), and the camera never closes past 100% (see js/home.js). */
.pstage { position: relative; height: 210vh; padding: 0; }
.pstage-pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center;
}
.pstage-3d {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; will-change: transform;
}
.pstage-3d model-viewer {
  width: 100%; height: 100%;
  background: transparent; --poster-color: transparent;
  --progress-bar-color: transparent; --progress-bar-height: 0px;
}
.pstage-copy { position: relative; z-index: 2; max-width: 620px; }
.pstage-copy .sec-label { display: inline-block; margin-bottom: 1rem; }
.pstage-copy .bg-body,
.pstage-copy .light-body { max-width: 470px; margin-top: 1.1rem; }
/* Cream stages: the copy is ink on cream, so it needs the light heading colour */
.blocklight.pstage .pstage-copy { color: var(--ink); }

@media (max-width: 720px) {
  /* Phones stack it: the scene drops below the copy instead of sitting behind
     it, because body text over a 3D scene on a narrow screen is unreadable. */
  .pstage { height: 175vh; }
  .pstage-pin { align-items: flex-start; padding-top: 96px; }
  .pstage-copy { max-width: none; }
}

/* Nav flips to light while the green ground is up */
.top.on-dark {
  background: transparent; border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.top.on-dark .brand { color: #fff; }
.top.on-dark .brand-sl { color: var(--gold); }
.top.on-dark .topnav a { color: rgba(255, 255, 255, 0.85); }
.top.on-dark .topnav a:hover,
.top.on-dark .topnav a.active { color: var(--gold); }

/* No JS / reduced motion: unpin and show everything stacked */
@media (prefers-reduced-motion: reduce) {
  .stage { height: auto; }
  .stage-pin { position: static; height: auto; flex-direction: column; padding: 60px 0; }
  .stage-bg { display: none; }
  .stage-intro { position: static; opacity: 1; pointer-events: auto; padding-top: 48px; }
  .stage-intro .bg-head, .stage-intro .bg-body { color: var(--ink); }
  .stage-intro .bg-tags { color: var(--sage); }
  .stage-intro .bg-solid { color: var(--sage); }
  .stage-intro .bg-italic { color: var(--green); }
  .stage-foot { position: static; margin-top: 32px; }
}
html:not(.js) .stage { height: auto; }
html:not(.js) .stage-pin { position: static; height: auto; flex-direction: column; padding: 60px 0; }
html:not(.js) .stage-bg { display: none; }
html:not(.js) .stage-intro { position: static; opacity: 1; pointer-events: auto; padding-top: 40px; }
html:not(.js) .stage-foot { position: static; margin-top: 28px; }
/* Without the green ground these would be gold/white on cream — unreadable. */
html:not(.js) .stage-intro .bg-head,
html:not(.js) .stage-intro .bg-body { color: var(--ink); }
html:not(.js) .stage-intro .bg-solid { color: var(--sage); }
html:not(.js) .stage-intro .bg-italic { color: var(--green); }
html:not(.js) .stage-intro .bg-tags { color: var(--sage); }

/* Proof strip continues the green out of the stage */
.blockproof { padding-top: 72px; }

/* ============ GREEN COLOR BLOCKS ============ */
.blockgreen {
  background-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cg fill='none' stroke='%232C4237' stroke-width='2'%3E%3Cpath d='M14 34 L24 14 L34 34 Z'/%3E%3C/g%3E%3Ctext x='56' y='78' font-family='monospace' font-size='20' font-weight='700' fill='%232C4237'%3E//%3C/text%3E%3C/svg%3E");
  color: #fff;
  padding: 96px 0;
}
.bg-head {
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: 1.0; letter-spacing: -0.02em;
  text-transform: uppercase; margin-bottom: 1.6rem;
}
.bg-solid { font-weight: 900; color: var(--gold); }
.bg-italic { font-style: italic; font-weight: 900; color: var(--gold-soft); }
.bg-body {
  font-size: 1.12rem; font-weight: 500; color: #fff;
  max-width: 620px; margin-bottom: 2rem;
}
.bg-tags {
  font-family: var(--mono); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
  max-width: 720px; line-height: 2.1;
}
.bg-tags span { white-space: nowrap; }
.bg-proof {
  margin-top: 2.6rem; font-size: 0.88rem; color: rgba(255,255,255,0.65);
}
.bg-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.bg-stats { display: flex; flex-wrap: wrap; gap: 24px 48px; margin-top: 2.6rem; }
.bg-stats strong {
  display: block; font-size: 2.4rem; font-weight: 900; line-height: 1;
  color: var(--gold); letter-spacing: -0.02em;
}
.bg-stats span { font-size: 0.85rem; color: rgba(255,255,255,0.65); max-width: 200px; display: inline-block; margin-top: 6px; }
.bg-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.bg-photo-wrap { margin: 0; }
.bg-photo {
  width: clamp(180px, 22vw, 260px); height: auto;
  border-radius: 22px; transform: rotate(-2.5deg);
  border: 5px solid rgba(250, 250, 247, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.bg-photo-cap {
  margin-top: 14px; font-family: var(--mono); font-size: 0.74rem;
  color: rgba(255,255,255,0.55); text-align: center; max-width: 260px;
}

/* ============ LIGHT BLOCKS ============ */
.blocklight { background: var(--bg); padding: 88px 0; }
.blockfaq { padding-top: 0; }

.sec-label {
  display: block; font-family: var(--mono);
  font-size: 0.82rem; font-weight: 700; color: var(--sage);
  letter-spacing: 0.08em; margin-bottom: 0.8rem;
}
.sec-label-gold { color: var(--gold); }

.light-head {
  font-size: clamp(2.2rem, 6.5vw, 4rem);
  font-weight: 900; line-height: 1.02; letter-spacing: -0.02em;
  text-transform: uppercase; color: var(--ink);
  margin-bottom: 2rem;
}
.light-head em { font-style: italic; color: var(--sage); }

/* ---- "What I build" — the client's own words ----
   Sits where a decorative 3D band used to. A client scrolling this far wants to
   recognise their own situation, so the quote leads and the service label
   follows; each row links to the full entry on services.html. */
.blockneeds { padding-bottom: 64px; }
.needgrid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
  background: var(--line); border: 1px solid var(--line);
}
.needgrid a {
  display: flex; flex-direction: column; gap: 8px; height: 100%;
  padding: 26px 24px; background: var(--bg);
  text-decoration: none; color: inherit;
  transition: background 0.25s ease, transform 0.25s ease;
}
.needgrid a:hover { background: #F1F3EB; transform: translateY(-2px); }
.ng-q {
  font-size: 1.12rem; font-weight: 600; line-height: 1.3;
  color: var(--ink); letter-spacing: -0.01em;
}
.ng-a {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
  color: var(--sage); letter-spacing: 0.02em;
}
.needgrid-foot { margin-top: 28px; }
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover { background: var(--green); }

@media (max-width: 720px) {
  .needgrid { grid-template-columns: 1fr; }
  .needgrid a { padding: 20px 18px; }
}

/* (The old .wrow list — 92px thumbnail, one line of text — was replaced by the
   .wcard showcase below. No page uses those classes any more.) */

/* ---- Work showcase ----
   The three live systems are the page's hardest proof: a client can click them
   and watch them run. They previously sat in 92px thumbnails, so the evidence
   was there but whispered. Big screenshot, one visible claim, one obvious way in.
   3D was considered here and rejected — it would compete with the real thing. */
.wcards { display: grid; gap: 28px; margin-top: 8px; }
.wcard {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: #fff; text-decoration: none; color: inherit;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.3s ease, border-color 0.3s ease;
}
.wcard:hover {
  transform: translateY(-4px); border-color: var(--sage);
  box-shadow: 0 18px 40px -22px rgba(31, 42, 34, 0.45);
}
/* The cards also carry .reveal, and `.js .reveal.in` pins transform to
   translateY(0) at higher specificity AND later in this file — so without this
   the hover lift silently does nothing once a card has revealed. */
.js .wcard.reveal.in:hover { transform: translateY(-4px); }
/* Every other card leads with the copy, so six identical rows don't march. */
.wcard:nth-child(even) .wshot { order: 2; }
.wshot {
  display: block; overflow: hidden; background: var(--green);
  min-height: 260px; position: relative;
}
.wshot img {
  width: 100%; height: 100%; min-height: 260px;
  object-fit: cover; object-position: top center;
  display: block; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wcard:hover .wshot img { transform: scale(1.035); }
.wbody { display: flex; flex-direction: column; padding: 32px 34px; gap: 4px; }
.wtop { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.wlive {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--sage);
}
.wlive::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage); box-shadow: 0 0 0 0 rgba(92, 118, 80, 0.6);
}
.wrole {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted);
}
.wname {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 900;
  letter-spacing: -0.02em; text-transform: uppercase; color: var(--ink);
  line-height: 1.02;
}
.wdesc { font-size: 1rem; color: var(--ink-soft); margin-top: 10px; line-height: 1.5; }
.wstat {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.04em; color: var(--green);
}
.wgo {
  margin-top: auto; padding-top: 20px;
  font-family: var(--mono); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap 0.2s ease;
}
.wcard:hover .wgo { gap: 14px; }

/* Not live — quieter on purpose. */
.wmore-head {
  margin-top: 56px; margin-bottom: 18px;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-muted);
}
.wmore { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wmini { background: var(--bg); padding: 22px 20px; }
.wmini-name {
  display: block; font-size: 1.05rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.01em; color: var(--ink);
}
.wmini-name em {
  font-family: var(--mono); font-style: normal; font-size: 0.64rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted);
  margin-left: 8px; vertical-align: middle;
}
.wmini p { font-size: 0.9rem; color: var(--ink-soft); margin-top: 8px; line-height: 1.5; }

@media (max-width: 860px) {
  .wcard { grid-template-columns: 1fr; }
  .wcard:nth-child(even) .wshot { order: 0; }
  .wshot, .wshot img { min-height: 200px; }
  .wbody { padding: 24px 22px; }
  .wmore { grid-template-columns: 1fr; }
}

/* Experience rows — plain-language background */
.xrow {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.xrow:last-of-type { border-bottom: 1px solid var(--line); }
.xrow h3 { font-size: 1.08rem; font-weight: 800; color: var(--ink); }
.xrow .org { color: var(--sage); font-weight: 600; }
.xrow p { font-size: 0.93rem; color: var(--ink-soft); margin-top: 3px; max-width: 640px; }
/* Services page — needs-first numbered entries */
.svc-head { padding-bottom: 0; }
.svc-intro { color: var(--ink-soft); max-width: 620px; margin-top: -0.6rem; }
.svc-list { padding-top: 40px; }
.need {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  max-width: 720px;
}
.need-num {
  display: block; font-family: var(--mono); font-size: 0.85rem; font-weight: 700;
  color: var(--sage); margin-bottom: 10px;
}
.need h3 {
  font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 900;
  letter-spacing: -0.02em; color: var(--ink); line-height: 1.15;
}
.need-sub {
  font-family: var(--mono); font-size: 0.74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted);
  margin: 8px 0 14px;
}
.need > p { color: var(--ink-soft); font-size: 0.98rem; }
.need-list {
  list-style: none; margin: 16px 0 0; padding: 0;
}
.need-list li {
  position: relative; padding-left: 22px; margin-bottom: 7px;
  color: var(--ink-soft); font-size: 0.95rem;
}
.need-list li::before {
  content: "//"; position: absolute; left: 0;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 700;
  color: var(--sage); top: 3px;
}
.need-proof {
  margin-top: 16px; font-size: 0.92rem; color: var(--ink-soft);
}
.need-proof a { color: var(--green); font-weight: 700; }

.pnum {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 700;
  color: var(--sage); margin-right: 8px; letter-spacing: 0.04em;
}
.x-date {
  flex-shrink: 0; font-family: var(--mono); font-size: 0.76rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted);
  padding-top: 5px;
}
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.8rem; }
.creds span {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-size: 0.88rem; font-weight: 600; color: var(--ink-soft);
}

/* FAQ */
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: 1.02rem; color: var(--ink);
  padding: 18px 36px 18px 0; list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--sage); font-weight: 700; font-size: 1.3rem;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 18px; color: var(--ink-soft); font-size: 0.96rem; max-width: 600px; }

/* ============ CONTACT (green block) ============ */
.blockcontact .bg-head { font-size: clamp(2.2rem, 6.5vw, 4rem); }
.contact-form { display: flex; flex-direction: column; gap: 6px; }
.contact-form label {
  font-weight: 700; font-size: 0.85rem; color: var(--gold-soft);
  text-transform: uppercase; letter-spacing: 0.06em; margin-top: 16px;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font); font-size: 16px; color: var(--ink);
  background: #fff; border: none; border-radius: var(--radius);
  padding: 14px 16px; width: 100%;
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.form-result { min-height: 1.4em; font-size: 0.95rem; font-weight: 700; margin-top: 8px; color: #fff; }
.form-result.ok { color: var(--gold); }
.form-result.err { color: #FFB4A8; }
.contact-alt { margin-top: 1.6rem; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.contact-alt a { color: #fff; }

/* Footer — editorial label/value rows + giant cropped wordmark */
.bigfoot { background: var(--bg); padding-top: 56px; overflow: hidden; }

.bf-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding-bottom: 32px;
}
.bf-label {
  display: block; font-family: var(--mono); font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--ink-muted);
  margin-bottom: 8px;
}
.bf-value { font-size: 1.1rem; color: var(--ink); text-decoration: none; }
a.bf-value:hover { color: var(--sage); }
.bf-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: #4CAF50; margin-right: 6px;
}

.bf-tag {
  display: flex; align-items: center; gap: 22px;
  border-top: 1px solid var(--line); padding: 26px 0;
  color: var(--sage); font-size: 1.02rem; text-align: center;
}
.bf-tag em { white-space: nowrap; }
.bf-dash { flex: 1; border-top: 2px dashed var(--line); }

.bf-bar {
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line); padding: 18px 0;
  font-family: var(--mono); font-size: 0.74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft);
}
.bf-top { color: var(--ink-soft); text-decoration: none; }
.bf-top:hover { color: var(--green); }

.bf-row {
  display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: baseline;
  border-top: 1px solid var(--line); padding: 16px 0;
}
.bf-row .bf-label { margin-bottom: 0; }
.bf-cred { font-size: 0.92rem; color: var(--ink-soft); }
.bf-cred a { color: var(--ink); }
.bf-cred a:hover { color: var(--sage); }
.linklike {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--font); font-size: 0.92rem; color: var(--ink);
}
.linklike:hover { color: var(--sage); }

.bf-markwrap { overflow: hidden; margin-top: 20px; max-height: 0.62em; font-size: clamp(6rem, 21vw, 15rem); }
.bf-mark {
  display: block; font-weight: 900; letter-spacing: -0.05em; line-height: 0.9;
  color: var(--ink); text-align: center; white-space: nowrap;
}
.bf-mark-dot { color: var(--sage); }

/* Reveal on scroll (JS adds .in; no-JS shows everything) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .js .reveal.in { opacity: 1; transform: translateY(0); }
}

/* Small screens */
@media (max-width: 720px) {
  /* Shorter pin so the scene doesn't overstay on a phone */
  .stage { height: 300vh; }
  /* stays full-bleed on phones too — a shorter box would clip the pine
     exactly the same way at the end of the dolly */
  .stage-foot { letter-spacing: 0.1em; bottom: 18px; }
  .stage-intro { align-items: center; }
  .stage-intro .bg-body { font-size: 0.98rem; }
  .stage-intro .bg-tags { font-size: 0.72rem; line-height: 1.9; }
  .top .top-row { padding-left: 18px; padding-right: 18px; }
  .blockgreen { padding: 64px 0; }
  .blocklight { padding: 60px 0; }
  .wrow { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; }
  .wrow-txt { flex: 1 1 55%; }
  .wthumb { width: 68px; height: 68px; }
  .wrow-go { flex-basis: 100%; }
  .xrow { flex-direction: column; gap: 4px; }
  .x-date { padding-top: 0; order: -1; }
  .bg-grid { grid-template-columns: 1fr; gap: 28px; }
  .bg-photo-wrap { justify-self: center; }
  .bf-grid { grid-template-columns: 1fr; gap: 20px; padding-bottom: 30px; }
  .bf-row { grid-template-columns: 1fr; gap: 4px; }
  .bf-bar { justify-content: flex-start; }
  .topnav { gap: 14px; }
  .topnav a { font-size: 0.72rem; letter-spacing: 0.06em; }
  .annbar { font-size: 0.7rem; padding: 8px 40px; }
}

/* Sub-label for a grouped block inside an existing section */
.sec-label-sub { margin-top: 2.4rem; }

/* ---- Scroll-out to the forest ----
   Shown only at the very bottom of the page. Fires on deliberate continued
   scrolling, never on a single flick or a phone's rubber-band bounce — the bar
   is the contract: nothing happens until it fills. */
.scrollout {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: flex; justify-content: center;
  padding: 0 20px 22px;
  pointer-events: none;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.scrollout.on { opacity: 1; transform: translateY(0); }
.so-inner {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 20px; border-radius: 999px;
  background: rgba(31, 42, 34, 0.92); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px -14px rgba(31, 42, 34, 0.7);
}
.so-pine { width: 22px; height: auto; display: block; opacity: 0.9; }
.so-text {
  font-family: var(--mono); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.so-text em { font-style: normal; color: var(--gold); }
/* The hand-off: the bar completed, so commit visually before navigating. */
.scrollout.go { transform: translateY(0) scale(1.04); }
.scrollout.go .so-inner { background: var(--green); }

@media (max-width: 520px) {
  .so-text { font-size: 0.66rem; }
}
@media (prefers-reduced-motion: reduce) {
  .scrollout { transition: opacity 0.2s ease; transform: none; }
  .scrollout.on { transform: none; }
}

/* The forest curtain — overscroll drags this up over the page.
   JS writes the transform every frame while you push, so the only transition
   here is the release: either it springs back or it completes the journey. */
.fcurtain {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; background: #0C1210; color: #DAD7CD;
  transform: translate3d(0, 100%, 0);
  will-change: transform; pointer-events: none;
  visibility: hidden;
}
.fcurtain.live { visibility: visible; }
.fcurtain.snap { transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1); }
.fcurtain.commit { transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1); }
.fc-pine {
  width: clamp(52px, 7vw, 82px); height: auto; display: block;
  opacity: 0.35; transition: opacity 0.3s ease, transform 0.3s ease;
}
.fcurtain.ready .fc-pine { opacity: 1; transform: translateY(-4px); }
.fc-label {
  font-family: var(--mono); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: #6B8F71;
  transition: color 0.3s ease;
}
.fcurtain.ready .fc-label { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .fcurtain.snap, .fcurtain.commit { transition: transform 0.15s linear; }
  .fc-pine, .fc-label { transition: none; }
}
