/* Process chapter, rebuilt as a calm decision story. */

.story-page--process,
.story-page--process button,
.story-page--process input,
.story-page--process summary {
  font-family: var(--font-body, "Hanken Grotesk", sans-serif);
}

.story-page--process h1,
.story-page--process h2,
.story-page--process h3,
.story-hero__promise h2,
.story-approval-proof h3,
.story-production-proof h3,
.story-delivery-proof h3 {
  font-family: var(--font-display, "Hanken Grotesk", sans-serif);
}

.story-page--process .story-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.72fr);
  gap: clamp(18px, 2.5vw, 44px);
  padding-top: clamp(112px, 13vh, 154px) !important;
  color: var(--brand-paper-bright, #fbfcf8);
  background: var(--brand-ink, #10120f);
}

.story-page--process .story-hero__copy {
  max-width: 900px;
}

.story-page--process .story-hero h1 {
  max-width: 9ch;
  font-size: clamp(64px, 8vw, 142px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.07em;
}

:lang(fr) .story-page--process .story-hero h1 {
  max-width: 10.4ch;
  font-size: clamp(58px, 7.1vw, 126px);
}

.story-page--process .story-hero__lede {
  max-width: 55ch;
  color: rgba(251, 252, 248, 0.66);
}

.story-hero__promise {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(72svh, 760px);
  padding: clamp(32px, 5vw, 72px);
  color: var(--brand-paper-bright, #fbfcf8);
  background: var(--brand-cobalt, #5865ff);
}

.story-hero__promise h2 {
  max-width: 8ch;
  margin: 0 0 clamp(28px, 4vw, 58px);
  font-size: clamp(46px, 5.4vw, 92px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.story-hero__promise > p {
  max-width: 26ch;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(251, 252, 248, 0.36);
  font-family: var(--font-body, "Hanken Grotesk", sans-serif);
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  text-transform: none;
}

.story-page--process .btn-primary,
.story-page--process .btn-secondary,
.story-page--process .story-contact__button {
  min-height: 50px;
  border-radius: 999px;
  font-family: var(--font-body, "Hanken Grotesk", sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}

.story-process {
  padding-top: clamp(96px, 11vw, 176px) !important;
  background: var(--brand-paper, #f4f5f0);
}

.story-process__intro {
  grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.45fr);
  align-items: end;
  max-width: 1480px;
  margin-bottom: clamp(58px, 7vw, 108px);
}

.story-process__intro h2 {
  max-width: 10ch;
  font-size: clamp(54px, 6.4vw, 112px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.story-process__intro > p:last-child {
  max-width: 34ch;
  color: rgba(11, 12, 11, 0.62);
}

.story-process__layout {
  grid-template-columns: minmax(460px, 0.95fr) minmax(390px, 0.72fr);
  gap: clamp(50px, 7vw, 120px);
  max-width: 1480px;
}

.story-process__sticky {
  top: 96px;
}

.story-process__visual {
  height: min(68svh, 700px);
  min-height: 520px;
  border-radius: 28px;
  background: var(--brand-ink, #10120f);
  box-shadow: 0 32px 72px rgba(11, 12, 11, 0.15);
  transition: background-color 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-process-active="1"] .story-process__visual {
  background: var(--brand-cobalt, #5865ff);
}

[data-process-active="2"] .story-process__visual {
  background: var(--brand-fuchsia, #ff3d9a);
}

[data-process-active="3"] .story-process__visual {
  background: #181a18;
}

[data-process-active="4"] .story-process__visual {
  background: var(--brand-green, #9be879);
}

.story-process__proof {
  inset: 0;
  padding: clamp(28px, 4vw, 64px);
  transform: translate3d(0, 28px, 0) scale(0.985);
  transition: opacity 420ms ease, visibility 0s linear 420ms, transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-process__proof.is-active {
  transform: none;
  transition: opacity 420ms ease, visibility 0s linear 0s, transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-process__proof-caption {
  margin-top: 20px;
  color: rgba(251, 252, 248, 0.68);
  font-family: var(--font-body, "Hanken Grotesk", sans-serif);
  font-size: 15px !important;
  font-weight: 600;
  letter-spacing: -0.01em !important;
  text-transform: none;
}

.story-inbox {
  gap: 14px;
}

.story-inbox__bubble,
.story-inbox__file {
  padding: 15px 18px;
  border-radius: 20px 20px 20px 5px;
  font-family: var(--font-body, "Hanken Grotesk", sans-serif);
  font-size: clamp(15px, 1.25vw, 18px);
  letter-spacing: -0.02em;
}

.story-inbox__bubble--right {
  border-radius: 20px 20px 5px 20px;
}

.story-inbox__file {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.story-product-proof {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.62fr);
  gap: clamp(16px, 3vw, 42px);
  height: 100%;
}

.story-product-proof img {
  width: 100%;
  height: min(54svh, 560px);
  object-fit: contain;
  filter: drop-shadow(0 30px 30px rgba(11, 12, 11, 0.25));
}

.story-product-proof figcaption {
  display: block;
  color: var(--brand-paper-bright, #fbfcf8);
}

.story-product-proof figcaption strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display, "Hanken Grotesk", sans-serif);
  font-size: clamp(25px, 2.4vw, 40px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.story-product-proof figcaption p {
  margin: 0;
  color: rgba(251, 252, 248, 0.72);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.45;
}

.story-approval-proof,
.story-production-proof,
.story-delivery-proof {
  width: min(100%, 540px);
  color: var(--brand-paper-bright, #fbfcf8);
}

.story-approval-proof h3,
.story-production-proof h3,
.story-delivery-proof h3 {
  max-width: 9ch;
  margin: 0 0 30px;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.story-approval-proof ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(251, 252, 248, 0.34);
}

.story-approval-proof li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(251, 252, 248, 0.34);
  font-size: clamp(16px, 1.25vw, 19px);
}

.story-production-proof > div:not(.story-production-proof__line) {
  padding: 15px 0;
}

.story-production-proof__line {
  display: none;
}

.story-delivery-proof {
  color: var(--brand-ink, #10120f);
}

.story-delivery-proof p {
  color: rgba(11, 12, 11, 0.65);
}

.story-process__chapters {
  padding-bottom: 8svh;
}

.story-process__chapter {
  min-height: 72svh;
  padding: clamp(54px, 6vw, 94px) 0;
  opacity: 0.22;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-process__chapter.is-active {
  opacity: 1;
  transform: none;
}

.story-process__chapter h3 {
  max-width: 10ch;
  margin-bottom: 24px;
  font-size: clamp(45px, 5.2vw, 82px);
  font-weight: 700;
  line-height: 0.91;
  letter-spacing: -0.065em;
}

.story-process__chapter p {
  max-width: 41ch;
  color: rgba(11, 12, 11, 0.62);
  font-size: clamp(17px, 1.25vw, 20px);
}

.story-safety {
  color: var(--brand-paper-bright, #fbfcf8);
  background: var(--brand-ink, #10120f);
}

.story-safety__head,
.story-safety__grid {
  max-width: 1480px;
}

.story-safety__head h2 {
  max-width: 10ch;
  font-size: clamp(54px, 6.4vw, 112px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.story-safety__grid {
  gap: 12px;
  border: 0;
}

.story-safety__grid article {
  min-height: 330px;
  padding: clamp(26px, 3vw, 48px);
  border: 1px solid rgba(251, 252, 248, 0.2);
  border-radius: 24px;
}

.story-safety__grid article:nth-child(2) {
  color: var(--brand-ink, #10120f);
  background: var(--brand-green, #9be879);
  border-color: var(--brand-green, #9be879);
  transform: translateY(44px);
}

.story-safety__grid h3 {
  max-width: 10ch;
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.story-page--process .story-contact {
  color: var(--brand-ink, #10120f);
  background: var(--brand-green, #9be879);
}

.story-page--process .story-contact h2 {
  max-width: 10ch;
  font-weight: 700;
  letter-spacing: -0.065em;
}

@media (max-width: 1060px) {
  .story-page--process .story-hero {
    grid-template-columns: 1fr 0.72fr;
  }

  .story-process__layout {
    grid-template-columns: minmax(400px, 1fr) minmax(330px, 0.7fr);
  }
}

@media (max-width: 899px) {
  .story-page--process .story-hero {
    display: block;
    min-height: auto;
    padding: 116px 18px 18px !important;
  }

  .story-page--process .story-hero__copy {
    min-height: min(72svh, 700px);
    padding: 36px 4px 48px;
  }

  .story-page--process .story-hero h1,
  :lang(fr) .story-page--process .story-hero h1 {
    max-width: 9.2ch;
    font-size: clamp(52px, 15vw, 78px);
    line-height: 0.88;
  }

  .story-hero__promise {
    min-height: 54svh;
    padding: 32px 24px;
    border-radius: 22px;
  }

  .story-hero__promise h2 {
    font-size: clamp(48px, 14vw, 72px);
  }

  .story-process {
    padding: 96px 18px !important;
  }

  .story-process__intro {
    display: block;
    margin-bottom: 56px;
  }

  .story-process__intro h2 {
    max-width: 9ch;
    margin-bottom: 28px;
    font-size: clamp(50px, 14vw, 74px);
  }

  .story-process__layout {
    display: block;
  }

  .story-process__sticky {
    position: sticky;
    top: 62px;
    z-index: 15;
    margin: 0;
  }

  .story-process__visual {
    height: 42svh;
    min-height: 310px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(11, 12, 11, 0.17);
  }

  .story-process__proof {
    padding: 20px;
  }

  .story-process__chapters {
    padding-bottom: 0;
  }

  .story-process__chapter {
    min-height: 58svh;
    padding: 104px 4px 54px;
    opacity: 0.32;
  }

  .story-process__chapter h3 {
    font-size: clamp(40px, 11.5vw, 58px);
  }

  .story-product-proof {
    grid-template-columns: minmax(0, 1fr) minmax(118px, 0.55fr);
    gap: 8px;
  }

  .story-product-proof img {
    width: 100%;
    height: 34svh;
    margin: 0;
  }

  .story-product-proof figcaption strong {
    font-size: clamp(20px, 6vw, 27px);
  }

  .story-product-proof figcaption p {
    font-size: 13px;
  }

  .story-approval-proof h3,
  .story-production-proof h3,
  .story-delivery-proof h3 {
    margin-bottom: 18px;
    font-size: clamp(36px, 10.5vw, 52px);
  }

  .story-approval-proof li,
  .story-production-proof > div:not(.story-production-proof__line) {
    padding: 10px 0;
    font-size: 14px;
  }

  .story-safety {
    padding: 96px 18px 120px !important;
  }

  .story-safety__head h2 {
    font-size: clamp(50px, 14vw, 74px);
  }

  .story-safety__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .story-safety__grid article,
  .story-safety__grid article:nth-child(2) {
    min-height: 260px;
    transform: none;
  }
}

@media (max-width: 520px) {
  .story-page--process .story-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .story-page--process .btn-primary,
  .story-page--process .btn-secondary {
    width: 100%;
  }

  .story-inbox__bubble,
  .story-inbox__file {
    max-width: 88%;
    font-size: 13px;
  }

  .story-product-proof figcaption p {
    display: none;
  }
}

@media (max-width: 899px) and (orientation: landscape) {
  .story-page--process .story-hero {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    min-height: 100svh;
    padding-top: 82px !important;
  }

  .story-page--process .story-hero__copy,
  .story-hero__promise {
    min-height: calc(100svh - 104px);
  }

  .story-process__visual {
    height: 70svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-process__visual,
  .story-process__proof,
  .story-process__chapter {
    transition: none !important;
  }
}
