:root {
  --paper: #f3eee4;
  --ink: #17211b;
  --muted: #3a443d;
  --clay: #7c3220;
  --forest: #14241c;
  --line: #d7cfc1;
  --roots-glass: rgba(251, 249, 244, .9);
  --roots-glass-solid: #f7f4ec;
  --roots-glass-line: rgba(133, 118, 96, .18);
  --roots-glass-edge: rgba(110, 79, 53, .42);
  --roots-shadow: 0 14px 34px -8px rgba(45, 38, 27, .1), 0 4px 10px -2px rgba(45, 38, 27, .05);
  --roots-shadow-lift: 0 20px 40px -10px rgba(45, 38, 27, .16);
  --roots-shadow-dot: 0 4px 10px -2px rgba(45, 38, 27, .18);
  --leaf: #1c6b38;
  --cream: #f6f1e6;
  --sand: #e7b2a4;
  --peach: #e7c4b0;
  --accent: #ffcc00;
  --measure: 40rem;
  --wide: 72rem;
  --gutter: 1.2rem;
  --header-height: 3.75rem;
  --section-space: clamp(3rem, 7vw, 6rem);
  --accent-hover: #ffd84a;
  --ink-strong: #1a1a1a;
  --fs-eyebrow: .72rem;
  --track-eyebrow: .14em;

  --fs-display-xl: clamp(2.8rem, 6.5vw, 6rem);
  --fs-display: clamp(2.3rem, 5vw, 4.4rem);
  --fs-h1: clamp(2.2rem, 4.2vw, 3.7rem);
  --fs-h2: clamp(1.8rem, 3vw, 2.7rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.7rem);
  --fs-lead: 1.25rem;
  --fs-body: 1.125rem;
  --fs-small: .95rem;
  --fs-nav: .98rem;
  --lh-display: .98;
  --lh-heading: 1.12;
  --lh-lead: 1.55;
  --lh-body: 1.7;
  --track-display: -.025em;
  --track-heading: -.018em;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --panel-clay: #893e2a;
  --panel-sand: #efe6d6;
  /* Breakpoints: small 420px, tablet 640px, desktop 900px, wide 1200px. Upper bounds are written
     639.98px and 899.98px so a width of exactly 640 or 900 never matches both sides. */
  color-scheme: light;
  --fs-home-hero: clamp(2.6rem, 5.2vw, 4.4rem);
  --fs-home-tablet: clamp(2.7rem, 4.8vw, 4rem);
  --fs-home-section-mobile: clamp(2.25rem, 8vw, 3.4rem);
  --fs-menu-tablet: clamp(2rem, 5.7vw, 3.2rem);
  --fs-menu-mobile: clamp(2rem, 8vw, 3.25rem);
  --fs-overlay-tablet: clamp(2.5rem, 6vw, 4.5rem);
  --fs-overlay-mobile: clamp(2.5rem, 10vw, 3.8rem);
  --fs-home-landscape: clamp(2.2rem, 5vw, 2.8rem);
  --fs-drop: 3.35rem;
  --fs-culture-ticker: clamp(1.25rem, 2.5vw, 2.4rem);
  --fs-culture-card: clamp(1.6rem, 2.5vw, 2.5rem);
  --film-surface: #14120e;
  --black: #000;
  --white: #fff;
  --home-paper: #f7f4ee;
  --editorial-clay: #8b5038;
  --editorial-label: #865039;
  --culture-clay: #8d472f;
  --editorial-peach: #d9b398;
  --text-on-forest: #e0dfd4;
  --panel-sage: #d9dbcd;
  --caption-on-forest: #d5dccf;
  --culture-accent: #e3af91;
  --movement-link: #713d2a;
  --culture-link: #743b2c;
  --image-caption: #5c655b;
  --culture-caption: #6a5b51;
  --editorial-line: #8c9388;
  --culture-line: #b8a99c;
  --culture-rule: #978d82;
  --fs-home-mobile: clamp(2.3rem, 9vw, 3.8rem);
  --fs-reel-caption: 1.15rem;
  --fs-reel-note: .84rem;
  /* Phone layer (css/phone.css, loaded below 900px; DESIGN_SYSTEM.md rule 8 exception and section 12).
     Unused at 900px and wider. */
  --ph-fs-display: 2.75rem;
  --ph-fs-h1: 2.25rem;
  --ph-fs-h2: 1.75rem;
  --ph-fs-h3: 1.25rem;
  --ph-fs-small: .9375rem;
  --ph-fs-caption: .875rem;
  --ph-fs-eyebrow: .75rem;
  --ph-gutter: 1.25rem;
  --ph-section: 3.5rem;
  --ph-gap: 1rem;
  --ph-pad: 1.125rem;
  --ph-bar-h: 3.5rem;
  --ph-radius-control: 14px;
  --ph-radius-card: 16px;
  --ph-radius-sheet: 24px;
  --ph-radius-pill: 999px;
  --ph-shadow-card: 0 1px 2px rgba(45, 38, 27, .06), 0 8px 24px -10px rgba(45, 38, 27, .12);
  --ph-shadow-sheet: 0 -10px 40px -12px rgba(20, 36, 28, .28);
  --ph-glass: rgba(247, 244, 238, .88);
  --ph-glass-strong: rgba(247, 244, 238, .92);
  --ph-glass-filter: saturate(1.6) blur(18px);
  --ph-glass-line: rgba(23, 33, 27, .08);
  --ph-dur-press: 120ms;
  --ph-dur-fade: 220ms;
  --ph-dur-sheet: 340ms;
  --ph-ease-out: cubic-bezier(.2, .8, .2, 1);
  --ph-ease-sheet: cubic-bezier(.32, .72, 0, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  /* An explicit root colour: iOS Safari samples it for its toolbars. The same paper as body, so no change */
  background-color: var(--paper);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

[id] { scroll-margin-top: calc(var(--header-height) + 1rem); }

body {
  overflow-wrap: break-word;   /* long addresses and links break instead of pushing the page sideways */
  margin: 0;
  /* Landscape notch: zero everywhere except devices with side safe areas */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button, input, select, textarea { font: inherit; }

img { max-width: 100%; height: auto; display: block; }

/* slot photographs are <picture class="slot-pic"><source type="image/avif"><img></picture> (slot_images.py): the
   <picture> takes no box, so the <img> lays out as a child of the element around it, as a bare <img> did, and the
   <source> takes none either (inside a display: contents parent Chrome gives it an empty inline box). The Common
   Roots scene has its own <picture> layers; they keep the browser default. */
picture.slot-pic { display: contents; }
picture.slot-pic > source { display: none; }

/* gathering.jpg has a white fade baked into its right edge; crop it out of view */
img[src$="media/gathering.jpg"] { object-fit: cover; object-position: 18% center; }

@supports (object-view-box: inset(0 37% 0 0)) {
  img[src$="media/gathering.jpg"] { object-view-box: inset(0 37% 0 0); }
}

a { color: inherit; text-underline-offset: 0.18em; }

a:hover { color: var(--clay); }

:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 40;
}

.skip:focus { top: 0.6rem; }

.wrap {
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

/* --- Masthead --- */

.mast {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--cream);
  background: color-mix(in srgb, var(--paper) 94%, white);
  border-bottom: 1px solid var(--line);
}

.mast-inner {
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  min-height: 3.75rem;
  display: flex;
  flex-wrap: wrap;   /* never at normal text sizes; with enlarged text the links wrap instead of pushing the page sideways */
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: var(--fs-body);
  letter-spacing: -0.02em;
  color: var(--ink);
  flex: none;
}

.brand:hover { color: var(--ink); }

.brand-logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  flex: none;
}

.mast nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.05rem;
  margin-left: auto;
  align-items: center;
}

.mast nav a {
  text-decoration: none;
  font-size: var(--fs-nav);
  color: var(--ink);
}

.mast nav a[aria-current="page"] {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.nav-intro { display: none; }

/* Phone menu parts (css/phone.css). Not rendered at 900px and wider */
.nav-photo { display: none; }
.nav-label { display: contents; }
.ph-dots { display: none; }
.phone-cta { display: none; }
.ph-progress { display: none; }

.mast-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.35rem 0.9rem;
  background: var(--accent);
  color: var(--ink-strong);
  font-weight: 600;
  font-size: var(--fs-small);
  text-decoration: none;
  flex: none;
}

.mast-cta:hover { background: var(--accent-hover); color: var(--ink-strong); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: var(--fs-small);
  padding: 0.45rem 0.2rem;
  min-height: 2.75rem;
  cursor: pointer;
  color: var(--ink);
}

/* --- Type --- */

.kicker {
  margin: 0 0 0.55rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}

h1, h2, h3, h4 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 560;
  letter-spacing: var(--track-heading);
  line-height: 1.12;
}

h1 {
  margin: 0 0 0.9rem;
  font-size: var(--fs-h1);
}

h2 { font-size: clamp(1.55rem, 2.4vw, 2rem); margin: 0 0 0.7rem; }

h3 { font-size: var(--fs-lead); margin: 0; }

.dek {
  margin: 0 0 1.1rem;
  max-width: 38rem;
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--muted);
}

.continue { margin: 0; }

.continue a {
  color: var(--clay);
  font-weight: 600;
}

.section {
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
}

/* --- Story rows --- */

.story {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.story img {
  width: 9rem;
  height: 6.4rem;
  object-fit: cover;
}

.story h3 {
  margin: 0.15rem 0 0.28rem;
  font-size: var(--fs-lead);
  line-height: 1.2;
}

.story p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-nav);
  line-height: 1.45;
}

/* --- Numbered map list --- */

.map { display: grid; margin: 0.4rem 0 1rem; }

.map a {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 0.35rem 0.8rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  align-items: baseline;
}

.map a span { color: var(--clay); font-variant-numeric: tabular-nums; font-weight: 600; }

.map strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: var(--fs-lead);
  font-weight: 560;
  line-height: 1.2;
}

.map em { grid-column: 2; color: var(--muted); font-style: normal; }

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  padding: 0.2rem 0 1rem;
  margin-bottom: 0.4rem;
}

.subnav a { display: inline-block; padding-block: 0.15rem; text-decoration: none; font-weight: 600; }

.subnav a[aria-current="page"] { color: var(--clay); text-decoration: underline; text-underline-offset: 0.25em; }

/* --- Prose --- */

.prose { max-width: var(--measure); }

.prose p { margin: 0 0 1.1rem; }

.prose h2 { margin: 2rem 0 0.55rem; }

.prose ul, .prose ol { margin: 0 0 1.1rem; padding-left: 1.2rem; }

.prose li { margin: 0.25rem 0; }

.prose a { color: var(--clay); }

.drop::first-letter {
  font-family: "Source Serif 4", Georgia, serif;
  float: left;
  font-size: var(--fs-drop);
  line-height: 0.78;
  padding: 0.12rem 0.45rem 0 0;
  color: var(--forest);
}

blockquote.pull {
  margin: 1.7rem 0;
  padding: 0.1rem 0 0.1rem 1rem;
  border-left: 3px solid var(--clay);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.28;
  font-weight: 500;
}

figure { margin: 1.5rem 0 1.7rem; }

figcaption {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.4;
  max-width: var(--measure);
}

.page-top { padding: clamp(1.6rem, 4vw, 2.2rem) 0 0.4rem; }

.meta {
  color: var(--muted);
  font-size: var(--fs-small);
  margin: 0 0 1.2rem;
}

/* --- Fact sheet --- */

.sheet {
  margin: 1.2rem 0 1.6rem;
  border-top: 1px solid var(--line);
}

