/* One world, top to bottom: the sky and the elm, the roots, the sea, the slate. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-full-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-opsz-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --stage-h: 100vh;
  --pin: 0px;
  --text: #eee8dc;
  --muted: #bdbcc8;
  --dim: #9a9cae;
  --ember: #f4a24c;
  --ember-hi: #ffd79a;
  --aqua: #92e8f2;
  --line: rgba(238, 232, 220, 0.16);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 5.2vw, 76px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
@supports (height: 100svh) {
  :root { --stage-h: 100svh; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: #04070d;
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 400 1.0625rem/1.58 var(--sans);
  background:
    linear-gradient(180deg, #0b0e22 0, #171431 calc(var(--stage-h) * 0.75), #06070b calc(var(--stage-h) * 0.86), #0a0809 calc(var(--stage-h) * 1.3), #06202b calc(var(--stage-h) * 1.5), #03101d calc(var(--stage-h) * 3), #02060d 100%);
  min-height: 100vh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.js body { background: #0b0e22; }
.gl-ready body, .no-gl body { background: #03070d; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: "SOFT" 60;
  letter-spacing: -0.018em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--ember-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  background: #fff3dd;
  color: #1b1208;
  border-radius: 8px;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.eyebrow {
  font: 600 0.78rem/1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e7b979;
  margin-bottom: 18px;
}

.wrap {
  width: min(1140px, 100% - 2 * var(--pad));
  margin-inline: auto;
}

/* ---------- the canvas behind everything ---------- */

#world {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
  pointer-events: none;
}
.gl-ready #world { opacity: 1; }
.no-gl #world { display: none; }

main, footer { position: relative; z-index: 1; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font: 600 1rem/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.35s var(--ease), filter 0.35s var(--ease);
}
.btn-ember {
  color: #241306;
  background: linear-gradient(180deg, #ffd696 0%, #f6a552 55%, #ec8c3b 100%);
  box-shadow: inset 0 1px 0 rgba(255, 244, 220, 0.75), inset 0 0 0 1px rgba(255, 210, 150, 0.45), 0 10px 32px -10px rgba(244, 140, 60, 0.75);
}
.btn-ember:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: inset 0 1px 0 rgba(255, 248, 230, 0.85), inset 0 0 0 1px rgba(255, 220, 160, 0.6), 0 14px 44px -8px rgba(255, 160, 70, 0.9);
}
.btn-ember:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.94rem; }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 1.06rem; }

.btn-line {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  background: none;
  color: var(--text);
  font: 500 1rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 calc(50% + 0.8em);
  background-repeat: no-repeat;
  opacity: 0.88;
  transition: opacity 0.25s var(--ease), background-size 0.35s var(--ease);
}
.btn-line:hover { opacity: 1; background-size: 40% 1px; }

/* ---------- the bar ---------- */

.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--pad);
  padding-top: max(16px, env(safe-area-inset-top));
  background: linear-gradient(180deg, rgba(5, 7, 16, 0.78), rgba(5, 7, 16, 0.38) 70%, rgba(5, 7, 16, 0));
}
.bar-nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
  margin-left: auto;
  margin-right: 12px;
}
.bar-nav a {
  font-size: 0.93rem;
  color: var(--muted);
  text-decoration: none;
  padding: 10px 0;
  transition: color 0.25s var(--ease);
}
.bar-nav a:hover { color: var(--text); }

