/* ─── HERO ─────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--space-6) + 72px);
  padding-bottom: var(--space-10);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: var(--space-5);
  max-width: 700px;
}

.hero-sub {
  font-size: var(--fs-lead);
  color: var(--ink-secondary);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.hero-btns {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ─── HERO NUMBERS ─────────────────────────────────────────────────────── */
#hero-numbers {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  background: var(--bg-alt);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.number-item {
  text-align: center;
  padding: var(--space-5) var(--space-4);
}

.number-item + .number-item {
  border-left: 1px solid var(--divider);
}

.number-val {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 300;
  color: var(--aelodea-green);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.number-suffix {
  font-size: 0.55em;
  vertical-align: super;
}

.number-label {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

/* ─── ATTO SEZIONI ─────────────────────────────────────────────────────── */

/* The ATTO wrapper is the tall scroll container */
.atto-scroll-wrapper {
  position: relative;
  height: 400vh;
}

.atto-3-scroll-wrapper {
  position: relative;
  height: 500vh;
}

/* The stage is sticky — stays visible while parent scrolls */
.atto-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-7);
  align-items: center;
  overflow: hidden; /* needed for stage */
}

/* Eyebrow sits ABOVE the scroll section (outside sticky) */
.atto-eyebrow {
  padding: var(--space-8) 0 var(--space-4);
  text-align: center;
}

/* ─── ATTO CARD LEFT ───────────────────────────────────────────────────── */
/* CRITICAL: atto-card-left is a sibling of canvas wrapper INSIDE atto-stage */
/* If you need overlay cards — they must be OUTSIDE .atto-stage overflow:hidden */
.atto-card-left {
  padding: var(--space-6);
  margin-left: max(var(--space-5), calc((100vw - var(--container-max)) / 2 + var(--space-5)));
  margin-right: var(--space-5);
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(10, 31, 18, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 5;
}

.atto-card-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: var(--space-3);
}

.atto-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.atto-card-sub {
  font-size: var(--fs-body);
  color: var(--ink-secondary);
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: var(--space-6);
}

.atto-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.atto-tabs button {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  transition: all var(--dur-base) var(--ease-out);
  cursor: pointer;
}

.atto-tabs button.active,
.atto-tabs button:hover {
  color: var(--aelodea-green);
  border-color: var(--aelodea-green);
  background: var(--aelodea-glow);
}

/* ─── ATTO CANVAS WRAP ─────────────────────────────────────────────────── */
.atto-canvas-wrap {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* Canvas: position fixed, opacity 0 default, JS sets opacity:1 when inSection */
.atto-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

/* ─── OVERLAY CARD (placed OUTSIDE .atto-stage, as absolute sibling) ──── */
/* Positioned relative to the .atto-scroll-wrapper */
.atto-overlay-card {
  position: fixed;
  bottom: var(--space-7);
  right: max(var(--space-5), calc((100vw - var(--container-max)) / 2 + var(--space-5)));
  max-width: 320px;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  pointer-events: none;
  z-index: 10;
}

.atto-overlay-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.atto-overlay-icon {
  flex-shrink: 0;
  color: var(--aelodea-green);
  width: 24px;
  height: 24px;
}

.atto-overlay-text {
  font-size: var(--fs-small);
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* ─── ATTO 3 (DARK) ────────────────────────────────────────────────────── */
.atto-stage.atto-dark {
  grid-template-columns: 280px 1fr;
}

.atto-dark .atto-card-label,
.atto-dark .atto-eyebrow span {
  color: rgba(240, 235, 224, 0.5);
}

.atto3-menu {
  padding: var(--space-7) var(--space-5) var(--space-7);
  padding-left: max(var(--space-5), calc((100vw - var(--container-max)) / 2 + var(--space-5)));
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 5;
  position: relative;
  background: rgba(2, 41, 20, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(240, 235, 224, 0.12);
}

.atto3-menu-item {
  display: flex;
  flex-direction: column;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--dur-base) var(--ease-out);
  cursor: pointer;
  text-align: left;
}

.atto3-menu-item:hover,
.atto3-menu-item.active {
  background: rgba(240, 235, 224, 0.06);
  border-color: var(--dark-border);
}

.atto3-menu-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--sage);
  margin-bottom: 4px;
}

