/* Plant EDG main styles. Colors and fonts live in tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-body);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 680; line-height: 1; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; font-weight: 300; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.rule-top { border-top: 1px solid var(--rule); padding-top: clamp(2rem, 4vw, 3.5rem); }

/* Labels */
.eyebrow {
  display: block; font: 500 .75rem/1.3 var(--font-mono); letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 1.25rem;
}
.dark .eyebrow { color: var(--accent-on-dark); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.dark .lede { color: var(--on-forest-2); }
.muted { color: var(--ink-2); }
.small { font-size: var(--step--1); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .8rem 1.4rem; border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: var(--paper); font: 600 .95rem/1 var(--font-body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.dark .btn { background: var(--on-forest); color: var(--forest); border-color: var(--on-forest); }
.dark .btn:hover { background: var(--accent-on-dark); border-color: var(--accent-on-dark); color: var(--ink); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px; font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--rule);
}
.link-arrow:hover { text-decoration-color: currentColor; }
.arrow { display: inline-block; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 2rem; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand .logo { width: 72px; transition: opacity .25s var(--ease); }
@media (max-width: 420px) { .brand .logo { width: 64px; } }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .7rem; font-size: .95rem; font-weight: 500; text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.nav .btn { margin-left: .75rem; min-height: 44px; padding: .65rem 1.1rem; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; min-width: 44px; padding: 0 .9rem;
    border: 1px solid currentColor; border-radius: var(--radius); background: transparent; color: inherit;
    font: 600 .9rem/1 var(--font-body); cursor: pointer;
  }
  .menu-btn i { display: block; width: 16px; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
    background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--rule); padding: .5rem var(--gutter) 1.5rem;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 0; font: 500 var(--step-2)/1.2 var(--font-display); min-height: 56px; border-bottom: 1px solid var(--paper-2); }
  .nav .btn { margin: 1rem 0 0; }
  .no-js .menu-btn { display: none; }
  .no-js .nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; padding: 0; border: 0; }
}

/* Hero */
.hero { padding-block: clamp(2.5rem, 2rem + 4vw, 6rem) var(--section); }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.hero h1 { font-size: var(--step-5); line-height: .94; letter-spacing: -.045em; max-width: 12ch; }
.hero h1 em { color: var(--accent); }
.hero .lede { margin-top: 1.75rem; }
.page-hero { padding-block: clamp(2.5rem, 2rem + 4vw, 6rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-hero h1 { font-size: var(--step-4); max-width: 16ch; }
.page-hero .lede { margin-top: 1.5rem; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 7fr 5fr; }
}

/* Figures */
figure { margin: 0; }
.photo { background: var(--paper-2); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
figcaption {
  display: flex; gap: .75rem; margin-top: .75rem; font: 500 .72rem/1.4 var(--font-mono);
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
figcaption::before { content: "Fig."; color: var(--accent); }
.dark figcaption { color: var(--on-forest-2); }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.hero-photo { max-width: 34rem; }

/* Brand ledger */
.ledger { padding-block: clamp(2.5rem, 5vw, 4rem); border-block: 1px solid var(--rule); }
.ledger-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.5rem; }
.ledger-head .eyebrow { margin: 0; }
.ledger-list { display: flex; flex-wrap: wrap; gap: .1em .2em; font: 500 var(--step-2)/1.25 var(--font-display); letter-spacing: -.03em; }
.ledger-list li { white-space: nowrap; }
@media (max-width: 420px) { .ledger-list { font-size: 1.3rem; } }
.ledger-list li:not(:last-child)::after { content: "/"; color: var(--accent); margin-left: .35em; font-weight: 300; }

/* Split */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split h2 { font-size: var(--step-3); margin-bottom: 1.5rem; max-width: 14ch; }
.split p { color: var(--ink-2); max-width: 34em; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--flip > :first-child { order: 2; }
}

/* Steps */
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: var(--step-3); max-width: 16ch; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr 1fr; align-items: end; }
  .section-head p { justify-self: end; max-width: 30em; }
}
.steps { display: grid; gap: 0; counter-reset: step; }
.steps li { border-top: 1px solid var(--ink); padding: 1.5rem 0 2rem; display: grid; grid-template-columns: 4.5rem 1fr; gap: 0 1rem; }
.steps .num { font: 250 var(--step-4)/.85 var(--font-display); color: var(--accent); letter-spacing: -.04em; }
.steps h3 { font-size: var(--step-2); margin-bottom: .6rem; }
.steps p { color: var(--ink-2); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .steps li { grid-template-columns: 1fr; }
  .steps .num { margin-bottom: 2.5rem; }
}