.sheet div {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.sheet dt {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
}

.sheet dd { margin: 0; }

.split {
  display: grid;
  gap: 2rem;
}

.rail a {
  display: block;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.next-read {
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  max-width: var(--measure);
}

.next-read .kicker { display: block; }

.next-read a { text-decoration: none; }

.next-read strong {
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 560;
  line-height: 1.2;
  margin-top: 0.2rem;
}

/* --- Forms --- */

.fields { display: grid; gap: 0.85rem; max-width: 38rem; }

.fields label { display: grid; gap: 0.28rem; font-size: var(--fs-nav); }

.fields input,
.fields textarea,
.fields select {
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.7rem 0.75rem;
  width: 100%;
  min-height: 2.75rem;
}

.fields textarea { min-height: 8rem; resize: vertical; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.2rem;
  background: var(--accent);
  color: var(--ink-strong);
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  width: fit-content;
}

.btn:hover { background: var(--accent-hover); color: var(--ink-strong); }

.form-note {
  color: var(--muted);
  font-size: var(--fs-nav);
}

/* --- Footer --- */

.footer {
  border-top: 1px solid var(--line);
  padding: var(--space-4) 0 var(--space-3);
  margin-top: var(--space-4);
  font-size: var(--fs-nav);
}

.footer a { display: inline-block; padding-block: 0.12rem; text-decoration: none; }

.footer ul { list-style: none; margin: 0; padding: 0; }

.footer li { margin: 0.22rem 0; }

.legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-small);
}

.legal p { margin: 0; }
.legal > a { flex: none; }
.legal-links { flex: none; }
.legal-links a { display: inline-flex; align-items: center; min-height: 44px; }
/* Policy pages (policy_pages.py): the draft notice until the CA confirms the words */
.policy-draft { border-left: 3px solid var(--clay); padding: var(--space-1) var(--space-2); background: var(--cream); font-weight: 600; }
.policy-contact {
  margin-block-start: var(--space-3);
  padding-block-start: var(--space-2);
  border-block-start: 1px solid var(--line);
  font-style: normal;
  overflow-wrap: anywhere;
}
.tcg-keep-with-link { display: inline-block; max-width: 100%; }
.policy-links a { display: inline-flex; align-items: center; min-height: 44px; }

.pair {
  display: grid;
  gap: 0;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) 16rem;
    align-items: start;
  }

  .rail { position: sticky; top: 5rem; }


  .pair { grid-template-columns: 1fr 1fr; }

  .pair .story { border-right: 1px solid var(--line); padding-right: 1.4rem; }

  .pair .story + .story { padding-left: 1.4rem; border-top: 0; }
}

@media (max-width: 899.98px) {
  /* The phone and tablet top bar and menu live in css/phone.css */
  .story { grid-template-columns: 5.6rem minmax(0, 1fr); }

  .story img { width: 5.6rem; height: 4.2rem; }
}

body.site-lock { position: fixed; width: 100%; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* --- Cards, shelves, carousels --- */

.card-grid {
  display: grid;
  gap: 1.35rem;
  padding: 1.6rem 0 0.4rem;
}

.card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.card:hover { color: inherit; }

.card-media {
  display: block;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card:hover .card-media img { transform: scale(1.045); }

.card-copy {
  display: grid;
  gap: 0.28rem;
  padding: 0.7rem 0 0.15rem;
}

.card-copy .kicker { margin: 0; }

.card-copy strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 560;
  font-size: var(--fs-lead);
  line-height: 1.18;
  letter-spacing: var(--track-heading);
}

.card-copy em {
  font-style: normal;
  color: var(--muted);
  font-size: var(--fs-nav);
  line-height: 1.4;
}

.shelf { position: relative; padding: 1.8rem 0 0.2rem; }

.shelf-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.shelf-head h2 { margin: 0; }

.shelf-tools { display: flex; align-items: center; gap: 0.45rem; }

.shelf-tools a {
  color: var(--clay);
  font-weight: 600;
  text-decoration: none;
  margin-right: 0.35rem;
}

.arrow {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(12, 16, 12, 0.22);
  transition: transform 0.18s ease;
}

.arrow[data-dir="-1"] { left: 0.55rem; }
.arrow[data-dir="1"] { right: 0.55rem; }

.arrow:hover { transform: scale(1.07); }

.carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 max(var(--gutter), calc((100% - var(--wide)) / 2)) 1.1rem;
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--wide)) / 2));
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar { display: none; }

.carousel .card {
  flex: 0 0 min(78vw, 24.5rem);
  scroll-snap-align: start;
}

.vcard {
  flex: 0 0 min(78vw, 24rem);
  scroll-snap-align: start;
}

.vcard video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}

.vcard h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: var(--fs-body);
  margin: 0.55rem 0 0.2rem;
}

.vcard p { margin: 0; color: var(--muted); font-size: var(--fs-small); }

.duo {
  display: grid;
  gap: 0.8rem;
  padding: 0.4rem 0 1rem;
}

.duo a {
  position: relative;
  min-height: 24rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--cream);
  text-decoration: none;
  background: var(--forest);
}

.duo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.duo span {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.25rem;
  width: 100%;
  padding: 1.3rem 1.1rem;
  background: linear-gradient(to top, rgba(8, 14, 11, 0.82), transparent);
}

.duo .kicker { color: var(--peach); margin: 0; }

.duo strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 560;
  line-height: 1.1;
}

.duo em { font-style: normal; color: #efe6d8; }

/* Feature image plate: centred, natural size, no letterboxing */
.opener img {
  display: block;
  margin-inline: auto;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(82vh, 44rem);
}

.watch { margin: 1.4rem 0 1.6rem; }

.watch video {
  width: min(100%, 22rem);
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

@media (min-width: 640px) and (max-width: 899.98px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }

  .duo { grid-template-columns: 1.35fr 0.85fr; }

  .duo a { min-height: 32rem; }
}

@media (prefers-reduced-motion: reduce) {
  .card-media img,
  .carousel { transition: none; scroll-behavior: auto; }
}

@media (max-width: 899.98px) {
  .duo a { min-height: 20rem; }
}

@media (max-width: 639.98px) {
  .arrow { display: none; }
  .vcard { flex-basis: 78vw; }
}

/* --- Join / apply components --- */

.badge {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.28rem 0.5rem;
  border: 1px solid var(--clay);
  color: var(--clay);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge-beta { color: var(--forest); border-color: var(--forest); }

.review { color: var(--muted); max-width: var(--measure); }

.apply-panel .when-open,
.apply-panel .when-closed,
.apply-panel .when-beta { display: none; }

.apply-panel[data-state="open"] .when-open,
.apply-panel[data-state="unavailable"] .when-closed,
.apply-panel[data-state="beta"] .when-beta { display: block; }

.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.4rem 0 1rem; }

.filters button {
  font: inherit;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  min-height: 2.75rem;
}

.filters button.is-on { border-color: var(--ink); color: var(--clay); font-weight: 600; }

.lab-grid .card.is-hidden { display: none; }

.contact-list { list-style: none; padding: 0; margin: 1rem 0; }

.contact-list li { padding: 0.7rem 0; border-top: 1px solid var(--line); font-size: var(--fs-lead); }

.contact-list a { display: block; margin: -0.7rem 0; padding: 0.7rem 0; color: var(--clay); }

/* --- Join flow (full-page and hero overlay variants) --- */

.enter {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  background: #101a15;
  color: var(--cream);
  overflow: auto;
}

.enter.is-open { display: block; }

.enter-page {
  position: relative;
  z-index: auto; /* the full-page variant is not an overlay: the announcement pill (z-index 29) must sit above it */
  display: block;
  min-height: calc(100vh - 4rem);
  background: #101a15;
  color: var(--cream);
  overflow: hidden;
}

.enter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--gutter);
}

.enter-bar button {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--cream);
  font: inherit;
  cursor: pointer;
  min-height: 2.75rem;
}

.enter-stage { padding: 0 var(--gutter) 1.4rem; }

.enter-stage h2 {
  color: var(--cream);
  font-size: var(--fs-display);
  max-width: 14ch;
  margin: 0 0 0.4rem;
}

.enter-stage .lead-line {
  color: #d9d0c2;
  max-width: 34rem;
  margin: 0 0 1.2rem;
}

.enter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.enter-grid.is-five { grid-template-columns: repeat(5, 1fr); }

.enter-tile {
  position: relative;
  min-height: 46vh;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--cream);
  text-align: left;
  background: center/cover no-repeat;
  overflow: hidden;
}

.enter-tile i {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 12, 10, 0.82), rgba(8, 12, 10, 0.05) 55%);
}

.enter-tile strong,
.enter-tile em {
  position: absolute;
  left: 1rem;
  right: 1rem;
  z-index: 1;
  display: block;
}

.enter-tile strong {
  bottom: 2.2rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: var(--fs-h3);
  font-weight: 560;
  line-height: 1.05;
}

.enter-tile em {
  bottom: 0.85rem;
  font-style: normal;
  color: #efe6d8;
  font-size: var(--fs-small);
}

.enter-tile:hover { outline: 2px solid var(--paper); outline-offset: -2px; }

body.enter-lock { overflow: hidden; }

@media (max-width: 899.98px) {
  .enter-grid,
  .enter-grid.is-five { grid-template-columns: repeat(2, 1fr); }

  .enter-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }

  .enter-tile { min-height: 11rem; }
}

/* --- Homepage --- */

.ng {
  background: var(--home-paper);
  color: var(--ink);
}

.ng-hero { width: 100%; }

.ng-hero-media {
  position: relative;
  height: 78vh;
  min-height: 30rem;
  overflow: hidden;
}

.ng-hero-media video {
  width: 100%;
  height: 130%;
  margin-top: -8%;
  object-fit: cover;
  object-position: center 32%;
}

/* The poster is a background, set only where the film is shown (900px and wider): a poster attribute is fetched by every phone
   too, 220 KB that the still photo makes useless there. Same crop as the film: cover, centred at 32%. */
@media (min-width: 900px) {
  .ng-hero-media video[data-hero-video] { background: url("../media/video/hero.jpg") center 32% / cover no-repeat; }
}

.ng-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7%;
  z-index: 1;
  text-align: center;
  padding: 0 var(--gutter);
}

.ng-hero-copy h1 {
  color: var(--white);
  max-width: 18ch;
  margin: 0 auto 1rem;
  font-size: var(--fs-home-hero);
  line-height: 1.02;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.ng-hero-copy h1 span { display: inline-block; max-width: 100%; }

@media (min-width: 900px) {
  .ng-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,.58)); pointer-events: none; }
}

.ng-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--ink-strong);
  font: inherit;
  font-weight: 600;
  min-height: 2.9rem;
  padding: 0.55rem 1.2rem;
  text-decoration: none;
}

.ng-btn:hover { background: var(--accent-hover); color: var(--ink-strong); }

.ng-split {
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  margin: clamp(2rem, 5vw, 2.8rem) auto;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: center;
}

.ng-flip { grid-template-columns: 0.9fr 1.35fr; }

.ng-flip img { order: 2; }

.ng-split img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.ng-split h2 {
  color: var(--ink);
  font-size: var(--fs-h2);
  margin: 0.3rem 0 0.7rem;
}

.ng-split p { color: var(--muted); margin: 0 0 0.9rem; }

.ng-split .kicker { color: var(--clay); }

.ng-split a { color: var(--clay); font-weight: 600; }

.ng-label {
  text-align: center;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: "Source Sans 3", sans-serif;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  color: var(--ink);
  margin: clamp(2rem, 5vw, 3.2rem) 0 1rem;
}

.reel-fill {
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  margin: 0 auto 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: start;
}

.reel-fill .reel {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  background: var(--film-surface);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.reel-fill .reel video {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* The Join dialog covers the full viewport with an opaque surface. */
.tcg-join-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: var(--gutter);
  border: 0;
  background: var(--paper);
  color: var(--ink);
}
.tcg-join-dialog[open] { display: grid; place-items: center; }
.tcg-join-dialog::backdrop { background: var(--paper); }
.tcg-join-panel {
  width: min(100%, var(--wide));
  max-height: 100%;
  padding: 0 var(--space-2) var(--space-2);
  border: 1px solid var(--line);
  background: var(--cream);
  overflow: auto;
  overscroll-behavior: contain;
}
.tcg-join-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 3;
  margin-bottom: var(--space-2);
  padding-block: .4rem;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.tcg-join-bar button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 .65rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--cream);
  font: inherit;
  cursor: pointer;
}
.tcg-join-bar button:hover { border-color: var(--ink); }
.tcg-join-bar [data-enter-close] { margin-inline-start: auto; }
.tcg-join-panel h2 { font-size: var(--fs-h2); max-width: 22ch; margin: 0 0 .8rem; }
.tcg-join-panel .lead-line { color: var(--muted); max-width: 32rem; }
.tcg-join-panel .hero-choices { flex-wrap: wrap; }
.tcg-join-panel .hero-choice { min-width: 0; }
@media (min-width: 900px) {
  .tcg-join-panel .hero-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 639.98px) {
  .tcg-join-dialog { padding: .65rem; }
  .tcg-join-panel .hero-choices { grid-template-columns: 1fr; }
}

