.story-hero .hero__media {
  background-image: url("../assets/images/story-main-banner.webp");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.story-hero .hero__overlay {
  background: rgba(25, 15, 10, 0.32);
}

.story-hero {
  min-height: 72svh;
}

.story-hero__inner {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.story-hero__inner::before,
.story-hero__inner::after {
  width: min(108px, 28vw);
}

.story-hero__eyebrow {
  margin: 0;
  color: rgba(255, 250, 244, 0.86);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.story-hero h1 {
  max-width: 760px;
  font-size: 76px;
  line-height: 0.96;
}

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

.story-intro h2,
.founders-panel h2,
.legacy-section h2,
.timeline-band h2,
.image-led h2,
.story-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 43px;
  font-weight: 600;
  line-height: 1.05;
}

.story-intro__copy p,
.founders-panel p,
.legacy-section p,
.timeline-list p,
.image-led p {
  color: var(--muted);
}

.founders-panel {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 42px;
  align-items: stretch;
  padding: 0 0 84px;
  border-bottom: 1px solid var(--line);
}

.founders-panel__image {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 24px 70px rgba(56, 34, 23, 0.14);
}

.founders-panel__image img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.founders-panel__content {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 44px;
  background: rgba(255, 253, 249, 0.98);
  border: 1px solid rgba(196, 163, 109, 0.34);
  border-radius: 4px;
  box-shadow: 0 22px 72px rgba(56, 34, 23, 0.1);
}

.founders-panel__content p {
  margin: 0;
}

.values {
  padding-top: 84px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(74, 43, 28, 0.16);
  border-radius: 4px;
  background: rgba(74, 43, 28, 0.16);
}

.values-grid article {
  min-height: 210px;
  padding: 24px;
  background: rgba(255, 253, 249, 0.96);
}

.values-grid span {
  display: block;
  margin-bottom: 30px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
}

.values-grid h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.05;
}

.values-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.legacy-section {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 45px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.legacy-section__content {
  display: grid;
  gap: 14px;
  padding-right: 28px;
  border-right: 1px solid rgba(196, 163, 109, 0.55);
}

.legacy-section__content p {
  margin: 0;
}

.legacy-section__image {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 24px 70px rgba(56, 34, 23, 0.14);
}

.legacy-section__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.timeline-band {
  background:
    linear-gradient(135deg, #2a1a13 0%, #4a2b1c 100%);
  color: var(--white);
}

.timeline-band__inner {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 44px;
  padding: 62px 0;
}

.timeline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-list li {
  padding: 24px;
  border: 1px solid rgba(255, 250, 244, 0.18);
  border-radius: 4px;
  background: rgba(255, 250, 244, 0.06);
}

.timeline-list span {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
}

.timeline-list p {
  margin-bottom: 0;
  color: rgba(255, 250, 244, 0.76);
}

.image-led {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 45px;
  align-items: center;
}

.image-led__media {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 24px 70px rgba(56, 34, 23, 0.14);
}

.image-led__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.image-led__content {
  display: grid;
  gap: 14px;
}

.image-led__content p {
  margin: 0;
}

.story-cta {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 74px 20px;
  background: var(--earth-dark);
  color: var(--white);
  text-align: center;
}

.story-cta h2 {
  max-width: 680px;
}

@media (max-width: 900px) {
  .story-hero h1 {
    font-size: 58px;
  }

  .story-intro__grid,
  .founders-panel,
  .legacy-section,
  .timeline-band__inner,
  .image-led {
    grid-template-columns: 1fr;
  }

  .founders-panel {
    padding-bottom: 64px;
  }

  .founders-panel__content,
  .legacy-section__content {
    padding: 28px;
  }

  .legacy-section__content {
    border-right: 0;
    border-left: 1px solid rgba(196, 163, 109, 0.55);
  }

  .values-grid,
  .timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .story-hero {
    min-height: 66svh;
  }

  .story-hero h1 {
    font-size: 42px;
  }

  .story-intro h2,
  .founders-panel h2,
  .legacy-section h2,
  .timeline-band h2,
  .image-led h2,
  .story-cta h2 {
    font-size: 29px;
  }

  .founders-panel {
    width: min(100% - 28px, 1040px);
  }

  .founders-panel__image img {
    min-height: 280px;
  }

  .values-grid,
  .timeline-list {
    grid-template-columns: 1fr;
  }

  .values-grid article {
    min-height: auto;
  }

  .timeline-band__inner {
    width: min(100% - 28px, 1040px);
    padding: 50px 0;
  }

  .story-cta {
    padding: 58px 20px;
  }
}
