.journey-mast, .journey {
  --j-pine: #1e372d;
  --j-ivory: #f5f1e7;
  --j-edge: clamp(1.3rem, 4.4vw, 5.5rem);
  --j-space: clamp(4rem, 7.2vw, 8rem);
}
.journey-mast {
  position: fixed;
  inset: 0 0 auto;
  z-index: 5;
  padding-inline: var(--j-edge);
  background-color: var(--j-pine);
  color: #fffaf2;
  transition: background-color .2s ease;
}
.journey-mast.at-cover { background-color: transparent; }
body:has(.journey) [id] { scroll-margin-top: 5.5rem; }
.journey-toolbar, .journey-toolbar nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.journey-toolbar { min-height: 4.4rem; max-width: 112rem; margin-inline: auto; gap: 1rem; }
.journey-toolbar nav { gap: clamp(1.1rem, 2.2vw, 2.6rem); font-size: .92rem; }
.journey-toolbar a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.journey-logo img { width: clamp(8rem, 13.1vw, 11.4rem); height: auto; }
.journey-toolbar a:hover, .journey-link:hover { text-decoration: underline; text-underline-offset: .3em; }
.journey-book { color: var(--j-pine); background: var(--j-ivory); padding: .55rem 1.24rem; white-space: nowrap; }
.journey-toolbar .journey-book:hover { background: #fff; text-decoration: underline; }
.journey { background: var(--j-ivory); color: var(--j-pine); }
.journey h1, .journey h2 { font: 400 clamp(3.45rem, 5.6vw, 7.2rem)/.99 var(--print); letter-spacing: -.045em; }
.journey h1 em, .journey h2 em { font-weight: 400; }
.journey-opening {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--j-pine);
  color: #fffaf2;
}
.opening-photo, .opening-photo img, .opening-photo::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.opening-photo { z-index: -1; overflow: hidden; }
.opening-photo img { object-fit: cover; object-position: 55% 58%; }
.opening-photo::after {
  content: "";
  background:
    linear-gradient(180deg, rgba(8,19,15,.78), rgba(8,19,15,.3) 9%, transparent 25%),
    linear-gradient(0deg, rgba(10,23,19,.89), rgba(10,23,19,.5) 15%, transparent 47%),
    linear-gradient(90deg, rgba(13,26,21,.55), rgba(13,26,21,.24) 32%, transparent 53%);
}
.opening-side {
  align-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 7rem var(--j-edge) clamp(2rem, 5.4vh, 4rem);
}
.opening-words { max-width: 38rem; }
.opening-origin, .opening-salons p, .journey-copy .era { font-size: .875rem; line-height: 1.45; }
.opening-origin { margin-bottom: 1.1rem; }
.journey h1 { font-size: clamp(4rem, 6.65vw, 8rem); line-height: .91; }
.opening-note { margin-top: 1.1rem; font-size: clamp(1rem, 1.35vw, 1.35rem); line-height: 1.45; }
.opening-salons { border-top: 1px solid #fffaf27d; padding-top: .65rem; }
.opening-salons p { color: inherit; }
.journey-opening a:focus-visible, .journey-mast a:focus-visible { outline-color: white; }
.opening-salons div { display: flex; flex-wrap: wrap; column-gap: clamp(.85rem, 1.6vw, 2rem); }
.opening-salons a, .journey-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
}
.opening-salons a { font-size: clamp(.91rem, 1.13vw, 1.18rem); }
.opening-salons a:hover, .journey-link:hover { text-decoration-thickness: 2px; }
.journey-chapter { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: stretch; }
.journey-chapter > figure:not(.journey-pair) { min-height: 0; height: clamp(31rem, 44vw, 53rem); }
.journey-chapter > figure > img { height: 100%; width: 100%; object-fit: cover; }
.journey-copy {
  align-self: center;
  padding: clamp(2.4rem, 5.65vw, 6.5rem);
  display: grid;
  align-content: center;
  justify-items: start;
  gap: clamp(1rem, 1.9vw, 2rem);
}
.journey-copy h2 em { display: block; }
.journey-copy > p:not(.era) { max-width: 35ch; font-size: clamp(1.05rem, 1.3vw, 1.4rem); line-height: 1.53; }
.journey-link { gap: 1rem; }
.lokka { background: var(--j-pine); color: var(--j-ivory); grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.lokka > figure { grid-column: 2; grid-row: 1; }
.lokka .journey-copy { grid-column: 1; grid-row: 1; }
.lokka > figure > img { object-position: 50% 58%; }
.kanal { grid-template-columns: .86fr 1.14fr; align-items: center; gap: var(--j-edge); background: #dbe1cd; padding: var(--j-space) var(--j-edge); }
.kanal .journey-copy { padding: 0; }
.journey-pair { position: relative; padding: 0 0 14% 7%; }
.journey-pair > img:first-child { aspect-ratio: 1.5; height: auto; object-position: 48% 58%; }
.journey-pair > img:last-child { position: absolute; bottom: 0; left: 0; width: 31%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border: 5px solid #dbe1cd; }
.holte { background: #ece5d9; }
.holte > figure > img { object-position: 50% 42%; }
.journey-prints { display: grid; grid-template-columns: 1.13fr 1fr 1fr; align-items: center; gap: clamp(1.1rem, 3.4vw, 4rem); padding: var(--j-space) var(--j-edge); }
.journey-prints h2 { margin-bottom: 1.3rem; }
.journey-prints .plate a { aspect-ratio: 4 / 5; }
.journey-prints .plate img { height: 100%; width: 100%; object-fit: cover; }
.journey-prints .plate figcaption { font-size: .85rem; }
.journey-products { margin-bottom: 3.5rem; }
.journey-products summary { width: fit-content; padding: 1rem 0; cursor: pointer; }
.journey-products details > div { display: flex; align-items: center; gap: 2rem; max-width: 55rem; padding-top: 1rem; }
.journey-products img { width: 36%; max-height: 16rem; object-fit: cover; }
.footer-inner .cover-credit { font-size: .83rem; margin-top: .7rem; }
@media (max-width: 990px) and (min-width: 741px) {
  .journey-copy { padding: 2.5rem; }
  .opening-salons div { column-gap: .9rem; }
}
@media (max-width: 740px) {
  .journey, .journey-mast { --j-edge: clamp(.95rem, 5vw, 1.6rem); --j-space: 3.35rem; }
  body:has(.journey) [id] { scroll-margin-top: 4.8rem; }
  .journey-toolbar { min-height: clamp(3.5rem, 15.2vw, 3.9rem); gap: .35rem; }
  .journey-toolbar nav { gap: clamp(.7rem, 4vw, 1.4rem); font-size: .85rem; }
  .journey-toolbar .wide-link { display: none; }
  .journey-logo img { width: clamp(7rem, 32vw, 8.4rem); }
  .journey-menu { min-width: 44px; }
  .journey-book { padding: .5rem .85rem; }
  .opening-photo img { object-position: 50% 47%; }
  .opening-photo::after {
    background:
      linear-gradient(180deg, rgba(8,19,15,.78), rgba(8,19,15,.22) 12%, transparent 28%),
      linear-gradient(0deg, rgba(10,23,19,.95), rgba(10,23,19,.82) 18%, rgba(10,23,19,.42) 34%, transparent 52%);
  }
  .opening-side { display: block; padding: 6rem var(--j-edge) max(.9rem, env(safe-area-inset-bottom)); }
  .opening-origin { margin-bottom: .6rem; }
  .journey h1 { font-size: clamp(2.8rem, 12.8vw, 5.3rem); line-height: .94; }
  .opening-note { max-width: 31ch; font-size: 1rem; margin-top: .65rem; }
  .opening-salons { margin-top: 1rem; padding-top: .55rem; }
  .opening-salons div { column-gap: clamp(1.1rem, 5vw, 2.4rem); }
  .opening-salons a { font-size: .95rem; }
  .journey h2 { font-size: clamp(2.9rem, 10.7vw, 5.4rem); }
  .journey-chapter { display: flex; flex-direction: column; }
  .journey-chapter > figure:not(.journey-pair) { width: 100%; height: auto; aspect-ratio: 1.12; }
  .journey-copy, .kanal .journey-copy { width: 100%; padding: 2.3rem var(--j-edge); gap: .82rem; }
  .journey-copy h2 em { display: inline; }
  .journey-copy p:not(.era) { font-size: 1.06rem; }
  .journey-chapter > figure:not(.journey-pair) { position: relative; }
  .journey-chapter > figure:not(.journey-pair) > img { position: absolute; inset: 0; }
  .kanal { padding: 2.1rem 0 0; gap: 0; }
  .journey-pair { align-self: center; width: calc(100% - 2 * var(--j-edge)); order: -1; padding: 0 0 12% 7%; }
  .journey-pair > img:last-child { width: 30%; border-width: 4px; }
  .journey-prints { grid-template-columns: 1fr 1fr; gap: 1.3rem .65rem; }
  .journey-prints > div { grid-column: 1/-1; }
  .journey-prints h2 { margin-bottom: .15rem; }
  .journey-prints .plate a { aspect-ratio: .72; }
  .journey-products details > div { display: block; }
  .journey-products img { width: min(100%, 25rem); margin-bottom: 1rem; }
}

@media (max-width: 740px) and (max-height: 650px) {
  .opening-photo::after {
    background:
      linear-gradient(180deg, rgba(8,19,15,.8), transparent 27%),
      linear-gradient(0deg, rgba(10,23,19,.96), rgba(10,23,19,.82) 23%, rgba(10,23,19,.5) 38%, transparent 58%);
  }
  .journey h1 { font-size: clamp(2.3rem, 8vw, 3.5rem); }
  .journey h1 br { display: none; }
  .opening-note { max-width: 39ch; }
  .opening-salons { margin-top: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .journey-mast { transition: none; }
}