.atto3-menu-text {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: rgba(240, 235, 224, 0.65);
  font-weight: 400;
}

.atto3-menu-item.active .atto3-menu-text {
  color: var(--dark-ink);
}

/* Hotspot */
.atto3-hotspot {
  position: fixed;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, top 0.6s var(--ease-out), left 0.6s var(--ease-out);
}

.atto3-hotspot.visible {
  opacity: 1;
}

.hotspot-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.25);
  animation: hotspot-pulse 2s ease-in-out infinite;
}

@keyframes hotspot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,255,255,0.25); }
  50%       { box-shadow: 0 0 0 10px rgba(255,255,255,0.08); }
}

/* Specs card right — OUTSIDE stage overflow, use fixed positioning */
.atto3-specs-card {
  position: fixed;
  top: 50%;
  right: max(var(--space-5), calc((100vw - var(--container-max)) / 2 + var(--space-5)));
  transform: translateY(-50%);
  width: 320px;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.atto3-specs-card.visible {
  opacity: 1;
}

.atto3-specs-title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 300;
  color: var(--dark-ink);
  margin-bottom: var(--space-5);
  line-height: 1.1;
}

.atto3-spec-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  margin-top: var(--space-4);
}

.atto3-spec-icon {
  color: var(--sage);
  width: 16px;
  height: 16px;
}

.atto3-spec-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(240, 235, 224, 0.45);
}

.atto3-spec-value {
  font-size: var(--fs-small);
  color: rgba(240, 235, 224, 0.75);
  line-height: 1.5;
  margin-left: 24px;
}

.atto3-more-btn {
  position: fixed;
  bottom: var(--space-7);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.atto3-more-btn.visible {
  opacity: 1;
}

/* ─── ECOSISTEMA PREVIEW ───────────────────────────────────────────────── */
#ecosistema-preview {
  background: var(--bg-alt);
  padding: var(--space-8) 0;
  margin-top: 0;
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-7);
}

.eco-card {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all var(--dur-base) var(--ease-out);
  cursor: default;
}

.eco-card:hover {
  border-color: var(--aelodea-green);
  background: var(--aelodea-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.eco-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-3);
}

.eco-card-name {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}

.eco-card-pct {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--sage);
  background: rgba(123, 150, 105, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.eco-card-country {
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: var(--space-3);
}

.eco-card-desc {
  font-size: var(--fs-small);
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* ─── VISION TEASER ────────────────────────────────────────────────────── */
#vision-teaser {
  background: var(--aelodea-green);
  padding: var(--space-10) 0;
  text-align: center;
}

.vision-quote {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 300;
  color: #FAF7F2;
  line-height: 1.2;
  max-width: var(--container-text);
  margin: 0 auto var(--space-6);
  font-style: italic;
}

.vision-link {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--sage);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity var(--dur-fast) ease;
}

.vision-link:hover { opacity: 0.7; }

/* ─── CTA FINALE ───────────────────────────────────────────────────────── */
#cta-finale {
  background: var(--forest-deep);
  padding: var(--space-10) 0;
  text-align: center;
}

#cta-finale .eyebrow {
  color: var(--sage);
}

#cta-finale h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 300;
  color: #fff;
  margin-bottom: var(--space-4);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#cta-finale p {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--fs-body);
  max-width: 520px;
  margin: 0 auto var(--space-7);
  line-height: 1.6;
}

.cta-btns {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── MARQUEE DIVIDER ──────────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  padding: 20px 0;
}

.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee-scroll 28s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--hint);
}

.marquee-track span em {
  font-style: normal;
  color: var(--sage);
  margin-right: 64px;
}

.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SCROLL SAGA ───────────────────────────────────────────────────────── */

/* Tall scroll container */
.scroll-saga {
  position: relative;
  height: 1200vh;
  margin-top: 0;
  padding-top: 0;
}

/* Sticky viewport stage — NO overflow:hidden so card-left is never clipped */
.scroll-saga-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-7);
  align-items: center;
}

