/* ============================================================================
   home-v2.css
   Hand-authored, plain CSS for the System or Ecosystem v2 homepage.
   Replaces the compiled Tailwind bundle (styles.css) for this single page.

   Organization:
     1. Design tokens (:root)
     2. Reset / preflight
     3. Base elements
     4. Layout primitives
     5. Site chrome (header, nav, mobile nav, lang dropdown, section rail,
        scroll progress, cursor spotlight, footer)
     6. Section CSS, one block per <section>
     7. Ported eco-* component classes
     8. Animations (@keyframes)
     9. Reduced-motion overrides
   ============================================================================ */

/* ============================================================================
   1. DESIGN TOKENS
   ============================================================================ */
:root {
    --color-eco-cream: #f7f1df;
    --color-eco-paper: #fbf6e6;
    --color-eco-cream-warm: #f0e7cd;
    --color-eco-bone: #ece2c4;
    --color-eco-olive: #5a6b48;
    --color-eco-olive-deep: #4f5c3e;
    --color-eco-forest: #4a5538;
    --color-eco-free: #3a4530;
    --color-eco-ink: #2a2f20;
    --color-eco-ink-soft: #5a5f4d;
    --color-eco-accent: #c84634;
    --color-eco-cta-tan: #3a4628;
    --color-eco-cta-tan-hov: #2c361f;
    --color-eco-rule: rgba(42, 47, 32, 0.14);
    --color-eco-border: rgba(42, 47, 32, 0.14);
    --color-eco-green: #8a9a68;
    --color-eco-green-light: #7c8d5a;
    --color-eco-green-muted: rgba(138, 154, 104, 0.12);

    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --font-caveat: "Caveat", cursive;

    --content-max: 1240px;
    --content-max-wide: 1360px;
    --gutter: 1.5rem;
    --gutter-lg: 3.5rem;

    --header-height: 5.5rem;
}

/* ============================================================================
   2. RESET / PREFLIGHT
   ============================================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    scroll-behavior: smooth;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    max-width: 100%;
}

img,
video {
    height: auto;
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
    font-size: inherit;
}

blockquote,
figure {
    margin: 0;
}

[hidden] {
    display: none !important;
}

/* ============================================================================
   3. BASE
   ============================================================================ */
body {
    background: var(--color-eco-cream);
    color: var(--color-eco-ink);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ============================================================================
   4. LAYOUT PRIMITIVES
   ============================================================================ */
.container {
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--wide {
    max-width: var(--content-max-wide);
}

@media (min-width: 768px) {
    .container {
        padding-inline: var(--gutter-lg);
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================================
   5. SITE CHROME
   ============================================================================ */

/* ---- 5.1 Scroll progress + cursor spotlight (overlay layers) ---- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(42, 47, 32, 0.06);
    z-index: 60;
}

.scroll-progress::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: 0 50%;
    transform: scaleX(var(--scroll-progress, 0));
    background: linear-gradient(90deg, var(--color-eco-olive), var(--color-eco-olive-deep));
    transition: transform 80ms linear;
    box-shadow: 0 0 14px rgba(90, 107, 72, 0.45);
}

.cursor-spotlight {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 30;
    background: radial-gradient(600px circle at var(--cursor-x, 50%) var(--cursor-y, 50%), rgba(163, 191, 100, 0.08), transparent 40%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.4s;
}

[data-cursor-spotlight="on"] .cursor-spotlight {
    opacity: 1;
}

/* ---- 5.2 Header / nav ---- */
.site-header {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 50;
    background: var(--color-eco-cream);
    border-bottom: 1px solid var(--color-eco-rule);
    transition: box-shadow 0.35s;
}

.site-header.is-scrolled {
    box-shadow: 0 4px 30px -10px rgba(42, 47, 32, 0.18);
}

.site-header__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
    padding-block: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

@media (min-width: 768px) {
    .site-header__inner {
        padding-inline: var(--gutter-lg);
        padding-block: 18px;
    }
}

.site-header__logo {
    display: inline-flex;
    align-items: center;
}

.site-header__logo-img {
    height: 4rem;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.site-header__logo:hover .site-header__logo-img {
    opacity: 1;
}

@media (min-width: 768px) {
    .site-header__logo-img {
        height: 5rem;
    }
}

.site-header__nav {
    display: none;
    align-items: center;
    gap: 2.25rem;
    font-size: 13px;
    color: var(--color-eco-ink-soft);
    font-weight: 500;
}

@media (min-width: 768px) {
    .site-header__nav {
        display: flex;
    }
}

.nav-link {
    position: relative;
    padding-bottom: 0.25rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--color-eco-ink);
}

.site-header__cta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-header__cta {
    display: none;
}

@media (min-width: 1024px) {
    .site-header__cta {
        display: inline-flex;
    }
}

/* ---- 5.3 Mobile menu button + panel ---- */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: 0;
    cursor: pointer;
    z-index: 60;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-eco-ink);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 767px) {
    .mobile-menu-btn {
        display: flex;
    }

    .site-header__inner {
        padding-block: 0.75rem;
    }
}

.mobile-nav-panel {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--color-eco-cream);
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 6rem 2rem 3rem;
    z-index: 55;
    animation: mobile-nav-in 0.35s ease-out;
}

.mobile-nav-panel[data-open="true"] {
    display: flex;
}

.mobile-nav-panel a {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-eco-ink);
    transition: color 0.2s;
}

