/* ============================================================
   BinBuddiez — Modern Editorial Design System
   Cinematic dark theme, variable typography, chapter layout
   ============================================================ */

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  /* Palette */
  --ink:         #0a0f0c;        /* near-black canvas */
  --ink-2:       #111714;        /* panel / card background */
  --ink-3:       #18221b;        /* elevated surface */
  --paper:       #f4f7f2;        /* off-white light sections */
  --paper-2:     #eef3ec;

  --brand:       #6fcf35;        /* vibrant leaf green accent */
  --brand-dim:   #4a9e1f;        /* deep forest green */
  --brand-glow:  rgba(111,207,53,.25);
  --accent:      #c8f078;        /* high-key highlight yellow-green */

  --ink-text:    #f0f5ee;        /* primary text on dark */
  --ink-muted:   rgba(240,245,238,.65);
  --ink-faint:   rgba(240,245,238,.3);
  --paper-text:  #0e1a0b;
  --paper-muted: #3d5235;

  /* Typography */
  --f-display: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --f-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Easing curves */
  --ease:   cubic-bezier(.16, 1, .3, 1);
  --ease-b: cubic-bezier(.34, 1.56, .64, 1);

  /* Spacing */
  --pad: clamp(20px, 5vw, 72px);
  --header-h: 68px;
}

/* ── Reset & Baseline ────────────────────────────────────── */
::selection {
  background: var(--brand);
  color: var(--ink);
}
::-moz-selection {
  background: var(--brand);
  color: var(--ink);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--ink-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* Custom cursor active state — toggled by JS */
body.custom-cursor { cursor: none; }
body.custom-cursor a,
body.custom-cursor button,
body.custom-cursor [role=button] { cursor: none; }

img, video {
  display: block;
  max-width: 100%;
}

ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button {
  font-family: inherit;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* ── Custom cursor ────────────────────────────────────────── */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .08s, width .25s var(--ease), height .25s var(--ease), opacity .25s;
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(111,207,53,.45);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform .16s var(--ease), width .3s var(--ease), height .3s var(--ease), border-color .3s;
  will-change: transform;
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 6px;
  height: 6px;
}

body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 52px;
  height: 52px;
  border-color: var(--brand);
  background: rgba(111,207,53,.08);
}

@media (pointer: coarse) {
  .cursor, .cursor-ring { display: none !important; }
}

/* ── Scroll Progress ─────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--brand);
  width: 0%;
  z-index: 1000;
  transition: width 0.1s;
}

/* ── Header ──────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 500;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s, box-shadow .4s;
}

.header.bg {
  background: rgba(10, 15, 12, .88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(111,207,53,.15);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.header__inner {
  height: 100%;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1440px;
  margin: 0 auto;
}

.header__logo img {
  height: 38px;
  width: auto;
  transition: transform .4s var(--ease-b);
}
.header__logo:hover img {
  transform: scale(1.05);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header__nav-link {
  font-family: var(--f-display);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color .25s;
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: width .3s var(--ease);
}

.header__nav-link:hover {
  color: var(--ink-text);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--f-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--brand);
  border-radius: 40px;
  padding: .55rem 1.35rem;
  transition: all .3s var(--ease);
  box-shadow: 0 2px 12px rgba(111,207,53,.25);
}

.header__cta:hover {
  background: var(--accent);
  transform: scale(1.04);
  box-shadow: 0 4px 20px rgba(111,207,53,.45);
}

.header__cta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  animation: pulseDot 2s infinite;
}

/* ── Floats ───────────────────────────────────────────────── */
.floats {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom, 24px));
  right: max(20px, env(safe-area-inset-right, 20px));
  z-index: 490;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(111,207,53,.3);
  color: var(--ink-text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .25s, transform .3s var(--ease-b), border-color .25s, box-shadow .25s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.float-btn:hover {
  background: var(--brand);
  color: var(--ink);
  border-color: var(--brand);
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(111,207,53,.4);
}

.float-btn svg {
  width: 20px;
  height: 20px;
}

#btt {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s, transform .4s var(--ease);
  pointer-events: none;
}

