.ligne-page {
  --ligne-paper: #f2efe9;
  --ligne-paper-deep: #e5e0d7;
  --ligne-ink: #171717;
  display: block;
  flex-grow: 1;
  width: 100%;
  overflow: clip;
  background: var(--ligne-paper);
  color: var(--ligne-ink);
  font-family: 'Onest', 'Gilroy', sans-serif;
  font-size: 16px;
  line-height: 1.35;
}

.ligne-page a { color: inherit; }

.ligne-kicker {
  font-family: 'Onest', 'Gilroy', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .19em;
}

.ligne-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #a9a69e;
  color: #fff;
}

.ligne-hero__media,
.ligne-hero__media img,
.ligne-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ligne-hero__media img {
  object-fit: cover;
  object-position: center;
}

.ligne-hero__shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .24) 0, transparent 23%),
    linear-gradient(0deg, rgba(0, 0, 0, .64) 0, rgba(0, 0, 0, .12) 49%, transparent 70%);
  pointer-events: none;
}

.ligne-hero__copy {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 4vw, 72px);
  bottom: clamp(46px, 7vh, 88px);
  width: min(990px, calc(100vw - 48px));
}

.ligne-hero__copy h1 {
  max-width: 13em;
  margin: 24px 0 20px;
  font-family: 'TT Ramillas Trl', 'CC Display', Georgia, serif !important;
  font-size: clamp(54px, 5.7vw, 110px);
  font-weight: 200;
  line-height: .86;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.ligne-hero__lead {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: clamp(17px, 1.25vw, 24px);
  font-weight: 300;
}

.ligne-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  padding: 0 0 8px;
  overflow: hidden;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .18em;
}

.ligne-link span { font-size: 16px; }
.ligne-link--light { color: #fff !important; }

.ligne-hero__scroll {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 4vw, 72px);
  bottom: clamp(46px, 7vh, 88px);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: .2em;
}

.ligne-hero__scroll i {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  place-items: center;
  font-style: normal;
  font-size: 16px;
}

.ligne-intro {
  min-height: 82svh;
  padding: clamp(96px, 12vw, 210px) clamp(24px, 4vw, 72px);
  background: var(--ligne-paper);
}

.ligne-intro h2 {
  margin-top: 24px;
  font-family: 'TT Ramillas Trl', 'CC Display', Georgia, serif !important;
  font-size: clamp(86px, 14vw, 260px);
  font-weight: 200;
  line-height: .77;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.ligne-intro > p:last-child {
  margin-top: 46px;
  padding-left: 52%;
  font-size: clamp(17px, 1.35vw, 26px);
  letter-spacing: .08em;
}

.ligne-product {
  position: relative;
  background: var(--ligne-paper);
}

.ligne-product:nth-of-type(even) { background: var(--ligne-paper-deep); }

.ligne-product__copy {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, .78fr);
  gap: clamp(48px, 8vw, 140px);
  padding: clamp(92px, 8vw, 144px) clamp(24px, 4vw, 72px) clamp(52px, 5vw, 88px);
  align-items: end;
}

.ligne-product__identity {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
}

.ligne-product__identity > span {
  padding-top: 12px;
  font-size: 12px;
  letter-spacing: .17em;
}

.ligne-product__identity h2 {
  max-width: 11em;
  font-family: 'TT Ramillas Trl', 'CC Display', Georgia, serif !important;
  font-size: clamp(58px, 5.65vw, 108px);
  font-weight: 200;
  line-height: .86;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.ligne-product__text {
  max-width: 560px;
  padding-bottom: 5px;
  font-size: clamp(17px, 1.22vw, 22px);
  font-weight: 300;
  line-height: 1.38;
}

.ligne-product__description p + p { display: none; }
.ligne-product__text .ligne-link { margin-top: 30px; }

.ligne-product__scene {
  --ligne-progress: 0;
  position: relative;
  height: 166svh;
  background: inherit;
}

.ligne-product__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.ligne-product__image {
  position: absolute;
  overflow: hidden;
  background: #faf8f5;
  box-shadow: 0 20px 70px rgba(26, 22, 16, .08);
  will-change: transform;
}

.ligne-product__image img {
  width: 100%;
  height: 100%;
  display: block;
}

.ligne-product__image--primary {
  z-index: 1;
  top: 8svh;
  left: clamp(24px, 4vw, 72px);
  width: min(78vw, 1490px);
  height: 78svh;
  transform: translate3d(0, calc((.5 - var(--ligne-progress)) * 14svh), 0);
}

.ligne-product__image--primary img {
  padding: clamp(24px, 4vw, 72px);
  object-fit: contain;
}

.ligne-product__image--secondary {
  z-index: 2;
  top: 25svh;
  right: clamp(24px, 4vw, 72px);
  width: min(36vw, 690px);
  height: 58svh;
  transform: translate3d(0, calc((1 - var(--ligne-progress)) * 58svh - 3svh), 0);
}

.ligne-product__image--secondary img { object-fit: cover; }

.ligne-product:nth-of-type(even) .ligne-product__image--primary {
  right: clamp(24px, 4vw, 72px);
  left: auto;
}

.ligne-product:nth-of-type(even) .ligne-product__image--secondary {
  right: auto;
  left: clamp(24px, 4vw, 72px);
}

.ligne-product__counter {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 4vw, 72px);
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .14em;
}