.mobile-nav-panel a:hover {
    color: var(--color-eco-olive-deep);
}

.mobile-nav-panel .eco-btn-primary {
    margin-top: 1rem;
    font-size: 1rem;
}

/* ---- 5.4 Language dropdown ---- */
.lang-dropdown {
    display: inline-block;
    position: relative;
}

.lang-dropdown-button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--color-eco-ink-soft);
    background: none;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition:
        color 0.25s,
        border-color 0.25s;
}

.lang-dropdown-button::-webkit-details-marker {
    display: none;
}

.lang-dropdown-button::marker {
    content: "";
}

.lang-dropdown-button:hover,
.lang-dropdown[open] .lang-dropdown-button {
    color: var(--color-eco-ink);
}

.lang-dropdown-code {
    font-family: var(--font-mono);
    letter-spacing: 0.12em;
    color: var(--color-eco-ink);
}

.lang-dropdown-label {
    display: none;
}

@media (min-width: 640px) {
    .lang-dropdown-label {
        display: inline;
    }
}

.lang-dropdown-caret {
    width: 10px;
    height: 6px;
    transition: transform 0.25s;
}

.lang-dropdown[open] .lang-dropdown-caret {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    max-height: 70vh;
    padding: 0.4rem;
    border: 1px solid var(--color-eco-rule);
    background: var(--color-eco-paper);
    border-radius: 12px;
    list-style: none;
    overflow-y: auto;
    z-index: 60;
    box-shadow: 0 24px 48px -22px rgba(42, 47, 32, 0.35);
    animation: lang-dropdown-in 0.2s ease-out;
}

.lang-dropdown-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.8rem;
    color: var(--color-eco-ink-soft);
    border-radius: 9px;
    transition: all 0.18s;
}

.lang-dropdown-option:hover,
.lang-dropdown-option.is-active {
    background: var(--color-eco-cream-warm);
    color: var(--color-eco-ink);
}

.lang-dropdown-option-code {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--color-eco-ink);
    min-width: 2ch;
}

.lang-dropdown-option-label {
    flex: 1;
}

.lang-dropdown-check {
    color: var(--color-eco-olive-deep);
}

/* ---- 5.5 Section rail ---- */
.section-rail {
    display: none;
    position: fixed;
    top: 50%;
    right: 1.25rem;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 1rem;
    z-index: 25;
}

@media (min-width: 1440px) {
    .section-rail {
        display: flex;
        right: 2rem;
    }
}

.section-rail__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rail-dot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 1.5rem;
}

.rail-dot > span {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(90, 95, 77, 0.4);
    transition:
        width 0.25s,
        height 0.25s,
        background 0.25s,
        box-shadow 0.25s;
}

.rail-dot[data-active="true"] > span {
    width: 10px;
    height: 10px;
    background: var(--color-eco-green);
    box-shadow: 0 0 12px rgba(78, 203, 113, 0.7);
}

/* ---- 5.6 Footer ---- */
.site-footer {
    background: var(--color-eco-paper);
    border-top: 1px solid var(--color-eco-rule);
    padding: 60px 0 50px;
    position: relative;
}