/* the neutral space where the wordmark will go */
.slot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 14px 6px 8px;
  border: 1px dashed rgba(238, 232, 220, 0.3);
  border-radius: 10px;
  text-decoration: none;
  color: var(--dim);
}
.slot-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: radial-gradient(circle at 50% 50%, #fff0cf 0, #f4a24c 35%, rgba(244, 162, 76, 0) 70%), #121528;
}
.slot-text {
  font: 600 0.72rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- the hero: a pinned stage ---------- */

.hero {
  position: relative;
  height: calc(var(--stage-h) + var(--pin));
}
.stage {
  position: sticky;
  top: 0;
  height: var(--stage-h);
  overflow: hidden;
}

.hero-copy {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: calc(var(--stage-h) * 0.14);
  width: min(900px, 100% - 2 * var(--pad));
  margin-inline: auto;
  text-align: center;
  will-change: opacity, transform;
}
.hero-copy .eyebrow { margin-bottom: 20px; }
h1 {
  font-size: clamp(2.45rem, 1.1rem + 4.3vw, 5.6rem);
  font-weight: 340;
  line-height: 1.02;
  letter-spacing: -0.026em;
  font-variation-settings: "SOFT" 70, "opsz" 144;
  text-shadow: 0 2px 40px rgba(5, 6, 18, 0.7);
}
h1 em {
  font-style: italic;
  font-weight: 330;
  padding-right: 0.06em;
  background: linear-gradient(180deg, #ffe2b0 10%, #f6a24f 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  margin: 22px auto 0;
  max-width: 38em;
  font-size: clamp(1.03rem, 0.96rem + 0.3vw, 1.2rem);
  color: var(--muted);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 28px;
  margin-top: 30px;
}

.tree-space { display: none; }

.tree-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.tags {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.seed {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0.18;
  transition: opacity 0.45s var(--ease);
}
.seed::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: #fff1d2;
  box-shadow: 0 0 0 4px rgba(255, 200, 120, 0.14), 0 0 14px 3px rgba(255, 190, 110, 0.55);
}
.seed.lit { opacity: 0.9; }
.seed:hover, .seed:focus-visible { opacity: 1; }

.tag {
  position: absolute;
  left: 0;
  top: 0;
  width: max-content;
  max-width: 230px;
  padding: 9px 14px 11px;
  border-radius: 12px;
  background: rgba(6, 8, 19, 0.74);
  border: 1px solid rgba(255, 214, 150, 0.2);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s, border-color 0.35s var(--ease);
}
.tag strong {
  display: block;
  font: 450 1.06rem/1.2 var(--serif);
  font-variation-settings: "SOFT" 60;
  color: #ffe2b4;
}
.tag span {
  display: block;
  margin-top: 3px;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--muted);
}
.tag.show, .tag.quiet, .tag.active {
  visibility: visible;
  transition: opacity 0.35s var(--ease), visibility 0s, border-color 0.35s var(--ease);
}
.tag.show { opacity: 0.95; }
.tag.quiet {
  opacity: 0.78;
  padding: 2px 4px;
  background: none;
  border-color: transparent;
  box-shadow: none;
}
.tag.quiet strong { font-size: 0.98rem; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 16px rgba(4, 6, 14, 0.95); }
.tag.quiet span { display: none; }
.tag.active { opacity: 1; border-color: rgba(255, 214, 150, 0.55); }

.tag-panel { display: none; }

.hint {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: calc(var(--stage-h) * 0.04);
  text-align: center;
  font: 600 0.74rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(238, 232, 220, 0.55);
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.hint .hint-touch { display: none; }
.touch .hint .hint-mouse { display: none; }
.touch .hint .hint-touch { display: inline; }
.hint.gone { opacity: 0 !important; }

/* the story told while the stage is pinned */
.story {
  position: absolute;
  z-index: 3;
  left: var(--pad);
  bottom: calc(var(--stage-h) * 0.035);
  width: min(30rem, 34vw);
  height: calc(var(--stage-h) * 0.15);
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}
.story li {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.story li.on { opacity: 1; transform: none; }
.story h2 {
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem);
  line-height: 1.1;
  margin-bottom: 8px;
}
.story p { color: var(--muted); font-size: 0.98rem; }
.story .count {
  display: block;
  margin-top: 8px;
  font: 600 0.74rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e7b979;
}

/* ---------- the roots ---------- */

.roots {
  position: relative;
  height: calc(var(--stage-h) * 1.55);
}
.roots-copy {
  padding-top: calc(var(--stage-h) * 0.66);
}
.roots-copy > * { max-width: 27rem; }
.roots-copy h2 {
  font-size: clamp(1.9rem, 1.3rem + 1.8vw, 3rem);
  line-height: 1.06;
  margin-bottom: 14px;
}
.roots-copy p:not(.eyebrow) { color: var(--muted); text-shadow: 0 1px 18px rgba(0, 0, 0, 0.9); }

/* ---------- the sea ---------- */

.ocean {
  position: relative;
  padding: calc(var(--stage-h) * 1.15) 0 calc(var(--stage-h) * 0.55);
}
.block { margin-bottom: calc(var(--stage-h) * 0.5); }
.block h2 {
  font-size: clamp(2rem, 1.2rem + 2.7vw, 3.7rem);
  line-height: 1.04;
  max-width: 17em;
}
.intro {
  margin-top: 20px;
  max-width: 36em;
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  color: var(--muted);
}

.branches {
  list-style: none;
  margin: clamp(40px, 6vw, 72px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px clamp(28px, 4vw, 56px);
}
.branches li {
  position: relative;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.branches li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9f6ff;
  box-shadow: 0 0 12px 3px rgba(120, 230, 255, 0.55);
}
.branches h3 { font-size: 1.4rem; line-height: 1.15; margin-bottom: 8px; }
.branches p { color: var(--muted); font-size: 0.99rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, rgba(146, 232, 242, 0.7), rgba(146, 232, 242, 0.08));
}
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 22px;
  padding: 0 0 34px;
}
.steps li:last-child { padding-bottom: 0; }
.steps .mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 600 0.78rem/1 var(--sans);
  letter-spacing: 0.06em;
  color: #c9f6ff;
  background: #04131f;
  border: 1px solid rgba(146, 232, 242, 0.45);
  box-shadow: 0 0 18px -2px rgba(120, 230, 255, 0.35);
}
.steps h3 { font-size: 1.45rem; line-height: 1.15; margin: 8px 0 6px; }
.steps p { color: var(--muted); }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: clamp(36px, 5vw, 60px) 0 18px;
}
.metrics div { border-top: 1px solid var(--line); padding-top: 18px; }
.metrics dt {
  font: 600 0.76rem/1.3 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.metrics dd {
  margin: 10px 0 0;
  font: 330 clamp(2.4rem, 1.6rem + 2.6vw, 4rem)/1 var(--serif);
  font-variation-settings: "SOFT" 60, "opsz" 144;
  color: #dff9ff;
  text-shadow: 0 0 28px rgba(120, 230, 255, 0.35);
}
.fine { font-size: 0.88rem; color: var(--dim); }
.motion-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin: 36px 0 26px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.motion-row p { color: var(--muted); }

.qa { margin-top: clamp(32px, 5vw, 56px); max-width: 52rem; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
  font: 400 1.3rem/1.25 var(--serif);
  font-variation-settings: "SOFT" 60;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--aqua), var(--aqua)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--aqua), var(--aqua)) center / 1.5px 14px no-repeat;
  transition: transform 0.3s var(--ease);
}
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 0 22px; color: var(--muted); max-width: 40em; }

