/* ELVORA COLLECTION — Terrace Bloom (homepage — bespoke asymmetric layout) */

.page-home .page-main {
  padding-left: 0;
  padding-right: 0;
  overflow-x: clip;
  background: var(--surface-0);
}

.page-home .a56-vault-wrap {
  background: var(--surface-0);
}

.ecl-root {
  --ecl-fluid-hero: clamp(2.8rem, 6vw + 1rem, 5.5rem);
  --ecl-fluid-h2: clamp(1.6rem, 3vw + 0.5rem, 2.75rem);
  --ecl-inset-x: clamp(1rem, 4vw, 3rem);
  --ecl-inset-y: clamp(1.5rem, 5vw, 4rem);
}

/* ══════════════════════════════════════
   ATRIUM — diagonal split + orbit stage
   ══════════════════════════════════════ */
.ecl-atrium {
  position: relative;
  min-height: min(100vh, 920px);
  min-height: min(100dvh, 920px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--on-dark);
  overflow: hidden;
}

.ecl-atrium-bg {
  position: absolute;
  inset: 0;
  background: var(--vault-deep);
}

.ecl-atrium-aurora {
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 210deg at 62% 38%, rgba(212, 162, 76, 0.28), transparent 35%, rgba(45, 80, 22, 0.22), transparent 65%, rgba(74, 28, 50, 0.35)),
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(212, 162, 76, 0.15), transparent 55%);
  animation: eclAuroraShift 18s ease-in-out infinite alternate;
}

@keyframes eclAuroraShift {
  from { transform: scale(1) rotate(0deg); opacity: 0.9; }
  to { transform: scale(1.08) rotate(6deg); opacity: 1; }
}

.ecl-atrium-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ecl-atrium-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(125deg, transparent 48%, rgba(212, 162, 76, 0.12) 49%, rgba(212, 162, 76, 0.12) 51%, transparent 52%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 80px,
      rgba(255, 255, 255, 0.02) 80px,
      rgba(255, 255, 255, 0.02) 81px
    );
  mask-image: linear-gradient(180deg, black 30%, transparent 95%);
}

.ecl-atrium-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  grid-template-areas: "copy stage";
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding:
    calc(var(--loom-seal, 88px) + var(--ecl-inset-y))
    var(--ecl-inset-x)
    var(--ecl-inset-y)
    calc(var(--loom-spine, 100px) + var(--ecl-inset-x));
  max-width: 1480px;
  margin: 0 auto;
  width: 100%;
}

.ecl-atrium-copy {
  grid-area: copy;
}

.ecl-atrium-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.ecl-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
  animation: eclPulse 2s ease-in-out infinite;
}

@keyframes eclPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.ecl-atrium-title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: var(--ecl-fluid-hero);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.ecl-title-line {
  display: block;
}

.ecl-title-accent {
  background: linear-gradient(100deg, var(--ochre) 0%, #f0c96a 45%, #86efac 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: eclTitleFlow 9s ease-in-out infinite alternate;
}

@keyframes eclTitleFlow {
  from { background-position: 0% center; }
  to { background-position: 100% center; }
}

.ecl-atrium-lede {
  margin: 0 0 28px;
  max-width: 38ch;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.65;
  color: var(--on-dark-muted);
}

.ecl-atrium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.ecl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.ecl-btn-primary {
  background: linear-gradient(135deg, var(--ochre), #f0c96a);
  color: var(--vault-deep);
  box-shadow: 0 8px 28px rgba(212, 162, 76, 0.4);
}

.ecl-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(212, 162, 76, 0.5);
}

.ecl-btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}

.ecl-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.ecl-btn-light {
  background: var(--on-dark);
  color: var(--vault-deep);
}

.ecl-btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.ecl-atrium-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ecl-atrium-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.ecl-atrium-stats strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--on-dark);
  line-height: 1;
}

.ecl-atrium-stats span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-subtle);
}

/* Orbit specimen wheel */
.ecl-orbit-stage {
  grid-area: stage;
  position: relative;
  aspect-ratio: 1;
  max-width: min(480px, 88vw);
  margin-inline: auto;
  container-type: inline-size;
  transform: translate(var(--orbit-px, 0px), var(--orbit-py, 0px));
  transition: transform 0.35s var(--ease-out);
}