/* Detailed list (For brands) */
.detail-list li { display: grid; gap: .5rem 2rem; padding: 1.75rem 0; border-top: 1px solid var(--rule); }
.detail-list li:last-child { border-bottom: 1px solid var(--rule); }
.detail-list h3 { font-size: var(--step-2); }
.detail-list p { color: var(--ink-2); max-width: 38em; }
@media (min-width: 900px) { .detail-list li { grid-template-columns: 5fr 7fr; } }

.ticks li { position: relative; padding: .7rem 0 .7rem 1.75rem; border-top: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: .75rem; height: 1px; background: var(--accent); }
.dark .ticks li { border-color: var(--forest-2); }

/* Proof strip */
.strip { display: grid; gap: 1rem; }
.strip a { text-decoration: none; }
.strip a:hover img { transform: scale(1.02); }
.strip img { transition: transform .6s var(--ease); }
@media (min-width: 700px) {
  .strip { grid-template-columns: 5fr 3fr 4fr; align-items: end; }
  .strip > :nth-child(2) { margin-bottom: 4rem; }
}

/* Quote */
.quote { padding-block: var(--section); }
.quote blockquote { margin: 0; max-width: 52rem; }
.quote blockquote p {
  font: 400 var(--step-2)/1.3 var(--font-display); letter-spacing: -.02em; color: var(--ink);
}
.quote blockquote p:first-child::before { content: "\201C"; display: block; font: 700 7rem/.55 var(--font-display); color: var(--accent); margin-bottom: 1.25rem; }
.quote cite { display: block; margin-top: 1.75rem; font: 500 .78rem/1.5 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--ink-2); }
.quote cite b { color: var(--ink); font-weight: 600; }
.quote--long blockquote p { font-size: var(--step-1); line-height: 1.5; }
.dark .quote blockquote p, .dark .quote cite b { color: var(--on-forest); }
.dark .quote cite { color: var(--on-forest-2); }
.dark .quote blockquote p:first-child::before { color: var(--accent-on-dark); }

/* Dark band */
.dark { background: var(--forest); color: var(--on-forest); }
.dark a:hover { color: var(--accent-on-dark); }
.door { padding-block: var(--section); }
.door h2 { font-size: var(--step-4); max-width: 12ch; margin-bottom: 1.5rem; }
.door-grid { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 900px) { .door-grid { grid-template-columns: 7fr 5fr; } }

/* Workshops */
.topics { counter-reset: t; }
.topics li { counter-increment: t; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: baseline; padding: 1.1rem 0; border-top: 1px solid var(--rule); font: 400 var(--step-1)/1.3 var(--font-display); }
.topics li::before { content: counter(t, decimal-leading-zero); font: 500 .78rem/1 var(--font-mono); color: var(--accent); letter-spacing: .1em; }
.topics li span { display: block; font: 400 var(--step--1)/1.5 var(--font-body); color: var(--ink-2); margin-top: .25rem; }
.dark .topics li { border-color: var(--forest-2); }
.dark .topics li::before { color: var(--accent-on-dark); }
.dark .topics li span { color: var(--on-forest-2); }

.note-panel { background: var(--paper-2); padding: clamp(1.5rem, 4vw, 2.5rem); }
.note-panel h3 { font-size: var(--step-2); margin-bottom: .75rem; }

