/* ================================================================
   HOME.CSS — SimplyStories homepage styles
   Netflix/editorial content platform aesthetic
   ================================================================ */

/* ── NEW TOKENS ── */
:root {
  --accent-bright:  #E8973B;
  --accent-teal:    #2DD4BF;
  --accent-rose:    #F26B4E;
  --cream:          #F5EDD8;
  --bg-home:        #09090E;
  --bg-card:        #111118;
  --border-gold:    rgba(200, 148, 74, 0.22);
  --border-cream:   rgba(245, 237, 216, 0.08);
}

body.home-page {
  background: var(--bg-home);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── HEADER ── */
.home-header {
  background: rgba(9, 9, 14, 0.55);
  border-bottom: 1px solid rgba(200, 148, 74, 0.1);
  transition: background 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
}
.home-header.scrolled {
  background: rgba(9, 9, 14, 0.96);
  border-bottom-color: rgba(200, 148, 74, 0.2);
  backdrop-filter: blur(18px);
}

.h-brand-mark {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.h-brand-accent { color: var(--accent); }

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: .45rem 1.1rem;
  background: var(--accent);
  color: #09090E;
  border-radius: 6px;
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 200ms, transform 150ms;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-nav-cta:hover { background: var(--accent-bright); transform: translateY(-1px); opacity: 1; }

/* ── HERO ── */
.hero-cinematic {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1455390582262-044cdead277a?auto=format&fit=crop&w=1600&q=60');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.07;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 45% 25%, rgba(24, 12, 45, 0.85) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 75%, rgba(200, 148, 74, 0.06) 0%, transparent 60%),
    linear-gradient(170deg, #10081E 0%, #09090E 55%, #0C0C12 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.7); }
}

.hero-headline {
  font-family: 'Newsreader', 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin: 0 0 1.5rem;
}
.headline-em {
  font-style: italic;
  color: var(--accent);
}
.headline-em-dark {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: rgba(245, 237, 216, 0.65);
  margin: 0 0 2.5rem;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.5rem;
}

/* Buttons */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: .75rem 1.5rem;
  border: 1px solid rgba(245, 237, 216, 0.22);
  border-radius: 8px;
  font-weight: 600;
  font-size: .925rem;
  color: var(--cream);
  cursor: pointer;
  transition: border-color 200ms, background 200ms;
}
.btn-ghost:hover { border-color: rgba(245, 237, 216, 0.5); background: rgba(245, 237, 216, 0.06); opacity: 1; }

.btn-amber {
  display: inline-flex;
  align-items: center;
  padding: .75rem 1.5rem;
  background: rgba(232, 151, 59, 0.14);
  border: 1px solid rgba(232, 151, 59, 0.38);
  border-radius: 8px;
  font-weight: 600;
  font-size: .925rem;
  color: var(--accent-bright);
  cursor: pointer;
  transition: background 200ms, border-color 200ms;
}
.btn-amber:hover { background: rgba(232, 151, 59, 0.26); border-color: rgba(232, 151, 59, 0.65); opacity: 1; }

.btn-gold {
  display: inline-flex;
  align-items: center;
  padding: .75rem 1.5rem;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 700;
  font-size: .925rem;
  color: #09090E;
  cursor: pointer;
  transition: background 200ms, transform 150ms;
}
.btn-gold:hover { background: var(--accent-bright); transform: translateY(-1px); opacity: 1; }

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  padding: .75rem 1.5rem;
  border: 1px solid rgba(245, 237, 216, 0.18);
  border-radius: 8px;
  font-weight: 600;
  font-size: .925rem;
  color: rgba(245, 237, 216, 0.75);
  cursor: pointer;
  transition: border-color 200ms, color 200ms;
}
.btn-ghost-light:hover { border-color: rgba(245, 237, 216, 0.45); color: var(--cream); opacity: 1; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: .65rem 1.35rem;
  border: 1.5px solid rgba(15, 15, 18, 0.2);
  border-radius: 8px;
  font-weight: 600;
  font-size: .875rem;
  color: var(--text-dark, #0f0f12);
  cursor: pointer;
  transition: border-color 200ms, background 200ms;
  margin-top: auto;
}
.btn-outline:hover { border-color: var(--accent); background: rgba(200, 148, 74, 0.06); opacity: 1; }

.btn-amber-solid {
  display: inline-flex;
  align-items: center;
  padding: .7rem 1.4rem;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  color: #09090E;
  cursor: pointer;
  transition: background 200ms;
  margin-top: auto;
}
.btn-amber-solid:hover { background: var(--accent-bright); opacity: 1; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .65rem;
  font-size: .8rem;
  color: rgba(245, 237, 216, 0.38);
  letter-spacing: .015em;
}
.proof-sep { opacity: .3; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: .3;
}
.scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-anim 2.2s ease-in-out infinite;
}
@keyframes scroll-anim {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  40% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; }
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 2.25rem 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  flex: 1;
  min-width: 130px;
  text-align: center;
}
.stat-num {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-lbl {
  font-size: .78rem;
  color: rgba(245, 237, 216, 0.45);
  letter-spacing: .02em;
}
.stat-div {
  width: 1px;
  height: 2.5rem;
  background: var(--border-gold);
  flex-shrink: 0;
}

/* ── STORYSYSTEM™ ── */
.ss-system {
  background: var(--bg-home);
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.ss-header {
  margin-bottom: 2.5rem;
}
.ss-header.center {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}
.ss-header h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--cream);
  margin: 0 0 .5rem;
}
.ss-header.ss-dark h2,
.light-h2 {
  color: var(--cream);
}
.ss-header.ss-dark .ss-sub { color: rgba(245,237,216,0.5); }
.ss-header.ss-dark .ss-eyebrow { color: var(--accent); }
.ss-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .65rem;
  display: block;
}
.ss-eyebrow.dark-ey { color: var(--accent); }
.ss-eyebrow.light { color: var(--accent); }
.ss-sub {
  font-size: .95rem;
  color: rgba(245, 237, 216, 0.5);
  margin: .3rem 0 0;
}
.ss-sub.light { color: rgba(245, 237, 216, 0.5); }
.sup {
  font-size: .55em;
  vertical-align: super;
  opacity: .65;
}

