/* ════════════════════════════════════════════════
   ATHELION PAGE
   Reuses tokens, nav, footer & eyebrow styles from
   site.css. This file holds page-specific layout only.
   ════════════════════════════════════════════════ */

/* shared scroll-reveal */
.ath-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.ath-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* shared eyebrow (mirrors .sol-eyebrow) */
.ath-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
}

.ath-eyebrow-rule {
  width: 32px;
  height: 1.5px;
  background: var(--teal);
  flex-shrink: 0;
}

.ath-eyebrow-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

/* simple bordered frame shared by video + screenshots */
.ath-frame {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(50,55,52,0.18);
  background: var(--ink);
}

.ath-frame img,
.ath-frame video {
  display: block;
  width: 100%;
  height: auto;
}

/* ════ HERO ════ */
.ath-hero {
  position: relative;
  background: var(--ink);
  padding: 11rem 5rem 7rem;
  overflow: hidden;
}

/* drifting dot grid */
.ath-hero::before {
  content: '';
  position: absolute;
  inset: -10%;
  background-image: radial-gradient(circle, rgba(114,159,167,0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 1;
  animation: athGridDrift 60s linear infinite;
}

/* slow-drifting aurora glow behind the title */
.ath-hero::after {
  content: '';
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(38% 42% at 25% 35%, rgba(114,159,167,0.28), transparent 70%),
    radial-gradient(34% 38% at 75% 30%, rgba(114,159,167,0.18), transparent 70%),
    radial-gradient(45% 50% at 60% 75%, rgba(159,138,160,0.16), transparent 72%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  /* keep the blurred glow on its own stable GPU layer so the transform/opacity
     drift doesn't force per-frame re-rasterization (which reads as flicker) */
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  animation: athAuroraDrift 26s ease-in-out infinite alternate;
}

@keyframes athGridDrift {
  from { background-position: 0 0; }
  to   { background-position: 360px 180px; }
}

/* drift via translate + opacity only — no scale(): scaling a blurred layer
   forces Firefox to re-rasterize the 20px blur per frame whenever it demotes
   the GPU layer under compositor pressure, which reads as flicker */
@keyframes athAuroraDrift {
  0%   { transform: translate3d(-3%, -2%, 0); opacity: 0.85; }
  50%  { transform: translate3d(2%, 3%, 0);   opacity: 1; }
  100% { transform: translate3d(4%, -1%, 0);  opacity: 0.9; }
}

.ath-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.ath-hero-eyebrow .ath-eyebrow-text { color: var(--teal); }

.ath-hero-title {
  display: flex;
  align-items: baseline;
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

/* aspen tree standing in for the "I" in ATHEL·I·ON — scales with the title */
.ath-hero-i {
  height: 0.74em;
  width: auto;
  margin: 0 0.05em;
  flex-shrink: 0;
  display: block;
}

.ath-hero-title .accent { color: var(--teal); }

.ath-hero-sub {
  font-size: clamp(21px, 2.8vw, 34px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 800px;
  margin-bottom: 2.5rem;
}

.ath-hero-sub .accent { color: var(--teal); }

.ath-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.ath-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 26px;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s, color 0.2s, border-color 0.2s;
}

.ath-btn-primary {
  background: var(--teal);
  color: var(--white);
}

.ath-btn-primary:hover {
  background: var(--white);
  color: var(--ink);
  transform: translateY(-1px);
}

.ath-btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}

.ath-btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* in-page jump links — quick access without hiding content */
.ath-hero-jump {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.25rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ath-hero-jump-label {
  color: rgba(255,255,255,0.45);
}

.ath-hero-jump a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1.5px solid var(--teal);
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}

.ath-hero-jump a svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.ath-hero-jump a:hover,
.ath-hero-jump a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--white);
}

.ath-hero-jump a:hover svg,
.ath-hero-jump a:focus-visible svg {
  transform: translateY(2px);
}

/* ════ VIDEO SHOWCASE ════ */
.ath-video {
  background: #FAFAFA;
  padding: 7rem 5rem;
}

.ath-video-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.ath-video-head {
  margin-bottom: 3rem;
  max-width: 760px;
}

.ath-section-heading {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.ath-section-heading .accent {
  color: var(--teal);
  /* font-style: italic; */
}

/* Aspen tree standing in for the lowercase "i" in Athelion */
.ath-aspen-i {
  display: inline-block;
  width: 0.3em;           /* squeezed narrow to read like an "i" */
  margin: 0 0.03em;
  vertical-align: baseline;
}

.ath-aspen-tree {
  display: block;
  width: 100%;
  height: 0.55em;         /* shorter than the lowercase "l" */
  object-fit: fill;       /* allow horizontal compression */
}

.ath-section-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--mauve);
  line-height: 1.8;
  max-width: 680px;
}

