/* ==========================================================================
   EcoMycel site — Layer 3: page patterns the design system does not carry.
   Requires ecomycel.tokens.css + ecomycel.components.css (+ fonts.css).
   ========================================================================== */

:root {
  /* 3D scene tokens (read by eco-plate.js from the nearest .eco-3d) */
  --eco-scene-bg:        #0b1015;
  --eco-scene-grid:      #f3f6f1;
  --eco-scene-grid-a:    0.06;
  --eco-scene-shadow:    0.55;
  --eco-scene-dark:      1;
}
.eco-section--raised .eco-3d,
.eco-section--lit-tl .eco-3d, .eco-section--lit-tr .eco-3d, .eco-section--lit-bl .eco-3d { --eco-scene-bg: #10181d; }

/* The hidden attribute must win over any display rule on the same element (panels, photos, controls). */
[hidden] { display: none !important; }

.eco-page { position: relative; background: var(--eco-surface); overflow-x: clip; }
.eco-section { scroll-margin-top: 100px; }
.eco-section--lit-bl { background: radial-gradient(ellipse 800px 500px at 15% 80%, var(--eco-accent-wash), transparent 70%), var(--eco-surface-raised); }
.eco-section--tight-top { padding-top: 0; margin-top: -40px; }

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

/* Split ratios used on single pages; all collapse to one column with the base split rule */
.eco-split--product { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(40px, 6vw, 80px); }
.eco-split--text-l  { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr); }
.eco-split--mosaic  { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 768px) { .eco-split--product, .eco-split--text-l, .eco-split--mosaic { grid-template-columns: 1fr; } }

/* Spacing utilities used between heading, lead and content */
.eco-mb-20 { margin-bottom: 20px; }
.eco-mb-44 { margin-bottom: 44px; }
.eco-mb-12 { margin-bottom: 12px; }
.eco-mb-24 { margin-bottom: 24px; }
.eco-mt-16 { margin-top: 16px; }
.eco-mb-56 { margin-bottom: 56px; }
.eco-mb-60 { margin-bottom: 60px; }
.eco-mt-24 { margin-top: 24px; }
.eco-mt-44 { margin-top: 44px; }

/* --------------------------------------------------------------------------
   HEADER additions: current page, mobile menu
   -------------------------------------------------------------------------- */
.eco-nav__link.is-current { color: var(--eco-green); text-shadow: 0 0 16px rgba(127,226,143,0.4); }

/* Fünf Navigationspunkte plus Schaltfläche: erst schrumpft der Abstand, dann greift das Mobilmenü. */
@media (max-width: 1180px) { .eco-nav { gap: 26px; } }
@media (max-width: 980px)  { .eco-nav { gap: 18px; } .eco-nav__cta { padding: 9px 14px; } }

.eco-menu-btn { display: none; }
.eco-menu { display: none; }

@media (max-width: 768px) {
  .eco-menu-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0;
  }
  .eco-menu-btn span { display: block; width: 22px; height: 2px; background: var(--eco-ink); transition: transform .25s ease, opacity .2s ease; }
  .eco-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .eco-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .eco-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .eco-menu {
    display: flex; flex-direction: column; gap: 8px;
    position: fixed; top: var(--eco-header-h); left: 0; right: 0; bottom: 0;
    background: var(--eco-surface-menu); backdrop-filter: blur(20px);
    z-index: var(--eco-z-menu); padding: 24px; overflow-y: auto;
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease;
  }
  .eco-menu.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .eco-menu a {
    font-family: var(--eco-font-mono); font-size: 16px; letter-spacing: 0.05em; text-transform: uppercase;
    color: rgba(243,246,241,0.85); padding: 18px 4px; border-bottom: 1px solid var(--eco-line-soft);
    min-height: 44px; display: flex; align-items: center;
  }
  .eco-menu a.eco-menu__cta { justify-content: center; color: var(--eco-surface); background: var(--eco-green); border-radius: var(--eco-radius-pill); border: 0; margin-top: 16px; font-weight: var(--eco-weight-bold); }
}

/* --------------------------------------------------------------------------
   LANGUAGE SWITCH (DE / EN), in the header nav and in the mobile menu
   -------------------------------------------------------------------------- */