.hero-choices {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.hero-choice {
  position: relative;
  flex: 1 0 12rem;
  min-height: 13rem;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--white);
  text-align: left;
  background: center/cover no-repeat;
  overflow: hidden;
}

.hero-choice strong,
.hero-choice em {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  z-index: 1;
}

.hero-choice strong {
  bottom: 1.8rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: var(--fs-lead);
  font-weight: 560;
}

.hero-choice em {
  bottom: 0.7rem;
  font-style: normal;
  color: #efe6d8;
  font-size: var(--fs-small);
}

.hero-choice::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 10, 8, 0.82), transparent 62%);
}

.join-cta {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-block;
  background: var(--paper);
  color: var(--forest);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: var(--fs-h3);
  line-height: 1;
  padding: 1.05rem 1.5rem;
  min-height: 3.6rem;
  text-decoration: none;
}

.join-cta:hover { background: var(--white); color: var(--forest); }

/* gathering.jpg has a white fade baked into its right edge; crop it out of view */
.enter-tile[style*="gathering.jpg"],
.hero-choice[style*="gathering.jpg"] {
  background-size: 160%;
  background-position: left center;
}

/* Homepage verticals band */

.projects-band {
  background: #1c2a22;
  color: var(--cream);
  padding: 2.6rem 0 2.8rem;
  margin-top: clamp(2rem, 5vw, 2.8rem);
}

.projects-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.projects-head h2 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
}

.projects-head a {
  color: var(--peach);
  font-weight: 600;
  text-decoration: none;
}

.projects-shelf { position: relative; padding: 0; }

.projects-shelf .arrow { top: 8.2rem; z-index: 3; }

.project-card {
  flex: 0 0 min(78vw, 24rem);
  scroll-snap-align: start;
  color: inherit;
  text-decoration: none;
  display: block;
}

.project-card img {
  width: 100%;
  height: 17.5rem;
  object-fit: cover;
  object-position: center;
  display: block;
}

.project-card .kicker {
  color: var(--peach);
  margin: 0.8rem 0 0.25rem;
}

.project-card strong {
  display: block;
  color: var(--cream);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 560;
  line-height: 1.15;
}

.project-card em {
  display: block;
  margin: 0.3rem 0 0;
  color: #d5cfc3;
  font-style: normal;
  font-size: var(--fs-nav);
  line-height: 1.4;
}

@media (max-width: 899.98px) {
  .ng-hero-media { height: 86vh; }

  .ng-split,
  .ng-flip { grid-template-columns: 1fr; }

  .ng-flip img { order: 0; }

  .reel-fill { grid-template-columns: 1fr; }

  .reel-fill .reel { aspect-ratio: 9 / 14; }
}

@media (max-width: 639.98px) {
  .hero-choices { flex-wrap: wrap; overflow: visible; }

  .hero-choice { flex: 1 1 8.5rem; min-height: 8.5rem; }

  .hero-choice:last-child:nth-child(odd) { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {


  .ng-hero-media { background: url("../media/video/gathering.jpg") center/cover no-repeat; }

  .ng-hero-media video { display: none; }
}

/* --- Common Culture --- */

/* --- Essay (what-we-are) --- */

.essay { background: var(--home-paper); color: var(--ink); }

/* --- Verticals (projects index) --- */

.vert { background: var(--paper); color: var(--ink); padding-bottom: 3rem; }

.vert-head {
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 3.5rem) 0 1.5rem;
}

.vert-head h1 { font-size: var(--fs-display-xl); line-height: var(--lh-display); margin: 0.2rem 0 0.6rem; }

/* --- Movement / What we are --- */

.movement-page { background: var(--cream); color: var(--forest); overflow: hidden; }
.movement-page em { font-weight: 500; }
.movement-eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.movement-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: min(46rem, 88svh); background: var(--forest); color: var(--cream); }
.movement-hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2rem, 5vw, 5rem) clamp(1.2rem, 6vw, 6rem); }
.movement-hero .movement-eyebrow { color: #d2ab88; margin: 0 0 clamp(2rem, 7vh, 5rem); }
.movement-hero .movement-eyebrow span { padding-inline: .4rem; color: #a2b7a2; }
.movement-hero h1 { font-size: var(--fs-display-xl); line-height: var(--lh-display); letter-spacing: var(--track-display); max-width: 10ch; margin: 0 0 2rem; text-wrap: balance; }
.movement-hero h1 em { color: var(--editorial-peach); }
.movement-hero-dek { max-width: 28rem; font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.42; margin: 0 0 2rem; color: var(--text-on-forest); }
.movement-text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.4rem; min-height: 2.6rem; border-bottom: 1px solid currentColor; text-decoration: none; color: var(--movement-link); font-size: var(--fs-nav); font-weight: 600; line-height: 1.25; }
.movement-text-link:hover { color: #bb5732; }
.movement-text-link-light { color: var(--cream); }
.movement-text-link-light:hover { color: var(--editorial-peach); }
.movement-hero-photo { min-width: 0; min-height: 30rem; position: relative; margin: 0; }
.movement-hero-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 42%; }
.movement-hero-photo figcaption { position: absolute; inset-inline: 0; bottom: 0; display: flex; justify-content: space-between; gap: 1rem; padding: 3.5rem 1.4rem 1rem; background: linear-gradient(transparent, rgba(12, 20, 15, .7)); color: var(--white); font-size: var(--fs-eyebrow); letter-spacing: .08em; text-transform: uppercase; }
.movement-story { max-width: 86rem; margin: auto; padding: clamp(5rem, 10vw, var(--space-6)) clamp(1.3rem, 5vw, 5rem); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2.5rem, 10vw, 9rem); align-items: end; }
.movement-story .movement-eyebrow { color: var(--editorial-label); margin: 0 0 1.8rem; }
.movement-story h2 { font-size: var(--fs-display-xl); line-height: var(--lh-display); letter-spacing: var(--track-display); max-width: 9ch; margin: 0; }
.movement-story h2 em { color: var(--editorial-clay); }
.movement-story-copy { padding-bottom: .4rem; }
.movement-story-copy p { font-size: clamp(1.08rem, 1.5vw, 1.27rem); line-height: 1.55; max-width: 35rem; margin: 0 0 1.25rem; }
.movement-story-copy p:first-child { font-weight: 600; }
.movement-images { max-width: 86rem; margin: 0 auto; padding: 0 clamp(1.3rem, 5vw, 5rem) var(--space-6); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .7fr); grid-template-rows: auto auto; gap: 1.1rem clamp(1.1rem, 4vw, 4rem); align-items: end; }
.movement-images figure { margin: 0; }
.movement-images img { display: block; width: 100%; object-fit: cover; }
.movement-image-large { grid-row: 1 / 3; }
.movement-image-large img { height: clamp(30rem, 65vw, 53rem); object-position: center; }
.movement-image-small img { height: clamp(18rem, 35vw, 26rem); object-position: center 30%; }
.movement-images figcaption { font-size: var(--fs-eyebrow); letter-spacing: .12em; text-transform: uppercase; padding-top: .65rem; color: var(--image-caption); }
.movement-image-aside { align-self: end; margin: 0 0 2rem; font-family: "Source Serif 4", Georgia, serif; font-size: var(--fs-h2); line-height: 1.14; letter-spacing: -.025em; }
.movement-image-aside em { color: var(--editorial-clay); }
.movement-manifesto { background: var(--panel-clay); color: #fff4e8; padding: clamp(5rem, 12vw, var(--space-6)) max(clamp(1.3rem, 6vw, 6rem), calc((100vw - 75rem) / 2)); }
.movement-manifesto .movement-eyebrow { color: #f1c9b2; }
.movement-manifesto h2 { font-size: var(--fs-display-xl); line-height: var(--lh-display); letter-spacing: var(--track-display); max-width: 11ch; margin: 3rem 0; }
.movement-manifesto h2 em { color: #e9bd9e; }
.movement-manifesto > p:last-child { max-width: 34rem; margin: 0 0 0 auto; font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.5; }
.movement-method { max-width: 86rem; margin: auto; padding: clamp(5rem, 10vw, var(--space-6)) clamp(1.3rem, 5vw, 5rem); }
.movement-method-head { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: start; margin-bottom: clamp(3rem, 6vw, 6rem); }
.movement-method-head .movement-eyebrow { color: var(--editorial-label); margin-top: .55rem; }
.movement-method h2 { font-size: var(--fs-display-xl); line-height: var(--lh-display); letter-spacing: var(--track-display); margin: 0; max-width: 13ch; }
.movement-method h2 em { color: var(--editorial-clay); }
.movement-method ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 3rem); list-style: none; padding: 0; margin: 0; }
.movement-method li { border-top: 1px solid var(--editorial-line); padding-top: 1.2rem; }
.movement-method li span { font-size: var(--fs-eyebrow); letter-spacing: .12em; color: var(--editorial-label); }
.movement-method h3 { font-size: clamp(1.7rem, 2.7vw, 2.8rem); margin: 2.5rem 0 .45rem; }
.movement-method li p { margin: 0; font-size: var(--fs-nav); line-height: 1.5; }
.movement-invitation { display: grid; grid-template-columns: 1fr 1fr; background: var(--panel-sage); }
.movement-invitation-copy { padding: clamp(4rem, 9vw, var(--space-6)) clamp(1.3rem, 6vw, 6rem); align-self: center; }
.movement-invitation .movement-eyebrow { color: var(--editorial-label); }
.movement-invitation h2 { font-size: var(--fs-display-xl); line-height: var(--lh-display); letter-spacing: var(--track-display); margin: 2rem 0; }
.movement-invitation h2 em { color: var(--editorial-clay); }
.movement-invitation-copy > p:not(.movement-eyebrow) { max-width: 30rem; font-size: var(--fs-body); line-height: 1.55; }
.movement-invitation-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2.5rem; }
.movement-invitation > img, .movement-invitation > picture > img { width: 100%; height: 100%; max-height: 46rem; min-height: 34rem; object-fit: cover; object-position: center 36%; }

/* --- Culture / editorial issue --- */

@media (max-width: 899.98px) {
  .movement-hero { grid-template-columns: 1fr 1fr; }
  .movement-hero h1 { font-size: var(--fs-display-xl); }

}

@media (max-width: 639.98px) {
  .movement-hero, .movement-story, .movement-invitation { grid-template-columns: 1fr; }
  .movement-hero { min-height: 0; }
  .movement-hero-copy { padding-block: 3.5rem 3rem; }
  .movement-hero .movement-eyebrow { margin-bottom: 2rem; }
  .movement-hero h1 { font-size: var(--fs-display-xl); }
  .movement-hero-photo { min-height: 30rem; }
  .movement-story { gap: 2rem; padding-block: 5rem; }
  .movement-story h2 { font-size: var(--fs-display-xl); }
  .movement-images { grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: 5rem; }
  .movement-image-large { grid-row: auto; }
  .movement-image-large img, .movement-image-small img { height: 23rem; }
  .movement-image-aside { grid-column: 1 / -1; font-size: 2rem; margin: 1rem 0 0; }
  .movement-manifesto { padding-block: 5rem; }
  .movement-manifesto h2 { font-size: var(--fs-display-xl); }
  .movement-method-head { display: block; }
  .movement-method h2 { margin-top: 1.5rem; }
  .movement-method ol { grid-template-columns: 1fr 1fr; gap: 2rem 1.2rem; }
  .movement-method h3 { margin-top: 1.5rem; }
  .movement-invitation > img, .movement-invitation > picture > img { max-height: 30rem; min-height: 25rem; }

}

@media (max-width: 420px) {
  .movement-images { display: block; }
  .movement-image-large img { height: 30rem; }
  .movement-image-small { width: 68%; margin: -4rem 0 0 auto !important; position: relative; }
  .movement-image-small img { height: 16rem; border: .5rem solid var(--cream); }
  .movement-image-aside { margin-top: 2rem; }
  .movement-method ol { grid-template-columns: 1fr; }

}