/* To-confirm tag: marks content that still needs Plant EDG's input */
.todo {
  display: inline-block; border: 1px dashed var(--accent); color: var(--accent); padding: .15em .5em;
  font: 500 .72rem/1.5 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; vertical-align: middle;
}
.todo-tile {
  display: grid; place-items: center; text-align: center; gap: .5rem; padding: 1.5rem; aspect-ratio: 4 / 3;
  border: 1px dashed var(--rule); color: var(--ink-2); font: 500 .78rem/1.5 var(--font-mono); letter-spacing: .06em; text-transform: uppercase;
}

/* Gallery (Proof) */
.group { padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--ink); }
.group-head { display: grid; gap: 1rem; margin-bottom: 2rem; }
.group-head h2 { font-size: var(--step-3); }
.group-meta { display: grid; gap: .5rem; color: var(--ink-2); max-width: 32em; }
@media (min-width: 900px) { .group-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery--3 { grid-template-columns: 2fr 1fr 1fr; } }
.gallery a { display: block; width: 100%; padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; overflow: hidden; }
.gallery a img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.02); }
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; background: var(--ink); color: var(--paper); }
.lightbox::backdrop { background: var(--ink); }
.lightbox-inner { position: relative; display: grid; grid-template-rows: auto 1fr auto; height: 100%; padding: 1rem; gap: 1rem; }
.lightbox-bar { display: flex; justify-content: flex-end; gap: .5rem; }
.lightbox-stage { display: grid; place-items: center; min-height: 0; }
.lightbox-stage img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.lightbox-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font: 500 .78rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.lb-btn { min-width: 48px; min-height: 48px; border: 1px solid var(--on-forest-2); background: transparent; color: var(--paper); font: 600 1rem/1 var(--font-body); cursor: pointer; border-radius: var(--radius); }
.lb-btn:hover { background: var(--paper); color: var(--ink); }

/* Forms */
.form-section { display: grid; gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 960px) { .form-section { grid-template-columns: 5fr 7fr; } .form-section .form-intro { position: sticky; top: 100px; align-self: start; } }
.form-intro h2 { font-size: var(--step-3); margin-bottom: 1.25rem; max-width: 12ch; }
.form-intro p { color: var(--ink-2); }
.form { display: grid; gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .req { color: var(--accent); }
.field .hint { font-size: var(--step--1); color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: .75rem .9rem; border: 1px solid var(--ink-2); border-radius: var(--radius);
  background: var(--field); color: var(--ink); font: 400 1rem/1.4 var(--font-body);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field .error { color: var(--error); font-size: var(--step--1); font-weight: 600; }
.field .error:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: .25rem; }
.check { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 400; cursor: pointer; }
.check input { width: 22px; height: 22px; min-height: 0; margin: 0; accent-color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.form-foot p { font-size: var(--step--1); color: var(--ink-2); margin: 0; }
.form-status { padding: 1.25rem 1.5rem; border-left: 3px solid var(--accent); background: var(--paper-2); }
.form-status:empty { display: none; }
.form-success { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--forest); color: var(--on-forest); }
.form-success h3 { font-size: var(--step-3); margin-bottom: 1rem; }
.form-success p { color: var(--on-forest-2); }

/* Contact facts */
.facts { display: grid; gap: 0; margin-top: 2rem; }
.facts div { padding: 1.1rem 0; border-top: 1px solid var(--rule); display: grid; gap: .25rem; }
.facts dt { font: 500 .72rem/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 0; font: 400 var(--step-1)/1.35 var(--font-display); }
.facts a { text-decoration-color: var(--rule); }

/* Legal pages */
.legal { max-width: 44rem; }
.legal h2 { font-size: var(--step-2); margin: 2.5rem 0 .75rem; }
.legal p { color: var(--ink-2); }

/* Footer */
.site-footer { background: var(--forest); color: var(--on-forest); padding-block: clamp(3.5rem, 7vw, 6rem) 2rem; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand .logo { width: min(190px, 48vw); }
.footer-tag { font: 300 var(--step-1)/1.35 var(--font-display); letter-spacing: -.01em; color: var(--on-forest-2); max-width: 22ch; margin-top: 1rem; }
.footer-col h2 { font: 500 .72rem/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on-dark); margin-bottom: .75rem; }
.footer-col a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--forest-2); font-size: var(--step--1); color: var(--on-forest-2); }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal .adult { margin-left: auto; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
@media (max-width: 899px) { .footer-legal .adult { margin-left: 0; width: 100%; } }

/* Reveal on scroll */
.reveal.is-pre { opacity: 0; transform: translateY(18px); }
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-pre { opacity: 1; transform: none; transition: none; }
  .strip img, .gallery a img { transition: none; }
}