.eco-lang { display: inline-flex; gap: 1px; background: var(--eco-line); border: 1px solid var(--eco-line-strong); border-radius: var(--eco-radius-pill); overflow: hidden; flex: 0 0 auto; }
.eco-lang button {
  font-family: var(--eco-font-mono); font-size: 11px; letter-spacing: 0.08em;
  padding: 8px 12px; background: var(--eco-surface); color: var(--eco-ink-muted); border: 0; cursor: pointer;
  transition: background var(--eco-dur-base) var(--eco-ease), color var(--eco-dur-base) var(--eco-ease);
}
.eco-lang button:hover { color: var(--eco-ink); }
.eco-lang button[aria-pressed="true"] { background: var(--eco-accent-tint); color: var(--eco-green); }
.eco-menu .eco-lang { align-self: flex-start; margin-top: 20px; }
.eco-menu .eco-lang button { font-size: 13px; padding: 10px 18px; }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.eco-hero {
  min-height: 88vh; display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--eco-gutter) 0; position: relative;
}
.eco-hero--full { min-height: 100vh; padding-top: 0; }
.eco-hero__glow {
  position: absolute; width: 800px; height: 800px; right: -260px; top: -200px;
  background: radial-gradient(circle, rgba(127,226,143,0.14) 0%, rgba(127,226,143,0) 68%);
  filter: blur(6px); pointer-events: none;
}
.eco-hero--full .eco-hero__glow { width: 900px; height: 900px; right: -200px; top: -260px; background: radial-gradient(circle, rgba(127,226,143,0.16) 0%, rgba(127,226,143,0) 68%); }
.eco-hero > :not(.eco-hero__glow):not(.eco-hero__art) { position: relative; }
.eco-hero__split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--eco-gap-major); align-items: center; }
.eco-hero__split > * { min-width: 0; }
.eco-hero__split .eco-hero__title { font-size: clamp(36px, 4.6vw, 72px); hyphens: manual; }
.eco-hero__title { font-size: var(--eco-size-display-xl); line-height: 1.05; max-width: 18ch; }
.eco-hero__lead { margin-top: 32px; max-width: 50ch; }
.eco-hero__title .eco-break { display: inline; }

/* Home hero: copy left, large product image floating right */
.eco-hero__art { position: absolute; right: clamp(0px, 2vw, 40px); top: 0; bottom: 0; display: flex; align-items: center; pointer-events: none; animation: eco-hero-in 1.4s var(--eco-ease) both; }
.eco-hero__art img { height: 92vh; width: auto; max-width: 60vw; object-fit: contain; filter: drop-shadow(0 40px 80px rgba(0,0,0,0.6)) drop-shadow(0 0 60px rgba(127,226,143,0.18)); }
.eco-hero__copy { max-width: min(52ch, 38vw); }
.eco-title-pulse { animation: eco-title-pulse 7s ease-in-out infinite; }