/* --- Responsive editorial composition --- */

.ng-hero { position: relative; }
.ng-mobile-still { display: none; }
.ng-hero-kicker { margin: 0 0 1rem; color: #f2d2ad; font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.reel-frame { position: relative; flex: none; width: 100%; aspect-ratio: 9 / 16; min-height: 0; overflow: hidden; }
.reel-fill .reel .reel-frame video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.reel-play { position: absolute; z-index: 2; inset-inline-end: .8rem; bottom: .8rem; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: .65rem; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(13,25,18,.85); color: var(--white); cursor: pointer; }
.reel-play span { display: block; width: 100%; height: 100%; }
.reel-play svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.reel-play .reel-icon-pause, .reel-play[aria-pressed="true"] .reel-icon-play { display: none; }
.reel-play[aria-pressed="true"] .reel-icon-pause { display: block; }
.reel-play:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.reel-play[hidden] { display: none; }
.reel-fill .reel small { display: block; padding: 0 .8rem .65rem; font-size: var(--fs-reel-note); line-height: 1.4; color: var(--caption-on-forest); background: var(--film-surface); }
.reel-play:active, .ng-btn:active, .enter-tile:active, .hero-choice:active { scale: .96; }
.fields input, .fields textarea, .fields select { font-size: var(--fs-nav); }
.fields label { line-height: 1.4; }
.fields label:focus-within { color: var(--clay); }
.fields input:focus-visible, .fields textarea:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }
.nav-toggle, .enter-bar button { min-height: 2.75rem; }
.subnav a { padding-block: .5rem; }
.contact-list a, .footer a, .rail a { overflow-wrap: anywhere; }
.card:focus-visible, .project-card:focus-visible, .enter-tile:focus-visible, .hero-choice:focus-visible { outline-offset: 4px; }

@media (hover: hover) and (pointer: fine) {
  .card:hover .card-media img { transform: scale(1.045); }
  .arrow:hover { transform: scale(1.07); }
  .enter-tile:hover { outline: 2px solid var(--paper); outline-offset: -2px; }
}
@media (hover: none) {
  .card-media img { transition: none; }
  .card:hover .card-media img { transform: none; }
  .enter-tile:hover { outline: 0; }
}

@media (max-width: 1200px) {
  :root { --gutter: clamp(1.6rem, 4vw, 3rem); }
  .explore-index-grid .card-grid,
  .experiment-index-grid .card-grid, .journal-index-grid .card-grid { padding-top: .4rem; }
}

@media (min-width: 640px) and (max-width: 1200px) {
  .ng-split, .ng-flip { grid-template-columns: 1.1fr .9fr; }
  .ng-flip { grid-template-columns: .9fr 1.1fr; }
  .reel-fill { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reel-fill .reel { aspect-ratio: auto; }
  .enter-grid.is-five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .enter-page { min-height: 0; }
  .enter-stage { padding-bottom: 5rem; }
  .enter-tile { min-height: clamp(20rem, 38svh, 29rem); }
}

@media (max-width: 899.98px) {
  .ng-hero-media { display: grid; grid-template-columns: 1.07fr .93fr; height: auto; min-height: min(42rem, 77svh); }
  .ng-hero-media video { display: none; }
  .ng-mobile-still { display: block; grid-column: 1; grid-row: 1; width: 100%; height: 100%; min-height: min(42rem, 77svh); object-fit: cover; object-position: center 30%; }
  .ng-hero-copy { position: relative; inset: auto; grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: start; padding: clamp(1.8rem, 4vw, 3.5rem); background: var(--forest); }
  .ng-hero-copy h1 { max-width: 13ch; margin-inline: 0; font-size: var(--fs-home-tablet); text-shadow: none; }
  .hero-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; overflow: visible; padding-bottom: 1rem; }
  .hero-choice { min-height: 12rem; }
  .enter-page { min-height: calc(100vh - var(--header-height)); min-height: calc(100svh - var(--header-height)); }
  .enter-bar { padding-top: max(1rem, env(safe-area-inset-top)); }
  .enter-stage { padding-bottom: max(2rem, env(safe-area-inset-bottom)); }
  .enter-tile { min-height: clamp(11rem, 24vw, 17rem); }
}

@media (max-width: 639.98px) {
  :root { --gutter: clamp(1rem, 5vw, 1.45rem); --section-space: clamp(3.5rem, 12vw, 5rem); }
  .ng-hero-media { display: flex; flex-direction: column; min-height: 0; }
  .ng-mobile-still { flex: none; width: 100%; height: clamp(21rem, 48svh, 29rem); min-height: 0; object-position: center 27%; }
  .ng-hero-copy { flex: none; min-height: 19rem; width: 100%; padding: clamp(2rem, 7vw, 3rem) var(--gutter) clamp(2.5rem, 9vw, 4rem); }
  .ng-hero-copy h1 { font-size: var(--fs-home-mobile); line-height: 1.03; max-width: 17ch; margin-bottom: 1.4rem; text-wrap: balance; }
  .ng-hero-kicker { font-size: var(--fs-eyebrow); }
  .ng-btn { min-height: 3.1rem; }
  .ng-split, .ng-flip { width: 100%; display: flex; flex-direction: column; gap: 0; margin: 0; }
  .ng-split > img, .ng-split > picture > img { width: 100%; aspect-ratio: 4 / 3; object-position: 18% center; }
  .ng-split > div { padding: clamp(2rem, 8vw, 3rem) var(--gutter) var(--section-space); }
  .ng-split h2 { font-size: var(--fs-home-section-mobile); line-height: 1.07; text-wrap: balance; }
  .ng-flip { background: #ece5da; }
  .ng-flip > div { order: 0; }
  .ng-flip > img, .ng-flip > picture > img { order: 1; width: calc(100% - var(--gutter)); margin-inline-start: var(--gutter); aspect-ratio: 4 / 5; object-position: center 36%; }
  .ng-label { margin: var(--section-space) var(--gutter) 1.25rem; text-align: start; }
  .reel-fill { width: 100%; display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 0 var(--gutter) 1.5rem; margin-bottom: 0; overscroll-behavior-inline: contain; scrollbar-width: none; }
  .reel-fill::-webkit-scrollbar { display: none; }
  .reel-fill .reel { flex: 0 0 min(76vw, 21rem); width: auto; aspect-ratio: auto; scroll-snap-align: start; overflow: visible; background: transparent; }
  .reel-frame { flex: none; width: 100%; aspect-ratio: 9 / 16; }
  .projects-band { margin-top: var(--section-space); padding-block: 3.5rem 4rem; }
  .projects-head { align-items: end; }
  .projects-head h2 { font-size: 2.6rem; }
  .project-card { flex-basis: min(78vw, 21rem); }
  .project-card img { height: 15rem; }
  .hero-choices { grid-template-columns: 1fr; }
  .hero-choice { min-height: clamp(7.8rem, 22svh, 10rem); background-position: center 38%; }
  .hero-choice strong { font-size: 1.65rem; }
  .enter-page { min-height: 0; }
  .enter-stage { padding-bottom: 3rem; }
  .enter-stage h2 { font-size: clamp(2.6rem, 10vw, 4rem); line-height: 1; }
  .enter-grid, .enter-grid.is-five { grid-template-columns: 1fr; gap: .65rem; }
  .enter-grid > :last-child:nth-child(odd) { grid-column: auto; }
  .enter-tile { min-height: clamp(8.5rem, 23svh, 11rem); background-position: center 38%; }
  .enter-tile strong { font-size: 1.7rem; }
  .enter-tile em { font-size: var(--fs-nav); }
  .page-top { padding-top: clamp(2rem, 8vw, 3.5rem); }
  .page-top h1 { font-size: var(--fs-h1); line-height: 1.07; text-wrap: balance; }
  .dek { font-size: var(--fs-lead); line-height: 1.52; overflow-wrap: anywhere; }
  .prose { font-size: var(--fs-body); line-height: 1.67; }
  .prose h2 { margin-top: 2.8rem; line-height: 1.12; }
  .prose p { margin-bottom: 1.35rem; }
  .prose figure { margin-block: 2rem; }
  .page-top .opener { margin-inline: calc(-1 * var(--gutter)); }
  .page-top .opener img { width: 100%; max-height: none; height: auto; }
  .page-top .opener figcaption { padding-inline: var(--gutter); }
  .sheet div { grid-template-columns: minmax(0, 1fr); padding-block: 1rem; }
  .sheet dt { font-size: var(--fs-eyebrow); }
  .sheet dd { font-size: var(--fs-nav); line-height: 1.55; }
  .subnav { gap: .1rem 1rem; padding-block: .8rem 1.2rem; }
  .subnav a { font-size: var(--fs-small); }
  .fields { gap: 1.1rem; padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); }
  .fields input, .fields textarea { min-height: 3.1rem; }
  .fields textarea { min-height: 9rem; }
  .btn { min-height: 3.2rem; }
  .footer { padding: var(--space-4) 0 max(var(--space-3), env(safe-area-inset-bottom)); }
  .footer h2 { margin-bottom: var(--space-1); }
  .footer li { margin-block: 0; }
  .legal { align-items: start; }
  .experiment-index-grid, .journal-index-grid { display: block; }
  .vert-head { padding-block: 3rem 2.5rem; }
  .vert-head h1 { font-size: var(--fs-display-xl); }

  .movement-hero-photo { min-height: clamp(28rem, 70svh, 37rem); }
  .movement-hero-photo img { object-position: center 35%; }
  .movement-story-copy { max-width: 34rem; }
  .movement-image-large img { object-position: center 36%; }
  .movement-manifesto h2 { max-width: 10ch; }
  .movement-invitation > img, .movement-invitation > picture > img { object-position: center 30%; }
}

@media (max-width: 420px) {

  .movement-manifesto h2 { font-size: var(--fs-display-xl); }
  .movement-hero h1 { font-size: var(--fs-display-xl); }

}

@media (max-width: 360px) {
  :root { --gutter: 1rem; }
  .ng-mobile-still { height: 14rem; }
  .ng-hero-copy h1 { font-size: 2.3rem; }

  .movement-hero h1 { font-size: var(--fs-display-xl); }

}

@media (min-width: 640px) and (max-width: 899.98px) {
  .enter-page { min-height: 0; }
  .enter-tile { min-height: clamp(20rem, 38svh, 29rem); }
}

@media (max-height: 520px) and (orientation: landscape) {
  .ng-mobile-still { height: 15rem; }
  .ng-hero-copy { min-height: 0; padding-block: 1rem; }
  .ng-hero-kicker { margin-bottom: .4rem; }
  .ng-hero-copy h1 { font-size: var(--fs-home-landscape); line-height: 1.02; margin-bottom: .7rem; }
  .hero-choice, .enter-tile { min-height: 7rem; }
  .enter-page { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .card-media img, .reel-fill, .carousel { transition: none; scroll-behavior: auto; }
}

/* v2 content release */

@media (min-width: 900px) {
  .movement-method.is-five ol { grid-template-columns: repeat(5, 1fr); }
}

/* Shared controls and labels. */

.movement-text-link { font-family: "Source Sans 3", sans-serif; font-size: var(--fs-small); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }

.kicker, .ng-label, .ng-hero-kicker, .movement-eyebrow, .sheet dt, .footer h2, .movement-images figcaption, .movement-hero-photo figcaption {
  font-family: "Source Sans 3", sans-serif; font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: var(--track-eyebrow); text-transform: uppercase;
}
.brand, .movement-image-aside { font-weight: 500; }
.arrow { line-height: 1; }
.prose a.btn { color: var(--ink-strong); }
@media (max-width: 639.98px) {
  .footer a { min-height: 44px; display: flex; align-items: center; }
}

/* Shared reading rhythm for the flagship pages. */
.movement-hero-dek, .movement-story-copy p, .movement-manifesto > p:last-child, .movement-method li p, .movement-invitation-copy > p:not(.movement-eyebrow) {
  font-size: var(--fs-body); line-height: var(--lh-body);
}
.movement-image-aside { font-size: var(--fs-h2); line-height: var(--lh-heading); letter-spacing: var(--track-heading); }
.movement-method h3 { font-size: var(--fs-h3); }

.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); }