.system-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: .5rem clamp(1rem, 4vw, 3.5rem) 1.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.system-row::-webkit-scrollbar { display: none; }

.sys-card {
  flex: 0 0 230px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  transition: border-color 250ms, transform 220ms, background 220ms;
  position: relative;
  overflow: hidden;
}
.sys-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 0%, rgba(200, 148, 74, 0.06) 0%, transparent 65%);
  pointer-events: none;
}
.sys-card:hover,
.sys-card.active {
  border-color: rgba(200, 148, 74, 0.5);
  background: #17130D;
  transform: translateY(-3px);
}

.sys-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .18rem .55rem;
  border-radius: 4px;
  margin-bottom: 1.1rem;
}
.sys-badge.live {
  background: rgba(45, 212, 191, 0.13);
  color: var(--accent-teal);
  border: 1px solid rgba(45, 212, 191, 0.28);
}
.sys-badge.coming {
  background: rgba(200, 148, 74, 0.1);
  color: var(--accent);
  border: 1px solid rgba(200, 148, 74, 0.22);
}

.sys-icon {
  color: var(--accent);
  margin-bottom: .8rem;
  opacity: .9;
}
.sys-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 .5rem;
  letter-spacing: -0.01em;
}
.sys-desc {
  font-size: .83rem;
  line-height: 1.55;
  color: rgba(245, 237, 216, 0.5);
  margin: 0 0 1.25rem;
}
.sys-link {
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .02em;
  display: block;
}
.sys-link.muted { color: rgba(245, 237, 216, 0.25); cursor: default; }

/* ── CONTENT SHOWCASE ── */
.showcase-wrap {
  background: #0C0C12;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}
.showcase-wrap .ss-header {
  margin-bottom: 2.5rem;
  padding: 0;
}

.content-row-section { overflow: hidden; }

.row-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(245, 237, 216, 0.42);
  margin-bottom: .875rem;
}
.row-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.row-dot.teal { background: var(--accent-teal); }
.row-dot.gold { background: var(--accent); }
.row-dot.rose { background: var(--accent-rose); }

