/* Shared editorial grid for the problem, model, and member advantage. */
.narrative-section {
  --narrative-accent: linear-gradient(90deg, #ff982b, #ed39b9, #9255ff, #00d9dc);
  --narrative-rule: #999791;
  --narrative-muted: #56534f;
  padding: clamp(64px, 6vw, 100px) var(--gutter);
  background: var(--paper);
  color: var(--ink);
}

.narrative-section--dark {
  --narrative-rule: #777872;
  --narrative-muted: #dedbd4;
  background: #000000;
  color: #f5f3ee;
}

.narrative-header,
.narrative-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.narrative-header {
  column-gap: 32px;
  align-items: start;
}

.narrative-eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 28px;
  font-size: 12px;
  letter-spacing: .16em;
}

.narrative-header h2 {
  grid-column: 1 / 9;
  font-size: clamp(38px, 4.05vw, 72px);
  line-height: 1.06;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.narrative-header h2 span {
  display: block;
}

.narrative-header h2::after {
  content: '';
  display: block;
  width: min(46%, 410px);
  height: 2px;
  margin-top: 30px;
  background: var(--narrative-accent);
}

.narrative-intro {
  grid-column: 9 / -1;
  padding-top: 5px;
  font-size: clamp(18px, 1.55vw, 26px);
  line-height: 1.5;
  text-wrap: pretty;
}

.narrative-grid {
  margin-top: clamp(44px, 4.5vw, 76px);
  column-gap: clamp(32px, 4vw, 64px);
}

.narrative-card {
  position: relative;
  grid-column: span 3;
  min-width: 0;
}

.narrative-card + .narrative-card::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(-32px, -2vw, -16px);
  width: 1px;
  background: var(--narrative-rule);
}

.narrative-number {
  position: relative;
  display: block;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--narrative-rule);
  font: 400 clamp(22px, 1.9vw, 30px)/1.2 var(--mono);
  letter-spacing: .04em;
}

.narrative-number::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 52px;
  height: 2px;
  background: var(--narrative-accent);
}

.kori-type .narrative-card h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.25vw, 38px);
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.narrative-card p {
  margin-top: 24px;
  color: var(--narrative-muted);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.55;
  text-wrap: pretty;
}

.narrative-image {
  --facet: polygon(10% 0, 91% 13%, 100% 77%, 30% 100%, 0 71%);
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0 0 26px;
  background: linear-gradient(135deg, #00d9dc, #9255ff);
  clip-path: var(--facet);
}

.narrative-image--2 {
  --facet: polygon(22% 0, 94% 9%, 100% 81%, 65% 100%, 9% 95%, 0 53%);
}

.narrative-image--3 {
  --facet: polygon(10% 16%, 88% 0, 100% 64%, 90% 92%, 25% 100%, 0 73%);
}

.narrative-image--4 {
  --facet: polygon(14% 12%, 55% 0, 100% 5%, 94% 79%, 41% 100%, 6% 90%, 0 43%);
}

.narrative-image img {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  object-fit: cover;
  object-position: center 38%;
  clip-path: var(--facet);
  filter: grayscale(1);
}

@media (max-width: 1100px) {
  .narrative-header h2,
  .narrative-intro {
    grid-column: 1 / -1;
  }
  .narrative-header h2 { font-size: clamp(38px, 5.3vw, 58px); }
  .narrative-intro { margin-top: 26px; max-width: 64ch; }
  .narrative-card { grid-column: span 6; }
  .narrative-card:nth-child(odd)::before { display: none; }
  .narrative-card:nth-child(n+3) { margin-top: 40px; }
  .kori-type .narrative-card h3 { font-size: 32px; }
  .narrative-image { max-width: 440px; }
}

@media (max-width: 600px) {
  .narrative-section { padding-block: 52px; }
  .narrative-header,
  .narrative-grid { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
  .narrative-eyebrow { font-size: 10px; margin-bottom: 22px; }
  .narrative-header h2 { font-size: clamp(32px, 8.5vw, 44px); }
  .narrative-header h2 span { display: inline; }
  .narrative-header h2::after { margin-top: 24px; width: 54%; }
  .narrative-intro { font-size: 18px; }
  .narrative-grid { margin-top: 36px; }
  .narrative-card::before { display: none; }
  .narrative-card:nth-child(n) {
    grid-column: 1 / -1;
    padding: 28px 0 0;
    margin: 28px 0 0;
    border-left: 0;
    border-top: 1px solid var(--narrative-rule);
  }
  .narrative-card:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
  .narrative-number { padding-bottom: 14px; margin-bottom: 20px; }
  .kori-type .narrative-card h3 { font-size: 30px; }
  .narrative-card p { margin-top: 16px; font-size: 17px; }
}