/* ════ HOW COURSES ARE MADE — method row ════ */
.ath-method {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ath-method-step {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid rgba(114,159,167,0.22);
}

.ath-method-num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.ath-method-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(114,159,167,0.14);
  border: 1px solid rgba(114,159,167,0.25);
  padding: 5px 11px;
  border-radius: 2px;
  margin-bottom: 0.9rem;
}

.ath-method-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.6rem;
}

.ath-method-text {
  font-size: 15px;
  font-weight: 400;
  color: var(--mauve);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .ath-method { grid-template-columns: 1fr; gap: 1rem; }
}

/* ════ STICKY SHOWCASE ════ */
.ath-sticky {
  position: relative;
  background: var(--white);
  padding: 7rem 5rem;
}

/* Light-mode echo of the hero texture: soft teal corner glows + a fine
   dot-grid (a nod to the node map). Sits on a ::before behind the content;
   no overflow:hidden here — it would break the sticky media. The gradients
   are clipped to the ::before's own box, so glows can't escape the section. */
.ath-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 55% at 6% 8%, rgba(114, 159, 167, 0.18), transparent 70%),
    radial-gradient(42% 52% at 97% 95%, rgba(114, 159, 167, 0.13), transparent 72%),
    radial-gradient(circle, rgba(114, 159, 167, 0.11) 1.2px, transparent 1.7px);
  background-size: auto, auto, 26px 26px;
}

/* second act (analytics) — cooler base + mauve glows + a faint ruled grid
   (chart-paper / data feel) so it reads as its own distinct chapter. */
.ath-sticky-alt {
  background: #F3F5F7;
}

.ath-sticky-alt::before {
  background:
    radial-gradient(46% 55% at 96% 6%, rgba(149, 139, 186, 0.20), transparent 70%),
    radial-gradient(42% 52% at 4% 96%, rgba(149, 139, 186, 0.14), transparent 72%),
    repeating-linear-gradient(0deg, rgba(149, 139, 186, 0.10) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(149, 139, 186, 0.07) 0 1px, transparent 1px 32px);
  background-size: auto;
}

/* keep all content above the texture layer */
.ath-sticky-inner {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
}