/* Section headings use the page-title step; heroes retain the display ceiling. */
.movement-method h2, .movement-invitation h2 { font-size: var(--fs-h1); }
.movement-story, .movement-method { padding-block: var(--space-4); }
.movement-images { padding-bottom: var(--space-4); }
.movement-manifesto { padding-block: var(--space-4); }
.movement-invitation-copy { padding-block: var(--space-4); }

/* Story, action and browse page families. */
.story-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: var(--space-5); align-items: end; padding-block: var(--space-4); }
.story-head-copy { min-width: 0; max-width: var(--measure); }
.story-head-text { grid-template-columns: 1fr; }
.story-head-media { margin: 0; min-width: 0; }
.story-head-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-head-media figcaption { font-size: var(--fs-small); color: var(--muted); }
.story-head-media img[src*="note-"], .story-head-media img[src*="post-"] { object-fit: contain; }
.story-body { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(0, 16rem); justify-content: space-between; gap: var(--space-4); padding-block: var(--space-3); }
.story-body .rail { position: sticky; top: calc(var(--header-height) + var(--space-3)); align-self: start; min-width: 0; }
.story-body .rail .next-read { margin-top: var(--space-3); }
.story-body .rail .next-read strong { font-size: var(--fs-h3); }
.story-body .rail-facts { margin-block: var(--space-3); }
.story-body .rail p { font-size: var(--fs-small); }
.story-body .rail .sheet div { display: block; }

/* About uses the masthead edges, with a narrower reading column inside them. */
.about-page {
  --about-text: calc((100% - var(--space-4)) / 2);
  padding-block: var(--space-4) var(--space-5);
}
.about-opening, .about-invitation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-4);
  align-items: center;
}
.about-opening { padding-block-end: var(--space-4); }
.about-opening-copy { max-width: var(--measure); }
.about-opening h1 { margin-block: var(--space-1) var(--space-2); }
.about-opening .dek { margin: 0; }
.about-page figure { margin: 0; }
.about-page figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-chapter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  border-top: 1px solid var(--line);
  padding-block: var(--space-3);
}
.about-page h2 { margin: 0; font-size: var(--fs-h3); }
.about-copy { min-width: 0; }
.about-copy p { margin-block: 0 var(--space-2); }
.about-copy > :last-child { margin-bottom: 0; }
.about-copy a { color: var(--clay); }
.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
  width: var(--about-text);
  margin-inline-start: auto;
  padding-block: 0 var(--space-3);
}
.about-gallery figcaption { font-size: var(--fs-small); color: var(--muted); margin-top: var(--space-1); }
.about-copy .sheet { margin-block: var(--space-2); }
.about-invitation { border-top: 1px solid var(--line); padding-block-start: var(--space-4); }
.about-invitation h2 { margin-block-end: var(--space-2); }
@media (max-width: 899.98px) {
  .about-page { --about-text: min(100%, var(--measure)); }
  .about-chapter { display: block; }
  .about-chapter h2 { margin-block-end: var(--space-1); }
  .about-chapter .about-copy { max-width: var(--measure); }
  .about-gallery { margin-inline-start: 0; }
}
@media (max-width: 639.98px) {
  .about-page { padding-block-end: var(--space-4); }
  .about-opening, .about-invitation { grid-template-columns: 1fr; gap: var(--space-3); }
  .about-opening { padding-block-end: var(--space-3); }
  .about-gallery figure img { aspect-ratio: 4 / 5; }
  .about-invitation { padding-block-start: var(--space-3); }
}
.story-body .rail .sheet dd { font-size: var(--fs-small); }
.story-body img { max-width: 26rem; width: 100%; }

.story-body .sheet { max-width: var(--measure); }
.story-body .sheet div { grid-template-columns: 10rem minmax(0, 1fr); gap: var(--space-2); }
.action { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(0, 24rem); gap: var(--space-5); align-items: start; }
.action-main { min-width: 0; }
.action-single { grid-template-columns: minmax(0, var(--measure)); }
.action-main > figure img { max-width: 24rem; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.action-card { border: 1px solid var(--line); padding: var(--space-3); background: var(--cream); min-width: 0; align-self: start; }
.action-card h2 { font-size: var(--fs-h3); }
.action-card .section:first-child { border-top: 0; padding-top: 0; }
.action-card .fields label, .fields label { font-size: var(--fs-small); font-weight: 600; }
.fields input, .fields textarea, .fields select { background: var(--cream); border-color: var(--line); font-size: var(--fs-body); font-weight: 400; }
.action-main summary { cursor: pointer; font-family: "Source Serif 4", Georgia, serif; font-size: var(--fs-h2); font-weight: 560; line-height: var(--lh-heading); }
.action-main details > .dek { margin-top: var(--space-2); }
.action-main details:not([open]) { padding-block: var(--space-3); }
.filters button { border: 0; border-bottom: 1px solid transparent; padding-inline: 0; margin-inline-end: var(--space-3); }
.filters button.is-on { border-bottom-color: var(--clay); }
.duo a { display: block; min-height: 0; background: var(--paper); color: var(--ink); }
.duo img { position: static; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.duo span { background: none; padding: var(--space-2) 0; }
.duo .kicker { color: var(--clay); }
.duo em { color: var(--muted); }
.card-grid .card-media { height: auto; aspect-ratio: 4 / 3; }
.card-grid .card-media img { height: 100%; width: 100%; object-fit: cover; }
.production-reels .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.production-reels .vcard { width: 100%; min-width: 0; }
.production-reels video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.enter-page { height: auto; min-height: 0; }
.enter-page .enter-stage, .enter-page .enter-bar { width: min(var(--wide), calc(100% - 2 * var(--gutter))); margin-inline: auto; padding-inline: 0; }
.enter-page .enter-stage { padding-block: var(--space-3) var(--space-4); }
.enter-page .enter-bar { padding-block: var(--space-2); }
.enter-page h1 { font-size: var(--fs-h1); max-width: 17ch; }
@media (min-width: 900px) {
  .ng-hero-copy h1 { max-width: 31ch; }
}
@media (max-width: 899.98px) {
  .story-head, .story-body, .action { grid-template-columns: 1fr; }
  .story-head-media { width: 100%; max-width: 26rem; }
  .story-head-media img { aspect-ratio: 4 / 3; }
  .story-body .rail { position: static; }
  .story-body .rail nav { display: none; }
  .story-body .sheet div { grid-template-columns: 1fr; }
  .action-card { max-width: var(--measure); }
  .production-reels .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639.98px) {
  .production-reels .card-grid { grid-template-columns: 1fr; }
}

.explore-index-grid, .experiment-index-grid, .journal-index-grid { display: block; }
.explore-index-head { padding-bottom: var(--space-3); }
.explore-index-head > a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .25em; }
.explore-index-grid .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4) var(--space-2); }
@media (min-width: 900px) {
  .action-card:not(:has(form)) { position: sticky; top: calc(var(--header-height) + var(--space-3)); }
}

/* Join tiles rendered as links in the home popup */
a.hero-choice, a.hero-choice:hover, a.hero-choice:visited { color: var(--white); text-decoration: none; }
/* Title and subtitle stack from the bottom, so a two-line subtitle never runs into the title */
.hero-choice { display: flex; flex-direction: column; justify-content: flex-end; gap: .2rem; padding: 0 .8rem .7rem; }
.hero-choice strong, .hero-choice em { position: relative; left: auto; right: auto; bottom: auto; }
/* Official form first, email note second */
.official-form { margin-block: var(--space-2) var(--space-1); }

.vert-num { font-family: "Source Sans 3", system-ui, sans-serif; font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .1em; color: var(--clay); }

/* Common Culture: two aligned entries inside the shared page grid. */

/* Connect: official details first */
.connect-official { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); border-top: 1px solid var(--ink); padding-top: var(--space-3); margin-block: var(--space-4); }
.connect-official h2 { font-size: var(--fs-h3); margin: 0 0 var(--space-2); }
.connect-channels { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.connect-channels li, .connect-facts div { display: grid; gap: .1rem; }
.connect-channels span, .connect-facts dt { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.connect-channels a { min-height: 44px; display: inline-flex; align-items: center; }
.connect-facts { margin: 0; display: grid; gap: var(--space-2); }
.connect-facts dd { margin: 0; }
.connect-routes { border-top: 1px solid var(--line); padding-top: var(--space-3); margin-bottom: var(--space-4); }
.connect-routes h2 { font-size: var(--fs-h3); }
.connect-routes ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-1) var(--space-3); }
.connect-routes li { min-height: 44px; display: flex; align-items: center; gap: .3em; flex-wrap: wrap; }
@media (max-width: 899.98px) {
  .connect-official, .connect-routes ul { grid-template-columns: 1fr; gap: var(--space-3); }
}
/* Culture Book: cover and reading-list photos fill their frames (contain was for the old graphics) */

