/* ═══════════════════════════════════════════════════════
   NDF OFFERINGS PAGE — Page Styles
   Inherits global tokens from /style.css
   Root-relative reference confirmed
   ═══════════════════════════════════════════════════════ */

/* ── DATA STREAM LAYER ────────────────────────────────── */
.data-stream-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.data-column {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55em;
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  white-space: nowrap;
  animation: streamScroll var(--scroll-duration, 22s) linear infinite;
  animation-delay: var(--scroll-delay, 0s);
}

@keyframes streamScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.data-column:nth-child(1) { left: 2%;  --scroll-duration: 20s; --scroll-delay: 0s;   }
.data-column:nth-child(2) { left: 14%; --scroll-duration: 26s; --scroll-delay: -8s;  }
.data-column:nth-child(3) { left: 28%; --scroll-duration: 18s; --scroll-delay: -3s;  }
.data-column:nth-child(4) { left: 44%; --scroll-duration: 23s; --scroll-delay: -11s; }
.data-column:nth-child(5) { left: 60%; --scroll-duration: 21s; --scroll-delay: -6s;  }
.data-column:nth-child(6) { left: 74%; --scroll-duration: 28s; --scroll-delay: -14s; }
.data-column:nth-child(7) { left: 88%; --scroll-duration: 19s; --scroll-delay: -2s;  }


/* ── GHOST WORD ───────────────────────────────────────── */
.offerings-group {
  position: relative;
  overflow: hidden;
}

.ghost-word {
  position: absolute;
  bottom: -0.1em;
  left: -0.05em;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(5rem, 16vw, 14rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.ghost-word.visible {
  opacity: 1;
  transform: translateY(0);
}

.offerings-rows {
  position: relative;
  z-index: 1;
}


/* ── PAGE LAYOUT ──────────────────────────────────────── */
.offerings-page {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
}


/* ── PAGE HEADER ──────────────────────────────────────── */
.offerings-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding-bottom: 4rem;
}

.offerings-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0;
  color: var(--white);
}

.offerings-intro {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  padding-top: 0.5rem;
}


/* ── OFFERING ROWS ────────────────────────────────────── */
.offering-rule {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 0;
}

.offering-row {
  display: grid;
  grid-template-columns: 2fr 3fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  transition: opacity 0.2s ease;
}

.offering-row:hover {
  opacity: 0.85;
}

.offering-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.offering-arrow {
  opacity: 0.4;
  font-size: 1rem;
}

.offering-desc {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.offering-link {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 400;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--text-muted);
  opacity: 0.5;
  text-align: right;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.offering-link:hover,
.offering-link:focus-visible {
  opacity: 1;
  color: var(--accent);
}

.offering-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}


/* ── SECTION GROUPS ───────────────────────────────────── */
.offerings-group {
  margin-bottom: 3rem;
}


/* ── CTA BAND ─────────────────────────────────────────── */
.offerings-cta {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0 6rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 3rem;
}

.cta-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
}

.cta-body {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.cta-button {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.2s ease, opacity 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.cta-button:hover {
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--accent);
}

.cta-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}


/* ── SCROLL DOT NAVIGATION ────────────────────────────── */
.scroll-dots {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 100;
}

.scroll-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.scroll-dot.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.3);
}

.scroll-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}


/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 768px) {
  .offerings-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .offering-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.5rem 0;
  }

  .offering-link {
    text-align: left;
  }

  .offerings-cta {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .scroll-dots {
    display: none;
  }

  .data-stream-layer {
    opacity: 0.06;
  }
}


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

  .ghost-word {
    opacity: 1;
    transform: none;
  }

  .data-stream-layer {
    opacity: 0.04;
  }
}
