/* =====================================================
   THE GROWTH 001 — EXPLORATIONS IV — base.css
   ----------------------------------------------------
   ONE base, FIVE variants. The base is built from the
   best of round 3:
     - Linen / pinboard background (Bulletin)
     - Solarpunk's typographic system
     - Frame-of-Life's perimeter vine canvas (always on)
     - Bulletin's horizontal CA divider strips (always on)
     - Bulletin's tilted contrast-box "001" badge
   Variants only override: linen tone, vine palette, accent
   ink, contrast-box ink, mixed-type slot details.
   ===================================================== */

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

@property --cab { syntax: '<length>'; inherits: true; initial-value: 0px; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--page-bg, #e8d9b8);
  color: var(--page-fg, #2a2014);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html { overflow-x: clip; }
body { overflow-x: clip; }

html { scroll-behavior: smooth; }
body { min-height: 100vh; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:root {
  --page-bg: #e8d9b8;
  --page-fg: #2a2014;
  --rule:    #b09870;
  --linen-warp: rgba(120, 88, 38, 0.05);
  --linen-weft: rgba(90, 64, 22, 0.04);
  --gold:    #6e4a1c;
  --umber:   #2a201a;
  --cream:   #fbf3df;
  --vine-deep: #1c2410;
  --moss:    #4a6b3a;
  --olive:   #5a6038;
  --magenta: #a85a78;
  --peach:   #f3a872;
  --polaroid-bg: #fbf3df;
  /* contrast-box "001" badge — variant overrides */
  --badge-ink: #2a201a;
  --badge-paper: #fbf3df;
  --content-max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

/* =====================================================
   GLOBAL VINE FRAME CANVAS — always on
   ===================================================== */

/* Lives in document space — top vine at top of page, bottom vine at
   very bottom, sides run the full document length. Scrolls with the
   page. Height is set in JS to document scrollHeight. */
#vine-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  transition: opacity 380ms ease-out;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
html, body { position: relative; }

/* =====================================================
   PAGE BACKGROUND — warm linen weave + paper grain
   Variants override --page-bg only.
   ===================================================== */

body {
  background:
    repeating-linear-gradient(90deg, var(--linen-warp) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(0deg,  var(--linen-weft) 0 1px, transparent 1px 6px),
    radial-gradient(ellipse 90% 60% at 50% -2%, rgba(255, 232, 178, 0.26) 0%, transparent 62%),
    var(--page-bg);
  background-attachment: fixed, fixed, fixed, fixed;
}

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

/* =====================================================
   TAB BAR — warm chrome
   ===================================================== */

.explorer-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 243, 223, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  color: #2a201a;
  border-bottom: 1px solid rgba(120, 88, 38, 0.20);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.explorer-bar__inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: grid;
  grid-template-columns: minmax(140px, auto) 1fr auto;
  align-items: center;
  gap: 16px;
}
.explorer-bar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.explorer-bar__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #d6e6b4, #5a8a3a 55%, #1c2410 100%);
  box-shadow: 0 0 12px rgba(90, 138, 58, 0.50);
  display: inline-block;
}
.explorer-bar__title { font-weight: 500; font-size: 11px; text-transform: uppercase; }
.explorer-bar__title em { font-style: normal; opacity: 0.55; padding: 0 6px; }

.explorer-tabs {
  display: flex;
  gap: 2px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
}
.explorer-tabs::-webkit-scrollbar { display: none; }

.explorer-tab {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 2px;
  color: rgba(42, 32, 20, 0.65);
  border: 1px solid transparent;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
  font-feature-settings: "tnum" 1;
}
.explorer-tab:hover { color: #2a201a; background: rgba(120, 88, 38, 0.10); }
.explorer-tab.is-active {
  color: #fbf3df;
  background: linear-gradient(180deg, #4a6b3a, #1c2410);
  border-color: #1c2410;
}
.explorer-tab__num   { font-size: 10px; opacity: 0.7; }
.explorer-tab.is-active .explorer-tab__num { opacity: 0.95; }
.explorer-tab__label { font-size: 11px; }
.explorer-bar__meta { text-align: right; opacity: 0.6; }

@media (max-width: 760px) {
  .explorer-bar__inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand meta"
      "tabs tabs";
    row-gap: 8px;
  }
  .explorer-bar__brand { grid-area: brand; }
  .explorer-bar__meta  { grid-area: meta; }
  .explorer-tabs       { grid-area: tabs; padding-bottom: 2px; justify-content: flex-start; }
  .explorer-tab__label { display: none; }
  .explorer-tab__num   { font-size: 12px; opacity: 1; }
  .explorer-tab        { padding: 8px 12px; min-width: 52px; justify-content: center; }
}
@media (max-width: 380px) {
  .explorer-bar__title { font-size: 10px; }
}

/* =====================================================
   ARTICLE BASE STRUCTURE
   The vine frame eats ~scatterBand × cell px on each
   side at full opacity. We keep content well inside.
   ===================================================== */

.growth {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 132px) clamp(56px, 8vw, 120px) 0;
  transition: opacity 220ms ease;
}
.growth > * { position: relative; z-index: 2; }
body.is-switching .growth { opacity: 0; }

@media (max-width: 760px) {
  .growth { padding: clamp(64px, 16vw, 110px) clamp(64px, 18vw, 96px) 0; }
}

/* =====================================================
   MASTHEAD
   ===================================================== */

.g-masthead {
  position: relative;
  padding: clamp(36px, 6vw, 80px) 0 clamp(28px, 5vw, 64px);
  text-align: center;
  max-width: 100%;
  overflow: visible;
}
.g-masthead__meta {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.g-masthead__sep { opacity: 0.5; }

.g-masthead__title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(54px, 11vw, 156px);
  line-height: 0.92;
  letter-spacing: -0.018em;
  margin: 22px 0 14px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.18em;
  flex-wrap: wrap;
}
.g-masthead__the {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  color: color-mix(in oklab, var(--umber) 80%, transparent);
}
.g-masthead__growth {
  /* GROWTH stays GREEN across all variants. Variant overrides --moss. */
  font-weight: 600;
  color: var(--moss);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.g-masthead__num {
  /* THE 001 BADGE — Bulletin's tilted contrast box, mono, slightly skewed.
     Variant overrides --badge-ink / --badge-paper. */
  font-family: "JetBrains Mono", ui-monospace, monospace;
  background: var(--badge-ink);
  color: var(--badge-paper);
  font-size: 0.26em;
  letter-spacing: 0.10em;
  padding: 4px 10px;
  align-self: center;
  margin-left: 0.36em;
  font-weight: 500;
  transform: rotate(1.6deg);
  box-shadow: 0 4px 10px -6px rgba(40, 28, 12, 0.45);
  white-space: nowrap;
  position: relative;
  z-index: 3;            /* above vine canvas */
}
.g-masthead__sub {
  font-family: "Newsreader", "Fraunces", serif;
  font-style: italic;
  font-size: clamp(15px, 2vw, 22px);
  margin: 0 auto;
  max-width: 38ch;
  opacity: 0.85;
  font-weight: 400;
  color: color-mix(in oklab, var(--umber) 90%, transparent);
}

@media (max-width: 760px) {
  .g-masthead__title { font-size: clamp(38px, 9.4vw, 64px); }
}
@media (max-width: 420px) {
  .g-masthead__title { font-size: 36px; }
  .g-masthead__num { font-size: 11px; padding: 3px 8px; }
}
.g-masthead__strip {
  display: block;        /* always on in round 4 */
  width: 100%;
  height: 76px;
  margin: 26px 0 0;
}
/* Grove-from-vines variant — taller, fits the bigger letterforms */
.g-masthead__strip--grove {
  height: 140px;
  margin: 32px 0 0;
}

/* =====================================================
   SECTION
   ===================================================== */

.g-section {
  position: relative;
  padding: clamp(40px, 7vw, 96px) 0;
  border-top: 1px solid color-mix(in oklab, var(--rule) 50%, transparent);
}
.g-section:first-of-type { border-top: 0; }

/* SECTION HEAD — wider than body for display, centered on
   the same vertical axis. Kicker, title, and deck all center-
   aligned so the head reads as a balanced title card above
   the left-aligned reading column. */
.g-section__head {
  margin: 0 auto clamp(24px, 4vw, 48px);
  max-width: 920px;
  text-align: center;
}

.g-section__kicker {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 14px;
}

.g-section__title {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  display: block;
  position: relative;
}
.g-section__title .g-tw {
  display: inline-block;
  margin-right: 0.18em;
  vertical-align: baseline;
  position: relative;
}

/* CHROMATIC ABERRATION GHOST — barely visible, hover-only */
.g-section__title .g-tw::before,
.g-section__title .g-tw::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 280ms ease, transform 280ms ease;
  font: inherit;
  color: inherit;
}
.g-section__title .g-tw::before { color: rgba(168, 90, 120, 0.55); transform: translate(0, 0); mix-blend-mode: multiply; }
.g-section__title .g-tw::after  { color: rgba(74, 107, 58, 0.50);  transform: translate(0, 0); mix-blend-mode: multiply; }
.g-section__title:hover .g-tw::before { opacity: 0.55; transform: translate(calc(var(--cab, 1px) * -1.6), 0); }
.g-section__title:hover .g-tw::after  { opacity: 0.45; transform: translate(calc(var(--cab, 1px) *  1.6), 0); }

.g-section__deck {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(17px, 2vw, 22px);
  margin: 16px auto 0;
  max-width: 56ch;
  opacity: 0.82;
}

.g-section__strip {
  display: block;
  width: 100%;
  height: 76px;
  margin: 32px 0 0;
}

/* =====================================================
   BODY TYPE — Solarpunk-style serif
   ===================================================== */

.g-section__body {
  margin: clamp(24px, 4vw, 40px) auto 0;
  max-width: 64ch;
  font-family: "Newsreader", "Fraunces", serif;
  font-size: 18px;
  line-height: 1.65;
  color: color-mix(in oklab, var(--umber) 95%, transparent);
}
.g-section__body p { margin: 0 0 1em; }
.g-section__body p:last-child { margin-bottom: 0; }
.g-lede { font-size: 19.5px; }
.g-dropcap {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 4.6em;
  line-height: 0.85;
  float: left;
  padding: 0.05em 0.12em 0 0;
  color: var(--moss);
  text-shadow: 1px 1px 0 rgba(74, 107, 58, 0.10);
}
.g-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.82em;
  letter-spacing: 0.01em;
  background: color-mix(in oklab, var(--olive) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--umber) 22%, transparent);
  padding: 1px 6px;
  border-radius: 2px;
}

/* =====================================================
   PHOTO MACHINERY
   ===================================================== */

.g-photogrid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  margin: clamp(28px, 4vw, 56px) auto;
  max-width: 1180px;
}
.g-photogrid--two   { grid-template-columns: repeat(2, 1fr); }
.g-photogrid--three { grid-template-columns: repeat(3, 1fr); }
.g-photogrid--three .g-photo--b { transform: translateY(22px); }
.g-photogrid--three .g-photo--c { transform: translateY(-8px); }
.g-photogrid--offset .g-photo--c { transform: translateY(28px); }
.g-photogrid--offset .g-photo--d { transform: translateY(-12px); }