#btt.vis {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ink);
  padding-top: var(--header-h);
}

/* Media layer */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__poster {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 70% 30%, rgba(60,150,40,.2) 0%, transparent 65%),
    linear-gradient(160deg, #071009 0%, #0e1f10 40%, #060d07 100%);
  z-index: 1;
  transition: opacity 1.2s;
}

.hero__poster.gone {
  opacity: 0;
  pointer-events: none;
}

#heroBgVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s;
  transform: translateZ(0);
}

#heroBgVideo.on {
  opacity: .55;
}

/* Overlays — layered for depth and text legibility */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to bottom,
      rgba(8,12,10,.72) 0%,
      rgba(8,12,10,.25) 25%,
      rgba(8,12,10,.18) 50%,
      rgba(8,12,10,.72) 75%,
      rgba(8,12,10,.98) 100%);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at center, transparent 40%, #000 100%),
              linear-gradient(to bottom, transparent 60%, #000 100%);
  pointer-events: none;
}

.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: .035;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vh, 3rem) var(--pad) clamp(2.5rem, 5vh, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--f-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.25rem;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
  animation: pulseDot 2s infinite;
}

/* Editorial title */
.hero__title {
  display: flex;
  flex-direction: column;
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 5.5vw + 2.5vh, 8.2rem);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.04em;
  text-transform: uppercase;
  margin-bottom: clamp(1.5rem, 3vh, 2.75rem);
  overflow: visible;
}

.title-line {
  display: block;
  color: #fff;
  opacity: 0;
  transform: translateY(40%);
  animation: titleUp 1s var(--ease) both;
  text-shadow: 0 4px 40px rgba(0,0,0,.6), 0 2px 8px rgba(0,0,0,.4);
}

.title-line:nth-child(1) { animation-delay: .05s; }
.title-line:nth-child(2) { animation-delay: .13s; }
.title-line:nth-child(3) { animation-delay: .21s; }
.title-line:nth-child(4) { animation-delay: .29s; }

/* TODAY, — vibrant brand green */
.title-line--accent {
  color: var(--brand);
  text-shadow: 0 0 80px rgba(111,207,53,.5), 0 4px 24px rgba(0,0,0,.4);
}

/* TOMORROW. — crisp bright white */
.title-line--last {
  color: #fff;
  text-shadow: 0 4px 40px rgba(0,0,0,.7), 0 2px 8px rgba(0,0,0,.4);
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
}

.hero__desc {
  max-width: 460px;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  color: rgba(240,245,238,.8);
  line-height: 1.75;
  font-weight: 400;
}

/* Hero CTA button */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--f-display);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--brand);
  padding: .9rem 2rem;
  border-radius: 40px;
  flex-shrink: 0;
  transition: all .35s var(--ease);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 20px rgba(111,207,53,.3);
}

.btn-hero svg {
  transition: transform .3s var(--ease-b);
}

.btn-hero:hover {
  background: var(--accent);
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 8px 30px rgba(111,207,53,.5);
}

.btn-hero:hover svg {
  transform: translateY(-3px);
}

/* ── MARQUEE ──────────────────────────────────────────────── */
.marquee-strip {
  overflow: hidden;
  background: var(--brand);
  padding: .85rem 0;
  border-top: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 4px 20px rgba(111,207,53,.18);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
  font-family: var(--f-display);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}

.marquee-group {
  display: flex;
  gap: 3rem;
  padding-right: 3rem;
}

.marquee-dot {
  color: rgba(10,15,12,.35);
  font-size: .7rem;
}

/* ── CHAPTERS: Shared ─────────────────────────────────────── */
.chapter {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.chapter__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Chapter label */
.chapter__label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
  border-top: 1px solid;
  padding-top: 1.5rem;
}

