/* Page Mon histoire — noir, vert, blanc. */

.story-page {
  background: #fff;
  color: #171916;
}

.story-page [id] { scroll-margin-top: 96px; }

.story-hero {
  padding: 48px 0 56px;
  background: #fff;
  border-bottom: 1px solid #c5d1c7;
}

.story-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.story-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #6e8b7c;
}

.story-hero h1 {
  margin: 12px 0 18px;
  max-width: 10ch;
  color: #171916;
}

.story-lead {
  max-width: 42ch;
  margin: 0 0 20px;
  line-height: 1.65;
  color: #171916;
  overflow-wrap: break-word;
}

.story-sign {
  margin: 0 0 24px;
  max-width: 26ch;
  font-family: "Newsreader", "Iowan Old Style", Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.4;
  color: #171916;
}

.story-photo { margin: 0; }

.story-photo img {
  display: block;
  width: 390px;
  max-width: 100%;
  max-height: 550px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 52% 12%;
}

.story-block {
  padding: 64px 0;
  background: #fff;
}

.story-block h2,
.story-green h2,
.story-dark h2 {
  margin: 10px 0 0;
  max-width: 16ch;
}

.story-approach {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.story-copy {
  max-width: 48ch;
  margin: 0 0 16px;
  line-height: 1.7;
  color: #171916;
  overflow-wrap: break-word;
}

.story-highlight {
  margin: 24px 0 0;
  padding-top: 20px;
  max-width: 34ch;
  border-top: 1px solid #6e8b7c;
  font-family: "Newsreader", "Iowan Old Style", Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.4;
}

.story-time {
  list-style: none;
  position: relative;
  margin: 36px 0 0;
  padding: 0 0 0 0;
}

.story-time::before {
  content: "";
  position: absolute;
  left: 6.4rem;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: #6e8b7c;
}

.story-time li {
  display: grid;
  grid-template-columns: 6.2rem minmax(0, 1fr);
  gap: 36px;
  padding: 18px 0;
}

.story-time li.is-major time { color: #171916; }

.story-time li.is-major h3 { font-weight: 500; }

.story-time time {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6e8b7c;
  font-weight: 600;
  padding-top: 4px;
}

.story-time h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  font-weight: 400;
}

.story-time p {
  margin: 0;
  max-width: 48ch;
  line-height: 1.55;
}

.story-domains {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid #c5d1c7;
}

.story-domains li {
  padding: 28px 28px 8px 0;
  border-right: 1px solid #c5d1c7;
}

.story-domains li:last-child {
  padding-right: 0;
  padding-left: 28px;
  border-right: 0;
}

.story-domains li:nth-child(2) { padding-left: 28px; }

.story-domains h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 400;
}

.story-domains p {
  margin: 0 0 16px;
  max-width: 28ch;
  line-height: 1.6;
}

.story-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid #6e8b7c;
  color: #6e8b7c;
}

.story-more:focus-visible,
.story-page .btn:focus-visible {
  outline: 1px solid #171916;
  outline-offset: 3px;
}

.story-green {
  padding: 64px 0;
  background: #6e8b7c;
  color: #fff;
}

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

.story-green-inner h2 {
  max-width: none;
  margin-bottom: 18px;
}

.story-green-inner .story-copy {
  max-width: none;
  margin-inline: auto;
}

.story-green .story-kicker { color: #fff; }
.story-green h2,
.story-green .story-copy,
.story-green .story-more { color: #fff; }
.story-green .story-more { border-bottom-color: #fff; }

.story-green .story-more:focus-visible {
  outline-color: #fff;
}

.story-dark {
  padding: 64px 0;
  background: #171916;
  color: #fff;
}

.story-dark-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.story-dark .story-kicker { color: #8fae96; }
.story-dark h2,
.story-dark .story-copy { color: #fff; }

.story-dark .btn-fill {
  background: #fff;
  color: #171916;
  border-color: #fff;
}

.story-dark .btn-fill:focus-visible {
  outline-color: #fff;
}

@media (max-width: 1024px) {
  .story-photo img {
    width: 340px;
    max-height: 480px;
    object-position: 52% 12%;
  }
  .story-domains {
    grid-template-columns: 1fr 1fr;
  }
  .story-domains li:last-child {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 28px;
    border-right: 0;
    border-top: 1px solid #c5d1c7;
  }
}

@media (max-width: 900px) {
  .story-approach,
  .story-dark-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .story-time::before { display: none; }
  .story-time li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
    border-bottom: 1px solid #c5d1c7;
  }
}

@media (max-width: 600px) {
  .story-domains {
    grid-template-columns: 1fr;
  }
  .story-domains li,
  .story-domains li:nth-child(2),
  .story-domains li:last-child {
    grid-column: auto;
    padding: 22px 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid #c5d1c7;
  }
}

@media (max-width: 767px) {
  .story-hero { padding: 32px 0 40px; }
  .story-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .story-photo img {
    width: 100%;
    max-width: 100%;
    height: 370px;
    max-height: 370px;
    object-position: 52% 32%;
  }
  .story-block,
  .story-green,
  .story-dark { padding: 48px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .story-page a { transition: none; }
}