.site-footer__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

@media (min-width: 768px) {
    .site-footer__inner {
        padding-inline: var(--gutter-lg);
    }
}

.site-footer__logo-img {
    height: 4rem;
    width: auto;
    opacity: 0.9;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .site-footer__logo-img {
        height: 5rem;
    }
}

.site-footer__tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 15px;
    line-height: 1.375;
    color: var(--color-eco-ink-soft);
    max-width: 20rem;
}

.eco-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    align-items: start;
    gap: 60px;
}

@media (max-width: 860px) {
    .eco-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .eco-footer-grid > :first-child {
        grid-column: 1 / -1;
    }
}

.eco-footer-col h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-eco-ink-soft);
    margin-bottom: 14px;
}

.eco-footer-col ul li {
    margin-bottom: 8px;
}

.eco-footer-col a {
    font-size: 14px;
    color: var(--color-eco-ink);
    transition: color 0.2s;
}

.eco-footer-col a:hover {
    color: var(--color-eco-olive-deep);
}

.eco-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--color-eco-rule);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-eco-ink-soft);
}

.site-footer__lang-code {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--color-eco-ink-soft);
    margin-right: 0.5rem;
}

/* ============================================================================
   6. SECTIONS
   ============================================================================ */

/* ---- 6.1 Hero ---- */
.home-hero {
    position: relative;
    padding: 8rem 0 5rem;
    background: var(--color-eco-cream);
}

@media (min-width: 768px) {
    .home-hero {
        padding: 9rem 0 6rem;
    }
}

.home-hero__inner {
    max-width: var(--content-max-wide);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .home-hero__inner {
        padding-inline: var(--gutter-lg);
    }
}

@media (min-width: 1024px) {
    .home-hero__inner {
        grid-template-columns: 1fr 1.4fr;
        gap: 4rem;
    }
}

.home-hero__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.home-hero__quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    color: var(--color-eco-ink);
    max-width: 430px;
}

.home-hero__quote-mark {
    color: var(--color-eco-olive);
    margin-left: 8px;
}

.home-hero__cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    padding-top: 0.5rem;
}

.home-hero__media {
    position: relative;
    width: 100%;
    min-width: 0;
}

/* ---- 6.2 Stats ---- */
.home-stats {
    background: var(--color-eco-olive);
    color: var(--color-eco-cream);
    padding: 40px 0;
    position: relative;
}

.home-stats__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

@media (min-width: 768px) {
    .home-stats__inner {
        padding-inline: var(--gutter-lg);
    }
}

@media (max-width: 767px) {
    .home-stats {
        padding-block: 3rem;
    }
}

/* ---- 6.3 Manifesto ---- */
.home-manifesto {
    position: relative;
    overflow: hidden;
    padding: 120px 0 130px;
    background: var(--color-eco-forest);
    color: var(--color-eco-cream);
}

.home-manifesto::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(60% 60% at 70% 40%, rgba(120, 140, 80, 0.18), transparent 70%),
        repeating-linear-gradient(85deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 7px);
}

.home-manifesto__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.55;
}

.home-manifesto__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(74, 85, 56, 0.78) 0%, rgba(74, 85, 56, 0.55) 50%, rgba(74, 85, 56, 0.85) 100%);
}

.home-manifesto__inner {
    position: relative;
    z-index: 10;
    max-width: 760px;
    margin-inline: auto;
    padding-inline: var(--gutter);
    text-align: center;
}

.home-manifesto__title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.4vw, 46px);
    line-height: 1.18;
    letter-spacing: -0.005em;
    color: var(--color-eco-cream);
    margin-top: 24px;
}

.home-manifesto__title em {
    font-style: italic;
}

.home-manifesto__points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    text-align: left;
    margin-top: 46px;
}

@media (max-width: 720px) {
    .home-manifesto {
        padding: 80px 0 90px;
    }

    .home-manifesto__points {
        grid-template-columns: 1fr;
    }
}

.eco-point {
    background: rgba(241, 234, 216, 0.06);
    border: 1px solid rgba(241, 234, 216, 0.1);
    border-radius: 10px;
    padding: 16px 18px;
    color: rgba(241, 234, 216, 0.85);
    font-size: 13.5px;
    line-height: 1.5;
}