/* ===== Forms (phase 2, part A): form stage, steps, choices, review, states ===== */
/* hidden must win over the display values below (steps, intro, nav, review) */
.fields [hidden], .form-stage [hidden], .fields[hidden] { display: none !important; }
.form-summary { display: none; }
.action-card .form-summary { display: block; }
.form-start-alt { font-weight: 600; }
.stage-panel { display: block; }
.form-stage {
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  margin: var(--space-5) auto;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  border-top: 1px solid var(--ink);
  padding-top: var(--space-4);
  scroll-margin-top: calc(var(--header-height) + var(--space-2));
}
.apply-panel:not(.stage-panel) .form-stage { width: 100%; }
.stage-aside { position: sticky; top: calc(var(--header-height) + var(--space-3)); align-self: start; }
.stage-art { margin-bottom: var(--space-3); }
.stage-art svg { width: 4.5rem; height: 4.5rem; display: block; }
.stage-aside h2 { font-size: var(--fs-h2); line-height: var(--lh-heading); margin: .3rem 0 var(--space-2); }
.stage-purpose { color: var(--muted); }
.stage-form { background: var(--cream); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2.5rem); min-width: 0; }
.stage-form .fields { max-width: none; }
.fields .field { display: grid; gap: .35rem; }
.fields .field label { display: block; }
.fields .field label, .chips legend { font-size: var(--fs-nav); font-weight: 600; color: var(--ink); }
.req { color: var(--clay); }
.fields .field input, .fields .field textarea { background: var(--paper); }
.step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: var(--space-3); }
.step-title { padding: 0; margin: 0 0 var(--space-1); font-family: "Source Serif 4", Georgia, serif; font-size: var(--fs-h3); font-weight: 560; line-height: var(--lh-heading); }
.step-title:focus { outline: none; }
.chips { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips legend { padding: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .45rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .45rem 1rem; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.chip span:hover { border-color: var(--forest); }
.chip input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--leaf); outline-offset: 2px; }
.field-error { margin: .25rem 0 0; color: var(--clay); font-size: var(--fs-small); }
.fields [aria-invalid="true"] { border-color: var(--clay); }
.step-intro { display: grid; gap: var(--space-2); justify-items: start; }
.step-count { margin: 0; font-family: "Source Serif 4", Georgia, serif; font-size: var(--fs-h3); line-height: var(--lh-heading); }
.form-progress { display: grid; gap: .5rem; margin-bottom: var(--space-2); }
.form-progress-bar { display: block; height: 3px; background: var(--line); }
.form-progress-bar i { display: block; height: 100%; width: 0; background: var(--forest); transition: width .35s ease; }
.form-progress-count { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--muted); }
.step-nav { display: flex; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-3); }
.form-actions { display: flex; gap: var(--space-2); margin-top: var(--space-2); }
.is-stepping .form-actions { justify-content: flex-end; }
.btn-quiet { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-quiet:hover { background: var(--paper); }
.form-review h3 { font-size: var(--fs-h3); margin: 0 0 var(--space-2); }
.form-review h3:focus { outline: none; }
.form-review section { display: flex; justify-content: space-between; align-items: start; gap: var(--space-2); border-top: 1px solid var(--line); padding-block: var(--space-2); }
.form-review dl { margin: 0; display: grid; gap: var(--space-1); min-width: 0; }
.form-review dt { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--muted); }
.form-review dd { margin: 0; overflow-wrap: anywhere; }
.form-review .muted { color: var(--muted); }
.link-button { appearance: none; background: none; border: 0; padding: 0 .25rem; min-height: 2.75rem; font: inherit; font-weight: 600; color: var(--clay); text-decoration: underline; cursor: pointer; }
.form-success { border-left: 3px solid var(--forest); padding: var(--space-3); background: var(--paper); }
.form-success h3 { margin: 0 0 var(--space-1); font-size: var(--fs-h3); }
.form-success:focus { outline: none; }
.form-fail { margin-top: var(--space-2); color: var(--clay); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 899.98px) {
  .form-stage { grid-template-columns: 1fr; gap: var(--space-3); margin-block: var(--space-4); }
  .stage-aside { position: static; }
  .stage-art { margin-bottom: var(--space-2); }
  .stage-art svg { width: 3rem; height: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .form-progress-bar i, .chip span { transition: none; }
}
/* ===== Common Roots tree scene (/join/individual/roots/) ===== */
.roots-hero { position: relative; background: var(--paper); }
.roots-hero [hidden] { display: none !important; }
.roots-copy {
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: var(--space-4) 0 var(--space-3);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  column-gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.roots-copy > .kicker, .roots-copy h1, .roots-copy .dek { grid-column: 1; }
.roots-copy h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--track-display); margin: .3rem 0 var(--space-2); }
.roots-copy .dek { color: var(--muted); margin: 0; }
.roots-actions, .roots-copy > p:last-child { grid-column: 2; }
.roots-actions { display: grid; gap: var(--space-1); justify-items: start; margin: 0; }
.roots-copy > p:last-child { margin: var(--space-1) 0 0; }
.roots-scene { position: relative; overflow: hidden; }
.roots-canvas { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.roots-layer, .roots-front { position: absolute; inset: -3%; will-change: transform; }
.roots-layer img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; pointer-events: none; }
.roots-sway img { transform-origin: var(--tx) var(--ty); animation: roots-sway 11s ease-in-out infinite alternate; }
@keyframes roots-sway { from { transform: rotate(-.15deg); } to { transform: rotate(.15deg); } }
.roots-birds img {
  position: absolute; left: var(--bx); top: var(--by); width: var(--bw); height: auto; object-fit: contain;
  animation: roots-bird-drift var(--drift-time) linear var(--drift-delay) infinite alternate;
}
@keyframes roots-bird-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(100%, -30%, 0); } }
.roots-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.roots-leader { fill: none; stroke: var(--clay); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.roots-end { fill: var(--clay); }
.roots-pulse { fill: none; stroke: var(--accent); stroke-width: 3px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 4 10; animation: roots-flow 1.4s linear infinite; }
@keyframes roots-flow { to { stroke-dashoffset: -28; } }
.roots-node {
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  width: 2.75rem; height: 2.75rem; transform: translate(-50%, -50%);
  display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer;
}
.roots-dot { display: block; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--leaf); border: 3px solid var(--paper); outline: 1px solid var(--forest); transition: transform .2s ease; }
.roots-dot-invite { background: var(--paper); border: 2px dashed var(--leaf); outline: 0; }
.roots-portrait { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; border: 3px solid var(--paper); transition: transform .2s ease; }
.roots-node:hover .roots-dot, .roots-node[aria-expanded="true"] .roots-dot,
.roots-node:hover .roots-portrait, .roots-node[aria-expanded="true"] .roots-portrait { transform: scale(1.15); }
.roots-node:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.roots-tag { position: absolute; top: 50%; transform: translateY(-50%); white-space: nowrap; padding: .15rem .4rem; background: var(--paper); color: var(--ink); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: var(--track-eyebrow); text-transform: uppercase; }
.roots-tag-left { right: 100%; margin-right: .3rem; }
.roots-tag-right { left: 100%; margin-left: .3rem; }
.roots-callout { position: absolute; left: var(--x); top: var(--y); z-index: 1; width: 13rem; display: grid; gap: .2rem; font-size: var(--fs-small); color: var(--muted); }
.roots-callout strong { color: var(--ink); font-size: var(--fs-eyebrow); letter-spacing: var(--track-eyebrow); text-transform: uppercase; }
.roots-card {
  position: absolute; left: var(--cx, 50%); top: var(--cy, 50%); z-index: 3;
  width: clamp(13rem, 20%, 19rem);
  background: var(--cream); border: 1px solid var(--line); padding: var(--space-2);
  font-size: var(--fs-small); line-height: 1.45;
}
.roots-card h3 { font-size: var(--fs-lead); line-height: var(--lh-heading); margin: .2rem 0 .3rem; }
.roots-card p { margin: 0 0 .4rem; color: var(--muted); }
.roots-card .kicker { margin: 0; }
.roots-card[data-for="n1"] { width: clamp(13rem, 24%, 22rem); }
.roots-card-member { display: grid; grid-template-columns: 3.5rem 1fr; gap: var(--space-2); align-items: start; }
.roots-photo { width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; }
.roots-link { font-weight: 600; }
.roots-close { display: none; float: right; appearance: none; border: 0; background: none; padding: 0 0 0 .5rem; min-height: 2.75rem; font: inherit; font-weight: 600; color: var(--clay); text-decoration: underline; cursor: pointer; }
.roots-card.is-open:not(.is-featured) .roots-close { display: inline-flex; }
.roots-card.is-ping { animation: roots-ping .9s ease; }
@keyframes roots-ping { 40% { border-color: var(--forest); } }
.roots-list { width: min(var(--wide), calc(100% - 2 * var(--gutter))); margin: 0 auto; padding: var(--space-4) 0 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: var(--space-2); }
.roots-list .roots-card { position: static; width: auto; }
.roots-list .roots-close { display: none; }
@media (min-width: 900px) {
  .roots-card.is-featured:not(.is-open)[data-for="n5"], .roots-card.is-featured:not(.is-open)[data-for="n11"] { top: auto; bottom: 4.5%; }
}
@media (max-width: 899.98px) {
  .roots-copy { display: block; padding-block: var(--space-4) var(--space-3); }
  .roots-actions { margin-top: var(--space-3); }
  .roots-scene { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .roots-canvas { width: 230vw; }
  .roots-callout { display: none; }
  .roots-layer, .roots-front { will-change: auto; }
  .roots-card.is-open {
    position: fixed; left: 0; right: 0; top: auto; bottom: 0; z-index: 95; width: auto; max-height: 70vh; overflow: auto;
    border-top: 1px solid var(--ink); padding: var(--space-3) var(--gutter) max(var(--space-3), env(safe-area-inset-bottom));
    font-size: var(--fs-body);
  }
  .roots-card.is-open .roots-close { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .roots-sway img, .roots-birds img, .roots-pulse, .roots-card.is-ping { animation: none; }
  .roots-dot, .roots-portrait { transition: none; }
}

/* Common Roots 3D tree (js/roots3d.min.js): replaces the painted tree and roots when it runs.
   The cards, dots and lines follow Paul's reference 1. Approved exception for this page only:
   rounded corners, frosted glass and soft shadows (DESIGN_SYSTEM.md, rule 4). */
.roots-3d, .roots-backdrop { position: absolute; inset: -3%; width: 106%; height: 106%; }
.roots-backdrop { display: block; pointer-events: none; }
.roots-3d canvas { display: block; width: 100%; height: 100%; cursor: grab; outline: 0; -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 99%); mask-image: linear-gradient(to bottom, black 90%, transparent 99%); }
.roots-3d canvas:active { cursor: grabbing; }
.roots-3d canvas:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.roots-hero.is-3d .roots-layer[data-name="tree"], .roots-hero.is-3d .roots-layer[data-name="roots"], .roots-hero.is-3d .roots-layer[data-name="sky"] { visibility: hidden; }
.roots-hero.is-3d .roots-layer[data-name="far-hills"] { opacity: .35; }
.roots-hero.is-3d .roots-layer[data-name="mid-hills"] { opacity: .55; }
.roots-hero.is-3d .roots-layer[data-name="foreground"] { opacity: .85; z-index: 1; }
.roots-hero.is-3d .roots-layer, .roots-hero.is-3d .roots-front { pointer-events: none; transform: none !important; }
.roots-hero.is-3d .roots-front { z-index: 2; }
.roots-hero.is-3d .roots-node, .roots-hero.is-3d .roots-card, .roots-hero.is-3d .roots-callout { pointer-events: auto; }
.roots-hero.is-3d .roots-node { transform: translate(-50%, -50%) scale(var(--ds, 1)); opacity: var(--do, 1); transition: opacity .25s ease; }
.roots-hero.is-3d .roots-node.is-back, .roots-hero.is-3d .roots-node.is-out { opacity: 0; pointer-events: none; }
.roots-hero.is-3d .roots-dot { width: 1.75rem; height: 1.75rem; background: var(--roots-glass-solid); border: 2px solid var(--leaf); outline: 0; box-shadow: var(--roots-shadow-dot); position: relative; }
.roots-hero.is-3d .roots-dot::after { content: ""; position: absolute; inset: .25rem; border-radius: 50%; background: var(--leaf); }
.roots-hero.is-3d .roots-dot-invite { border-style: dashed; background: var(--roots-glass); box-shadow: none; }
.roots-hero.is-3d .roots-dot-invite::after { display: none; }
.roots-hero.is-3d .roots-node:hover .roots-dot, .roots-hero.is-3d .roots-node[aria-expanded="true"] .roots-dot { transform: scale(1.18); }
.roots-hero.is-3d .roots-tag { background: none; padding: 0; color: var(--muted); text-shadow: 0 0 .4rem var(--paper), 0 0 .2rem var(--paper); }
.roots-hero.is-3d .roots-card {
  border-radius: .75rem; border: 1px solid var(--roots-glass-line); background: var(--roots-glass);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--roots-shadow);
  padding: .9rem 1rem; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, border-color .25s ease, opacity .35s ease;
}
.roots-hero.is-3d .roots-card:hover { transform: translateY(-3px); box-shadow: var(--roots-shadow-lift); border-color: var(--roots-glass-edge); }
.roots-hero.is-3d .roots-card .kicker { color: var(--clay); }
.roots-hero.is-3d .roots-leader { stroke-width: 1.35px; stroke-opacity: .72; }
.roots-hero.is-3d .roots-callout span { font-family: "Source Serif 4", Georgia, serif; font-style: italic; }
.roots-hero .roots-card.is-featured, .roots-hero .roots-lines, .roots-hero .roots-callout { transition: opacity .35s ease; }
.roots-hero.is-exploring .roots-card.is-featured:not(.is-open), .roots-hero.is-exploring .roots-lines, .roots-hero.is-exploring .roots-callout { opacity: 0; pointer-events: none; }
.roots-tools { display: none; }
.roots-hero.is-3d .roots-tools { position: absolute; z-index: 4; right: var(--gutter); top: var(--space-2); display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .5rem; }
.roots-tools-group { display: flex; gap: .3rem; }
.roots-tools-hint { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--muted); background: var(--roots-glass); border: 1px solid var(--roots-glass-line); border-radius: .5rem; padding: .45rem .7rem; }
.roots-tools button {
  min-width: 2.75rem; min-height: 2.75rem; padding: 0 .7rem; border: 1px solid var(--roots-glass-line); border-radius: .5rem;
  background: var(--roots-glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--roots-shadow-dot);
  color: var(--ink); font: inherit; font-size: var(--fs-small); font-weight: 600; cursor: pointer;
}
.roots-tools [data-turn], .roots-tools [data-zoom] { font-size: var(--fs-lead); padding: 0; }
.roots-tools button:hover { border-color: var(--leaf); }
.roots-tools button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.roots-hero:not(.is-exploring) .roots-views [data-view="whole"] { background: var(--leaf); border-color: var(--leaf); color: var(--paper); }
@media (max-width: 899.98px) {
  .roots-hero.is-3d .roots-scene { overflow: hidden; }
  .roots-hero.is-3d .roots-canvas { width: 100%; aspect-ratio: 4 / 5; }
  .roots-hero.is-3d .roots-tag { display: none; }
  .roots-tools-hint { display: none; }
  .roots-hero.is-3d .roots-tools { position: static; justify-content: center; padding: var(--space-1) var(--gutter) 0; }
  .roots-hero.is-3d .roots-card.is-open { border-radius: .75rem .75rem 0 0; }
}