.later { text-align: center; margin-bottom: calc(var(--stage-h) * 0.25); }
.later h2, .later .intro { margin-inline: auto; }
.later .intro { color: var(--dim); }

/* how deep you are */
.depth {
  position: fixed;
  z-index: 10;
  right: calc(var(--pad) * 0.5);
  top: 50%;
  display: flex;
  align-items: baseline;
  gap: 4px;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font: 600 0.72rem/1 var(--sans);
  letter-spacing: 0.16em;
  color: rgba(146, 232, 242, 0.75);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.depth::before {
  content: "";
  width: 36px;
  height: 1px;
  margin-right: 10px;
  align-self: center;
  background: rgba(146, 232, 242, 0.5);
}
.depth.on { opacity: 1; }

/* ---------- the slate ---------- */

.slate {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  padding: clamp(110px, 13vw, 170px) 0 calc(40px + env(safe-area-inset-bottom));
  color: #dfe2e6;
  background-color: #2c3239;
  background-image:
    radial-gradient(55% 45% at 28% 42%, rgba(12, 15, 21, 0.38), rgba(12, 15, 21, 0) 72%),
    radial-gradient(120% 80% at 18% 8%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 55%),
    radial-gradient(90% 70% at 90% 100%, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 60%),
    linear-gradient(180deg, rgba(10, 14, 20, 0.15), rgba(10, 14, 20, 0.35)),
    url("../img/slate-face-1536.webp");
  background-size: auto, auto, auto, auto, cover;
  background-position: center;
  -webkit-mask-image: url("../img/slate-edge.svg"), linear-gradient(#000, #000);
  -webkit-mask-size: 100% 90px, 100% calc(100% - 89px);
  -webkit-mask-position: top left, bottom left;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("../img/slate-edge.svg"), linear-gradient(#000, #000);
  mask-size: 100% 90px, 100% calc(100% - 89px);
  mask-position: top left, bottom left;
  mask-repeat: no-repeat;
}
@media (max-width: 900px) {
  .slate {
    background-image:
      radial-gradient(70% 45% at 40% 30%, rgba(12, 15, 21, 0.38), rgba(12, 15, 21, 0) 72%),
      radial-gradient(120% 80% at 18% 8%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 55%),
      radial-gradient(90% 70% at 90% 100%, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 60%),
      linear-gradient(180deg, rgba(10, 14, 20, 0.15), rgba(10, 14, 20, 0.35)),
      url("../img/slate-face-900.webp");
  }
}
.slate-lip {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 90px;
  pointer-events: none;
}

/* lettering cut into the stone */
.slate h2 {
  font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.8rem);
  font-weight: 420;
  line-height: 1.02;
  max-width: 13em;
  background: linear-gradient(180deg, #f8e3b0 0%, #e2b466 42%, #f6d998 55%, #b98a42 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.55)) drop-shadow(0 1px 0 rgba(255, 255, 255, 0.12));
}
.slate-head p {
  margin: 20px 0 30px;
  max-width: 34em;
  font-size: 1.12rem;
  color: #d4d8dc;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.07);
}
.contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: clamp(56px, 8vw, 96px) 0 0;
  padding-top: 26px;
  border-top: 1px solid rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.contact dt {
  font: 600 0.74rem/1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b9bfc6;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.6);
}
.contact dd {
  margin: 10px 0 0;
  font: 400 1.3rem/1.3 var(--serif);
  font-variation-settings: "SOFT" 50;
  color: #eef0f2;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.65), 0 1px 0 rgba(255, 255, 255, 0.08);
}
.contact dd a { text-decoration-color: rgba(238, 240, 242, 0.4); text-underline-offset: 4px; }
.ph {
  display: inline-block;
  padding: 3px 10px 4px;
  border: 1px dashed rgba(225, 230, 235, 0.42);
  border-radius: 7px;
  font: 500 0.95rem/1.3 var(--sans);
  color: #c4cad0;
}
.slate-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.slate-foot .fine { color: #b3b9c0; }
.slot-cut {
  border: 0;
  background: rgba(10, 13, 18, 0.28);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.55), inset 0 -1px 0 rgba(255, 255, 255, 0.08), 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #aeb5bc;
}
.slate .btn-line { color: #e6e9ec; }

/* ---------- phones ---------- */

@media (max-width: 980px) {
  .bar-nav { display: none; }
  .branches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 759px) {
  body { font-size: 1.0625rem; }
  .bar { padding-top: max(12px, env(safe-area-inset-top)); padding-bottom: 12px; }
  .bar .slot-text { display: none; }
  .bar .slot { padding: 6px 8px; }
  .seed::before { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; box-shadow: 0 0 10px 2px rgba(255, 190, 110, 0.45); }
  .seed { opacity: 0; }
  .seed.lit { opacity: 0.6; }
  .hero-copy { top: calc(var(--stage-h) * 0.11); }
  .hero-copy .eyebrow { margin-bottom: 14px; }
  .lede { margin-top: 16px; }
  .cta { margin-top: 22px; gap: 10px 22px; }
  .story {
    left: var(--pad);
    right: var(--pad);
    width: auto;
    top: calc(var(--stage-h) * 0.11);
    bottom: auto;
    height: auto;
    text-align: center;
  }
  .story li { top: 0; bottom: auto; }
  .tag { display: none; }
  .tag-panel {
    display: block;
    position: absolute;
    z-index: 4;
    left: var(--pad);
    right: var(--pad);
    bottom: calc(var(--stage-h) * 0.035 + env(safe-area-inset-bottom));
    text-align: center;
    opacity: 0;
    transition: opacity 0.35s var(--ease);
    pointer-events: none;
  }
  .tag-panel.on { opacity: 1; }
  .tag-panel strong { display: block; font: 450 1.2rem/1.2 var(--serif); color: #ffe2b4; }
  .tag-panel span { display: block; margin-top: 4px; font-size: 0.92rem; color: var(--muted); }
  .hint { bottom: calc(var(--stage-h) * 0.11); }
  .roots-copy > * { margin-left: 0; }
  .branches { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .metrics { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .depth { display: none; }
}

/* ---------- the still version: reduced motion, no WebGL, or no script ---------- */

.static .hero, .no-js .hero { height: auto; }
.static .stage, .no-js .stage {
  position: relative;
  height: auto;
  min-height: var(--stage-h);
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.static .hero-copy, .no-js .hero-copy {
  position: relative;
  top: auto;
  padding-top: calc(var(--stage-h) * 0.14);
  will-change: auto;
}
.static .tree-space, .no-js .tree-space {
  display: block;
  height: calc(var(--stage-h) * 0.4);
  flex: none;
}
.static .story, .no-js .story {
  position: relative;
  left: auto;
  bottom: auto;
  top: auto;
  width: min(1140px, 100% - 2 * var(--pad));
  height: auto;
  margin: 0 auto;
  padding: calc(var(--stage-h) * 0.06) 0 calc(var(--stage-h) * 0.08);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  text-align: left;
}
.static .story li, .no-js .story li {
  position: static;
  opacity: 1;
  transform: none;
  transition: none;
}
.static .story .count, .no-js .story .count { display: none; }
.static .story li:last-child p, .no-js .story li:last-child p { display: none; }
.static .hint { display: none; }
.static .roots { height: auto; padding: calc(var(--stage-h) * 0.5) 0 calc(var(--stage-h) * 0.3); }
.static .roots-copy { padding-top: 0; }
.static .ocean { padding-top: calc(var(--stage-h) * 0.9); }
.no-js .tags, .no-js .tree-hit, .no-js .hint, .no-gl .tree-hit, .no-gl .tags { display: none; }
.no-gl .tree-space, .no-js .tree-space {
  background: url("../img/elm-alpha.webp") center bottom / contain no-repeat;
  mix-blend-mode: screen;
  opacity: 0.2;
}

@media (max-width: 759px) {
  .static .story, .no-js .story { grid-template-columns: minmax(0, 1fr); gap: 24px; text-align: center; }
  .static .tree-space, .no-js .tree-space { height: calc(var(--stage-h) * 0.42); }
}
@media (min-width: 760px) and (max-width: 1100px) {
  .static .story, .no-js .story { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* the browser's own setting wins over every transition, whatever the page's switch says */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .btn-ember:hover { transform: none; }
}