@keyframes eco-hero-in { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes eco-title-pulse {
  0%, 100% { text-shadow: 0 0 0 rgba(127,226,143,0); }
  50%      { text-shadow: 0 0 34px rgba(127,226,143,0.28); }
}

/* --------------------------------------------------------------------------
   PHOTO ROW  "Pflanzenfaser + Wachstum = Platte"
   -------------------------------------------------------------------------- */
.eco-photo-row { display: grid; grid-template-columns: 1fr 50px 1fr 90px 1fr; gap: 20px; align-items: center; }
.eco-photo-row__op { display: flex; align-items: center; justify-content: center; font-family: var(--eco-font-display); font-weight: var(--eco-weight-bold); font-size: 30px; color: var(--eco-green); text-shadow: 0 0 20px rgba(127,226,143,0.5); }
.eco-photo-row .eco-media { transition: transform .4s var(--eco-ease), box-shadow .4s var(--eco-ease); }
.eco-photo-row .eco-media:hover { transform: var(--eco-lift-media); }

/* --------------------------------------------------------------------------
   PROCESS  vertical five-step timeline with detail text and photo
   -------------------------------------------------------------------------- */
.eco-process { display: grid; grid-template-columns: 0.8fr 320px 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.eco-process__step-label { font-family: var(--eco-font-mono); font-size: var(--eco-size-label); color: var(--eco-ink-faint); margin-bottom: 14px; }
.eco-process__title { font-size: clamp(26px, 2.6vw, 38px); margin: 0 0 20px; }
.eco-process__text { font-size: 17px; line-height: 1.7; color: var(--eco-ink-body); max-width: 48ch; margin: 0; }

.eco-steps { position: relative; height: 640px; }
.eco-steps::before, .eco-steps::after { content: ""; position: absolute; left: 13px; width: 2px; }
.eco-steps::before { top: 0; height: 560px; background: linear-gradient(180deg, rgba(127,226,143,0.4), rgba(243,246,241,0.12)); }
.eco-steps::after  { top: 560px; bottom: 70px; background: linear-gradient(180deg, rgba(243,246,241,0.12), rgba(127,226,143,0.5)); }
.eco-steps__list { display: flex; flex-direction: column; height: 560px; position: relative; }
.eco-step { flex: 1; display: flex; align-items: flex-start; gap: 16px; background: none; border: 0; cursor: pointer; padding: 0; text-align: left; width: 100%; color: inherit; }
.eco-step__dot { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; background: var(--eco-surface-raised); border: 2px solid rgba(243,246,241,0.35); box-shadow: 0 2px 6px rgba(0,0,0,0.4); transition: all .3s ease; }
.eco-step__title { font-family: var(--eco-font-display); font-size: 18px; font-weight: var(--eco-weight-medium); color: rgba(243,246,241,0.55); transition: color .3s ease; display: block; }
.eco-step__days { font-family: var(--eco-font-mono); font-size: 13px; color: var(--eco-ink-faint); white-space: nowrap; transition: color .3s ease; display: block; margin-top: 4px; }
.eco-step.is-active .eco-step__dot { background: var(--eco-green); border-color: transparent; box-shadow: 0 0 0 8px rgba(127,226,143,0.18), 0 0 28px rgba(127,226,143,0.55); }
.eco-step.is-active .eco-step__title { color: var(--eco-ink); }
.eco-step.is-active .eco-step__days { color: var(--eco-green); }
.eco-steps__caption { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-family: var(--eco-font-display); font-weight: var(--eco-weight-medium); font-size: 22px; color: var(--eco-green); text-shadow: 0 0 24px rgba(127,226,143,0.35); }
.eco-steps__caption--mobile { display: none; position: static; font-size: 20px; }

.eco-process__nav { display: none; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.eco-process__nav button { font-family: var(--eco-font-mono); font-size: var(--eco-size-label); letter-spacing: 0.05em; color: var(--eco-green); background: none; border: 0; padding: 0; cursor: pointer; }
.eco-process__nav button[disabled] { visibility: hidden; }

.eco-process__photo { aspect-ratio: 3 / 4; max-width: 380px; margin: 0 auto; }
.eco-process__photo .eco-halo::before { inset: -24px; }
.eco-process__actions { margin-top: 44px; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }

/* Standalone product photo below the process; grows on hover like the original */
.eco-product-scale { position: relative; max-width: 640px; margin: 0 auto; transition: transform .4s var(--eco-ease); }
.eco-product-scale:hover { transform: scale(1.12); }
.eco-product-scale::before { content: ""; position: absolute; inset: -40px; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(127,226,143,0.1) 0%, rgba(127,226,143,0) 72%); filter: blur(6px); pointer-events: none; }
.eco-product-scale .eco-media { box-shadow: var(--eco-shadow-media-lg); }
.eco-product-scale .eco-media > img { object-fit: contain; }
.eco-product-scale .eco-media:hover > img { transform: none; }

/* --------------------------------------------------------------------------
   METRIC TABS  (Zielwerte)
   -------------------------------------------------------------------------- */
.eco-metric-grid { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.eco-metric-grid p { font-size: 18px; line-height: 1.7; color: var(--eco-ink-body); max-width: 56ch; margin: 0; white-space: pre-line; }

/* --------------------------------------------------------------------------
   DATA ROWS with a footnote
   -------------------------------------------------------------------------- */
.eco-rows { display: flex; flex-direction: column; }
.eco-rows .eco-row__label { font-size: 14px; }
.eco-rows .eco-row__value { font-size: 14px; }
.eco-footnote { font-style: italic; font-size: 12px; color: var(--eco-ink-faint); margin-top: 10px; }

/* --------------------------------------------------------------------------
   3D FRAMES
   A frame is a photo box first: the poster is the real photo, the stage
   fades in over it once the scene renders. Never a layout shift.
   -------------------------------------------------------------------------- */
.eco-3d { position: relative; aspect-ratio: 4 / 3; border-radius: var(--eco-radius-card); overflow: hidden; border: 1px solid var(--eco-line); background: var(--eco-surface-raised); box-shadow: var(--eco-shadow-media); margin: 0; touch-action: pan-y; }
.eco-3d--growth { aspect-ratio: 3 / 2; }
.eco-3d--wall { aspect-ratio: 4 / 3; }
.eco-3d__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .6s ease; }
.eco-3d__poster--contain { object-fit: contain; }
.eco-3d__stage { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.eco-3d__stage canvas { display: block; width: 100%; height: 100%; }
.eco-3d.is-live .eco-3d__stage { opacity: 1; }
.eco-3d.is-live .eco-3d__poster { opacity: 0; }
.eco-3d.is-dragging { cursor: grabbing; }
.eco-3d--viewer, .eco-3d--wall { cursor: grab; }
.eco-3d__labels { position: absolute; inset: 0; pointer-events: none; }
.eco-3d__labels svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eco-3d__labels .eco-leader { stroke: rgba(243,246,241,0.7); stroke-width: 1; fill: none; }
.eco-3d__labels .eco-anchor { fill: var(--eco-green); }
.eco-3d__hint { position: absolute; left: 14px; bottom: 12px; font-family: var(--eco-font-mono); font-size: var(--eco-size-label-sm); letter-spacing: var(--eco-track-label); text-transform: uppercase; color: var(--eco-ink-muted); pointer-events: none; transition: opacity .4s ease; }
.eco-3d__hint--right { left: auto; right: 14px; }
.eco-3d--noglow { box-shadow: none; }

/* Dimension chip on the viewer */
.eco-dim { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font-family: var(--eco-font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--eco-ink); background: rgba(16,24,29,0.92); border: 1px solid var(--eco-line); padding: 2px 7px; border-radius: var(--eco-radius-pill); white-space: nowrap; pointer-events: none; }
.eco-dim[hidden] { display: none; }

/* Floating layer label with number */
.eco-tag3d { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); display: inline-flex; align-items: stretch; font-family: var(--eco-font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--eco-ink); background: rgba(11,16,21,0.92); border: 1px solid var(--eco-line-strong); border-radius: var(--eco-radius-pill); white-space: nowrap; opacity: 0; transition: opacity .25s ease; overflow: hidden; }
.eco-tag3d b { font-weight: var(--eco-weight-bold); color: var(--eco-surface); background: var(--eco-ink); min-width: 24px; padding: 3px 7px; text-align: center; }
.eco-tag3d .eco-tag3d__t { padding: 3px 9px 3px 7px; }
.eco-tag3d.is-ours { border-color: var(--eco-green); }
.eco-tag3d.is-ours b { background: var(--eco-green); }
.eco-tag3d.is-dim { opacity: 0.35 !important; }
.eco-tag3d[hidden] { display: none; }
@media (max-width: 1100px) { .eco-tag3d .eco-tag3d__t { display: none; } }

/* Controls under a frame: small tabs plus range */
.eco-3d-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.eco-3d-controls .eco-sep { width: 1px; height: 22px; background: var(--eco-line-strong); margin: 0 4px; }
.eco-tab--sm { padding: 8px 14px; font-size: var(--eco-size-label-sm); }

/* Longer quote in the statement band: smaller, wider measure, no glow. Same serif italic. */
.eco-statement--long { font-size: clamp(18px, 2vw, 26px); line-height: 1.55; max-width: 56ch; }
@media (max-width: 768px) { .eco-statement--long { font-size: clamp(17px, 4.6vw, 22px); } }

.eco-range { -webkit-appearance: none; appearance: none; flex: 1 1 160px; min-width: 120px; height: 2px; background: var(--eco-line-strong); border-radius: 2px; outline: none; }
.eco-range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--eco-green); border: 2px solid var(--eco-surface); box-shadow: 0 0 14px rgba(127,226,143,0.55); cursor: pointer; }
.eco-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--eco-green); border: 2px solid var(--eco-surface); box-shadow: 0 0 14px rgba(127,226,143,0.55); cursor: pointer; }
.eco-range:focus-visible { outline: 2px solid var(--eco-green); outline-offset: 6px; }

