.story-page {
  position: relative;
  width: 100%;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98)),
    var(--selko-pattern-light);
  background-size: auto, min(880px, 100vw) auto;
  color: #11100e;
}

.story-shell {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.story-eyebrow {
  margin: 0 0 16px;
  color: #2e4d3f;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.story-button {
  min-width: 178px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  border: 1px solid rgba(18, 15, 12, 0.9);
  border-radius: 999px;
  background: #11100e;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.story-button:hover,
.story-button:focus-visible {
  transform: translateY(-2px);
  background: #2e4d3f;
  border-color: #2e4d3f;
  color: #fff;
}

.story-button--light {
  background: #fff;
  color: #11100e;
  border-color: rgba(46, 77, 63, 0.45);
}

.story-hero {
  min-height: min(880px, calc(100dvh - var(--header-height)));
  display: grid;
  align-items: stretch;
  padding: clamp(22px, 4vw, 58px) 0;
}

.story-hero__shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 74px);
}

.story-hero__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: clamp(26px, 4vw, 54px);
  border: 1px solid rgba(46, 77, 63, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 251, 248, 0.86)),
    var(--selko-pattern-light);
  box-shadow: 0 24px 70px rgba(25, 18, 12, 0.1);
}

.story-hero__copy h1,
.story-text-card h2,
.story-media-text__copy h2,
.story-timeline__heading h2,
.story-video-block__copy h2,
.story-cta__copy h2 {
  margin: 0;
  color: #100d0a;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.story-hero__copy h1 {
  max-width: 680px;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  line-height: 1.2;
}

.story-hero__copy > p:not(.story-eyebrow) {
  max-width: min(520px, 100%);
  margin: 24px 0 0;
  color: rgba(17, 16, 14, 0.72);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.75;
  overflow-wrap: break-word;
  white-space: normal;
}

.story-hero__media {
  position: relative;
  height: clamp(520px, 74vh, 760px);
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #080706;
  box-shadow: 0 30px 90px rgba(16, 12, 8, 0.16);
}

.story-hero__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0) 48%);
  content: "";
  pointer-events: none;
}

.story-hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.story-section {
  padding: clamp(54px, 8vw, 104px) 0;
}

.story-text-card {
  max-width: 880px;
  padding: clamp(30px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(46, 77, 63, 0.28);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 60px rgba(22, 17, 12, 0.07);
}

.story-text-card h2,
.story-media-text__copy h2,
.story-timeline__heading h2,
.story-video-block__copy h2,
.story-cta__copy h2 {
  font-size: clamp(1.4rem, 2.4vw, 2.3rem);
  line-height: 1.3;
}

.story-richtext {
  min-width: 0;
  max-width: 100%;
  margin-top: 24px;
  color: rgba(17, 16, 14, 0.72);
  font-size: clamp(1rem, 1.28vw, 1.12rem);
  line-height: 1.85;
  overflow-wrap: anywhere;
  white-space: normal;
}

.story-richtext p,
.story-video-block__copy p,
.story-cta__copy p,
.story-timeline__heading > p:not(.story-eyebrow) {
  margin: 0 0 16px;
}

.story-richtext * {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.story-richtext p:last-child,
.story-video-block__copy p:last-child,
.story-cta__copy p:last-child {
  margin-bottom: 0;
}

.story-richtext a {
  color: #2e4d3f;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.story-media-text {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}

.story-media-text--reverse .story-media-text__media {
  order: 2;
}

.story-media-text--reverse .story-media-text__copy {
  order: 1;
}

.story-media-text__media,
.story-video-block__media,
.story-cta__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #0a0908;
}

.story-media-text__media {
  height: 100%;
  box-shadow: 0 26px 74px rgba(16, 12, 8, 0.13);
}

.story-media-text__media img,
.story-media-text__media video,
.story-media-text__media iframe,
.story-video-block__media video,
.story-video-block__media iframe,
.story-cta__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.story-media-text__media--embed,
.story-video-block__media--embed {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
}

.story-media-text__media--embed iframe,
.story-video-block__media--embed iframe {
  border: 0;
}

.story-page .product-gallery__main {
  position: relative;
  height: clamp(560px, 65vw, 790px);
  min-height: 0;
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: clamp(26px, 3vw, 42px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
}

.story-page .product-gallery__main--video {
  height: min(clamp(420px, 58vw, 720px), calc(100dvh - var(--header-height) - 88px));
  min-height: 0;
  max-height: calc(100dvh - var(--header-height) - 88px);
  align-self: start;
  background: #050505;
}

.story-page .product-gallery__main--video::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 34%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
  content: "";
  opacity: 0.72;
  pointer-events: none;
}

.story-page .product-gallery__main img,
.story-page .product-gallery__main video {
  display: block;
  box-sizing: border-box;
  width: auto;
  max-width: min(72%, 440px);
  height: auto;
  max-height: min(88%, 720px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 34px 34px rgba(0, 0, 0, 0.34));
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 180ms ease, transform 240ms ease, filter 240ms ease;
}

.story-page .product-gallery__main video {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #050505;
  filter: none;
}

.story-page .product-gallery__main--video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

.story-page .product-gallery__main.is-video-paused video {
  filter: brightness(0.82) saturate(0.92);
}

.story-page .product-gallery__main [hidden] {
  display: none;
}

.story-page .product-gallery__video-preview {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  background: #050505;
  padding: 0;
  cursor: pointer;
}

.story-page .product-gallery__video-preview[hidden] {
  display: none;
}

.story-page .product-gallery__video-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #050505;
  filter: brightness(0.82) saturate(0.92);
}

.story-page .product-gallery__video-preview::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 34%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.52));
  content: "";
  pointer-events: none;
}