.eco-point b {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 15px;
    color: var(--color-eco-cream);
    margin-bottom: 4px;
}

/* ---- 6.4 Hear / a word from the author ---- */
.home-hear {
    position: relative;
    padding: 110px 0;
    background: var(--color-eco-paper);
}

.home-hear__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}

@media (min-width: 768px) {
    .home-hear__inner {
        padding-inline: var(--gutter-lg);
    }
}

@media (max-width: 860px) {
    .home-hear__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.home-hear__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    color: var(--color-eco-ink);
    margin-top: 1.5rem;
}

.home-hear__title em {
    font-style: italic;
}

.home-hear__quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    line-height: 1.45;
    color: var(--color-eco-ink);
    max-width: 520px;
}

.home-hear__quote-mark {
    display: block;
    margin-top: 2rem;
}

.home-hear__attribution {
    margin-top: 1.25rem;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-eco-ink-soft);
}

/* ---- 6.5 Volumes ---- */
.home-volumes {
    position: relative;
    padding: 110px 0 130px;
    background: var(--color-eco-olive-deep);
    color: var(--color-eco-cream);
}

.home-volumes__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

@media (min-width: 768px) {
    .home-volumes__inner {
        padding-inline: var(--gutter-lg);
    }
}

.home-volumes__title {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 78px);
    line-height: 1;
    color: var(--color-eco-cream);
    margin-top: 1rem;
}

.home-volumes__title em {
    font-style: italic;
}

/* ---- 6.6 Pillars ---- */
.home-pillars {
    position: relative;
    padding: 110px 0;
    background: var(--color-eco-paper);
}

.home-pillars__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

@media (min-width: 768px) {
    .home-pillars__inner {
        padding-inline: var(--gutter-lg);
    }
}

.home-pillars__head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3.5rem;
}

.home-pillars__title {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 80px);
    line-height: 0.98;
    color: var(--color-eco-ink);
    margin-top: 1.25rem;
}

.home-pillars__title em {
    font-style: italic;
}

/* ---- 6.7 Pullquote ---- */
.home-pullquote-section {
    /* container only; .eco-pullquote owns padding/color */
}

.home-pullquote__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

@media (min-width: 768px) {
    .home-pullquote__inner {
        padding-inline: var(--gutter-lg);
    }
}

.home-pullquote__attribution {
    margin-top: 2.5rem;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ---- 6.8 Letters ---- */
.home-letters {
    position: relative;
    padding: 8rem 0;
    background: var(--color-eco-paper);
    overflow: hidden;
}

.home-letters__head {
    position: relative;
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
    text-align: center;
    margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
    .home-letters__head {
        padding-inline: var(--gutter-lg);
    }
}

.home-letters__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.1;
    margin-top: 1.25rem;
}

.home-letters__title-accent {
    font-style: italic;
    color: var(--color-eco-accent);
}

.home-letters__title-main {
    font-style: italic;
    color: var(--color-eco-ink);
}

.home-letters__wall {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.home-letters__caption {
    position: relative;
    margin-top: 3rem;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-eco-ink-soft);
}

/* ---- 6.9 Free CTA ---- */
.home-free__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
}

.home-free__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(40, 52, 32, 0.62) 0%, rgba(40, 52, 32, 0.32) 50%, rgba(40, 52, 32, 0.72) 100%);
}

.home-free__content {
    position: relative;
    z-index: 10;
}

/* ============================================================================
   7. PORTED ECO-* COMPONENT CLASSES
   ============================================================================ */

/* ---- 7.1 Typography helpers ---- */
.eco-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-eco-ink-soft);
}

.eco-eyebrow::before {
    content: "";
    width: 18px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

.eco-eyebrow.center {
    justify-content: center;
}

.eco-eyebrow.center::before,
.eco-eyebrow.center::after {
    content: "";
    width: 24px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

.eco-eyebrow.light {
    color: rgba(247, 241, 223, 0.78);
}

.eco-display {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.75rem, 6vw, 4.875rem);
    line-height: 1;
    letter-spacing: -0.015em;
    color: var(--color-eco-ink);
    text-wrap: balance;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
}

.eco-display .it {
    font-style: italic;
    font-weight: 400;
}

@media (max-width: 767px) {
    .eco-display {
        font-size: clamp(1.75rem, 7.5vw, 2.5rem);
        line-height: 1.08;
    }
}

.eco-subhead {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-eco-ink-soft);
    max-width: 430px;
}