/* Growth HUD: day counter inside the frame */
.eco-3d__hud { position: absolute; left: 16px; top: 14px; display: flex; align-items: baseline; gap: 10px; pointer-events: none; }
.eco-3d__day { font-family: var(--eco-font-display); font-weight: var(--eco-weight-bold); font-size: clamp(24px, 2.4vw, 34px); line-height: 1; color: var(--eco-ink); text-shadow: 0 0 24px rgba(127,226,143,0.3); font-variant-numeric: tabular-nums; }
.eco-3d__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--eco-line-soft); }
.eco-3d__bar > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--eco-green), var(--eco-green-light)); box-shadow: 0 0 12px rgba(127,226,143,0.6); }

/* --------------------------------------------------------------------------
   WALL SECTION legend
   -------------------------------------------------------------------------- */
.eco-legend { display: flex; flex-direction: column; }
.eco-legend__row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--eco-line); cursor: default; transition: padding-left var(--eco-dur-fast) ease, background var(--eco-dur-fast) ease; }
.eco-legend__row:hover, .eco-legend__row.is-hot { padding-left: 6px; }
.eco-legend__num { font-family: var(--eco-font-mono); font-size: var(--eco-size-label-sm); color: var(--eco-ink); border: 1px solid var(--eco-line-strong); border-radius: var(--eco-radius-pill); text-align: center; padding: 3px 0; }
.eco-legend__name { font-size: 14px; color: var(--eco-ink-muted); }
.eco-legend__mm { font-family: var(--eco-font-mono); font-size: 13px; color: var(--eco-ink-strong); white-space: nowrap; }
.eco-legend__row.is-ours .eco-legend__num { color: var(--eco-surface); background: var(--eco-green); border-color: transparent; box-shadow: 0 0 16px rgba(127,226,143,0.45); }
.eco-legend__row.is-ours .eco-legend__name { color: var(--eco-ink); }
.eco-legend__total { margin-top: 14px; }
.eco-legend__sub { display: block; font-size: 12px; color: var(--eco-ink-muted); opacity: 0.8; margin-top: 2px; }
.eco-legend--dense .eco-legend__row { padding: 8px 0; }
/* Wall systems: legend left, model right; the model stays in view while a long legend scrolls */
.eco-wall { align-items: start; }
.eco-wall__model { position: sticky; top: 90px; }
@media (max-width: 768px) { .eco-wall__model { position: static; } }