.ch-num {
  font-family: var(--f-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .5;
}

.ch-title {
  font-family: var(--f-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Chapter content grid */
.chapter__content {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.chapter__headline h2 {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.chapter__headline h2 em {
  font-style: normal;
  color: var(--brand);
}

.chapter__body p {
  font-size: 1.06rem;
  line-height: 1.75;
  opacity: .78;
  font-weight: 400;
  margin-bottom: 1.8rem;
}

.chapter__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.ch-tag {
  font-family: var(--f-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  border-radius: 40px;
}

/* ── CHAPTER 1: DARK ──────────────────────────────────────── */
.chapter--dark {
  background: var(--ink-2);
}

.chapter--dark .chapter__label {
  border-color: rgba(240,245,238,.12);
  color: var(--ink-text);
}

.chapter--dark .chapter__headline {
  color: var(--ink-text);
}

.chapter--dark .ch-tag {
  background: rgba(111,207,53,.12);
  border: 1px solid rgba(111,207,53,.3);
  color: var(--brand);
}

/* Feature rows */
/* ── BENTO GRID ────────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.bento-tile {
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  padding: 3rem;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease-b);
}
.bento-tile:hover {
  transform: scale(1.02) translateY(-4px);
  border-color: rgba(111, 207, 53, 0.2);
}

.bento-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.55;
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease-b);
}
.bento-tile:hover .bento-bg {
  opacity: 0.85;
  transform: scale(1.05);
}
/* Gradient overlay to ensure text is readable */
.bento-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ink-2) 0%, rgba(17, 23, 20, 0.6) 60%, transparent 100%);
}

.bento-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(111, 207, 53, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: var(--y, -100%);
  left: var(--x, -100%);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.bento-tile:hover .bento-glow {
  opacity: 1;
}

.bento-content {
  position: relative;
  z-index: 2;
}
.bento-content h3 {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink-text);
  margin-bottom: 0.75rem;
}
.bento-content p {
  color: var(--ink-muted);
  font-size: 1.15rem;
  line-height: 1.6;
}
.bento-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.bento-tags span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.8rem;
  background: rgba(111, 207, 53, 0.1);
  color: var(--brand);
  border-radius: 40px;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

/* ── STICKY SCROLL ────────────────────────────────────────── */
.sticky-section {
  background: #000;
  padding: var(--pad) 0;
  position: relative;
}
.sticky-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.sticky-left {
  position: sticky;
  top: 15vh;
  padding-bottom: 5vh;
}
.sticky-title {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.sticky-desc {
  font-size: 1.25rem;
  color: var(--ink-muted);
  line-height: 1.6;
}
.sticky-right {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  padding-top: 10vh;
  padding-bottom: 20vh;
}
.step-card {
  position: relative;
}
.step-num {
  font-family: var(--f-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--ink-3);
  position: absolute;
  top: -2.5rem;
  left: -2rem;
  z-index: 0;
}
.step-card h3 {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}
.step-card p {
  font-size: 1.1rem;
  color: var(--ink-muted);
  position: relative;
  z-index: 1;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .sticky-container { grid-template-columns: 1fr; gap: 3rem; }
  .sticky-left { position: relative; top: 0; padding-bottom: 0; }
  .sticky-right { padding-top: 0; gap: 3rem; }
}

/* ── CHAPTER 2: LIGHT ─────────────────────────────────────── */
.chapter--light {
  background: var(--paper);
}

.chapter--light .chapter__label {
  border-color: rgba(14,26,11,.15);
  color: var(--paper-text);
}

.chapter--light .chapter__headline--light h2 {
  color: var(--paper-text);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.chapter--light .chapter__headline--light h2 em {
  color: var(--brand-dim);
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.card {
  background: #ffffff;
  border: 1px solid rgba(14,26,11,.08);
  border-radius: 24px;
  padding: 2.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
  transition-delay: var(--d, 0s);
  box-shadow: 0 2px 0 rgba(111,207,53,.12) inset, 0 4px 16px rgba(0,0,0,.04);
}

.card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 32px 70px rgba(14,26,11,.12), 0 4px 0 var(--brand) inset;
  border-color: rgba(74,158,31,.3);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(111,207,53,.09) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .4s;
}

.card:hover::before {
  opacity: 1;
}

.card__num {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--f-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(14,26,11,.06);
  line-height: 1;
  transition: color .3s;
}

.card:hover .card__num {
  color: rgba(74,158,31,.12);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(111,207,53,.18), rgba(74,158,31,.08));
  border: 1px solid rgba(74,158,31,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dim);
  margin-bottom: 1.5rem;
  transition: transform .4s var(--ease-b), background .3s, color .3s;
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card:hover .card__icon {
  transform: scale(1.12) rotate(6deg);
  background: var(--brand-dim);
  color: white;
}

.card__title {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--paper-text);
  margin-bottom: .6rem;
  letter-spacing: -.01em;
}

.card__desc {
  font-size: .95rem;
  color: var(--paper-muted);
  line-height: 1.65;
  font-weight: 400;
  flex: 1;
  margin-bottom: 1.4rem;
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.card__tags span {
  font-family: var(--f-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--brand-dim);
  background: rgba(74,158,31,.1);
  border: 1px solid rgba(74,158,31,.2);
  padding: .25rem .7rem;
  border-radius: 40px;
  transition: background .2s, color .2s;
}

.card:hover .card__tags span {
  background: rgba(74,158,31,.18);
  color: var(--brand-dim);
}

/* ── CHAPTER 3: CTA ───────────────────────────────────────── */
.chapter--cta {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

.cta-noise {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 15% 60%, rgba(111,207,53,.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 85% 30%, rgba(74,158,31,.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(111,207,53,.08) 0%, transparent 50%);
  pointer-events: none;
  animation: ctaGlow 6s ease-in-out infinite alternate;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-display {
  max-width: 1000px;
}

.cta-display__text {
  font-family: var(--f-display);
  font-size: clamp(4.5rem, 15vw, 16.5rem);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.05em;
  text-transform: uppercase;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
}

.cta-display__text span:first-child {
  color: transparent;
  -webkit-text-stroke: 2px rgba(240,245,238,.16);
}

.cta-display__em {
  color: var(--brand);
  text-shadow: 0 0 120px rgba(111,207,53,.32), 0 8px 40px rgba(0,0,0,.4);
}

.cta-display__sub {
  max-width: 480px;
  font-size: 1.12rem;
  color: rgba(240,245,238,.7);
  line-height: 1.75;
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--f-display);
  font-size: .94rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--brand);
  padding: 1.15rem 2.6rem;
  border-radius: 60px;
  transition: all .4s var(--ease);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 25px rgba(111,207,53,.35);
}

.btn-cta:hover {
  background: var(--accent);
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 0 80px 14px rgba(111,207,53,.35), 0 8px 32px rgba(0,0,0,.35);
}

.btn-cta:active {
  transform: scale(.98);
}

.btn-cta svg {
  transition: transform .35s var(--ease-b);
}

.btn-cta:hover svg {
  transform: rotate(20deg) scale(1.1);
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--ink-2);
  border-top: 1px solid rgba(240,245,238,.08);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(240,245,238,.08);
  margin-bottom: 2rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer__brand img {
  height: 46px;
  width: auto;
  flex-shrink: 0;
}

.footer__tagline {
  font-family: var(--f-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink-text);
  margin-bottom: .4rem;
  letter-spacing: -.01em;
}

.footer__insta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .84rem;
  font-weight: 600;
  color: var(--brand);
  transition: color .2s;
}

.footer__insta:hover {
  color: var(--accent);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  align-items: flex-end;
}

.footer__nav a {
  font-family: var(--f-display);
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color .2s;
  letter-spacing: .01em;
}

.footer__nav a:hover {
  color: var(--brand);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .84rem;
  color: var(--ink-faint);
  font-family: var(--f-display);
}

.footer__btt {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: .84rem;
  transition: color .2s;
}

.footer__btt:hover {
  color: var(--brand);
}

/* ── REVEAL ANIMATION ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ── MODAL ────────────────────────────────────────────────── */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,10,6,.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 800;
  opacity: 0;
  transition: opacity .35s;
}

.modal-backdrop.open {
  display: block;
  opacity: 1;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 801;
  pointer-events: none;
  overflow-y: auto;
}

.modal.open {
  pointer-events: auto;
}

.modal__card {
  width: 100%;
  max-width: 480px;
  background: var(--ink-2);
  border: 1px solid rgba(111,207,53,.25);
  border-radius: 22px;
  overflow: hidden;
  opacity: 0;
  transform: scale(.95) translateY(20px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  pointer-events: none;
  box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.05);
}

.modal.open .modal__card {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.75rem 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.modal__title {
  font-family: var(--f-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink-text);
  letter-spacing: -.02em;
  margin-bottom: .25rem;
}

.modal__sub {
  font-size: .88rem;
  color: var(--ink-muted);
  font-weight: 400;
}

.modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  transition: all .25s;
  flex-shrink: 0;
  touch-action: manipulation;
}

.modal__close:hover {
  color: var(--brand);
  border-color: var(--brand);
  transform: rotate(90deg);
  background: rgba(111,207,53,.1);
}

.modal__email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 1.5rem 1.75rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(111,207,53,.2);
  border-radius: 14px;
  padding: .9rem 1.1rem;
}

.modal__email-addr {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-text);
  word-break: break-all;
}

.modal__copy {
  display: flex;
  align-items: center;
  gap: .3rem;
  background: var(--brand);
  color: var(--ink);
  padding: .45rem .95rem;
  border-radius: 40px;
  font-family: var(--f-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: all .25s;
  touch-action: manipulation;
}

.modal__copy:hover {
  background: var(--accent);
  transform: scale(1.04);
}

.modal__copy.ok {
  background: var(--brand-dim);
  color: white;
}

.modal__divider-text {
  text-align: center;
  font-size: .8rem;
  color: var(--ink-faint);
  letter-spacing: .06em;
  font-family: var(--f-display);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.modal__options {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 0 1.75rem 1.75rem;
}

.modal__option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .95rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
  color: var(--ink-text);
  transition: all .28s var(--ease);
  touch-action: manipulation;
}

.modal__option:hover {
  background: rgba(111,207,53,.08);
  border-color: rgba(111,207,53,.3);
  transform: translateX(4px);
}

.modal__option--primary {
  background: rgba(111,207,53,.1);
  border-color: rgba(111,207,53,.25);
}

.modal__option--primary:hover {
  background: rgba(111,207,53,.18);
}

.modal__opt-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(111,207,53,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}

.modal__option div { flex: 1; }
.modal__option strong {
  display: block;
  font-family: var(--f-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink-text);
  margin-bottom: .15rem;
}

.modal__option small {
  font-size: .78rem;
  color: var(--ink-muted);
}

.modal__arr {
  color: var(--ink-faint);
  flex-shrink: 0;
  transition: transform .25s, color .25s;
}

.modal__option:hover .modal__arr {
  transform: translateX(3px);
  color: var(--brand);
}

/* ── KEYFRAMES ────────────────────────────────────────────── */
@keyframes titleUp {
  from { opacity: 0; transform: translateY(40%); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.3); }
}

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

@keyframes ctaGlow {
  from { opacity: .7; transform: scale(1); }
  to   { opacity: 1; transform: scale(1.08) translateY(-2%); }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .chapter__content { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .footer__nav { align-items: flex-start; }
}

@media (max-width: 768px) {
  .hero__title { font-size: clamp(3rem, 12vw, 5.5rem); }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .feat-row { grid-template-columns: 2.75rem 1fr; gap: 1rem; padding: 1.25rem .5rem; }
  .feat-row__num { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .chapter--cta .cta-display__text { font-size: clamp(3.5rem, 15vw, 7rem); }
  .footer__top { flex-direction: column; }
  .footer__nav { align-items: flex-start; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .header__logo img { height: 32px; }
  .btn-hero, .btn-cta { width: 100%; justify-content: center; }
  .modal__card { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .title-line { animation: none; opacity: 1; transform: none; }
}