.ecl-orbit-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1.5px dashed rgba(212, 162, 76, 0.35);
  animation: eclOrbitSpin 40s linear infinite;
}

@keyframes eclOrbitSpin {
  to { transform: rotate(360deg); }
}

.ecl-orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(88px, 22cqi, 120px);
  height: clamp(88px, 22cqi, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 50%;
  background: rgba(18, 8, 24, 0.75);
  border: 1px solid rgba(212, 162, 76, 0.35);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 40px rgba(212, 162, 76, 0.15);
}

.ecl-orbit-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-subtle);
}

.ecl-orbit-core strong {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ochre);
  line-height: 1;
}

.ecl-orbit-node {
  --orbit-angle: calc((360deg / var(--orbit-n)) * var(--orbit-i) - 90deg);
  --orbit-r: 42cqi;
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(72px, 18cqi, 96px);
  transform:
    rotate(var(--orbit-angle))
    translateX(var(--orbit-r))
    rotate(calc(-1 * var(--orbit-angle)));
  margin-left: calc(clamp(72px, 18cqi, 96px) / -2);
  margin-top: calc(clamp(72px, 18cqi, 96px) / -2);
  text-decoration: none;
  transition: transform 0.4s var(--ease-out), z-index 0s;
  animation: eclNodeIn 0.7s var(--ease-out) both;
  animation-delay: calc(var(--orbit-i) * 80ms + 200ms);
}

@keyframes eclNodeIn {
  from { opacity: 0; transform: rotate(var(--orbit-angle)) translateX(calc(var(--orbit-r) * 0.6)) rotate(calc(-1 * var(--orbit-angle))) scale(0.8); }
  to { opacity: 1; transform: rotate(var(--orbit-angle)) translateX(var(--orbit-r)) rotate(calc(-1 * var(--orbit-angle))) scale(1); }
}

.ecl-orbit-node img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(212, 162, 76, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.ecl-orbit-node:hover {
  z-index: 5;
}

.ecl-orbit-node:hover img {
  border-color: var(--ochre);
  box-shadow: 0 16px 40px rgba(212, 162, 76, 0.35);
  transform: scale(1.12);
}

.ecl-orbit-meta {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translate(-50%, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(18, 8, 24, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  white-space: nowrap;
}

.ecl-orbit-node:hover .ecl-orbit-meta {
  opacity: 1;
  transform: translate(-50%, calc(100% + 4px));
}

.ecl-orbit-meta em {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--on-dark-subtle);
}

.ecl-orbit-meta strong {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ochre);
}

.ecl-atrium-ticker {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
  padding: 12px 0;
}

.ecl-ticker-track {
  display: flex;
  width: max-content;
  animation: eclTicker 32s linear infinite;
}

.ecl-ticker-track span {
  padding-right: 2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-subtle);
  white-space: nowrap;
}

@keyframes eclTicker {
  to { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   RIVER — horizontal scroll aisle cards
   ══════════════════════════════════════ */
.ecl-river {
  padding:
    clamp(48px, 8vw, 88px)
    calc(var(--loom-spine, 100px) + var(--ecl-inset-x))
    clamp(48px, 8vw, 88px)
    calc(var(--loom-sat, 88px) + var(--ecl-inset-x));
  background:
    linear-gradient(180deg, var(--surface-0) 0%, var(--surface-1) 100%);
}

.ecl-river-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.ecl-eyebrow {
  margin: 0 0 8px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre-deep);
}

.ecl-eyebrow-light { color: var(--ochre); }

.ecl-river-head h2,
.ecl-spectrum-rail h2,
.ecl-covenant-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--ecl-fluid-h2);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--vault-deep);
}

.ecl-text-link {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vault);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.ecl-text-link:hover {
  color: var(--ochre-deep);
  transform: translateX(4px);
}

.ecl-river-track {
  display: flex;
  gap: clamp(14px, 2vw, 20px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--ochre) transparent;
}