.story-page .product-gallery__video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: clamp(74px, 7vw, 96px);
  height: clamp(74px, 7vw, 96px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #090807;
  cursor: pointer;
  pointer-events: none;
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.34);
  transform: translate(-50%, -50%) scale(1);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  backdrop-filter: blur(12px);
}

.story-page .product-gallery__video-play::before {
  display: block;
  width: clamp(20px, 2vw, 27px);
  height: clamp(23px, 2.3vw, 31px);
  margin-left: 6px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  content: "";
}

.story-page .product-gallery__video-preview:hover .product-gallery__video-play,
.story-page .product-gallery__video-preview:focus-visible .product-gallery__video-play {
  background: #fff;
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%) scale(1.04);
}

.story-media-text__copy {
  min-width: 0;
  padding: clamp(24px, 4vw, 46px) 0;
}

.story-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  width: 100%;
}

.story-image-pair__item {
  position: relative;
  height: clamp(480px, 66vw, 780px);
  margin: 0;
  overflow: hidden;
  background: #11100e;
}

.story-image-pair__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.story-image-pair__item figcaption {
  position: absolute;
  left: clamp(18px, 3vw, 38px);
  bottom: clamp(18px, 3vw, 34px);
  max-width: min(360px, calc(100% - 36px));
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.88);
  color: #11100e;
  font-size: 0.88rem;
  line-height: 1.55;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.story-section--quote {
  padding: clamp(70px, 10vw, 130px) 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(46, 77, 63, 0.16), rgba(46, 77, 63, 0) 42%),
    #080706;
  color: #fff;
}

.story-quote {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.story-quote blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.6rem, 3.2vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.25;
}

.story-quote figcaption {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-section--timeline {
  background:
    linear-gradient(180deg, rgba(249, 252, 250, 0.88), rgba(255, 255, 255, 0.96)),
    var(--selko-pattern-light);
  background-size: auto, min(840px, 100vw) auto;
}

.story-timeline__heading {
  max-width: 760px;
}

.story-timeline__heading > p:not(.story-eyebrow) {
  margin-top: 20px;
  color: rgba(17, 16, 14, 0.68);
  font-size: 1.05rem;
  line-height: 1.75;
}

.story-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(34px, 5vw, 64px);
}

.story-timeline::before {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(46, 77, 63, 0.35);
  content: "";
}

.story-timeline__item {
  position: relative;
  padding: 64px 22px 24px;
  border: 1px solid rgba(46, 77, 63, 0.24);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 46px rgba(22, 17, 12, 0.06);
}

.story-timeline__item::before {
  position: absolute;
  top: 17px;
  left: 22px;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #2e4d3f;
  box-shadow: 0 0 0 1px rgba(46, 77, 63, 0.45);
  content: "";
}

.story-timeline__item p {
  margin: 0 0 10px;
  color: #2e4d3f;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-timeline__item h3 {
  margin: 0 0 12px;
  color: #100d0a;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.5;
}

.story-timeline__item span {
  display: block;
  color: rgba(17, 16, 14, 0.68);
  font-size: 0.92rem;
  line-height: 1.65;
}