/* ---------- Round two: her logo, motion and effects ---------- */
.logo { display: block; width: 100%; height: auto; aspect-ratio: 983 / 733; overflow: visible; }
/* Logo parts take their color from wherever the logo is placed */
.logo .lg-leaf { fill: var(--logo-leaf); }
.logo .lg-word { fill: var(--logo-word); }
.logo .lg-est { fill: var(--logo-est); }
/* On dark backgrounds the leaf lightens so it stays visible; the gold stays */
.dark, .site-footer { --logo-leaf: var(--pe-leaf-light); --logo-est: var(--stone); }

/* Header shadow once the page moves */
.site-header { transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), --logo-leaf .35s var(--ease), --logo-est .35s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -24px rgba(16, 26, 21, .45); }

/* Home: header floats over the dark hero, then turns solid */
[data-page="home"] .hero { padding-top: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
.js[data-page="home"] .site-header { position: fixed; top: 0; left: 0; right: 0; padding-top: env(safe-area-inset-top, 0px); }
.js[data-page="home"] .hero { padding-top: calc(68px + env(safe-area-inset-top, 0px) + clamp(1.5rem, 1rem + 3vw, 3.5rem)); }
.js[data-page="home"] .site-header:not(.is-solid):not(.menu-open) {
  background: transparent; border-color: transparent; box-shadow: none; color: var(--on-forest);
  --logo-leaf: var(--pe-leaf-light); --logo-est: var(--stone);
}
.js[data-page="home"] .site-header:not(.is-solid):not(.menu-open) a:hover { color: var(--accent-on-dark); }
@media (min-width: 901px) {
  .js[data-page="home"] .site-header:not(.is-solid) .nav .btn { background: var(--on-forest); border-color: var(--on-forest); color: var(--forest); }
  .js[data-page="home"] .site-header:not(.is-solid) .nav .btn:hover { background: var(--accent-on-dark); border-color: var(--accent-on-dark); color: var(--ink); }
}

/* Home hero */
[data-page="home"] .hero h1 { font-size: var(--step-4); max-width: 13ch; }
.dark.hero h1 em { color: var(--accent-on-dark); }
.hero-mark { position: relative; z-index: 60; width: clamp(180px, 30vw, 360px); margin-bottom: clamp(2rem, 5vw, 4rem); transform-origin: 0 0; pointer-events: none; }
.motion .hero-mark { will-change: transform; }
.dark .hero-photo figcaption::before { color: var(--accent-on-dark); }

/* Logo flies from the hero into the header (motion.js); the header copy shows once it lands */
.logo-fly .site-header .brand .logo { opacity: 0; transition: none; }
.logo-fly.logo-landed .site-header .brand .logo,
.logo-fly .site-header.menu-open .brand .logo,
.logo-fly .site-header .brand:focus-visible .logo { opacity: 1; }
.logo-fly.logo-landed .hero-mark, .menu-open .hero-mark { visibility: hidden; }

/* Entrances on load */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-mark .lg-leaf { transform-box: fill-box; transform-origin: 50% 100%; animation: pe-rise-lg 1.1s var(--ease) .1s both; }
  .js .hero-mark .lg-word { transform-box: fill-box; animation: pe-slide 1s var(--ease) .45s both; }
  .js .hero-mark .lg-est { transform-box: fill-box; animation: pe-slide 1s var(--ease) .65s both; }
  .js .hero-copy > * { animation: pe-rise .9s var(--ease) both; }
  .js .hero-copy > :nth-child(1) { animation-delay: .6s; }
  .js .hero-copy > :nth-child(2) { animation-delay: .7s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .82s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .94s; }
  .js .hero-photo .photo { animation: pe-unveil 1.3s var(--ease) .55s both; }
  .js .hero-photo figcaption { animation: pe-rise .8s var(--ease) 1.2s both; }
  .js .page-hero .wrap > * { animation: pe-rise .85s var(--ease) both; }
  .js .page-hero .wrap > :nth-child(2) { animation-delay: .12s; }
  .js .page-hero .wrap > :nth-child(3) { animation-delay: .22s; }
  .js .page-hero .wrap > :nth-child(4) { animation-delay: .32s; }
  .js .page-hero .hero-photo .photo { animation: pe-unveil 1.2s var(--ease) .25s both; }
}
@keyframes pe-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pe-rise-lg { from { opacity: 0; transform: translateY(14%); } to { opacity: 1; transform: none; } }
@keyframes pe-slide { from { opacity: 0; transform: translateX(-5%); } to { opacity: 1; transform: none; } }
@keyframes pe-unveil { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* Brand marquee */
.ledger { padding-block: clamp(2.5rem, 5vw, 4rem) 0; border-top: 0; border-bottom: 1px solid var(--rule); }
.ledger-head { margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.marquee { overflow: hidden; border-top: 1px solid var(--rule); padding-block: clamp(1.25rem, 3vw, 2.25rem); }
.marquee-track { display: flex; width: max-content; animation: pe-marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: clamp(1.25rem, 3.5vw, 3rem); padding-right: clamp(1.25rem, 3.5vw, 3rem); white-space: nowrap;
  font: 680 var(--step-5)/1 var(--font-display); letter-spacing: -.045em; }
.marquee-group em { font-style: normal; font-weight: 300; }
.marquee .sep { flex: none; width: .2em; height: .2em; border-radius: 50%; background: var(--sage-deep); }
@keyframes pe-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; width: auto; justify-content: center; }
  .marquee-group { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); font-size: var(--step-4); }
  .marquee-group + .marquee-group, .marquee-group > :nth-child(n+4) { display: none; }
}