.ecl-river-track:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.ecl-river-card {
  --card-h: clamp(320px, 42vw, 420px);
  flex: 0 0 clamp(200px, 22vw, 260px);
  height: var(--card-h);
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  transform: rotate(calc(var(--card-tilt, 0deg) / 24));
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
  animation: eclCardRise 0.6s var(--ease-out) both;
  animation-delay: calc(var(--card-i) * 70ms);
}

@keyframes eclCardRise {
  from { opacity: 0; transform: rotate(calc(var(--card-tilt, 0deg) / 24)) translateY(24px); }
  to { opacity: 1; transform: rotate(calc(var(--card-tilt, 0deg) / 24)) translateY(0); }
}

.ecl-river-card:hover {
  transform: rotate(0deg) translateY(-10px) scale(1.02);
  z-index: 2;
}

.ecl-river-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(18, 8, 24, 0.88) 100%);
  z-index: 1;
}

.ecl-river-card.tone-moss { background: linear-gradient(160deg, #4a7a32, #2d5016); }
.ecl-river-card.tone-rose { background: linear-gradient(160deg, #be123c, #9f1239); }
.ecl-river-card.tone-herb { background: linear-gradient(160deg, #15803d, #166534); }
.ecl-river-card.tone-sun { background: linear-gradient(160deg, #ea580c, #c2410c); }
.ecl-river-card.tone-spice { background: linear-gradient(160deg, #9a3412, #7c2d12); }
.ecl-river-card.tone-field { background: linear-gradient(160deg, #a16207, #854d0e); }

.ecl-river-num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
}

.ecl-river-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: soft-light;
  opacity: 0.75;
  transition: transform 0.5s var(--ease-out), opacity 0.35s;
}

.ecl-river-card:hover .ecl-river-photo {
  transform: scale(1.08);
  opacity: 0.9;
}

.ecl-river-body {
  position: relative;
  z-index: 2;
}

.ecl-river-body strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--on-dark);
  line-height: 1.1;
}

.ecl-river-body small {
  display: block;
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

/* ══════════════════════════════════════
   SPECTRUM — vertical rail + masonry grid
   ══════════════════════════════════════ */
.ecl-spectrum {
  padding:
    clamp(48px, 8vw, 88px)
    calc(var(--loom-spine, 100px) + var(--ecl-inset-x))
    clamp(64px, 10vw, 100px)
    calc(var(--loom-sat, 88px) + var(--ecl-inset-x));
  background: var(--surface-2);
}

.ecl-spectrum-layout {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.ecl-spectrum-rail {
  position: sticky;
  top: calc(var(--loom-seal, 88px) + 24px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ecl-spectrum-rail button {
  text-align: left;
  padding: 12px 16px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}

.ecl-spectrum-rail button:hover {
  color: var(--vault);
  background: rgba(74, 28, 50, 0.04);
  transform: translateX(4px);
}

.ecl-spectrum-rail button.is-active {
  border-left-color: var(--ochre);
  color: var(--vault-deep);
  background: rgba(212, 162, 76, 0.1);
}

.ecl-spectrum-all {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vault);
  text-decoration: none;
}

.ecl-spectrum-all:hover { color: var(--ochre-deep); }

.ecl-spectrum-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: clamp(12px, 2vw, 18px);
}

.ecl-specimen {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  background: var(--surface-1);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  animation: eclSpecIn 0.5s var(--ease-out) both;
  animation-delay: calc(var(--spec-i) * 50ms);
}

@keyframes eclSpecIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.ecl-specimen:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.ecl-specimen.is-lead {
  grid-column: span 8;
  grid-row: span 2;
  flex-direction: row;
}

.ecl-specimen-media {
  position: relative;
  display: block;
  overflow: hidden;
}

.ecl-specimen:not(.is-lead) .ecl-specimen-media {
  aspect-ratio: 1;
}

.ecl-specimen.is-lead .ecl-specimen-media {
  flex: 0 0 52%;
  min-height: 240px;
}

.ecl-specimen-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.ecl-specimen:hover .ecl-specimen-media img {
  transform: scale(1.06);
}

.ecl-specimen-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--ochre);
  color: var(--vault-deep);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ecl-specimen-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
  flex: 1;
}

.ecl-specimen.is-lead .ecl-specimen-copy {
  justify-content: center;
  padding: 24px;
}

.ecl-specimen-aisle {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre-deep);
}

.ecl-specimen-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  line-height: 1.15;
}

.ecl-specimen.is-lead .ecl-specimen-copy h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.ecl-specimen-copy h3 a {
  color: var(--vault-deep);
  text-decoration: none;
  transition: color 0.2s;
}

.ecl-specimen-copy h3 a:hover { color: var(--vault); }

.ecl-specimen-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.ecl-specimen-foot strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--vault);
}

.ecl-specimen-foot span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════
   COVENANT — skewed trust band
   ══════════════════════════════════════ */
.ecl-covenant {
  padding:
    0
    calc(var(--loom-spine, 100px) + var(--ecl-inset-x))
    clamp(48px, 8vw, 80px)
    calc(var(--loom-sat, 88px) + var(--ecl-inset-x));
}

.ecl-covenant-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(36px, 6vw, 64px);
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--vault-deep) 0%, #1a0820 50%, var(--moss) 120%);
  color: var(--on-dark);
  transform: skewY(-1.5deg);
  box-shadow: var(--shadow-xl);
}

.ecl-covenant-copy,
.ecl-covenant-steps {
  transform: skewY(1.5deg);
}

.ecl-covenant-copy p {
  margin: 16px 0 24px;
  max-width: 36ch;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--on-dark-muted);
}

.ecl-covenant-copy h2 {
  color: var(--on-dark);
}

.ecl-covenant-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ecl-covenant-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 14px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: eclStepIn 0.5s var(--ease-out) both;
  animation-delay: calc(var(--step-i) * 100ms);
}