/* Common Roots members: profile cards on the roots and the membership card (js/roots-pass.js).
   Part of the Roots-only exception (DESIGN_SYSTEM.md, rule 8): rounded, frosted, soft shadows. */
.roots-initials { display: grid; place-items: center; background: var(--peach); color: var(--forest); font-family: "Source Serif 4", Georgia, serif; font-weight: 600; font-size: var(--fs-small); }
.roots-photo.roots-initials { font-size: var(--fs-lead); }
.roots-hero.is-3d .roots-portrait { border-color: var(--roots-glass-solid); box-shadow: 0 0 0 2px var(--leaf), var(--roots-shadow-dot); }
.roots-hero.is-3d .roots-node:hover .roots-portrait, .roots-hero.is-3d .roots-node[aria-expanded="true"] .roots-portrait { transform: scale(1.18); }
.roots-card-member .roots-photo { box-shadow: 0 0 0 2px var(--roots-glass-solid), 0 0 0 3px var(--line); }
.roots-pass-open { appearance: none; display: inline-flex; align-items: center; gap: .3rem; min-height: 2.75rem; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.roots-pass-open:hover { color: var(--leaf); }
.roots-pass-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.roots-card-member .roots-link { display: block; }

.roots-pass { border: 0; padding: var(--space-2); margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: transparent; color: var(--ink); }
.roots-pass[open] { display: grid; place-items: center; align-content: center; gap: var(--space-3); }
.roots-pass::backdrop { background: rgba(20, 36, 28, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.roots-pass-stage { --rx: 0deg; --ry: 0deg; --gx: 30%; --gy: 20%; perspective: 1400px; cursor: pointer; }
.roots-pass-card { position: relative; width: min(22rem, 84vw); aspect-ratio: 5 / 8; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.roots-pass-card.is-flipped { transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + 180deg)); }
.roots-pass-face {
  position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem;
  padding: var(--space-3) var(--space-3) var(--space-2); border-radius: 1.25rem; border: 1px solid var(--roots-glass-edge);
  background: radial-gradient(circle at 78% 12%, rgba(245, 232, 198, .9), transparent 38%), linear-gradient(var(--roots-glass-solid), var(--cream));
  box-shadow: var(--roots-shadow-lift), inset 0 0 0 .45rem var(--roots-glass-solid), inset 0 0 0 calc(.45rem + 1px) var(--roots-glass-line);
}
.roots-pass-face::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .45), transparent 45%); mix-blend-mode: soft-light; }
.roots-pass-back { transform: rotateY(180deg); justify-content: center; }
.roots-pass-brand { display: flex; align-items: center; gap: .4rem; margin: 0; font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: var(--track-eyebrow); text-transform: uppercase; }
.roots-pass-brand img { width: 1.6rem; height: 1.6rem; border-radius: 50%; }
.roots-pass-face .kicker { margin: 0; color: var(--clay); }
.roots-pass-photo { width: 7rem; height: 7rem; margin: .3rem 0 0; border-radius: 50%; object-fit: cover; border: 4px solid var(--roots-glass-solid); box-shadow: 0 0 0 3px var(--leaf), var(--roots-shadow); }
.roots-pass-photo.roots-initials { font-size: var(--fs-h2); }
.roots-pass-name { margin: 0; font-size: var(--fs-h3); line-height: var(--lh-heading); }
.roots-pass-role { margin: 0; color: var(--clay); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: var(--track-eyebrow); text-transform: uppercase; }
.roots-pass-facts { display: grid; grid-template-columns: auto auto; gap: .25rem .9rem; margin: auto 0 0; padding-top: var(--space-1); border-top: 1px solid var(--roots-glass-line); text-align: left; font-size: var(--fs-small); }
.roots-pass-facts dt { color: var(--muted); font-size: var(--fs-eyebrow); letter-spacing: var(--track-eyebrow); text-transform: uppercase; align-self: center; }
.roots-pass-facts dd { margin: 0; font-weight: 600; }
.roots-pass-quote { margin: 0; font-family: "Source Serif 4", Georgia, serif; font-style: italic; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.roots-pass-line { margin: 0; color: var(--muted); }
.roots-pass-label { margin: var(--space-1) 0 0; color: var(--muted); font-size: var(--fs-eyebrow); letter-spacing: var(--track-eyebrow); text-transform: uppercase; }
.roots-pass-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.roots-pass-chips li { padding: .2rem .65rem; border: 1px solid var(--leaf); border-radius: 1rem; color: var(--leaf); font-size: var(--fs-small); font-weight: 600; }
.roots-pass-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1rem; margin: 0; font-weight: 600; }
.roots-pass-links a { min-height: 2.75rem; display: inline-flex; align-items: center; }
.roots-pass-motto { margin: auto 0 0; font-family: "Source Serif 4", Georgia, serif; font-style: italic; color: var(--muted); }
.roots-pass-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.roots-pass-actions .btn[disabled] { opacity: .55; cursor: progress; }
.roots-pass-flip, .roots-pass-save, .roots-pass-close {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--roots-glass-line); border-radius: .5rem;
  background: var(--roots-glass); color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.roots-pass-save:not([href]) { opacity: .55; pointer-events: none; }
.roots-pass-actions button:focus-visible, .roots-pass-actions a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .roots-pass-card { transition: none; }
  .roots-pass-face::after { display: none; }
}
.roots-pass-portrait { position: relative; display: grid; justify-items: center; }
.roots-pass-portrait .roots-pass-photo { position: relative; z-index: 1; }
.roots-pass-roots { width: 9rem; height: 2.4rem; margin-top: -1.3rem; fill: none; stroke: var(--editorial-clay); stroke-linecap: round; opacity: .55; }
.roots-pass-front .roots-pass-line { font-size: var(--fs-small); }
.roots-card-member .roots-close { grid-column: 1 / -1; justify-self: end; margin: -.5rem -.25rem -.75rem 0; }
.roots-hero.is-3d .roots-pulse { display: none; }
.roots-pass-back { gap: .6rem; }
.roots-pass-back .roots-pass-facts, .roots-pass-back .roots-pass-motto { margin-top: var(--space-1); }
@media (max-width: 1200px) {
  /* The side notes give way to the benefit cards when the scene is shorter. */
  .roots-hero .roots-callout { display: none; }
}

/* ===== Whitespace and density pass (15 October 2026) =====
   After Paul's reference: keep what explains itself, remove what repeats, and pack related
   items into compact groups instead of long single columns. The Common Roots tree is untouched. */

/* Story pages: a square picture beside the title instead of a tall one, so the title no longer
   floats in an empty band. */
.story-head { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); align-items: center; padding-block: var(--space-3) var(--space-2); }
.story-head-media img { aspect-ratio: 1 / 1; }

/* Join pages with one column: the list of options becomes a grid of compact cards. */
.action-single { grid-template-columns: minmax(0, 1fr); }
.action-single .action-main { max-width: none; }
.action-single .action-main > :not(.map) { max-width: var(--measure); }
.action-single .map { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: var(--space-2); margin-block: var(--space-2) var(--space-3); }
.action-single .map a { grid-template-columns: minmax(0, 1fr); align-content: start; gap: .3rem; padding: var(--space-2); border: 1px solid var(--line); background: var(--cream); }
.action-single .map a:hover { border-color: var(--clay); }
.action-single .map a span:empty { display: none; }
.action-single .map em { grid-column: 1; }

/* Facts that are each short read better side by side. */
.sheet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-3); border-top: 0; }
.sheet-grid div { border-top: 1px solid var(--line); border-bottom: 0; align-content: start; }

/* The form box sits at its own height instead of stretching beside the intro. */
.stage-form { align-self: start; }

/* Connect: the four doors on one row, and the message form in two columns. */
.connect-routes ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.connect-write { max-width: var(--wide); }
.connect-write > h2, .connect-write > p, .connect-write details > summary, .connect-write details > .dek { max-width: var(--measure); }
.connect-write .fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-3); max-width: none; }
.connect-write .fields > .field:has(textarea), .connect-write .fields > .form-actions, .connect-write .fields > :not(.field) { grid-column: 1 / -1; }

/* Common Culture: the closing note reads as one block, not a label stranded on the left. */

/* Less dead space above the footer. */
.footer { margin-top: var(--space-3); padding-top: var(--space-3); }

@media (max-width: 899.98px) {
  .connect-routes ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-head { grid-template-columns: 1fr; }
  .story-head-media img { aspect-ratio: 4 / 3; }
}
@media (max-width: 639.98px) {
  .sheet-grid, .connect-write .fields { grid-template-columns: 1fr; }
  .action-single .map { grid-template-columns: 1fr; }
  .footer { margin-top: var(--space-2); }
}

