/* Story — editorial brand page. Scoped to .page-story / .story-* */

.page-story .site-head {
  background: var(--cream);
  color: var(--ink);
  border-bottom-color: var(--line-soft);
}

/* ---------- opening ---------- */

.story-open {
  padding-top: calc(var(--head-h) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
}

.story-open__inner {
  max-width: 42rem;
}

.story-open__greet {
  margin-top: 1.75rem;
  font-family: var(--display);
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.story-open h1 {
  margin-top: 0.45rem;
}

.story-open__lede {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

/* Keep strip images visible even when sibling text is revealing */
.page-story .strip__item img {
  background: var(--cream-deep);
}

/* ---------- name ---------- */

.story-name__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.story-name__copy {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: 0.35rem;
}

.story-name__copy > p {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 42ch;
}

/* ---------- quotes ---------- */

.story-quote {
  margin: 0;
  padding: 0;
  border: 0;
  max-width: 38ch;
}

.story-quote p {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.story-quote footer {
  margin-top: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.story-quote--wide {
  max-width: 52ch;
}

.story-quote--offset {
  margin-left: clamp(0rem, 8vw, 6rem);
  max-width: 34ch;
}

/* ---------- gap ---------- */

.story-gap__inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.story-gap__intro {
  max-width: 36rem;
}

.story-gap__intro h2 {
  margin-top: 0.85rem;
}

.story-gap__quotes {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: 0.5rem;
  border-top: 1px solid var(--line-soft);
}

@media (min-width: 900px) {
  .story-gap__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(3rem, 6vw, 6rem);
  }

  .story-gap__intro {
    position: sticky;
    top: calc(var(--head-h) + 3rem);
    max-width: none;
  }

  .story-gap__quotes {
    padding-top: 0;
    border-top: 0;
  }

  .story-quote--offset {
    margin-left: 0;
    padding-left: clamp(1.5rem, 3vw, 3rem);
    border-left: 1px solid var(--line-soft);
  }
}

/* ---------- makes ---------- */

.story-makes .section__head .lede {
  max-width: 36ch;
  margin: 0;
}

.story-makes__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.story-figure {
  margin: 0;
}

.story-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--cream-deep);
}

.story-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.story-makes__list {
  display: grid;
  gap: 1.75rem;
  padding-top: 0.25rem;
}

.story-makes__list h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.45rem;
}

.story-makes__list article p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 38ch;
}

.story-makes__pull {
  margin-top: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 300;
  line-height: 1.4;
  max-width: 32ch;
}

.story-makes__attr {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: -0.85rem;
}

.story-craft {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line-soft);
}

.story-craft__head {
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.story-craft__head h3 {
  margin-top: 0.75rem;
}

.story-craft__head .lede {
  margin-top: 1rem;
}

/* ---------- values ---------- */

.story-values__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.story-values__inner .lede {
  margin-top: 1.1rem;
}

.story-values__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.story-values__list li {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.story-values__list li:nth-child(odd) {
  padding-right: 1.25rem;
}

.story-values__list li:nth-child(even) {
  padding-left: 1.25rem;
  border-left: 1px solid var(--line-soft);
}

/* ---------- for ---------- */

.story-for__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.story-for__copy {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
}

.story-for__copy > p {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 42ch;
}

.story-for__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.story-figure--pair img {
  aspect-ratio: 4 / 3;
}

.story-figure--pair figcaption {
  justify-content: flex-start;
}

/* ---------- going ---------- */

.story-going__inner {
  max-width: 52rem;
}

.story-going__inner h2 {
  margin-top: 0.85rem;
}

.story-going__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.story-going__cols p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.story-going__line {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

/* ---------- close ---------- */

.story-close {
  background: var(--cream-deep);
  border-top: 1px solid var(--line-soft);
}

.story-close__inner {
  max-width: 40rem;
}

.story-close__inner h2 {
  margin-top: 0.65rem;
}

.story-close__inner .lede {
  margin-top: 1.25rem;
}

.story-close__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.25rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.story-close__actions .btn {
  min-width: 14rem;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .story-name__grid,
  .story-makes__layout,
  .story-values__inner,
  .story-for__grid,
  .story-going__cols {
    grid-template-columns: 1fr;
  }

  .story-quote--offset {
    margin-left: 0;
  }

  .story-for__media {
    grid-template-columns: 1fr;
  }

  .story-values__list li:nth-child(odd),
  .story-values__list li:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .story-values__list {
    grid-template-columns: 1fr;
  }

  .story-figure figcaption {
    flex-direction: column;
    gap: 0.25rem;
  }

  .story-close__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