@media (max-width: 900px) {
  .g-photogrid--three { grid-template-columns: 1fr; gap: clamp(24px, 4vw, 40px); }
  .g-photogrid--three .g-photo--b,
  .g-photogrid--three .g-photo--c { transform: none; }
}
@media (max-width: 760px) {
  .g-photogrid--two { grid-template-columns: 1fr; }
  .g-photogrid--offset .g-photo--c,
  .g-photogrid--offset .g-photo--d { transform: none; }
}

/* Real photographic content inside the polaroid tile.
   Inherits the parent .g-photo__tile sepia/saturate filter. */
.g-photo__tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.g-photo {
  margin: 0;
  position: relative;
  isolation: isolate;
  overflow: visible;
}
.g-photo__polaroid {
  position: relative;
  background: var(--polaroid-bg, #fbf3df);
  padding: 14px 14px 56px;
  box-shadow:
    inset 0 0 0 1px rgba(120, 88, 38, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.7),
    0 30px 50px -28px rgba(60, 40, 10, 0.32),
    0 4px 14px -8px rgba(60, 40, 10, 0.18);
  border-radius: 1px;
  transition: transform 360ms cubic-bezier(.2,.6,.2,1), filter 320ms ease;
  isolation: isolate;
}
.g-photo__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1c2410;
  isolation: isolate;
}
.g-photo__tile {
  position: absolute;
  inset: 0;
  filter: sepia(20%) saturate(115%) hue-rotate(-4deg) contrast(1.02);
}
.g-photo__sun {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 70% 18%, rgba(255, 240, 190, 0.52), transparent 60%),
    radial-gradient(ellipse 50% 30% at 20% 90%, rgba(60, 80, 30, 0.30), transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.g-photo__silhouette {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.85;
}
.g-photo__silhouette--figures {
  background:
    radial-gradient(ellipse 18% 36% at 30% 78%, rgba(28,36,16,0.55), transparent 70%),
    radial-gradient(ellipse 16% 30% at 50% 80%, rgba(28,36,16,0.50), transparent 70%),
    radial-gradient(ellipse 14% 28% at 70% 82%, rgba(28,36,16,0.45), transparent 70%);
}
.g-photo__silhouette--screen {
  background:
    linear-gradient(180deg, transparent 60%, rgba(28,36,16,0.55) 100%),
    linear-gradient(90deg, transparent 30%, rgba(20,28,12,0.35) 50%, transparent 70%);
}
.g-photo__silhouette--orb {
  background:
    radial-gradient(circle 22% at 50% 52%, rgba(255, 235, 170, 0.85), rgba(184, 152, 80, 0.45) 50%, transparent 70%),
    radial-gradient(circle 60% at 50% 60%, transparent 38%, rgba(20,28,12,0.4) 100%);
}
.g-photo__silhouette--terminal {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.0) 70%, rgba(20,28,12,0.45) 100%),
    repeating-linear-gradient(0deg, rgba(28,36,16,0.16) 0 2px, transparent 2px 4px);
}
.g-photo__silhouette--desk {
  background:
    linear-gradient(0deg, rgba(20,28,12,0.50) 0%, transparent 38%),
    radial-gradient(ellipse 35% 18% at 50% 64%, rgba(28,36,16,0.45), transparent 70%);
}