/* Canvas: position:fixed, opacity:0 default */
.saga-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: background 0.5s ease;
}

/* Card left */
.saga-card-left {
  padding: var(--space-6);
  margin-left: max(var(--space-5), calc((100vw - var(--container-max)) / 2 + var(--space-5)));
  margin-right: var(--space-5);
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(10, 31, 18, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 5;
  transition: opacity 0.3s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* FIX 5 — Dark chapter card-left */
.scroll-saga.saga-dark .saga-card-left {
  background: rgba(2, 41, 20, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(240, 235, 224, 0.12);
  box-shadow: none;
}

.saga-card-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: var(--space-3);
  transition: color 0.4s ease;
}

.scroll-saga.saga-dark .saga-card-label {
  color: rgba(240, 235, 224, 0.5);
}

.saga-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: var(--space-4);
  transition: color 0.4s ease;
}

.scroll-saga.saga-dark .saga-card-title {
  color: var(--dark-ink);
}

.saga-card-sub {
  font-size: var(--fs-body);
  color: var(--ink-secondary);
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: var(--space-5);
  transition: color 0.4s ease;
}

.scroll-saga.saga-dark .saga-card-sub {
  color: rgba(240, 235, 224, 0.65);
}

/* Tabs (light chapters) */
.saga-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.saga-tabs button {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  transition: all var(--dur-base) var(--ease-out);
  cursor: pointer;
}

.saga-tabs button.active,
.saga-tabs button:hover {
  color: var(--aelodea-green);
  border-color: var(--aelodea-green);
  background: var(--aelodea-glow);
}

/* Dark chapter menu items */
.scroll-saga.saga-dark .saga-tabs button {
  color: rgba(240, 235, 224, 0.5);
  border-color: var(--dark-border);
  border-radius: var(--radius-md);
  width: 100%;
  text-align: left;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.scroll-saga.saga-dark .saga-tabs button.active,
.scroll-saga.saga-dark .saga-tabs button:hover {
  color: var(--dark-ink);
  background: rgba(240, 235, 224, 0.06);
  border-color: var(--dark-border);
}

.saga-menu-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--sage);
}

.saga-menu-text {
  font-size: var(--fs-small);
  font-weight: 400;
}

/* Canvas wrap placeholder */
.saga-canvas-wrap {
  height: 100vh;
}

/* Chapter dots removed (Fix 3) */

/* ── Overlay card (chapters 1-2, bottom-right) ────────────────────────── */
.saga-overlay-card {
  position: fixed;
  bottom: var(--space-7);
  right: max(var(--space-5), calc((100vw - var(--container-max)) / 2 + var(--space-5)));
  max-width: 320px;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  pointer-events: none;
  z-index: 10;
}

.saga-overlay-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.saga-overlay-icon {
  flex-shrink: 0;
  color: var(--aelodea-green);
  width: 24px;
  height: 24px;
}

.saga-overlay-text {
  font-size: var(--fs-small);
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* ── Specs card (chapter 3, right center) ─────────────────────────────── */
.saga-specs-card {
  position: fixed;
  top: 50%;
  right: max(var(--space-5), calc((100vw - var(--container-max)) / 2 + var(--space-5)));
  transform: translateY(-50%);
  width: 320px;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.saga-specs-card.visible {
  opacity: 1;
}

.saga-specs-title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 300;
  color: var(--dark-ink);
  margin-bottom: var(--space-5);
  line-height: 1.1;
}

.saga-spec-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  margin-top: var(--space-4);
}

.saga-spec-icon {
  color: var(--sage);
  width: 16px;
  height: 16px;
}

.saga-spec-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(240, 235, 224, 0.45);
}

.saga-spec-value {
  font-size: var(--fs-small);
  color: rgba(240, 235, 224, 0.75);
  line-height: 1.5;
  margin-left: 24px;
}

/* ── Hotspot (chapter 3) ──────────────────────────────────────────────── */
.saga-hotspot {
  position: fixed;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, top 0.6s var(--ease-out), left 0.6s var(--ease-out);
}

.saga-hotspot.visible {
  opacity: 1;
}