.content-row {
  display: flex;
  gap: .875rem;
  overflow-x: auto;
  padding: .25rem clamp(1rem, 4vw, 3.5rem) 1.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  list-style: none;
  margin: 0;
}
.content-row::-webkit-scrollbar { display: none; }

.c-card {
  flex: 0 0 255px;
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 220ms, box-shadow 220ms, border-color 220ms;
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
}
.c-card:hover {
  transform: scale(1.028) translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  border-color: rgba(200, 148, 74, 0.28);
}

.c-card-img {
  position: relative;
  height: 150px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.c-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,9,14,0.85) 0%, rgba(9,9,14,0.2) 55%, transparent 100%);
}
.c-tag {
  position: absolute;
  top: .65rem;
  left: .65rem;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .18rem .5rem;
  border-radius: 4px;
  z-index: 1;
}
.c-tag.teal { background: rgba(45,212,191,0.18); color: var(--accent-teal); border: 1px solid rgba(45,212,191,0.28); }
.c-tag.gold { background: rgba(200,148,74,0.18); color: var(--accent); border: 1px solid rgba(200,148,74,0.32); }
.c-tag.rose { background: rgba(242,107,78,0.18); color: var(--accent-rose); border: 1px solid rgba(242,107,78,0.28); }

.c-card-body {
  padding: .875rem 1rem 1.1rem;
  flex: 1;
}
.c-card-meta {
  font-size: .7rem;
  color: rgba(245,237,216,0.35);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 .35rem;
}
.c-card-title {
  font-size: .875rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.42;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--bg-light, #f6f6f4);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}
.how-section .ss-header h2 {
  color: var(--text-dark, #0f0f12);
  font-family: 'Newsreader', Georgia, serif;
}
.how-section .ss-sub {
  color: rgba(15,15,18,0.55);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.how-step {
  padding: 2rem 1.75rem;
  background: #ffffff;
  border-radius: 14px;
  border: 1.5px solid rgba(15,15,18,0.08);
}
.how-num {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 3.25rem;
  font-weight: 600;
  color: var(--accent);
  opacity: .22;
  line-height: 1;
  margin-bottom: .875rem;
  letter-spacing: -0.02em;
}
.how-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark, #0f0f12);
  margin: 0 0 .5rem;
  letter-spacing: -0.01em;
}
.how-desc {
  font-size: .875rem;
  line-height: 1.65;
  color: rgba(15,15,18,0.58);
  margin: 0;
}

/* ── AMI.GO SECTION ── */
.ami-section {
  background: #0C0818;
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.ami-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.ami-badge-wrap { margin-bottom: 1.75rem; }
.ami-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-teal);
  padding: .38rem 1rem;
  border: 1px solid rgba(45,212,191,0.22);
  border-radius: 100px;
  background: rgba(45,212,191,0.07);
}
.ami-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-teal);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
.ami-headline {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.22;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.ami-sub {
  font-size: .95rem;
  line-height: 1.75;
  color: rgba(245,237,216,0.55);
  margin: 0 0 2rem;
}
.ami-pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 2.5rem;
  list-style: none;
  padding: 0;
}
.ami-pillar {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .83rem;
  font-weight: 500;
  color: rgba(245,237,216,0.7);
  padding: .45rem .9rem;
  background: rgba(245,237,216,0.05);
  border: 1px solid rgba(245,237,216,0.09);
  border-radius: 8px;
}
.ami-pillar-icon { color: var(--accent); flex-shrink: 0; }