/* ===== Homepage offerings ===== */
.home-offerings { background: var(--paper); padding-block: var(--section-space); scroll-margin-top: var(--header-height); }
.offerings-head { margin-bottom: var(--space-4); border-top: 1px solid var(--line); padding-top: var(--space-3); }
.offerings-head h2 { margin: 0 0 var(--space-1); font-size: var(--fs-h1); }
.offerings-head p { margin: 0; color: var(--muted); }
.offerings-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3) var(--space-2); align-items: start; }
.offering {
  --offering-bg: #ebd9af;
  --offering-ink: var(--ink);
  --offering-rule: rgb(23 33 27 / .24);
  min-width: 0;
  border-radius: var(--ph-radius-card);
  background: var(--offering-bg);
  color: var(--offering-ink);
  box-shadow: 0 1px 2px rgb(23 33 27 / .08), 0 10px 28px -18px rgb(23 33 27 / .45);
}
.offering--events { --offering-bg: #d9e2cc; }
.offering--curation { --offering-bg: #ecd2c3; }
.offering--architecture { --offering-bg: var(--forest); --offering-ink: var(--cream); --offering-rule: rgb(246 241 230 / .35); }
.offering-summary { display: block; border-radius: inherit; cursor: pointer; list-style: none; }
.offering-summary::-webkit-details-marker { display: none; }
.offering-summary:focus-visible { outline: 3px solid var(--leaf); outline-offset: 4px; }
.offering-media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--ph-radius-card) var(--ph-radius-card) 0 0; }
.offering-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.offering-copy { display: grid; gap: .35rem; padding: 1rem 1rem .85rem; }
.offering-status { font-size: .875rem; line-height: 1.2; font-weight: 600; }
.offering-title { font: 560 var(--fs-h3)/1.08 "Source Serif 4", Georgia, serif; letter-spacing: var(--track-heading); }
.offering-line { font-size: 1rem; line-height: 1.4; }
.offering-toggle { display: grid; place-items: center; position: absolute; inset: auto auto .75rem .75rem; width: 2.75rem; height: 2.75rem; background: var(--offering-bg); color: var(--offering-ink); border: 1px solid var(--offering-rule); border-radius: 50%; }
.offering-toggle::before, .offering-toggle::after { content: ""; grid-area: 1 / 1; width: .85rem; height: 1px; background: currentColor; }
.offering-toggle::after { rotate: 90deg; }
.offering[open] .offering-toggle::after { rotate: 0deg; }
.offering-summary:is(:hover, :focus-visible) .offering-toggle, .offering[open] .offering-toggle { background: var(--offering-ink); color: var(--offering-bg); }
.offering-details { margin: 0 1rem; padding-block: .8rem; border-top: 1px solid var(--offering-rule); font-size: var(--fs-body); line-height: var(--lh-body); }
.offering-details p { margin: 0; }
.offering-details a { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; margin-top: .2rem; color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: .22em; }
@media (min-width: 36rem) {
  .offerings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 50rem) {
  .offerings-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .offering-copy { min-height: 9.5rem; grid-template-rows: auto auto 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .offering-media img { transition: scale .28s ease-out; }
  .offering-toggle { transition: background-color .16s ease-out, color .16s ease-out, scale .16s ease-out; }
  .offering-toggle::after { transition: rotate .16s ease-out; }
  .offering-summary:active .offering-toggle { scale: .96; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .offering-summary:hover .offering-media img { scale: 1.035; }
}

/* ===== Consulting (consulting_pages.py, content/consulting.json) =====
   The practice's own page and its band on Home and Common Architecture. Main-site type and colour,
   square corners; the stages are a real sequence, so they are numbered. */
.mast nav a.nav-consult { color: var(--forest); font-weight: 600; }
.tcg-consult-icon { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -.19em; margin-inline-end: .32em; }
@media (min-width: 900px) {
  .mast nav a.nav-consult { display: inline-flex; align-items: center; padding: .3rem .75rem; border: 1px solid var(--forest); background: var(--forest); color: var(--cream); transition: background-color .2s ease, color .2s ease; }
  .mast nav a.nav-consult:is(:hover, :focus-visible, [aria-current="page"]) { background: var(--cream); color: var(--forest); text-decoration: none; }
}
.consult-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin: var(--space-3) 0 0; }
.consult-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--forest); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; }
.consult-link:hover { color: var(--clay); }
.consult-hero { padding-block: var(--space-4) var(--space-5); border-bottom: 1px solid var(--line); }
.consult-hero-grid { display: grid; gap: var(--space-4); align-items: end; }
.consult-hero h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--track-display); max-width: 14ch; margin: var(--space-2) 0 var(--space-3); text-wrap: balance; }
.consult-hero .dek { max-width: 34rem; }
.consult-hero-media { margin: 0; }
.consult-hero-media img, .consult-strip img { display: block; width: 100%; height: 100%; object-fit: cover; }
.consult-hero-media img { aspect-ratio: 4 / 5; max-height: 72vh; }
.consult-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin: var(--space-4) auto 0; }
.consult-facts div { border-top: 2px solid var(--ink); padding-top: var(--space-2); min-width: 0; }
.consult-facts dt { font-family: "Source Serif 4", Georgia, serif; font-size: var(--fs-h3); font-weight: 560; line-height: 1.15; }
.consult-facts dd { margin: .35rem 0 0; color: var(--muted); font-size: var(--fs-small); }
.consult-intro { padding-block: var(--space-5); max-width: var(--wide); }
.consult-lede { font-family: "Source Serif 4", Georgia, serif; font-size: var(--fs-h3); line-height: 1.35; max-width: 46rem; margin: 0 0 var(--space-3); }
.consult-intro > p:not(.consult-lede) { max-width: var(--measure); color: var(--muted); }
.consult-band { background: var(--forest); color: var(--cream); padding-block: var(--space-6); }
.consult-band .kicker { color: rgba(246, 241, 230, .72); }
.consult-band h2 { font-size: var(--fs-h1); line-height: var(--lh-heading); max-width: 18ch; margin: var(--space-2) 0 var(--space-3); color: var(--cream); }
.consult-band-intro { max-width: var(--measure); color: rgba(246, 241, 230, .86); }
.consult-pillars { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.consult-pillar { border-top: 1px solid rgba(246, 241, 230, .35); padding-top: var(--space-2); }
.consult-pillar h3 { font-size: var(--fs-h3); color: var(--cream); margin: 0 0 var(--space-1); }
.consult-pillar p { color: rgba(246, 241, 230, .82); margin: 0; }
.consult-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); margin-top: var(--space-5); }
.consult-strip figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.consult-method { display: grid; gap: var(--space-4); align-items: center; padding-block: var(--space-6) var(--space-5); }
.consult-method h2, .consult-fit h2, .consult-stages h2, .consult-scope h2, .consult-faq h2 { font-size: var(--fs-h2); line-height: var(--lh-heading); margin: var(--space-1) 0 var(--space-2); }
.consult-method-list { margin: var(--space-3) 0 0; }
.consult-method-list div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--space-2); padding-block: var(--space-2); border-top: 1px solid var(--line); }
.consult-method-list dt { font-weight: 600; color: var(--forest); }
.consult-method-list dd { margin: 0; }
.consult-section-svg { width: 100%; height: auto; color: var(--ink); }
.consult-section-svg path, .consult-section-svg rect { fill: none; stroke: currentColor; stroke-width: 1.5; }
.consult-section-svg .ground, .consult-section-svg .roof, .consult-section-svg .beam { stroke-width: 2.5; }
.consult-section-svg .hatch, .consult-section-svg .stones, .consult-section-svg .dim path { stroke-width: 1; opacity: .55; }
.consult-section-svg .plinth { fill: rgba(170, 160, 140, .35); }
.consult-section-svg .wall { fill: rgba(166, 120, 80, .22); }
.consult-section-svg .skin { stroke: var(--clay); stroke-width: 6; opacity: .55; }
.consult-section-svg .opening { fill: var(--paper); }
.consult-section-svg .label path { stroke: var(--forest); stroke-width: 1; }
.consult-section-svg text { fill: currentColor; stroke: none; font: 600 15px "Source Sans 3", sans-serif; }
.consult-section-svg .label text { fill: var(--forest); }
.consult-section-svg .dim text { font-weight: 400; font-size: 13px; opacity: .8; }
.consult-fit { display: grid; gap: var(--space-4); padding-block: var(--space-5); border-top: 1px solid var(--line); }
.consult-ticks, .consult-crosses { list-style: none; margin: var(--space-2) 0 0; padding: 0; }
.consult-ticks li, .consult-crosses li { position: relative; padding: var(--space-2) 0 var(--space-2) 2.2rem; border-top: 1px solid var(--line); }
.consult-ticks li::before, .consult-crosses li::before { position: absolute; left: 0; top: var(--space-2); width: 1.4rem; text-align: center; font-weight: 600; }
.consult-ticks li::before { content: "✓"; color: var(--forest); }
.consult-crosses li::before { content: "✕"; color: var(--clay); }
.consult-stages { padding-block: var(--space-5) var(--space-6); border-top: 1px solid var(--line); scroll-margin-top: var(--header-height); }
.consult-stages-head { display: grid; gap: var(--space-3); align-items: end; margin-bottom: var(--space-4); }
.consult-stages-head p { max-width: var(--measure); color: var(--muted); }
.consult-currency { display: inline-flex; border: 1px solid var(--forest); justify-self: start; }
.consult-currency[hidden] { display: none; }
.consult-currency button { appearance: none; border: 0; background: transparent; color: var(--forest); font: 600 var(--fs-small) "Source Sans 3", sans-serif; padding: .6rem 1.1rem; min-height: 2.75rem; cursor: pointer; }
.consult-currency button[aria-pressed="true"] { background: var(--forest); color: var(--cream); }
.consult-stage-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.consult-stage { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--space-1) var(--space-3); padding-block: var(--space-3); border-bottom: 1px solid var(--line); }
.consult-stage-num { font-family: "Source Serif 4", Georgia, serif; font-size: var(--fs-h1); line-height: .9; color: var(--forest); }
.consult-stage-step { margin: 0 0 .25rem; }
.consult-stage h3 { font-size: var(--fs-h3); margin: 0 0 .5rem; }
.consult-stage-main p { margin: 0 0 .5rem; max-width: 40rem; }
.consult-stage-out { color: var(--muted); font-size: var(--fs-small); }
.consult-stage-out span { font-weight: 600; color: var(--ink); margin-right: .35rem; }
.consult-stage-fee { grid-column: 2; margin: 0; font-family: "Source Serif 4", Georgia, serif; font-size: var(--fs-h3); line-height: 1.2; font-variant-numeric: tabular-nums; }
.fee-from { display: block; font: 600 var(--fs-eyebrow) "Source Sans 3", sans-serif; letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.consult-stages[data-currency="inr"] .fee-usd, .consult-stages[data-currency="usd"] .fee-inr, .consult-stages[data-currency] .fee-or { display: none; }
.consult-scope { padding-block: var(--space-5); border-top: 1px solid var(--line); }
.consult-scope-cols { display: grid; gap: var(--space-4); }
.consult-scope h3 { font-size: var(--fs-h3); margin: var(--space-2) 0 0; }
.consult-pay-title { margin-top: var(--space-5) !important; }
.consult-faq { padding-block: var(--space-5); border-top: 1px solid var(--line); }
.consult-qs { border-top: 2px solid var(--ink); max-width: 56rem; }
.consult-q { border-bottom: 1px solid var(--line); }
.consult-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--space-2); padding: var(--space-2) 0; font-family: "Source Serif 4", Georgia, serif; font-size: var(--fs-h3); line-height: 1.25; }
.consult-q summary::-webkit-details-marker { display: none; }
.consult-q summary::after { content: "+"; flex: none; color: var(--forest); font-family: "Source Sans 3", sans-serif; transition: transform .25s ease; }
.consult-q[open] summary::after { transform: rotate(45deg); }
.consult-q p { margin: 0 0 var(--space-3); max-width: var(--measure); color: var(--muted); }
.consult-apply { padding-block: var(--space-5) var(--space-4); border-top: 1px solid var(--line); }
.consult-steps { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: var(--space-3); }
.consult-steps li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--space-2); border-top: 2px solid var(--ink); padding-top: var(--space-2); }
.consult-steps span { font: 600 var(--fs-small) "Source Sans 3", sans-serif; color: var(--forest); }
.consult-steps h3 { font-size: var(--fs-body); margin: 0 0 .35rem; }
.consult-steps p { margin: 0; color: var(--muted); font-size: var(--fs-small); }
.stage-form form[data-form-id="consulting"] .chip-row { flex-direction: column; align-items: flex-start; }
/* Narrow desktops: keep the main navigation on one line. */
@media (min-width: 900px) and (max-width: 1199.98px) {
  .mast nav { column-gap: .65rem; }
  .mast nav a { white-space: nowrap; }
  .mast nav a.nav-consult { padding-inline: .45rem; }
}

@media (min-width: 900px) {
  .consult-hero { padding-block: var(--space-5) var(--space-5); }
  .consult-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--space-5); }
  .consult-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .consult-method { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space-5); }
  .consult-fit, .consult-scope-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
  .consult-stages-head { grid-template-columns: minmax(0, 1fr) auto; }
  .consult-stage { grid-template-columns: 6rem minmax(0, 1fr) 15rem; }
  .consult-stage-fee { grid-column: 3; grid-row: 1; text-align: right; padding-top: .3rem; }
  .consult-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Consulting on phones: photos first and edge to edge, stages and bands stacked */
@media (max-width: 639.98px) {
  .consult-hero { padding-top: 0; }
  .consult-hero-grid { gap: 1.5rem; }
  .consult-hero-media { order: -1; margin: 0 calc(-1 * var(--gutter)); }
  .consult-hero-media img { aspect-ratio: 4 / 3; max-height: none; }
  .consult-hero .btn { width: 100%; }
  .consult-facts { grid-template-columns: 1fr; gap: 0; }
  .consult-facts div { padding-block: .9rem; border-top-width: 1px; }
  .consult-strip { grid-template-columns: 1fr 1fr; }
  .consult-strip figure:first-child { grid-column: 1 / -1; }
  .consult-strip figure { border-radius: var(--ph-radius-card); overflow: hidden; }
  .consult-method-list div { grid-template-columns: 1fr; gap: .25rem; }
  .consult-stage { grid-template-columns: 3rem minmax(0, 1fr); }
  .consult-stage-num { font-size: var(--ph-fs-h2); }
  .consult-currency { position: sticky; top: calc(var(--header-height) + .5rem); z-index: 4; background: var(--paper); border-radius: var(--ph-radius-pill); overflow: hidden; }
  .consult-q summary { min-height: 44px; }
}
/* below 900px the step notes read as body text */
@media (max-width: 899.98px) { .consult-steps p { font-size: var(--fs-body); line-height: 1.65; } }

.mast-globe {
  display: inline-grid;
  place-items: center;
  flex: none;
  inline-size: 44px;
  block-size: 44px;
  color: var(--forest);
}
.mast-globe svg { inline-size: 24px; block-size: 24px; }
.mast-globe-meridian { transform-box: fill-box; transform-origin: center; }
.mast-globe[aria-current="page"] svg { border-bottom: 1px solid currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .mast-globe:is(:hover, :focus-visible) .mast-globe-meridian { animation: mast-globe-spin 1.2s linear infinite; }
}
@keyframes mast-globe-spin { from { transform: scaleX(1); } 50% { transform: scaleX(.05); } to { transform: scaleX(1); } }
@media (max-width: 639.98px) {
  .mast .mast-inner:has(.mast-globe) { flex-wrap: nowrap; }
  .mast .mast-inner:has(.mast-globe) .brand { min-inline-size: 0; }
}
