/* ============================================================
   ANNABI COOKIES — story.css
   Page-specific styles for story.html only.
   Shared tokens, reset, nav, footer → main.css.
   ============================================================ */


/* ============================================================
   HERO
   Text only. Heading only — no label, no subheading.
   Compact vertical height.
   ============================================================ */

#story-hero {
  padding-top: calc(var(--nav-height) + var(--space-12));
  padding-bottom: var(--space-12);
  background: var(--off-white);
}

.story-hero-inner h1 {
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.025em;
}


/* ============================================================
   STORY BODY
   Two columns: image left (45), copy right (55).
   Image sticky so it holds position as copy scrolls.
   ============================================================ */

#story-body {
  background: var(--white);
  padding-block: var(--space-20);
}

.story-cols {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: var(--space-16);
  align-items: start;
}

/* Image column */
.story-img {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-8));
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.story-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Copy column */
.story-copy {
  padding-top: var(--space-2);
}

.story-block {
  margin-bottom: var(--space-5);
}

.story-block p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--black);
  font-weight: 500;
}

.story-block--pull p {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.4;
  font-weight: 700;
}

/* Closing block */
.story-block--closing {
  margin-top: var(--space-5);
}

.story-block--closing p:first-child {
  margin-bottom: var(--space-2);
}

.story-signoff {
  font-size: 17px !important;
  color: var(--grey-mid) !important;
  font-weight: 500 !important;
}


/* ============================================================
   CTA
   Off-white centred band.
   ============================================================ */

#story-cta {
  background: var(--off-white);
  padding-block: var(--space-24);
}

.story-cta-inner {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
}

.story-cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.story-cta-inner p {
  font-size: 16px;
  color: var(--grey-mid);
  margin-bottom: var(--space-8);
}


/* ============================================================
   RESPONSIVE — Tablet (≤860px)
   Stack to single column. Image above copy, sticky released.
   ============================================================ */

@media (max-width: 860px) {

  .story-cols {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .story-img {
    position: static;
    border-radius: var(--radius-md);
  }

  .story-copy {
    padding-top: 0;
  }

}


/* ============================================================
   RESPONSIVE — Mobile (≤520px)
   ============================================================ */

@media (max-width: 520px) {

  #story-hero {
    padding-bottom: var(--space-10);
  }

  .story-block p {
    font-size: 16px;
  }

  .story-block--pull p {
    font-size: 20px;
  }

}