/* DATAMOSH-TONE PHOTO TILES */
.g-photo__tile--meetup-a {
  background:
    radial-gradient(ellipse 70% 60% at 30% 25%, #ffd8a8 0%, transparent 60%),
    linear-gradient(150deg, #f3b07a 0%, #b85a7a 55%, #6b3c4f 100%);
}
.g-photo__tile--meetup-b {
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, #ffe0b8 0%, transparent 55%),
    linear-gradient(200deg, #fbcb88 0%, #d68250 50%, #8a3a4a 100%);
}
.g-photo__tile--etherea-a {
  background:
    radial-gradient(circle at 50% 50%, #fff1c8 0%, #f3b07a 28%, #b85a7a 60%, #5a2840 100%);
}
.g-photo__tile--etherea-b {
  background:
    linear-gradient(160deg, #fde4c0 0%, #e89a6a 35%, #a85a6a 65%, #3a1820 100%);
}
.g-photo__tile--local-a {
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, #ffe0b0 0%, transparent 55%),
    linear-gradient(180deg, #f6c98a 0%, #d68250 45%, #6b3a48 100%);
}
.g-photo__tile--local-b {
  background:
    linear-gradient(220deg, #fde4c0 0%, #e89a6a 40%, #a85060 70%, #2a1018 100%);
}

/* INSIDE-photo CA ghost */
.g-photo__inner-vines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.20;
}

/* BRIDGE CANVAS */
.g-photo__bridge {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: multiply;
  opacity: 0.85;
}

/* TAPE — gaffer + vellum, alternating per slot */
.g-tape {
  position: absolute;
  width: 86px;
  height: 22px;
  background: linear-gradient(180deg,
      rgba(40, 32, 22, 0.84) 0%,
      rgba(58, 46, 34, 0.78) 50%,
      rgba(40, 32, 22, 0.84) 100%);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  z-index: 5;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5px, #000 calc(100% - 5px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 5px, #000 calc(100% - 5px), transparent 100%);
}
.g-tape::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg, rgba(255,255,255, 0.05) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}
.g-photo--b .g-tape,
.g-photo--d .g-tape,
.g-photo--f .g-tape {
  background: linear-gradient(180deg,
      rgba(251, 243, 223, 0.78) 0%,
      rgba(244, 226, 178, 0.68) 50%,
      rgba(228, 200, 140, 0.62) 100%);
  box-shadow:
    0 2px 6px rgba(60, 40, 10, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.40);
}
.g-tape--top-left   { top: -10px; left: 14%; transform: rotate(-6deg); }
.g-tape--top-right  { top: -8px;  right: 12%; transform: rotate(5deg); }
.g-tape--top-center { top: -10px; left: 50%; transform: translateX(-50%) rotate(-2deg); }
.g-tape--bottom-left  { bottom: -8px; left: 18%; transform: rotate(3deg); }
.g-tape--bottom-right { bottom: -10px; right: 16%; transform: rotate(-4deg); }

/* PUSHPIN — graphite or oxblood only */
.g-pin {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #6e6258 0%, #3b2e22 60%, #1a140e 100%);
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.32),
    inset -1px -1px 1px rgba(0, 0, 0, 0.30),
    inset  1px  1px 1px rgba(255, 255, 255, 0.22);
  z-index: 6;
  pointer-events: none;
}
.g-pin--oxblood {
  background: radial-gradient(circle at 32% 28%, #a25a4a 0%, #6e2a1e 60%, #2a0c08 100%);
}
.g-pin--graphite { /* default */ }
.g-pin--left  { left: 22%; transform: none; }
.g-pin--right { left: auto; right: 22%; transform: none; }

/* PHOTO LABEL */
.g-photo__polaroid::after {
  content: attr(data-photo-label);
  position: absolute;
  bottom: 18px; left: 16px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px;
  color: rgba(74, 64, 24, 0.55);
  letter-spacing: 0.06em;
  pointer-events: none;
}
.g-photo__polaroid::before {
  content: "·· 001 ··";
  position: absolute;
  bottom: 18px; right: 16px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9.5px;
  color: rgba(74, 64, 24, 0.4);
  letter-spacing: 0.18em;
  pointer-events: none;
}

/* tilt — restrained, varied per slot */
.g-photo--a .g-photo__polaroid { transform: rotate(-1.2deg); }
.g-photo--b .g-photo__polaroid { transform: rotate(1.4deg); }
.g-photo--c .g-photo__polaroid { transform: rotate(1.6deg); }
.g-photo--d .g-photo__polaroid { transform: rotate(-1.3deg); }
.g-photo--e .g-photo__polaroid { transform: rotate(-0.8deg); }
.g-photo--f .g-photo__polaroid { transform: rotate(1.0deg); }

@media (max-width: 760px) {
  .g-photo--a .g-photo__polaroid,
  .g-photo--b .g-photo__polaroid,
  .g-photo--c .g-photo__polaroid,
  .g-photo--d .g-photo__polaroid,
  .g-photo--e .g-photo__polaroid,
  .g-photo--f .g-photo__polaroid { transform: rotate(0); }
}

.g-photo figcaption {
  margin-top: 14px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: color-mix(in oklab, var(--umber) 70%, transparent);
}
.g-photo__cap-num {
  font-weight: 700;
  margin-right: 8px;
  background: var(--vine-deep);
  color: var(--cream);
  padding: 1px 7px;
}

.g-photo__polaroid:hover {
  filter: drop-shadow(calc(var(--cab, 0px) * -0.5) 0 0 rgba(168, 90, 120, 0.20))
          drop-shadow(calc(var(--cab, 0px) *  0.5) 0 0 rgba(74, 107, 58, 0.20));
}

/* COLOPHON */
.g-colophon {
  border-top: 1px dashed color-mix(in oklab, var(--rule) 70%, transparent);
  margin-top: clamp(40px, 6vw, 80px);
  padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 8vw, 96px);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.g-colophon__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.g-colophon__col { display: flex; flex-direction: column; gap: 4px; }
.g-colophon__label { opacity: 0.55; text-transform: uppercase; letter-spacing: 0.18em; font-size: 10px; color: var(--olive); }
.g-colophon__val   { font-family: "Fraunces", serif; font-style: italic; font-size: 17px; color: var(--umber); }

@media (max-width: 760px) {
  .g-colophon__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .g-colophon__inner { grid-template-columns: 1fr; }
}

/* AMBIENT GRAIN */
.ambient-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.42  0 0 0 0 0.30  0 0 0 0 0.12  0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity: 0.045;
  mix-blend-mode: multiply;
}

/* =====================================================
   MIXED-TYPOGRAPHY HEADING SLOTS — DEFAULT
   Each variant overrides specific slots for character.
   ===================================================== */

.g-section__title .g-tw--1 {
  font-family: "Fraunces", serif; font-weight: 600; color: var(--vine-deep);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.g-section__title .g-tw--2 {
  font-family: "Newsreader", serif; font-style: italic; font-weight: 500;
  color: var(--moss);
}
.g-section__title .g-tw--3 {
  font-family: "Fraunces", serif; font-weight: 300; font-style: italic;
  color: color-mix(in oklab, var(--vine-deep) 80%, transparent);
}
.g-section__title .g-tw--4 {
  font-family: "Fraunces", serif; font-weight: 400; font-style: italic;
  color: var(--olive);
}
.g-section__title .g-tw--5 {
  font-family: "JetBrains Mono", monospace; font-weight: 500;
  font-size: 0.78em; color: var(--moss);
  text-transform: lowercase; letter-spacing: 0.04em;
  vertical-align: 0.10em;
}
.g-section__title .g-tw--6 {
  font-family: "Fraunces", serif; font-weight: 700; color: var(--vine-deep);
  font-variation-settings: "opsz" 144, "SOFT" 0;
}
.g-section__title .g-tw--7 {
  font-family: "Newsreader", serif; font-style: italic; font-weight: 600;
  color: var(--moss);
}

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .growth, .g-photo__polaroid, #vine-frame {
    transition: none !important;
  }
}

/* =====================================================
   PRINT — usable as an actual printed magazine.
   Hide all the live canvases, ribbons, and overlays; keep
   the polaroids; expand the body type to a comfortable
   reading width; surface external link URLs after the
   anchor text so the reader can find them off-screen.
   ===================================================== */
@media print {
  .explorer-bar,
  .ambient-grain,
  #vine-frame,
  .reading-vine,
  body::before,
  body::after { display: none !important; }

  .g-photo__bridge,
  .g-photo__inner-vines,
  .g-masthead__strip,
  .g-section__strip { display: none !important; }

  html, body {
    background: white !important;
    color: black !important;
    font-size: 11pt;
  }

  body {
    background-image: none !important;
    background-color: white !important;
  }

  .growth { padding: 0; max-width: none; }

  /* Each top-level section starts on a new page. */
  .g-section { break-inside: avoid; page-break-inside: avoid; }
  .g-section__head { break-after: avoid; page-break-after: avoid; }
  .g-section + .g-section { page-break-before: always; }

  /* Surface URLs after links so they're recoverable in print. */
  a[href^="http"]::after {
    content: " (" attr(href) ")" !important;
    font-size: 0.85em;
    color: #555;
    background: none !important;
    width: auto !important;
    height: auto !important;
    display: inline !important;
    -webkit-mask-image: none !important;
            mask-image: none !important;
    margin: 0 !important;
    vertical-align: baseline !important;
    opacity: 1 !important;
    transform: none !important;
  }
  /* Don't print the QR code (it's redundant with the URL). */
  .g-colophon__qr { display: none; }
  /* Drop the reading-vine / subscribe form interactivity. */
  .g-subscribe__submit, .g-subscribe__form input { display: none; }
  .g-subscribe::before { content: 'Subscribe at grov3.net'; }
}

/* =====================================================
   VOXTERM TUI MOCKUP
   ----------------------------------------------------
   A rendered terminal facsimile inside a g-section.
   Mossy palette, soft glow, blinking record dot.
   ===================================================== */
.g-tui-figure {
  margin: clamp(28px, 4vw, 56px) auto clamp(24px, 3vw, 40px);
  max-width: 1100px;
}

.g-tui {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(126, 209, 74, 0.08), transparent 60%),
    #0c1606;
  color: #e8f5cf;
  border: 1px solid rgba(126, 209, 74, 0.32);
  border-radius: 4px;
  padding: 18px 22px;
  font: 13px/1.55 'JetBrains Mono', ui-monospace, monospace;
  position: relative;
  box-shadow:
    0 22px 50px -18px rgba(0, 0, 0, 0.55),
    0 0 36px -8px rgba(126, 209, 74, 0.18),
    inset 0 0 0 1px rgba(126, 209, 74, 0.06);
  overflow-x: auto;
}
.g-tui::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 22px;
  background: linear-gradient(180deg, rgba(126, 209, 74, 0.05), transparent);
  pointer-events: none;
  border-radius: 4px 4px 0 0;
}
.g-tui__head, .g-tui__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: rgba(212, 196, 138, 0.72);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}
.g-tui__head {
  border-bottom: 1px solid rgba(126, 209, 74, 0.18);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.g-tui__head strong {
  color: #d4ff7a;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.g-tui__foot {
  border-top: 1px solid rgba(126, 209, 74, 0.18);
  padding-top: 12px;
  margin-top: 16px;
  font-size: 11px;
}
.g-tui__rec::before {
  content: '⏺ ';
  color: #ff6a6a;
  display: inline-block;
  animation: g-tui-blink 1.5s ease-in-out infinite;
}
.g-tui__transcript {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.g-tui__line {
  font-size: 13px;
  color: #e8f5cf;
  padding-left: 0;
}
.g-tui__time {
  color: rgba(212, 196, 138, 0.45);
  padding-right: 10px;
}
.g-tui__name {
  font-weight: 700;
  padding-right: 10px;
  letter-spacing: 0.02em;
}
.g-tui__name--1 { color: #c4ff8a; }
.g-tui__name--2 { color: #f3a872; }
.g-tui__name--3 { color: #b88de8; }
.g-tui__name--4 { color: #f6c98a; }

.g-tui__key {
  display: inline-block;
  color: #d4ff7a;
  background: rgba(126, 209, 74, 0.08);
  border: 1px solid rgba(126, 209, 74, 0.28);
  border-radius: 2px;
  padding: 1px 6px;
  font-weight: 600;
  font-size: 10.5px;
  margin-right: 4px;
  font-family: inherit;
}

.g-tui-figure__cap {
  font: italic 14.5px/1.55 'Newsreader', serif;
  color: rgba(74, 64, 24, 0.78);
  margin: 16px 0 0;
  padding: 0;
  letter-spacing: 0.005em;
}
.g-tui-figure__cap .g-photo__cap-num {
  color: var(--moss);
  font-style: normal;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding-right: 6px;
}

@keyframes g-tui-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.28; }
}

/* Inline kbd in body type */
.g-kbd {
  display: inline-block;
  padding: 0 5px;
  background: rgba(62, 98, 50, 0.08);
  border: 1px solid rgba(62, 98, 50, 0.32);
  border-radius: 2px;
  color: var(--moss);
  font: 600 0.86em/1.4 'JetBrains Mono', ui-monospace, monospace;
  vertical-align: 1px;
}

/* Text-only sections — no photo grid; widen body slightly,
   lift type. */
.g-section--text .g-section__body {
  max-width: 64ch;
}

@media (max-width: 760px) {
  .g-tui { padding: 14px 16px; font-size: 12px; }
  .g-tui__line { font-size: 12px; }
  .g-tui__head, .g-tui__foot { font-size: 10.5px; gap: 6px 16px; }
}

/* =====================================================
   INLINE LINKS — editorial mossy ink
   ----------------------------------------------------
   A grounded moss underline that's ink-thin by default,
   thickens into a translucent highlighter wash on hover.
   External links get a small mono ↗ as a marginalia mark.
   Visited links don't dim — the magazine has no nav state
   to track, so a read link should look the same as fresh.
   ===================================================== */
.growth a,
.g-colophon a {
  color: var(--moss);
  text-decoration: underline;
  text-decoration-color: rgba(74, 107, 58, 0.42);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  text-decoration-skip-ink: auto;
  padding: 0 1px;
  transition:
    color 220ms ease,
    text-decoration-color 220ms ease,
    text-decoration-thickness 220ms ease,
    background-image 220ms ease;
}

.growth a:visited,
.g-colophon a:visited {
  color: var(--moss);
}

.growth a:hover,
.g-colophon a:hover {
  color: var(--vine-deep);
  text-decoration-color: var(--moss);
  text-decoration-thickness: 3.5px;
  background-image: linear-gradient(
    transparent 58%,
    rgba(126, 161, 74, 0.20) 58%,
    rgba(126, 161, 74, 0.20) 86%,
    transparent 86%
  );
}

.growth a:focus-visible,
.g-colophon a:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 3px;
  border-radius: 1px;
}

/* External-link marginalia — a small mono ↗ pulled up like
   a footnote reference. Visible but quiet by default; lifts
   and brightens on hover. */
.growth a[href^="http"]::after,
.g-colophon a[href^="http"]::after {
  content: "↗";
  margin-left: 0.18em;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.66em;
  font-weight: 500;
  vertical-align: 0.42em;
  color: rgba(74, 107, 58, 0.55);
  letter-spacing: 0;
  transition: transform 220ms ease, color 220ms ease;
}
.growth a[href^="http"]:hover::after,
.g-colophon a[href^="http"]:hover::after {
  transform: translate(1px, -1px);
  color: var(--moss);
}

/* Inside the dark TUI mockup the link palette flips to
   the lime/cream end of the moss gradient so it stays
   legible. (No links there yet — but defensive.) */
.g-tui a {
  color: #c4ff8a;
  text-decoration-color: rgba(196, 255, 138, 0.45);
}
.g-tui a:hover {
  color: #f4ffe0;
  text-decoration-color: #c4ff8a;
  background-image: linear-gradient(
    transparent 58%,
    rgba(196, 255, 138, 0.18) 58%,
    rgba(196, 255, 138, 0.18) 86%,
    transparent 86%
  );
}

/* =====================================================
   PULL QUOTE
   ----------------------------------------------------
   Set-out display block. Fraunces italic, large size,
   moss-rule on the left, gentle paper-bleed shadow, and
   a small mono attribution. A magazine-classic move.
   ===================================================== */
.g-pull {
  margin: clamp(36px, 5vw, 56px) 0;
  padding: 8px 4px 12px clamp(20px, 3vw, 32px);
  border-left: 3px solid var(--moss);
  position: relative;
}
.g-pull::before {
  content: '\201C';
  position: absolute;
  top: -0.16em;
  left: clamp(8px, 1.5vw, 16px);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  color: var(--moss);
  opacity: 0.22;
  pointer-events: none;
}
.g-pull p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--vine-deep);
  margin: 0 0 14px;
  text-wrap: balance;
}
.g-pull cite {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(74, 64, 24, 0.55);
}
.g-pull cite a { color: inherit; }

/* =====================================================
   PINNED TEAR-OFF CARD
   ----------------------------------------------------
   Polaroid-paper note, slightly tilted, pinned with a
   single oxblood pin and one strip of tape. Used at the
   end of the meetup section to make the abstract "next
   session" concrete.
   ===================================================== */
.g-card {
  position: relative;
  display: block;
  max-width: 380px;
  margin: clamp(36px, 5vw, 56px) auto clamp(24px, 4vw, 48px);
  padding: 22px 26px 26px;
  background: var(--polaroid-bg, #fbf3df);
  transform: rotate(-1.6deg);
  isolation: isolate;
  box-shadow:
    inset 0 0 0 1px rgba(120, 88, 38, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.7),
    0 22px 36px -22px rgba(60, 40, 10, 0.32),
    0 4px 12px -6px rgba(60, 40, 10, 0.18);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
}
.g-card:hover { transform: rotate(0) translateY(-1px); }

.g-card__kicker {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 10px;
}
.g-card__head {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.005em;
  line-height: 1.15;
  color: var(--vine-deep);
  margin: 0 0 6px;
}
.g-card__sub {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.45;
  color: var(--umber);
  margin: 0 0 14px;
}
.g-card__line {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: rgba(74, 64, 24, 0.78);
  margin: 0;
  border-top: 1px dashed rgba(120, 88, 38, 0.25);
  padding-top: 12px;
}

/* Rotated rubber-stamp ornament on the card. Optional. */
.g-card__stamp {
  position: absolute;
  top: 18px; right: 18px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--moss);
  border: 1.5px solid var(--moss);
  padding: 4px 8px;
  transform: rotate(7deg);
  opacity: 0.78;
  border-radius: 1px;
  background: rgba(126, 161, 74, 0.05);
  pointer-events: none;
}

@media (max-width: 720px) {
  .g-card { transform: rotate(-1deg); padding: 20px; }
  .g-card__stamp { font-size: 9.5px; }
}

/* =====================================================
   SUBSCRIBE TEAR-OFF CARD
   ----------------------------------------------------
   Polaroid-paper note with a perforation strip down the
   left side, two pieces of tape at the top, and a
   form whose "submit" button stamps a confirmation.
   ===================================================== */
.g-subscribe {
  position: relative;
  display: block;
  margin: clamp(64px, 8vw, 120px) auto clamp(24px, 4vw, 56px);
  max-width: 640px;
  padding: 28px 36px 36px 56px;
  background: var(--polaroid-bg, #fbf3df);
  transform: rotate(-0.6deg);
  isolation: isolate;
  box-shadow:
    inset 0 0 0 1px rgba(120, 88, 38, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.7),
    0 26px 50px -22px rgba(60, 40, 10, 0.34),
    0 6px 18px -8px rgba(60, 40, 10, 0.20);
  transition: transform 380ms cubic-bezier(.2,.7,.2,1);
}
.g-subscribe:hover { transform: rotate(0); }

/* perforation strip down the left edge — like a tear-off */
.g-subscribe__perforation {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 28px;
  width: 1px;
  background-image: linear-gradient(
    to bottom,
    transparent 0 4px,
    rgba(120, 88, 38, 0.42) 4px 8px
  );
  background-size: 1px 8px;
  background-repeat: repeat-y;
  pointer-events: none;
}

.g-subscribe__kicker {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 8px;
}
.g-subscribe__head {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--vine-deep);
  margin: 0 0 6px;
}
.g-subscribe__sub {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--umber);
  margin: 0 0 22px;
}
.g-subscribe__form {
  display: grid;
  gap: 14px;
}
.g-subscribe__field {
  display: grid;
  gap: 4px;
}
.g-subscribe__field span {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(74, 64, 24, 0.62);
}
.g-subscribe__field input {
  background: transparent;
  border: 0;
  border-bottom: 1px dashed rgba(120, 88, 38, 0.45);
  padding: 6px 2px;
  font-family: 'Newsreader', serif;
  font-size: 16.5px;
  color: var(--vine-deep);
  outline: none;
  transition: border-color 200ms ease, background 200ms ease;
}
.g-subscribe__field input:focus {
  border-bottom-color: var(--moss);
  background: rgba(126, 161, 74, 0.05);
}
.g-subscribe__submit {
  margin-top: 10px;
  align-self: start;
  padding: 9px 18px;
  background: var(--vine-deep);
  color: var(--cream);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 1px;
  transition: background 200ms ease, transform 200ms ease;
}
.g-subscribe__submit:hover { background: var(--moss); }
.g-subscribe__submit:disabled {
  background: rgba(74, 107, 58, 0.18);
  color: var(--moss);
  cursor: default;
  letter-spacing: 0.18em;
}

