/* ============================================================
   Section 7 — NOTRE HISTOIRE
   ============================================================ */

.story {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 132px) var(--gutter);
  background: var(--ink);
  color: var(--paper);
}

.story::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(201, 165, 90, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 34%);
}

.story-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.story-media {
  position: relative;
  min-height: 560px;
}

.story-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(243, 242, 239, 0.18);
  border-radius: var(--r-sm);
  background-image:
    linear-gradient(180deg, rgba(18, 19, 22, 0.02), rgba(18, 19, 22, 0.36)),
    url("../../img/story-workshop.png");
  background-position: 50% center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.26);
}

.story-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, transparent, rgba(18, 19, 22, 0.62));
}

.story-badge {
  position: absolute;
  right: -18px;
  bottom: 28px;
  display: grid;
  gap: 2px;
  min-width: 154px;
  padding: 18px 20px 16px;
  border: 1px solid rgba(18, 19, 22, 0.16);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 14px 14px 0 rgba(201, 165, 90, 0.86);
}

.story-badge span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink-60);
}

.story-badge strong {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
}

.story-content {
  max-width: 690px;
}

.story-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(243, 242, 239, 0.18);
  background: rgba(243, 242, 239, 0.08);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.story-title {
  max-width: 12ch;
  margin: 0 0 22px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 78px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
}

.story-lede {
  max-width: 48ch;
  margin: 0 0 22px;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  color: rgba(243, 242, 239, 0.9);
  font-family: var(--font-body);
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 500;
  line-height: 1.46;
}

.story-content p:not(.story-lede) {
  max-width: 62ch;
  margin: 0;
  color: rgba(243, 242, 239, 0.68);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.72;
}

.story-content p + p {
  margin-top: 14px;
}

.story-content strong {
  color: var(--paper);
  font-weight: 700;
}

.story-timeline {
  margin: clamp(28px, 4vw, 42px) 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(243, 242, 239, 0.18);
  border-bottom: 1px solid rgba(243, 242, 239, 0.18);
}

.story-timeline-item {
  min-height: 104px;
  padding: 18px 16px 16px;
  display: grid;
  align-content: start;
  gap: 10px;
  border-right: 1px solid rgba(243, 242, 239, 0.14);
}

.story-timeline-item:last-child {
  border-right: 0;
}

.story-year {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.story-milestone {
  color: rgba(243, 242, 239, 0.7);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.38;
}

.story-footer {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: space-between;
}

.story-signature {
  color: rgba(243, 242, 239, 0.78);
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.2;
}

@media (max-width: 1040px) {
  .story-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .story-media {
    min-height: 440px;
  }

  .story-content {
    max-width: none;
  }

  .story-title {
    max-width: 16ch;
  }
}

@media (max-width: 740px) {
  .story {
    padding: 58px 16px;
  }

  .story-media {
    min-height: 330px;
  }

  .story-badge {
    right: 16px;
    bottom: -22px;
    min-width: 132px;
    padding: 14px 16px 12px;
    box-shadow: 9px 9px 0 rgba(201, 165, 90, 0.86);
  }

  .story-badge strong {
    font-size: 38px;
  }

  .story-content {
    padding-top: 16px;
  }

  .story-title {
    max-width: 12ch;
    margin-bottom: 18px;
    font-size: 42px;
    line-height: 1;
  }

  .story-lede {
    margin-bottom: 18px;
    padding-left: 14px;
    font-size: 17px;
    line-height: 1.45;
  }

  .story-content p:not(.story-lede) {
    font-size: 14px;
    line-height: 1.62;
  }

  .story-timeline {
    margin-top: 26px;
    grid-template-columns: 1fr 1fr;
  }

  .story-timeline-item {
    min-height: 88px;
    padding: 14px 12px;
    gap: 8px;
  }

  .story-year {
    font-size: 23px;
  }

  .story-footer {
    margin-top: 22px;
  }

  .story-timeline-item:nth-child(2) {
    border-right: 0;
  }

  .story-timeline-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(243, 242, 239, 0.14);
  }
}

@media (max-width: 460px) {
  .story-media {
    min-height: 300px;
  }

  .story-title {
    font-size: 38px;
  }

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

  .story-timeline-item,
  .story-timeline-item:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(243, 242, 239, 0.14);
  }

  .story-timeline-item:last-child {
    border-bottom: 0;
  }
}