/* ── More button (chapter 3, bottom center) ───────────────────────────── */
.saga-more-btn {
  position: fixed;
  bottom: var(--space-7);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.saga-more-btn.visible {
  opacity: 1;
}

/* ─── DIAGONAL SECTIONS ─────────────────────────────────────────────────── */
/* Use 3vw as the diagonal depth. margin-top: -3vw overlaps adjacent sections */
.section--diagonal-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3vw), 0 100%);
  padding-bottom: calc(var(--space-10) + 3vw);
}

.section--diagonal-top {
  clip-path: polygon(0 3vw, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(var(--space-10) + 3vw);
  margin-top: -3vw;
  position: relative;
  z-index: 1;
}

.section--diagonal-both {
  clip-path: polygon(0 3vw, 100% 0, 100% calc(100% - 3vw), 0 100%);
  padding-top: calc(var(--space-10) + 3vw);
  padding-bottom: calc(var(--space-10) + 3vw);
  margin-top: -3vw;
  position: relative;
  z-index: 1;
}

/* ─── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  #hero { padding-top: calc(var(--space-4) + 64px); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-item + .number-item { border-left: none; }
  .number-item:nth-child(odd) { border-right: 1px solid var(--divider); }

  .atto-scroll-wrapper { height: 300vh; }
  .atto-3-scroll-wrapper { height: 400vh; }
  .atto-stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 0; }
  .atto-card-left {
    position: relative;
    padding: var(--space-6) var(--space-4);
    overflow-x: auto;
    display: flex;
    flex-direction: column;
    z-index: 6;
  }
  .atto-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .atto-canvas-wrap { height: 60vh; }
  .atto3-specs-card { width: calc(100vw - 32px); right: 16px; }
  .atto3-menu { flex-direction: row; overflow-x: auto; gap: 8px; padding: var(--space-4); }
  .atto3-menu-item { min-width: 140px; }
  /* ── Saga mobile — card fixed to bottom ─────────────────────────────── */
  .saga-card-left {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 42vh;
    overflow-y: auto;
    scrollbar-width: none;
    padding: 20px 20px 28px;
    z-index: 5;
  }
  .saga-card-left::-webkit-scrollbar { display: none; }

  .scroll-saga.saga-dark .saga-card-left {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  /* Overlay card and specs card: hidden on mobile */
  .saga-overlay-card { display: none !important; }
  .saga-specs-card   { display: none !important; }

  /* Hotspot and more btn: hidden on mobile */
  .saga-hotspot,
  .hotspot-dot {
    display: none !important;
  }
  .saga-more-btn { display: none !important; }

  /* Tabs: horizontal scrollable for all chapters */
  .saga-tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .saga-tabs::-webkit-scrollbar { display: none; }

  .saga-tabs button {
    flex-shrink: 0;
    width: auto !important;
    padding: 6px 14px !important;
    border-radius: var(--radius-pill) !important;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: transparent;
    border: 1px solid var(--border) !important;
    color: var(--muted);
    cursor: pointer;
    transition: all 200ms ease;
    flex-direction: row !important;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .saga-tabs button.active {
    background: var(--aelodea-green) !important;
    color: #fff !important;
    border-color: var(--aelodea-green) !important;
  }

  /* Dark chapter tabs: horizontal pill style */
  .scroll-saga.saga-dark .saga-tabs button {
    color: rgba(240, 235, 224, 0.5);
    border-color: rgba(240, 235, 224, 0.2) !important;
  }
  .scroll-saga.saga-dark .saga-tabs button.active,
  .scroll-saga.saga-dark .saga-tabs button:hover {
    color: var(--dark-ink);
    background: rgba(240, 235, 224, 0.12) !important;
    border-color: rgba(240, 235, 224, 0.3) !important;
  }

  /* Menu number: hidden, show only label */
  .saga-menu-num { display: none; }

  .eco-grid { grid-template-columns: 1fr; }
  .vision-quote { font-size: clamp(24px, 5vw, 36px); }
  .cta-btns { flex-direction: column; align-items: center; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .atto3-specs-card { width: 280px; }
}