.story-video-block {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(26px, 5vw, 60px);
  align-items: center;
}

.story-video-block__copy p,
.story-cta__copy p {
  max-width: 100%;
  margin-top: 20px;
  color: rgba(17, 16, 14, 0.68);
  font-size: 1.02rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.story-video-block__media:not(.story-video-block__media--video):not(.story-video-block__media--embed) {
  height: min(clamp(420px, 58vw, 720px), calc(100dvh - var(--header-height) - 88px));
  aspect-ratio: auto;
  box-shadow: 0 28px 78px rgba(16, 12, 8, 0.14);
}

.story-video-block__media--video {
  box-shadow: 0 28px 78px rgba(16, 12, 8, 0.14);
}

.story-video-block__caption {
  grid-column: 2;
  margin: -36px 0 0;
  color: rgba(17, 16, 14, 0.55);
  font-size: 0.82rem;
  line-height: 1.5;
}

.story-section--cta {
  padding-bottom: clamp(72px, 10vw, 130px);
}

.story-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(26px, 5vw, 64px);
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid rgba(46, 77, 63, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 251, 248, 0.9)),
    var(--selko-pattern-light);
  box-shadow: 0 24px 70px rgba(22, 17, 12, 0.09);
}

.story-cta__media {
  aspect-ratio: 1 / 1;
}

@media (max-width: 1020px) {
  .story-hero__shell,
  .story-media-text,
  .story-video-block,
  .story-cta {
    grid-template-columns: 1fr;
  }

  .story-hero__media {
    min-height: 520px;
  }

  .story-media-text--reverse .story-media-text__media,
  .story-media-text--reverse .story-media-text__copy {
    order: initial;
  }

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

  .story-video-block__caption {
    grid-column: auto;
    margin-top: -12px;
  }
}

@media (max-width: 760px) {
  .story-shell,
  .story-hero__shell {
    width: min(100% - 28px, 560px);
  }

  .story-hero {
    min-height: 0;
    padding: 20px 0 42px;
  }

  .story-hero__copy,
  .story-text-card,
  .story-cta {
    padding: 24px;
  }

  .story-hero__copy h1 {
    font-size: clamp(1.35rem, 6vw, 2rem);
    line-height: 1.22;
  }

  .story-hero__copy > p:not(.story-eyebrow) {
    max-width: 280px;
    font-size: 0.8rem;
    line-height: 1.7;
  }

  .story-richtext,
  .story-video-block__copy p,
  .story-cta__copy p {
    max-width: 280px;
    font-size: 0.8rem;
    line-height: 1.72;
  }

  .story-timeline__heading > p:not(.story-eyebrow) {
    font-size: 0.84rem;
    line-height: 1.68;
  }

  .story-timeline__item h3 {
    font-size: 1rem;
    line-height: 1.45;
  }

  .story-timeline__item span {
    font-size: 0.8rem;
    line-height: 1.62;
  }

  .story-hero__media,
  .story-media-text__media,
  .story-image-pair__item {
    height: 360px;
  }

  .story-page .product-gallery__main {
    height: min(460px, 72vh);
    max-height: calc(100dvh - var(--header-height) - 96px);
    min-height: 0;
    border-radius: 26px;
  }

  .story-page .product-gallery__main--video {
    height: min(460px, calc(100dvh - var(--header-height) - 116px));
    max-height: calc(100dvh - var(--header-height) - 116px);
  }

  .story-page .product-gallery__main img,
  .story-page .product-gallery__main video {
    width: auto;
    max-width: calc(100% - 72px);
    height: auto;
    max-height: calc(100% - 84px);
    object-fit: contain;
    object-position: center;
  }

  .story-page .product-gallery__main--video video {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    padding: 0;
  }

  .story-section {
    padding: 44px 0;
  }

  .story-text-card h2,
  .story-media-text__copy h2,
  .story-timeline__heading h2,
  .story-video-block__copy h2,
  .story-cta__copy h2 {
    font-size: clamp(1.2rem, 5.5vw, 1.85rem);
    line-height: 1.3;
  }

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

  .story-timeline::before {
    display: none;
  }

  .story-quote blockquote {
    font-size: clamp(1.3rem, 6.5vw, 2.1rem);
    line-height: 1.28;
  }

  .story-video-block__caption {
    font-size: 0.76rem;
  }
}
