/* ── OUR STORY ──────────────────────────────────────────────────────────────── */

/* ─ Tuning knobs ─────────────────────────────────────────────────────────────
   --story-height      : total section height  (default 480px)
   --story-fade        : how tall each gradient fade is  (default 140px)
   --story-bg          : the colour used for the fade  (match your site bg)
   ──────────────────────────────────────────────────────────────────────────── */
#story {
  --story-height : 480px;
  --story-fade   : 140px;
  --story-bg     : var(--midnight, #0b0f1c);

  position   : relative;
  height     : var(--story-height);
  overflow   : hidden;
}

/* ── Full-bleed photo ── */
.story-photo-wrap {
  position : absolute;
  inset    : 0;
}

.story-photo {
  width      : 100%;
  height     : 100%;
  object-fit : cover;
  display    : block;
}

/* ── Top & bottom gradient fades ── */
#story::before,
#story::after {
  content  : '';
  position : absolute;
  left     : 0;
  right    : 0;
  height   : var(--story-fade);
  z-index  : 1;
  pointer-events : none;
}

#story::before {                                      /* top fade */
  top        : 0;
  background : linear-gradient(to bottom, var(--story-bg) 0%, transparent 100%);
}

#story::after {                                       /* bottom fade */
  bottom     : 0;
  background : linear-gradient(to top, var(--story-bg) 30%, rgba(11,15,28,.6) 70%, transparent 100%);
}

/* ── Text card — sits inside the bottom fade ── */
.story-content {
  position  : absolute;
  bottom    : 0;
  left      : 50%;
  transform : translateX(-50%);
  width     : 100%;
  max-width : 860px;
  padding   : 32px 48px 40px;
  z-index   : 2;
  text-shadow: 0 1px 12px rgba(0,0,0,.8), 0 2px 32px rgba(0,0,0,.5);
}

.story-eyebrow {
  font-size      : 10px;
  letter-spacing : .4em;
  text-transform : uppercase;
  color          : var(--red);
  margin-bottom  : 12px;
}

.story-content h2 {
  font-size   : clamp(26px, 3.5vw, 40px);
  font-weight : 800;
  line-height : 1.15;
  color       : #fff;
  margin-bottom: 16px;
}

.story-content p {
  font-size   : 14px;
  line-height : 1.8;
  /* color       : var(--text-dim); */
    color       : #ffffffdd;
}

/* ── INTRO ──────────────────────────────────────────────────────────────────── */
#intro {
  max-width: 640px;
  margin: 0 auto;
  padding: 100px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.intro-photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 16px;
}

.intro-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-eyebrow {
  font-size: 10px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--red);
}

.intro-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.intro-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 480px;
}

/* ── FEATURES ──────────────────────────────────────────────────────────────── */
#features {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 860px;
  margin: 0 auto;
}

.feature {
  background: var(--midnight);
  padding: 48px 64px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.feature-icon svg { width: 100%; height: 100%; }

.feature-body { display: flex; flex-direction: column; gap: 10px; }

.feature h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
}

.feature p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
}

/* ── VISUAL STRIP ──────────────────────────────────────────────────────────── */
#visual {
  position: relative;
  height: 65vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  contain: layout;
}

#visual-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.visual-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 48px;
}

.visual-label {
  font-size: 10px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.visual-content h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}

.visual-content p {
  font-size: 15px;
  line-height: 1.8;
  /* color: var(--text-dim); */
  color       : #ffffffdd;
}

/* ── HOW IT WORKS ──────────────────────────────────────────────────────────── */
#how {
  padding: 140px 80px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.how-canvas-wrap {
  aspect-ratio: 1;
  contain: layout;
}
#how-canvas { width: 100%; height: 100%; display: block; }

.how-text {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.how-text h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-num {
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--red);
  font-weight: 700;
  padding-top: 2px;
  flex-shrink: 0;
}

.step-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.step-body p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  #story { height: auto; min-height: var(--story-height, 480px); }

  .story-content { padding: 32px 24px 40px; }


  #intro { padding: 72px 24px; }

  .feature { padding: 36px 24px; gap: 24px; }

  .visual-content { 
    padding: 0 32px; 
    text-shadow: 0 1px 12px rgba(0,0,0,.8), 0 2px 32px rgba(0,0,0,.5);
  }

  #how {
    grid-template-columns: 1fr;
    padding: 80px 24px;
    gap: 48px;
  }
}