.ath-sticky-head {
  max-width: 760px;
  margin-bottom: 4rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.ath-sticky-head .ath-eyebrow { justify-content: center; }

.ath-sticky-head .ath-section-sub { margin-left: auto; margin-right: auto; }

/* two columns: pinned media + scrolling steps */
.ath-sticky-body {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ── pinned media (vertically centred in the viewport while it sticks) ── */
.ath-sticky-media {
  position: sticky;
  top: 64px;
  align-self: start;
  height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* analytics: flip the media to the right (mirror the column widths so the
   media stays the wide column) */
.ath-sticky-alt .ath-sticky-body { grid-template-columns: 1fr 1.55fr; }
.ath-sticky-alt .ath-sticky-media { order: 2; }
.ath-sticky-alt .ath-sticky-steps { order: 1; }

.ath-sticky-stage {
  display: grid;
}

/* stack every shot in the same grid cell so each frame can hug its image's
   natural aspect ratio (no letterboxing) while only one is visible at a time.
   Opacity-hidden shots still occupy the cell, so its height stays equal to the
   tallest shot — the pinned area doesn't jump as screenshots crossfade. */
.ath-sticky-shot {
  grid-area: 1 / 1;
  align-self: center;
  margin: 0;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.ath-sticky-shot.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.ath-sticky-shot .ath-frame {
  width: 100%;
  height: auto;
  cursor: zoom-in;
  box-shadow: 0 24px 60px rgba(50, 55, 52, 0.14);
}

.ath-sticky-shot .ath-frame img,
.ath-sticky-shot .ath-frame video {
  width: 100%;
  height: auto;
}

/* video shots autoplay-loop in place; they aren't lightboxed like screenshots */
.ath-sticky-shot .ath-frame:has(video) {
  cursor: default;
}

.ath-sticky-shot .ath-frame:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

/* domain-selection shot ships with its own transparent card art — no frame chrome.
   Capped narrower than the stage so the near-square art doesn't tower over the
   landscape shots either side of it. */
.ath-sticky-shot[data-shot="0"] .ath-frame {
  max-width: 720px;
  margin-inline: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* remaining analytics shots also ship with their own transparent art — no frame chrome */
.ath-sticky-shot[data-shot="1"] .ath-frame,
.ath-sticky-shot[data-shot="2"] .ath-frame,
.ath-sticky-shot[data-shot="3"] .ath-frame {
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* portrait / phone screenshots — cap the frame to a phone-like column so a
   tall mobile capture doesn't stretch to the full stage width */
.ath-sticky-shot--mobile {
  justify-self: center;
}
.ath-sticky-shot--mobile .ath-frame {
  max-width: 340px;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* the "in-the-field" shot has a portrait capture for desktop and a horizontal
   one for narrow screens — show the portrait by default, swap on mobile.
   Scoped under .ath-sticky-shot--mobile to outrank .ath-frame img { display: block }. */
.ath-sticky-shot--mobile .ath-shot-horizontal { display: none; }

/* progress dots under the stage */
.ath-sticky-progress {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 1.75rem 0 0;
  padding: 0;
}

.ath-sticky-progress li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(114, 159, 167, 0.3);
  transition: background 0.4s ease, transform 0.4s ease;
}

.ath-sticky-progress li.is-active {
  background: var(--teal);
  transform: scale(1.35);
}

/* ── scrolling steps ── */
.ath-sticky-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ath-sticky-steps::after {
  content: '';
  display: block;
  height: 18vh;
}

.ath-sticky-step {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 2rem;
  border-left: 2px solid var(--rule);
  opacity: 0.45;
  transition: opacity 0.45s ease, border-color 0.45s ease;
}

.ath-sticky-step.is-active {
  opacity: 1;
  border-left-color: var(--teal);
}

.ath-sticky-title {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1.1rem;
}

.ath-sticky-text {
  font-size: 15px;
  font-weight: 400;
  color: var(--mauve);
  line-height: 1.85;
  max-width: 46ch;
}

.ath-feature-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.ath-feature-tags li {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(114,159,167,0.14);
  border: 1px solid rgba(114,159,167,0.25);
  padding: 6px 12px;
  border-radius: 2px;
}

/* ════ CTA BAND ════ */
.ath-cta {
  background: var(--teal);
  padding: 6rem 5rem;
  text-align: center;
}

.ath-cta-inner {
  max-width: 760px;
  margin: 0 auto;
}

.ath-cta-heading {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.ath-cta-sub {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.ath-cta .ath-btn-primary {
  background: var(--ink);
}

.ath-cta .ath-btn-primary:hover {
  background: var(--white);
  color: var(--ink);
}

/* ════ RESPONSIVE ════ */
/* tablet / mobile: media pins to the top of the viewport while steps
   scroll beneath it (single column) */
@media (max-width: 900px) {
  .ath-sticky-body,
  .ath-sticky-alt .ath-sticky-body {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ath-sticky-alt .ath-sticky-media,
  .ath-sticky-alt .ath-sticky-steps { order: 0; }

  .ath-sticky-media {
    top: 64px;
    height: auto;
    display: block;
    padding: 0.75rem 0 1rem;
    background: inherit;
    z-index: 2;
  }

  /* top-align the active shot. The stacked cell keeps a stable height (every
     shot still occupies the cell), so the scroll-driven crossfade never resizes
     the sticky area — resizing shifted the steps under the observer band and
     caused rapid flashing. */
  .ath-sticky-shot { align-self: start; }

  /* on mobile the "in-the-field" shot uses the horizontal capture, which fits
     the narrow layout like the other landscape shots (full width, no portrait
     cap). */
  .ath-sticky-shot--mobile { justify-self: stretch; }
  .ath-sticky-shot--mobile .ath-frame { max-width: none; }
  .ath-sticky-shot--mobile .ath-shot-portrait { display: none; }
  .ath-sticky-shot--mobile .ath-shot-horizontal { display: block; }

  .ath-sticky-progress { display: none; }

  .ath-sticky-steps::after { display: none; }

  .ath-sticky-step {
    min-height: 0;
    padding: 2.5rem 0 2.5rem 1.5rem;
  }

  .ath-sticky-text { max-width: none; }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .ath-hero { padding: 10rem 3rem 6rem; }
  .ath-video,
  .ath-sticky { padding: 5rem 3rem; }
  .ath-cta { padding: 5rem 3rem; }
}

@media (max-width: 768px) {
  .ath-hero { padding: 8.5rem 1.5rem 4.5rem; }
  .ath-video,
  .ath-sticky { padding: 4rem 1.5rem; }
  .ath-sticky-head { margin-bottom: 2rem; }
  .ath-cta { padding: 4rem 1.5rem; }
  .ath-hero-actions { gap: 0.75rem; }
  .ath-btn { width: 100%; justify-content: center; }
}

/* ════ LIGHTBOX ════ */
.ath-lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}

.ath-lightbox[hidden] { display: none; }

.ath-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 33, 31, 0.82);
  backdrop-filter: blur(4px);
}

.ath-lightbox-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1600px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  animation: athLightboxIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ath-lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  background: var(--ink);
}

.ath-lightbox-img.is-mobile {
  border: none;
  box-shadow: none;
  background: transparent;
}

.ath-lightbox-caption {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  max-width: 60ch;
}

.ath-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, transform 0.15s ease;
}

.ath-lightbox-close:hover {
  background: var(--teal);
  transform: scale(1.05);
}

.ath-lightbox-close:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

@keyframes athLightboxIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

@media (max-width: 600px) {
  .ath-lightbox { padding: 2vh 4vw; }
  .ath-lightbox-close { top: -12px; right: -6px; width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .ath-lightbox-figure { animation: none; }
  .ath-hero::before,
  .ath-hero::after { animation: none; }
  .ath-sticky-shot {
    transition: opacity 0.001s linear;
    transform: none;
  }
  .ath-sticky-shot.is-active { transform: none; }
}

/* ════════════════════════════════════════════════
   ECOSYSTEM PIPELINE — Diagnose → Learn → Prove
   Shared by mythoclast.html & athelion.html:
   a slim band under the hero + a full section
   before the CTA. Sharp corners throughout.
   ════════════════════════════════════════════════ */

/* per-product accent driver */
.eco-node--myth { --eco-accent: var(--teal); }
.eco-node--ath  { --eco-accent: var(--mauve); }

/* ── full section (before CTA) ── */
.eco {
  background: var(--ink);
  padding: 7rem 5rem;
  overflow: hidden;
}

.eco-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.eco-head {
  max-width: 760px;
  margin-bottom: 3.5rem;
}

.eco .ath-section-heading { color: var(--white); }
.eco .ath-section-sub { color: rgba(255,255,255,0.62); }

.eco-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 1.5rem;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}

.eco-brand-chip strong { color: var(--white); font-weight: 700; }

.eco-pipe {
  display: flex;
  align-items: stretch;
}

.eco-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 1.6rem 1.5rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

a.eco-node:hover,
a.eco-node:focus-visible {
  border-color: var(--eco-accent);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.eco-node.is-active {
  background: color-mix(in srgb, var(--eco-accent) 16%, transparent);
  border-color: var(--eco-accent);
}

.eco-node-stage {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.6rem;
}

.eco-node-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--eco-accent);
  margin-bottom: 0.5rem;
}

.eco-node-role {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,0.68);
}

.eco-here {
  align-self: flex-start;
  margin-top: auto;
  padding: 4px 10px;
  background: var(--eco-accent);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eco-go {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--eco-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eco-node.is-active .eco-go { padding-top: 0.85rem; }

.eco-conn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  color: rgba(255,255,255,0.35);
  font-size: 22px;
  flex-shrink: 0;
}

@media (min-width: 769px) and (max-width: 1100px) {
  .eco { padding: 5rem 3rem; }
}

@media (max-width: 768px) {
  .eco { padding: 4rem 1.5rem; }
  .eco-pipe { flex-direction: column; }
  .eco-conn { padding: 0.4rem 0; transform: rotate(90deg); }
  a.eco-node:hover,
  a.eco-node:focus-visible { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .eco-node { transition: border-color 0.2s, background 0.2s; }
  a.eco-node:hover,
  a.eco-node:focus-visible { transform: none; }
}

/* ── Type system: display face (see site.css) ── */
.ath-section-heading, .ath-cta-heading {
  font-family: var(--font-display);
  font-weight: 600;
}

/* Hero product names stay Montserrat (user call, 2026-07-14) */
.ath-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