/* ---- 7.2 Buttons ---- */
.eco-btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-eco-cream);
    background: var(--color-eco-cta-tan);
    border: 1px solid var(--color-eco-cta-tan);
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background 0.2s,
        border-color 0.2s,
        transform 0.2s;
}

.eco-btn-primary:hover {
    background: var(--color-eco-cta-tan-hov);
    border-color: var(--color-eco-cta-tan-hov);
    color: var(--color-eco-cream);
}

.eco-btn-ghost {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-eco-ink);
    background: transparent;
    border: 1px solid var(--color-eco-ink);
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s;
}

.eco-btn-ghost:hover {
    background: var(--color-eco-ink);
    color: var(--color-eco-cream);
}

.eco-btn-sage {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #2a2f20;
    background: #b8d066;
    border: 1px solid #b8d066;
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background 0.2s,
        border-color 0.2s;
}

.eco-btn-sage:hover {
    background: #a3bf4f;
    border-color: #a3bf4f;
    color: #2a2f20;
}

.eco-play-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-eco-ink-soft);
}

.eco-play-link .pdot {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1px solid;
    border-radius: 50%;
}

.eco-play-link .pdot::after {
    content: "";
    margin-left: 2px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid;
}

.eco-pill-eyebrow {
    display: inline-block;
    padding: 7px 18px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(184, 208, 102, 0.95);
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(184, 208, 102, 0.55);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    margin-bottom: 28px;
}

.eco-pill-eyebrow--ink {
    color: var(--color-eco-olive-deep);
    background: rgba(247, 241, 223, 0.5);
    border-color: rgba(90, 107, 72, 0.5);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* On mobile, hero CTAs go full-width */
@media (max-width: 767px) {
    #hero .eco-btn-primary,
    #hero .eco-btn-ghost {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.5rem;
    }

    #hero .home-hero__cta-row .eco-play-link {
        width: 100%;
        justify-content: center;
    }
}

/* ---- 7.3 Hero card (video / image stage) ---- */
.eco-hero-card {
    position: relative;
    aspect-ratio: 11 / 5;
    background: #3d4a30;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(42, 47, 32, 0.25);
}

.eco-hero-card .stage {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #2c3522;
}

.eco-hero-card .stage video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eco-hero-card .hero-video {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: saturate(1.2) contrast(1.08) brightness(0.98);
    transform: scale(1.04);
    transition:
        opacity 1.6s ease-out,
        transform 12s ease-out;
}

.eco-hero-card .hero-video.is-playing {
    opacity: 1;
    /*transform: scale(1.06);*/
}

[data-controller~="hls-video"].hls-failed .hero-video {
    display: none;
}

/*.eco-hero-card .play-fab {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--color-eco-forest);
  background: rgba(241, 234, 216, 0.92);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.eco-hero-card .play-fab::after {
  content: "";
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid;
}*/

/* ---- 7.4 Stats ---- */
.eco-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.eco-stats-grid .stat .num {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(38px, 5vw, 54px);
    line-height: 1;
}

.eco-stats-grid .stat .num sup {
    vertical-align: top;
    margin-left: 2px;
    font-size: 0.45em;
    opacity: 0.85;
}

.eco-stats-grid .stat .lab {
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.78;
}

@media (max-width: 720px) {
    .eco-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* ---- 7.5 Marquee ---- */
.eco-marquee {
    position: relative;
    padding: 22px 0;
    background: var(--color-eco-olive-deep);
    color: var(--color-eco-cream);
    border-top: 1px solid rgba(247, 241, 223, 0.08);
    overflow: hidden;
}

.eco-marquee-track {
    display: flex;
    align-items: center;
    gap: 60px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    white-space: nowrap;
    animation: eco-marquee-scroll 40s linear infinite;
}

.eco-marquee-track .sep {
    flex: none;
    font-size: 18px;
    font-style: normal;
    color: #b8d066;
    opacity: 0.85;
}

/* ---- 7.6 Hear grid + quote mark ---- */
.eco-hear-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}