/* --------------------------------------------------------------------------
   HOME: process cards and roadmap extras
   -------------------------------------------------------------------------- */
.eco-stat-figure { position: relative; }
.eco-stat-figure img { width: 100%; height: auto; display: block; transition: transform var(--eco-dur-image) var(--eco-ease); }
.eco-stat-figure:hover img { transform: scale(1.03); }

.eco-roadmap__detail { margin-top: 44px; }
.eco-roadmap__items { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.eco-roadmap__items li { font-size: var(--eco-size-caption); color: var(--eco-ink-body); padding-left: 18px; position: relative; list-style: none; }
.eco-roadmap__items li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--eco-green); }
.eco-product-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.eco-product-flow__arrow { font-family: var(--eco-font-mono); color: var(--eco-ink-faint); }
.eco-knowledge { border-left: 2px solid rgba(127,226,143,0.35); padding-left: 24px; }

/* --------------------------------------------------------------------------
   ENTWICKLUNG: Prozessliste (Accordion mit Status und Kurztext) und Arbeitsthemen
   -------------------------------------------------------------------------- */
.eco-steps-list .eco-accordion__head { display: flex; align-items: flex-start; gap: 22px; min-width: 0; flex: 1 1 auto; }
.eco-steps-list .eco-accordion__num  { min-width: 40px; padding-top: 0.55em; }
.eco-steps-list__main  { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.eco-steps-list__row   { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.eco-steps-list .eco-accordion__title { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; }
.eco-steps-list__short { font-family: var(--eco-font-body); font-size: 16px; line-height: 1.6; color: var(--eco-ink-body); max-width: 60ch; }
.eco-steps-list .eco-accordion__trigger { padding-top: clamp(24px, 3vw, 32px); padding-bottom: clamp(24px, 3vw, 32px); }
/* Detail text lines up with the title, not with the step number. */
.eco-steps-list .eco-accordion__body { max-width: none; padding-left: calc(var(--eco-gutter) + 40px + 22px); }
.eco-steps-list .eco-accordion__body p { max-width: 62ch; }
.eco-steps-list .eco-accordion__body p + p { margin-top: 16px; }
.eco-steps-list .eco-accordion__body .eco-link-arrow { margin-top: 22px; }
.eco-steps-list .eco-accordion__row.is-open .eco-accordion__panel { max-height: 2000px; }

/* Status badges on the process list. Base .eco-badge is the green outline. */
.eco-steps-list .eco-badge { white-space: nowrap; }
.eco-badge--done    { background: var(--eco-green); color: var(--eco-surface); border-color: transparent; font-weight: var(--eco-weight-bold); }
.eco-badge--active  { border-color: var(--eco-green); box-shadow: 0 0 18px rgba(127,226,143,0.25); }
.eco-badge--active::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--eco-green); margin-right: 8px; vertical-align: 1px; animation: eco-badge-pulse 2.2s ease-in-out infinite; }
.eco-badge--prep    { border-color: rgba(127,226,143,0.7); }
.eco-badge--planned { color: var(--eco-ink-muted); border-color: var(--eco-line-strong); }
.eco-badge--vision  { background: var(--eco-accent-tint); }
@keyframes eco-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(127,226,143,0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(127,226,143,0); }
}