.ligne-product__counter i {
  width: 44px;
  height: 1px;
  background: currentColor;
  opacity: .35;
}

.ligne-outro {
  display: flex;
  min-height: 78svh;
  padding: clamp(96px, 12vw, 210px) clamp(24px, 4vw, 72px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: #181818;
  color: #fff;
}

.ligne-outro h2 {
  max-width: 8.5em;
  margin: 24px 0 46px;
  font-family: 'TT Ramillas Trl', 'CC Display', Georgia, serif !important;
  font-size: clamp(72px, 10vw, 190px);
  font-weight: 200;
  line-height: .8;
  letter-spacing: -.045em;
}

@media (max-width: 900px) {
  .ligne-hero__copy { bottom: 42px; }
  .ligne-hero__scroll { display: none; }

  .ligne-intro {
    min-height: 62svh;
    padding-top: 130px;
  }

  .ligne-intro h2 {
    font-size: clamp(70px, 13vw, 120px);
    white-space: normal;
  }

  .ligne-intro > p:last-child { padding-left: 0; }

  .ligne-product__copy {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: 0;
    padding-top: 90px;
    padding-bottom: 56px;
  }

  .ligne-product__text {
    max-width: 720px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 66px;
  }

  .ligne-product__image--primary { width: calc(100vw - 48px); }
  .ligne-product__image--secondary { width: 47vw; }
}

@media (max-width: 640px) {
  .ligne-page { font-size: 15px; }

  .ligne-kicker {
    font-size: 11px;
    line-height: 1.2;
  }

  .ligne-hero {
    min-height: 100svh;
    background: #aaa79f;
  }

  .ligne-hero__media img {
    object-fit: cover;
    object-position: center top;
  }

  .ligne-hero__shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .25) 0, transparent 18%),
      linear-gradient(0deg, rgba(0, 0, 0, .7) 0, rgba(0, 0, 0, .28) 34%, transparent 61%);
  }

  .ligne-hero__copy {
    left: 20px;
    bottom: 38px;
    width: calc(100vw - 40px);
  }

  .ligne-hero__copy h1 {
    max-width: none;
    margin: 18px 0 18px;
    font-size: clamp(38px, 10vw, 52px);
    line-height: .9;
  }

  .ligne-hero__lead {
    max-width: 340px;
    margin-bottom: 26px;
    font-size: 15px;
    line-height: 1.25;
  }

  .ligne-link {
    min-height: 34px;
    font-size: 11px;
  }

  .ligne-intro {
    min-height: 62svh;
    padding: 96px 20px 80px;
  }

  .ligne-intro h2 {
    margin-top: 18px;
    font-size: 23vw;
    line-height: .78;
    overflow-wrap: anywhere;
  }

  .ligne-intro > p:last-child {
    margin-top: 32px;
    font-size: 14px;
  }

  .ligne-product__copy {
    gap: 28px;
    padding: 76px 20px 44px;
  }

  .ligne-product__identity {
    grid-template-columns: 30px 1fr;
    gap: 8px;
  }

  .ligne-product__identity > span {
    padding-top: 7px;
    font-size: 10px;
  }

  .ligne-product__identity h2 {
    max-width: 11em;
    font-size: clamp(45px, 13.5vw, 64px);
    line-height: .86;
  }

  .ligne-product__text {
    padding-left: 38px;
    font-size: 15px;
    line-height: 1.4;
  }

  .ligne-product__text .ligne-link { margin-top: 30px; }

  .ligne-product__scene { height: 158svh; }

  .ligne-product__image--primary {
    top: 11svh;
    left: 16px;
    right: auto;
    width: calc(100vw - 32px);
    height: 64svh;
    transform: translate3d(0, calc((.5 - var(--ligne-progress)) * 12svh), 0);
  }

  .ligne-product__image--primary img { padding: 18px; }

  .ligne-product__image--secondary {
    top: 31svh;
    right: 16px;
    left: auto;
    width: 76vw;
    height: 49svh;
    transform: translate3d(0, calc((1 - var(--ligne-progress)) * 60svh - 2svh), 0);
  }

  .ligne-product:nth-of-type(even) .ligne-product__image--primary {
    right: 16px;
    left: auto;
  }

  .ligne-product:nth-of-type(even) .ligne-product__image--secondary {
    right: auto;
    left: 16px;
  }

  .ligne-product__counter {
    right: 18px;
    bottom: 22px;
  }

  .ligne-outro {
    min-height: 68svh;
    padding: 96px 20px;
  }

  .ligne-outro h2 {
    margin: 20px 0 38px;
    max-width: calc(100vw - 40px);
    font-size: 16vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ligne-product__scene { height: 105svh; }
  .ligne-product__image--primary,
  .ligne-product__image--secondary { transform: none; }
}