@media (max-width: 860px) {
    .eco-hear-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.eco-quote-mark {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 64px;
    line-height: 1;
    color: var(--color-eco-olive);
    margin-bottom: -12px;
}

/* ---- 7.7 Shoutout (lightbox) ---- */
.shoutout-thumb-wrap {
    width: 100%;
}

.shoutout-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    background: #0a110d;
    border: 1px solid var(--color-eco-border);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition:
        transform 0.4s,
        box-shadow 0.4s;
    box-shadow:
        0 30px 60px -25px rgba(74, 85, 56, 0.25),
        0 15px 40px -20px rgba(0, 0, 0, 0.35);
}

.shoutout-thumb:hover {
    transform: translateY(-3px);
    box-shadow:
        0 40px 80px -25px rgba(74, 85, 56, 0.38),
        0 20px 50px -20px rgba(0, 0, 0, 0.4);
}

.shoutout-poster {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.shoutout-play-badge {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    transition: transform 0.35s;
}

.shoutout-play-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 76px;
    height: 76px;
    font-size: 1.6rem;
    color: var(--color-eco-forest);
    background: rgba(247, 241, 223, 0.95);
    border-radius: 999px;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    box-shadow:
        0 18px 48px -10px rgba(0, 0, 0, 0.45),
        0 0 0 10px rgba(247, 241, 223, 0.18);
}

.shoutout-thumb:hover .shoutout-play-icon {
    transform: scale(1.06);
    box-shadow:
        0 24px 64px -10px rgba(0, 0, 0, 0.55),
        0 0 0 14px rgba(247, 241, 223, 0.22);
}

@media (max-width: 900px) {
    .shoutout-play-icon {
        width: 64px;
        height: 64px;
        font-size: 1.3rem;
    }
}

.shoutout-dialog {
    width: 100%;
    max-width: 100vw;
    height: 100%;
    max-height: 100vh;
    padding: 0;
    border: 0;
    color: var(--color-eco-cream);
    background: transparent;
}

.shoutout-dialog::backdrop {
    background: rgba(12, 16, 8, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.shoutout-dialog[open] {
    display: grid;
    place-items: center;
}

.shoutout-dialog-inner {
    position: relative;
    aspect-ratio: 9 / 16;
    width: min(360px, calc(56.25vh - 45px));
    max-height: calc(100vh - 80px);
    background: #0a110d;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7);
}

@media (max-width: 900px) {
    .shoutout-dialog-inner {
        width: min(86vw, calc(56.25vh - 33.75px));
    }
}

.shoutout-dialog-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0a110d;
}

.shoutout-dialog-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    font-size: 22px;
    line-height: 1;
    color: var(--color-eco-cream);
    background: rgba(12, 16, 8, 0.6);
    border: 1px solid rgba(247, 241, 223, 0.35);
    border-radius: 999px;
    cursor: pointer;
    transition:
        background 0.2s,
        transform 0.2s;
}

.shoutout-dialog-close:hover {
    background: rgba(12, 16, 8, 0.85);
    transform: scale(1.06);
}

/* ---- 7.8 Volumes ---- */
.eco-volumes-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 560px;
    margin-top: 64px;
}

@media (max-width: 720px) {
    .eco-volumes-row {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-inline: auto;
    }
}

.eco-volume-card {
    display: flex;
    flex-direction: column;
}

.eco-book-frame {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4.4;
    background: linear-gradient(135deg, var(--color-eco-cream-warm) 0%, var(--color-eco-bone) 100%);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: transform;
    box-shadow: 0 24px 48px -22px rgba(0, 0, 0, 0.4);
}

.eco-book-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eco-volumes-row .eco-volume-card:first-child .eco-book-frame:hover {
    transform: rotate(-1.5deg) scale(1.04);
}

.eco-volumes-row .eco-volume-card:nth-child(2) .eco-book-frame:hover {
    transform: rotate(1.5deg) scale(1.04);
}

.eco-volume-blurb {
    margin-top: 18px;
    max-width: 200px;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(247, 241, 223, 0.78);
}

.eco-volume-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-eco-cream);
    transition: gap 0.25s;
}

.eco-volume-readmore:hover {
    gap: 12px;
}

/* ---- 7.9 Pillar cards ---- */
.eco-pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