/* ── CTA CLIMAX ── */
.cta-climax {
  background: var(--bg-light, #f6f6f4);
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.cta-h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text-dark, #0f0f12);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 .5rem;
}
.cta-sub {
  font-size: 1rem;
  color: rgba(15,15,18,0.52);
  margin: .5rem 0 0;
}
.cta-climax .ss-header.center { max-width: 520px; }
.cta-climax .ss-header h2 {
  color: var(--text-dark, #0f0f12);
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
  align-items: stretch;
}
.cta-card {
  padding: 2rem;
  background: #ffffff;
  border-radius: 14px;
  border: 1.5px solid rgba(15,15,18,0.09);
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.cta-card.featured {
  background: var(--bg-dark, #0f0f12);
  border-color: rgba(200,148,74,0.38);
  transform: scale(1.025);
}
.cta-card-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(15,15,18,0.38);
  margin: 0;
}
.featured-lbl { color: var(--accent) !important; }
.cta-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark, #0f0f12);
  letter-spacing: -0.01em;
  margin: 0;
}
.light-title { color: var(--cream); }
.cta-card-desc {
  font-size: .875rem;
  line-height: 1.65;
  color: rgba(15,15,18,0.58);
  margin: 0;
  flex: 1;
}
.light-desc { color: rgba(245,237,216,0.55); }

/* ── FOOTER EXTRA ── */
.footer-ami-note {
  font-size: .72rem;
  color: var(--accent);
  opacity: .65;
  margin-top: .3rem;
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .eyebrow-dot,
  .ami-dot { animation: none; }
  .scroll-line { animation: none; opacity: .4; }
  .c-card,
  .sys-card,
  .btn-gold,
  .btn-nav-cta { transition: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .cta-card.featured { transform: none; }
}

@media (max-width: 768px) {
  .hero-cinematic { padding: 6rem 0 4rem; min-height: 85vh; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas > * { width: 100%; justify-content: center; }
  .stats-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .stat-item { text-align: left; min-width: unset; align-items: flex-start; }
  .stat-div { display: none; }
  .hero-scroll { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: clamp(2.2rem, 10vw, 3rem); }
  .sys-card { flex: 0 0 200px; }
  .c-card { flex: 0 0 220px; }
}

/* ================================================================
   ANIMATION LAYER — Scroll reveals, counters, hero entrance,
   ambient glow, section curves
   ================================================================ */

/* ── HERO TWO-COLUMN SPLIT ── */
/* ── HERO CENTERED (full-width editorial) ── */
.hero-centered {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 6rem;
  padding-bottom: 5rem;
  position: relative;
  z-index: 1;
}
.hero-centered .hero-content {
  max-width: 720px;
}

/* ─────────────────────────────────────────────
   PARALLAX SECTION BREAKS
   Each .ss-break is a depth layer between sections.
   .break-layer moves at 0.4× scroll speed via JS,
   creating a genuine parallax separation.
───────────────────────────────────────────── */
.ss-break {
  position: relative;
  height: 140px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Moving background layer — driven by JS --py custom prop */
.break-layer {
  position: absolute;
  inset: -60px 0;
  background:
    radial-gradient(ellipse 55% 120% at 20% calc(50% + var(--py, 0px)),
      rgba(45, 212, 191, 0.045) 0%, transparent 70%),
    radial-gradient(ellipse 45% 120% at 80% calc(50% + var(--py, 0px)),
      rgba(200, 148, 74, 0.05) 0%, transparent 70%),
    linear-gradient(180deg,
      rgba(9,9,14,0) 0%,
      rgba(14,10,24,0.55) 50%,
      rgba(9,9,14,0) 100%);
  pointer-events: none;
  will-change: transform;
}

/* Variant: mid (stronger purple depth) */
.ss-break--mid .break-layer {
  background:
    radial-gradient(ellipse 70% 120% at 50% calc(50% + var(--py, 0px)),
      rgba(80, 40, 140, 0.08) 0%, transparent 70%),
    linear-gradient(180deg,
      rgba(9,9,14,0) 0%,
      rgba(20,12,38,0.6) 50%,
      rgba(9,9,14,0) 100%);
}

/* Variant: warm (amber-forward) */
.ss-break--warm .break-layer {
  background:
    radial-gradient(ellipse 60% 120% at 60% calc(50% + var(--py, 0px)),
      rgba(200, 148, 74, 0.07) 0%, transparent 70%),
    linear-gradient(180deg,
      rgba(9,9,14,0) 0%,
      rgba(18,12,6,0.55) 50%,
      rgba(9,9,14,0) 100%);
}

/* The horizontal rail with rule lines + glyph */
.break-rail {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.break-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(200, 148, 74, 0.18) 30%,
    rgba(200, 148, 74, 0.18) 70%,
    transparent 100%);
}
.break-glyph {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(200, 148, 74, 0.45);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-centered { padding-top: 7rem; }
  .ss-break { height: 100px; }
}

/* ── AMBIENT GLOW ORB (background layer, keep) ── */
.hero-glow-orb {
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(200, 148, 74, 0.16) 0%,
    rgba(200, 148, 74, 0.06) 45%,
    transparent 70%
  );
  top: 50%;
  right: 5%;
  transform: translateY(-55%);
  pointer-events: none;
  animation: orb-breathe 6s ease-in-out infinite;
  z-index: 0;
}
@keyframes orb-breathe {
  0%, 100% { transform: translateY(-55%) scale(1);   opacity: 1; }
  50%       { transform: translateY(-58%) scale(1.06); opacity: 0.75; }
}

/* ── WORD REVEAL (hero headline) ── */
.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: word-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes word-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* ── SECTION CURVE DIVIDERS ── */
.stats-strip {
  clip-path: inset(0);
}
.showcase-wrap { position: relative; }
.how-section   { position: relative; }
.cta-climax    { position: relative; }

/* ── STICKY STORY SCROLL (AMI-style) ── */
.ss-system {
  position: relative;
}
.sys-card-wrap {
  display: contents;
}

/* ── CARD HOVER GLOW ── */
.sys-card {
  transition: border-color 250ms, transform 220ms, background 220ms, box-shadow 250ms;
}
.sys-card:hover,
.sys-card.active {
  box-shadow:
    0 0 0 1px rgba(200, 148, 74, 0.3),
    0 8px 32px rgba(200, 148, 74, 0.12),
    inset 0 0 24px rgba(200, 148, 74, 0.04);
}

/* ── STATS COUNTER ── */
.stat-num {
  display: block;
}

/* ── HERO SUBLINE REVEAL ── */
.hero-sub {
  opacity: 0;
  transform: translateY(16px);
  animation: sub-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}
.hero-ctas {
  opacity: 0;
  transform: translateY(12px);
  animation: sub-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}
.hero-proof {
  opacity: 0;
  animation: sub-in 0.5s ease 1.35s forwards;
}
@keyframes sub-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ── CONTENT ROW — scroll hint gradient ── */
.content-row-section {
  position: relative;
}
.content-row-section::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 80px;
  background: linear-gradient(to left, #0C0C12, transparent);
  pointer-events: none;
  z-index: 2;
}
.ss-system .content-row-section::after,
.system-row-wrap::after {
  background: linear-gradient(to left, var(--bg-home), transparent);
}

/* ── HOW STEP animated number ── */
.how-step {
  transition: transform 220ms, box-shadow 220ms;
}
.how-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15,15,18,0.1);
}

/* ── EYEBROW line accent ── */
.ss-eyebrow {
  position: relative;
  padding-left: 1rem;
}
.ss-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

/* ── CTA featured card — inner glow ── */
.cta-card.featured {
  box-shadow:
    0 0 0 1px rgba(200, 148, 74, 0.35),
    0 20px 60px rgba(0,0,0,0.4),
    inset 0 0 40px rgba(200, 148, 74, 0.04);
}

/* ── Scroll arrows on content rows ── */
.row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .875rem;
}
.row-scroll-btns {
  display: flex;
  gap: .4rem;
}
.row-scroll-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(245,237,216,0.15);
  background: rgba(245,237,216,0.05);
  color: rgba(245,237,216,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 180ms, background 180ms, color 180ms;
  flex-shrink: 0;
}
.row-scroll-btn:hover {
  border-color: var(--accent);
  background: rgba(200,148,74,0.12);
  color: var(--accent);
}

/* ── Remove old .row-label (replaced by .row-header) ── */
.row-header .row-label { margin-bottom: 0; }