.eco-topics { display: grid; gap: 22px; margin-top: 36px; }
.eco-topic  { display: grid; grid-template-columns: 3ch minmax(0, 1fr); gap: 16px; padding-top: 20px; border-top: 1px solid var(--eco-line); }
.eco-topic__num   { font-family: var(--eco-font-mono); font-size: var(--eco-size-label); color: var(--eco-green); padding-top: 3px; }
.eco-topic__title { font-family: var(--eco-font-display); font-weight: var(--eco-weight-medium); font-size: 19px; color: var(--eco-ink); margin: 0 0 8px; }
.eco-topic__text  { font-size: var(--eco-size-body-sm); line-height: 1.65; color: var(--eco-ink-body); margin: 0; max-width: 56ch; }
.eco-topics__caption { margin: 14px 0 0; }

@media (max-width: 768px) {
  .eco-steps-list .eco-accordion__head { gap: 14px; }
  .eco-steps-list .eco-accordion__num { min-width: 28px; }
  .eco-steps-list .eco-accordion__body { padding-left: calc(var(--eco-gutter) + 28px + 14px); }
  .eco-steps-list .eco-accordion__title { font-size: 20px; }
  .eco-steps-list__short { font-size: 15px; }
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .eco-process { grid-template-columns: 1fr 280px; }
  .eco-process > :nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .eco-section, .eco-section--sm, .eco-section--statement, .eco-section--statement-xl, .eco-footer { padding-left: 20px; padding-right: 20px; }
  .eco-rule { margin-left: 20px; margin-right: 20px; }
  .eco-hero { padding: 110px 20px 60px; min-height: auto; }
  .eco-hero--full { min-height: 100vh; padding-top: 100px; }
  .eco-hero__split { grid-template-columns: 1fr; gap: 32px; }
  .eco-hero__title { font-size: 34px; max-width: 100%; }
  .eco-hero__title .eco-break { display: block; }
  .eco-hero__art { position: static; justify-content: center; animation: none; margin-top: 20px; }
  .eco-hero__art img { height: auto; width: 78%; max-width: 78%; }
  .eco-hero__copy { max-width: 100%; }
  .eco-photo-row { grid-template-columns: 1fr; gap: 14px; }
  .eco-process { display: flex; flex-direction: column; gap: 40px; }
  .eco-process > :nth-child(1) { order: 3; }
  .eco-process > :nth-child(2) { order: 1; }
  .eco-process > :nth-child(3) { order: 2; }
  .eco-process__nav { display: flex; }
  .eco-steps { height: auto; padding-bottom: 0; }
  .eco-steps::before, .eco-steps::after { display: none; }
  .eco-steps__list { height: auto; }
  .eco-step { flex: none; margin-bottom: 22px; }
  .eco-steps__caption { display: none; }
  .eco-steps__caption--mobile { display: block; margin-top: 4px; }
  .eco-metric-grid { display: flex; flex-direction: column; gap: 20px; }
  .eco-metric-grid p { max-width: 100%; }
  .eco-3d--viewer { aspect-ratio: 1 / 1; }
  .eco-legend__name { font-size: 13px; }
}