@media (max-width: 980px) {
    .eco-pillar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .eco-pillar-grid {
        grid-template-columns: 1fr;
    }
}

.eco-pillar-card {
    display: block;
    background: var(--color-eco-paper);
    border-radius: 10px;
    overflow: hidden;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.eco-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(42, 47, 32, 0.25);
}

.eco-pillar-card .img {
    position: relative;
    aspect-ratio: 5 / 4;
    overflow: hidden;
}

.eco-pillar-card .img img,
.eco-pillar-card .img > div {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eco-pillar-card .img .cap {
    position: absolute;
    bottom: 12px;
    left: 14px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-eco-cream);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.eco-pillar-card .body {
    padding: 18px 20px 22px;
}

.eco-pillar-card .body h4 {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--color-eco-ink);
    margin-bottom: 6px;
    line-height: 1.2;
}

.eco-pillar-card .body p {
    font-size: 13.5px;
    line-height: 1.2;
    color: var(--color-eco-ink-soft);
}

/* ---- 7.10 Pullquote ---- */
.eco-pullquote {
    position: relative;
    padding: 110px 0 120px;
    background: var(--color-eco-forest);
    color: var(--color-eco-cream);
    text-align: center;
}

.eco-pullquote .mark {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 80px;
    line-height: 1;
    opacity: 0.45;
}

.eco-pullquote h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.3;
    color: var(--color-eco-cream);
    max-width: 800px;
    margin: 0 auto;
}

.eco-pullquote h2 em {
    font-style: italic;
}

/* ---- 7.11 Letter wall ---- */
.letter-wall {
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, black 80px calc(100% - 80px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, black 80px calc(100% - 80px), transparent 100%);
}

.letter-wall-row {
    overflow: hidden;
}

.letter-wall-track {
    display: inline-flex;
    gap: 1.25rem;
    white-space: nowrap;
    animation: letter-scroll 68s linear infinite;
    will-change: transform;
}

.letter-wall-row[data-direction="right"] .letter-wall-track {
    animation-name: letter-scroll-reverse;
    animation-duration: 74s;
}

.letter-wall:hover .letter-wall-track {
    animation-play-state: paused;
}

.letter-card {
    flex: none;
    width: min(320px, 78vw);
    padding: 18px 20px;
    background: var(--color-eco-cream-warm);
    border: 1px solid var(--color-eco-rule);
    border-radius: 8px;
    white-space: normal;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.letter-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -22px rgba(42, 47, 32, 0.25);
}

.letter-card blockquote {
    font-family: var(--font-sans);
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--color-eco-ink-soft);
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.letter-card figcaption {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-eco-ink);
}

@media (max-width: 640px) {
    .letter-wall-track {
        animation-duration: 50s;
    }

    .letter-card {
        width: min(280px, 82vw);
        padding: 1.25rem 1.4rem;
    }
}

/* ---- 7.12 Free CTA ---- */
.eco-free-cta {
    position: relative;
    padding: 130px 0;
    background: var(--color-eco-free);
    color: var(--color-eco-cream);
    text-align: center;
    overflow: hidden;
}

.eco-free-cta .inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.eco-free-cta h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(40px, 6vw, 78px);
    line-height: 1.05;
    color: var(--color-eco-cream);
    margin: 18px 0;
}

.eco-free-cta h2 em {
    font-style: normal;
    font-weight: 500;
}

.eco-free-cta .sub {
    margin-bottom: 28px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(247, 241, 223, 0.78);
}

/* ---- 7.13 Sprout outro ---- */
.eco-sprout-outro {
    position: relative;
    padding: 80px 0 120px;
    background: var(--color-eco-paper);
    text-align: center;
    overflow: hidden;
}

.eco-sprout-outro .sprout-original {
    position: relative;
    z-index: 10;
}

.eco-sprout-outro .sprout-svg {
    width: 140px;
    height: auto;
    margin: 0 auto 18px;
    position: relative;
    overflow: visible;
}

.eco-sprout-outro .word {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(80px, 18vw, 240px);
    line-height: 1.18;
    color: rgba(28, 31, 21, 0.05);
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
}