@media (max-width: 720px) {
  .g-subscribe { padding: 24px 22px 28px 38px; }
  .g-subscribe__perforation { left: 18px; }
}

/* =====================================================
   ENDNOTES — collected references
   ===================================================== */
.g-endnotes {
  margin: clamp(56px, 7vw, 96px) auto clamp(36px, 5vw, 64px);
  max-width: 760px;
  border-top: 1px solid var(--rule);
  padding-top: clamp(28px, 4vw, 48px);
}
.g-endnotes__head {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 18px;
}
.g-endnotes__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-family: 'Newsreader', serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--umber);
  counter-reset: endnote;
  columns: 2;
  column-gap: 56px;
}
.g-endnotes__list li {
  break-inside: avoid;
  padding-left: 0;
  text-indent: 0;
}
.g-endnotes__num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--moss);
  margin-right: 6px;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .g-endnotes__list { columns: 1; }
}

/* =====================================================
   COLOPHON — QR code + process line
   ===================================================== */
.g-colophon__col--qr {
  align-items: center;
  text-align: center;
}
.g-colophon__qr {
  display: inline-block;
  padding: 6px;
  background: var(--cream);
  border: 1px solid rgba(120, 88, 38, 0.18);
  border-radius: 2px;
  margin-bottom: 6px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.g-colophon__qr:hover {
  transform: rotate(-1.6deg);
  box-shadow: 0 6px 14px -6px rgba(28, 36, 16, 0.35);
}
.g-colophon__qr img {
  width: 64px;
  height: 64px;
  display: block;
}

.g-colophon__process {
  max-width: 1480px;
  margin: 18px auto 0;
  padding: 14px var(--gutter) 0;
  border-top: 1px dashed rgba(120, 88, 38, 0.22);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(74, 64, 24, 0.62);
}
.g-colophon__process .g-colophon__label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--moss);
}