/* Staggered reveals for lists and photo rows */
.stagger > * { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.stagger.is-pre > * { opacity: 0; transform: translateY(24px); }
.stagger > :nth-child(2) { transition-delay: .1s; }
.stagger > :nth-child(3) { transition-delay: .2s; }
.stagger > :nth-child(4) { transition-delay: .3s; }
.stagger > :nth-child(5) { transition-delay: .4s; }
.stagger > :nth-child(6) { transition-delay: .5s; }

/* How it works: a resin line draws across the steps as you scroll */
@media (min-width: 900px) {
  .steps { position: relative; }
  .motion .steps::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
}

/* Gentle photo drift inside its frame */
.motion [data-parallax] img { transform: translate3d(0, var(--py, 0px), 0) scale(1.12); will-change: transform; }

/* Photo hover */
.gallery a { display: block; overflow: hidden; }
.gallery a img { transition: transform .7s var(--ease); }
.gallery a:hover img { transform: scale(1.03); }
.strip .photo { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .stagger > *, .stagger.is-pre > * { opacity: 1; transform: none; transition: none; }
  .site-header { transition: none; }
}

/* Request an activation page */
.request-page .form-intro h1 { font-size: var(--step-4); max-width: 11ch; margin-bottom: 1.25rem; }
.next-steps { display: grid; gap: .75rem; margin: 1.75rem 0; padding: 1.25rem 0; border-block: 1px solid var(--rule); }
.next-steps li { display: flex; gap: 1rem; align-items: baseline; }
.next-steps b { font: 500 .78rem/1 var(--font-mono); letter-spacing: .12em; color: var(--sage-deep); }

/* Photo grids and crops for Loely's full-size photos */
.pos-top { object-position: 50% 22%; }
.gallery a img.pos-top { object-position: 50% 22%; }
@media (min-width: 1000px) { .gallery--grid { grid-template-columns: repeat(3, 1fr); } }

.brand .logo, .learn .site-header .brand .logo {width:132px}
.footer-brand .logo {width:195px}
.dark,.site-footer,.learn,.js[data-page="home"] .site-header:not(.is-solid):not(.menu-open){--seed-type:#f3efdf;--seed-leaf:#90a97a;--seed-olive:#b2bf76}
.seed-word{fill:var(--seed-type,#193a24)}
.first-leaf{fill:var(--seed-leaf,#36593c)}
.second-leaf{fill:var(--seed-olive,#748b41)}
.hero-mark{margin-bottom:clamp(1.25rem,2vw,2rem)}
.hero-grid{align-items:center}
.hero-photo{max-width:none}
.invitation{position:relative}
.contact-seed{display:inline-block;background:#cf991e;border-radius:60% 45% 54% 45%;width:.3em;height:.43em;margin-right:.2em}
@media(prefers-reduced-motion:no-preference){
.hero-mark .first-leaf,.hero-mark .second-leaf{transform-origin:392px 505px;animation:leaf-open .85s cubic-bezier(.18,.72,.25,1) both}
.hero-mark .second-leaf{animation-delay:.33s}
@keyframes leaf-open{from{transform:scale(.03) rotate(-13deg)}to{transform:none}}
.seed-arrived .contact-seed{animation:seed-land .9s cubic-bezier(.22,.75,.3,1) both}
@keyframes seed-land{from{opacity:0;transform:translate(1em,-2.5em) rotate(32deg)}to{opacity:1;transform:none}}
}
.logo{aspect-ratio:2040/450}
@media(min-width:901px){.hero-photo .photo{aspect-ratio:1.28}.hero-grid{grid-template-columns:1fr 1.05fr}.hero-photo{margin:0}}
.js[data-page="home"] .site-header.is-scrolled:not(.is-solid):not(.menu-open){
 background:rgba(18,34,26,.97);border-bottom-color:#495749;
 -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
 transition:none;
}
.mark-moving .hero-mark::before{content:"";position:absolute;inset:-7px -10px;z-index:-1;border-radius:10px;background:#12221a;box-shadow:0 0 0 1px #495749}
.seed-journey:not(.seed-docked) .contact-seed,.seed-away .site-header .logo ellipse{opacity:0}
.traveling-seed{position:fixed;top:0;left:0;z-index:65;pointer-events:none;border-radius:60% 45% 54% 45%;background:#cf991e;box-shadow:0 0 0 2px #12221a66}
@media(prefers-reduced-motion:no-preference){
 .hero-mark ellipse{transform-box:fill-box;transform-origin:center;animation:plant-seed .65s both}
 .hero-mark .first-leaf,.hero-mark .second-leaf{transform-box:fill-box;animation:unfold 1s cubic-bezier(.16,.7,.25,1) both}
 .hero-mark .first-leaf{transform-origin:100% 100%;animation-delay:.5s}
 .hero-mark .second-leaf{transform-origin:0% 100%;animation-delay:1.12s}
 .hero-mark .seed-word{animation:motto-in .85s .65s both}
 .hero .motto-first{animation:motto-in .8s .8s both}
 .hero .motto-reply{animation:motto-in .95s 1.55s both}
 @keyframes plant-seed{0%{opacity:0;transform:translateY(-220%)}75%{opacity:1;transform:translateY(10%)}100%{transform:none}}
 @keyframes unfold{from{opacity:0;transform:scale(.03,.12) rotate(-14deg)}to{opacity:1;transform:none}}
 @keyframes motto-in{from{opacity:0}to{opacity:1}}
}