.eco-sprout-outro .plant-stem,
.eco-sprout-outro .plant-leaf-l,
.eco-sprout-outro .plant-leaf-r {
    fill: none;
    stroke: var(--color-eco-forest);
    stroke-width: 3px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eco-sprout-outro .plant-stem {
    stroke-dasharray: 220;
    stroke-dashoffset: 220px;
}

.eco-sprout-outro .plant-leaf-l,
.eco-sprout-outro .plant-leaf-r {
    stroke-dasharray: 110;
    stroke-dashoffset: 110px;
    stroke-width: 2.5px;
}

.eco-sprout-outro .plant-soil {
    stroke: rgba(74, 85, 56, 0.45);
    stroke-width: 1.5px;
    stroke-dasharray: 4 6;
}

.eco-sprout-outro .plant-seed {
    fill: var(--color-eco-olive-deep);
    filter: drop-shadow(0 0 6px rgba(74, 85, 56, 0.45));
    opacity: 0;
}

[data-plant-grown="true"] .plant-stem {
    animation: draw-stroke 2.4s ease-out 0.2s forwards;
}

[data-plant-grown="true"] .plant-leaf-l {
    transform-origin: 50% 70%;
    animation:
        draw-stroke 1.6s ease-out 1.6s forwards,
        leaf-sway 4.5s ease-in-out 4.2s infinite;
}

[data-plant-grown="true"] .plant-leaf-r {
    transform-origin: 50% 70%;
    animation:
        draw-stroke 1.6s ease-out 2s forwards,
        leaf-sway-rev 5s ease-in-out 4.6s infinite;
}

[data-plant-grown="true"] .plant-seed {
    animation:
        seed-pop 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) 3.4s forwards,
        pulse-soft 3s ease-in-out 4.8s infinite;
}

/* ---- 7.14 Reveal / char-reveal animation hooks ---- */
[data-controller~="reveal"] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.9s,
        transform 0.9s;
}

[data-controller~="reveal"][data-revealed="true"] {
    opacity: 1;
    transform: translateY(0);
}

.eco-display[data-reveal-mode="word"] .char-reveal-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.45em);
    animation: eco-word-rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.eco-pullquote h2 {
    opacity: 0;
    letter-spacing: 0.04em;
    transform: translateY(8px);
    transition:
        letter-spacing 1.6s cubic-bezier(0.2, 0.7, 0.2, 1),
        opacity 0.9s ease-out,
        transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.eco-pullquote h2[data-revealed="true"] {
    opacity: 1;
    letter-spacing: 0;
    transform: translateY(0);
}

/* ============================================================================
   8. ANIMATIONS
   ============================================================================ */
@keyframes eco-marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes letter-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes letter-scroll-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes lang-dropdown-in {
    0% {
        opacity: 0;
        transform: translateY(-4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mobile-nav-in {
    0% {
        opacity: 0;
        transform: translateY(-12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes draw-stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes leaf-sway {
    0%,
    100% {
        transform: rotate(0);
    }

    50% {
        transform: rotate(3deg);
    }
}

@keyframes leaf-sway-rev {
    0%,
    100% {
        transform: rotate(0);
    }

    50% {
        transform: rotate(-3deg);
    }
}

@keyframes seed-pop {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    60% {
        opacity: 1;
        transform: scale(1.4);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse-soft {
    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(163, 191, 100, 0.7));
    }

    50% {
        filter: drop-shadow(0 0 18px rgba(163, 191, 100, 1));
    }
}

@keyframes eco-word-rise {
    0% {
        opacity: 0;
        transform: translateY(0.45em);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================================
   9. REDUCED MOTION
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .eco-marquee-track,
    .letter-wall-track {
        animation: none;
    }

    .eco-display[data-reveal-mode="word"] .char-reveal-word {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .eco-sprout-outro .plant-stem,
    .eco-sprout-outro .plant-leaf-l,
    .eco-sprout-outro .plant-leaf-r {
        stroke-dashoffset: 0;
        animation: none;
    }

    .eco-sprout-outro .plant-seed {
        opacity: 1;
        animation: none;
    }

    .eco-pullquote h2 {
        opacity: 1;
        letter-spacing: 0;
        transform: none;
        transition: none;
    }

    .eco-volumes-row .eco-volume-card .eco-book-frame:hover {
        transform: none;
    }
}