/* =====================================================
   READING-VINE PROGRESS — right-edge ribbon
   ----------------------------------------------------
   A 4px column on the right edge of the viewport that
   fills with a moss-to-vine-deep gradient as the reader
   scrolls. Quiet (low opacity) so it doesn't compete
   with the editorial type.
   ===================================================== */
.reading-vine {
  position: fixed;
  top: 0;
  right: 0;
  width: 4px;
  height: 100vh;
  background: rgba(28, 36, 16, 0.04);
  z-index: 60;
  pointer-events: none;
}
.reading-vine__fill {
  width: 100%;
  height: 0%;
  background:
    linear-gradient(
      to bottom,
      rgba(126, 161, 74, 0.85),
      var(--moss) 40%,
      var(--vine-deep)
    );
  box-shadow: 0 0 6px rgba(126, 161, 74, 0.45);
  transition: height 80ms linear;
}

@media (max-width: 480px) {
  .reading-vine { width: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .reading-vine__fill { transition: none; }
}

/* =====================================================
   NEXT-MEETUP CARD — RSVP button
   ----------------------------------------------------
   Editorial cream-on-vine-deep button at the foot of
   the pinned next-session card. Selectors bumped to
   `a.g-card__rsvp` so they outweigh the global
   `.growth a` link color rule.
   ===================================================== */
a.g-card__rsvp,
a.g-card__rsvp:visited,
a.g-card__rsvp:hover,
a.g-card__rsvp:focus-visible {
  color: var(--cream);
  text-decoration: none;
  background-image: none;
  outline: none;
}
a.g-card__rsvp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 18px;
  background-color: var(--vine-deep);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 1px;
  transition:
    background-color 200ms ease,
    transform 200ms ease,
    letter-spacing 200ms ease,
    box-shadow 200ms ease;
}
a.g-card__rsvp:hover {
  background-color: var(--moss);
  color: var(--cream);
  transform: translateY(-1px);
  letter-spacing: 0.18em;
  box-shadow: 0 6px 14px -6px rgba(28, 36, 16, 0.35);
}
a.g-card__rsvp::after { content: none !important; }
a.g-card__rsvp span {
  display: inline-block;
  transition: transform 200ms ease;
  font-family: ui-monospace, monospace;
  font-size: 13px;
}
a.g-card__rsvp:hover span { transform: translateX(3px); }

/* Etherea polaroid HDR flow tile — dark backplate, contained
   canvas runs the live LED-pixel field. Inherits the parent
   .g-photo__tile sepia filter (gives it a print-y warmth). */
.g-photo__tile--hdr {
  background: #050a02;
}
.etherea-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