@keyframes eclStepIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.ecl-step-no {
  grid-row: span 2;
  align-self: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ochre);
  opacity: 0.7;
}

.ecl-covenant-steps strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--on-dark);
}

.ecl-covenant-steps p {
  margin: 0;
  grid-column: 2;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--on-dark-muted);
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 960px) {
  .ecl-atrium-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "stage";
    padding:
      calc(var(--loom-seal, 72px) + 20px)
      var(--ecl-inset-x)
      var(--ecl-inset-y);
  }

  .ecl-river,
  .ecl-spectrum,
  .ecl-covenant {
    padding-left: var(--ecl-inset-x);
    padding-right: var(--ecl-inset-x);
  }

  .ecl-spectrum-layout {
    grid-template-columns: 1fr;
  }

  .ecl-spectrum-rail {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .ecl-spectrum-rail h2 { width: 100%; }

  .ecl-spectrum-rail button {
    border-left: 0;
    border-bottom: 3px solid transparent;
    border-radius: var(--radius-full);
    padding: 10px 16px;
    background: var(--surface-1);
  }

  .ecl-spectrum-rail button.is-active {
    border-bottom-color: var(--ochre);
    border-left-color: transparent;
  }

  .ecl-specimen,
  .ecl-specimen.is-lead {
    grid-column: span 6;
    flex-direction: column;
  }

  .ecl-specimen.is-lead .ecl-specimen-media {
    flex: none;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .ecl-covenant-band {
    grid-template-columns: 1fr;
    transform: none;
  }

  .ecl-covenant-copy,
  .ecl-covenant-steps {
    transform: none;
  }
}

@media (max-width: 640px) {
  .ecl-specimen,
  .ecl-specimen.is-lead {
    grid-column: span 12;
  }

  .ecl-river-card {
    flex-basis: 72vw;
    transform: none;
  }

  .ecl-river-card:hover {
    transform: translateY(-8px) scale(1.01);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecl-atrium-aurora,
  .ecl-orbit-ring,
  .ecl-ticker-track,
  .ecl-title-accent,
  .ecl-live-dot {
    animation: none !important;
  }

  .ecl-river-card,
  .ecl-specimen,
  .ecl-covenant-steps li,
  .ecl-orbit-node {
    animation: none !important;
  }
}
