/* Juli’s little film. Photography supplies the depth, light and material. */
.journey {
  position: relative;
  height: 450vh;
  height: 450svh;
  background: #101c15;
  color: #faf1df;
  overflow: clip;
}
.journey-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  isolation: isolate;
  overflow: hidden;
  background: #101c15;
}
.journey-media,
.journey-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.journey-media { overflow: hidden; z-index: -2; }
.journey .journey-photo,
.journey .journey-video {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  backface-visibility: hidden;
}
.journey-photo-oven {
  transform: translate3d(var(--oven-x, 0%), 0, 0) scale(var(--oven-scale, 1.025));
  transform-origin: 69% 55%;
  will-change: transform;
}
.journey-photo-fold {
  opacity: var(--fold-opacity, 1);
  transform: scale(1.025);
}
.journey-photo-glaze {
  opacity: var(--glaze-opacity, 0);
  transform: scale(1.025);
}
.journey-photo-box {
  opacity: var(--box-opacity, 0);
  transform: translate3d(var(--box-x, 1.1%), 0, 0) scale(var(--box-scale, 1.095));
  transform-origin: 65% 55%;
  will-change: transform, opacity;
}
.journey .journey-video {
  opacity: 0;
  transform: scale(1.012);
  transition: opacity .6s ease;
}
.journey-stage[data-media='film'] .journey-video { opacity: 1; }
.journey-stage[data-media='frames'] .journey-video { opacity: 0; }
@media(prefers-reduced-motion:reduce){.journey .journey-frame-canvas{display:none!important}}
.journey-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, #07160fee 0%, #07160fb8 22%, #07160f42 48%, #07160f00 73%),
    linear-gradient(0deg, #06120deb 0%, #06120d25 27%, #06120d00 62%, #06120d55 100%);
}
.journey-shade::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 76% 53%, #f9b55a90, #f9b55a00 67%);
  opacity: var(--warmth-opacity, 0);
  mix-blend-mode: screen;
}
.journey-shade::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 150px #04100938;
}
.journey-header {
  position: absolute;
  top: clamp(28px, 4.8svh, 54px);
  left: 5.6%;
  right: 5.6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 19px;
  border-top: 1px solid #f8ead936;
  color: #fff7e8ce;
  font: 400 9px/1.5 'DM Sans', sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.journey-header p { display: flex; align-items: center; gap: 13px; }
.journey-header i { width: 5px; height: 5px; border-radius: 50%; background: #e7c17b; box-shadow: 0 0 12px #e7c17b50; }
.journey-skip {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 35px;
  color: #fff7e8c9;
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: none;
  transition: color .2s;
}
.journey-skip span { font-size: 18px; }
.journey-skip:hover { color: #f0ca61; }
.journey-copies {
  position: absolute;
  top: 46%;
  left: 8.2%;
  width: 47%;
  height: min(440px, 62svh);
  transform: translateY(-50%);
}
.journey-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: var(--copy-opacity, 0);
  transform: translate3d(0, var(--copy-y, 24px), 0);
  pointer-events: none;
  will-change: transform, opacity;
}
.journey-copy:first-child { --copy-opacity: 1; --copy-y: 0px; }
.journey-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 27px;
  font: 400 9px/1.4 'DM Sans', sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #f9e9c5b0;
}
.journey-kicker span { color: #ebc986; font-variant-numeric: tabular-nums; }
.journey-kicker i { height: 1px; width: 25px; background: #e8d9ba69; }
.journey-copy h2 {
  margin: 0;
  color: #fcf4e5;
  font: 400 clamp(69px, 7.1vw, 122px)/.91 'Instrument Serif', Georgia, serif;
  letter-spacing: -.044em;
  text-wrap: nowrap;
}
.journey-copy h2 em { color: #e7c78e; font-weight: 400; }
.journey-description {
  max-width: 270px;
  margin: 29px 0 0;
  color: #f8ecdae0;
  font: 400 12px/1.85 'DM Sans', sans-serif;
  letter-spacing: .005em;
}
.journey-side-note {
  position: absolute;
  right: 5.6%;
  bottom: 25%;
  text-align: right;
  color: #fff3dfc2;
  font: italic 400 22px/1.1 'Instrument Serif', Georgia, serif;
  letter-spacing: -.01em;
}
.journey-footnote {
  position: absolute;
  left: 5.6%;
  right: 5.6%;
  bottom: clamp(129px, 18svh, 185px);
  display: flex;
  align-items: center;
  gap: 13px;
  color: #f5e7cc9e;
  font: 400 8px/1.65 'DM Sans', sans-serif;
  letter-spacing: .03em;
}
.journey-scroll-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #efe0c54f;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
  color: #f8eddb;
}
.journey-footnote b { display: block; font-weight: 400; color: #f8eddb; }
.journey-counter { margin-left: auto; font-variant-numeric: tabular-nums; letter-spacing: .13em; color: #faebcfb3; }
.journey-nav {
  position: absolute;
  left: 5.6%;
  right: 5.6%;
  bottom: clamp(27px, 5.5svh, 58px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}
.journey-nav button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding: 20px 0 3px;
  background: none;
  border: 0;
  border-top: 1px solid #fff3dc48;
  text-align: left;
  color: #f9ecd4a8;
  font: 400 11px/1.2 'DM Sans', sans-serif;
  transition: color .2s;
  cursor: pointer;
}
.journey-nav button::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e9c986;
  transform: scaleX(var(--chapter-progress, 0));
  transform-origin: left;
}
.journey-nav-number { font-size: 8px; opacity: .65; font-variant-numeric: tabular-nums; }
.journey-nav-arrow { margin-left: auto; font-size: 17px; opacity: 0; transition: opacity .2s; }
.journey-nav button[aria-current='step'] { color: #fff6e5; }
.journey-nav button[aria-current='step'] .journey-nav-arrow { opacity: .9; }
.journey-nav button:hover { color: #e9c986; }
.journey button:focus-visible,
.journey a:focus-visible { outline: 2px solid #e9c986; outline-offset: 6px; }

@media (min-width: 1800px) {
  .journey-copies { left: 10%; }
  .journey-copy h2 { font-size: 132px; }
}
@media (max-width: 1000px) and (min-width: 701px) {
  .journey-copies { left: 6%; width: 52%; }
  .journey-copy h2 { font-size: clamp(63px, 8vw, 82px); }
  .journey-description { max-width: 245px; font-size: 11px; }
  .journey-shade { background: linear-gradient(90deg, #07160fe8, #07160f91 39%, #07160f00 85%), linear-gradient(0deg, #06120ded, #06120d00 42%, #06120d44 100%); }
}
@media (max-width: 700px) {
  .journey .journey-photo,
  .journey .journey-video { object-position: 68% 50%; }
  .journey-shade {
    background: linear-gradient(0deg, #07130ff7 0%, #07130fb5 27%, #07130f24 65%, #07130f78 100%), linear-gradient(90deg, #07130f42, #07130f00 75%);
  }
  .journey-header { top: 26px; left: 6%; right: 6%; gap: 12px; padding-top: 12px; font-size: 6px; letter-spacing: .12em; }
  .journey-header p { gap: 7px; max-width: 160px; }
  .journey-header i { width: 4px; height: 4px; flex: 0 0 auto; }
  .journey-skip { gap: 7px; font-size: 8px; white-space: nowrap; }
  .journey-skip span { font-size: 15px; }
  .journey-copies { top: auto; bottom: 190px; left: 7%; width: 87%; height: 245px; transform: none; }
  .journey-copy { justify-content: flex-end; }
  .journey-kicker { margin-bottom: 18px; gap: 10px; font-size: 7px; letter-spacing: .16em; }
  .journey-kicker i { width: 22px; }
  .journey-copy h2 { font-size: clamp(55px, 15.4vw, 83px); line-height: .95; letter-spacing: -.045em; }
  .journey-description { max-width: 260px; margin-top: 20px; font-size: 10px; line-height: 1.75; color: #f6ead9c9; }
  .journey-side-note { display: none; }
  .journey-footnote { left: 7%; right: 7%; bottom: 123px; gap: 10px; font-size: 7px; }
  .journey-scroll-icon { width: 29px; height: 29px; font-size: 14px; }
  .journey-counter { font-size: 7px; }
  .journey-nav { left: 7%; right: 7%; bottom: max(28px, env(safe-area-inset-bottom)); gap: 13px; }
  .journey-nav button { flex-wrap: wrap; justify-content: flex-start; gap: 8px; min-height: 48px; padding-top: 15px; font-size: 9px; }
  .journey-nav-number { font-size: 7px; }
  .journey-nav-arrow { display: none; }
}
@media (max-width: 360px) {
  .journey-copy h2 { font-size: 14.8vw; }
  .journey-header { letter-spacing: .08em; }
  .journey-header p { max-width: 140px; }
  .journey-nav { gap: 10px; }
  .journey-nav button { gap: 5px; font-size: 8px; }
}
@media (max-height: 600px) {
  .journey-header { top: 19px; padding-top: 9px; font-size: 7px; }
  .journey-skip { min-height: 24px; font-size: 8px; }
  .journey-copies { top: 47%; bottom: auto; left: 6%; width: 58%; height: 59svh; transform: translateY(-50%); }
  .journey-copy { justify-content: center; }
  .journey-kicker { font-size: 6px; margin-bottom: 13px; }
  .journey-copy h2 { font-size: clamp(39px, 11.7svh, 70px); line-height: .93; letter-spacing: -.03em; }
  .journey-description { max-width: 230px; font-size: 8px; line-height: 1.6; margin-top: 13px; }
  .journey-footnote { display: none; }
  .journey-side-note { right: 6%; bottom: 27%; font-size: 16px; }
  .journey-nav { left: 6%; right: 6%; bottom: 15px; gap: 17px; }
  .journey-nav button { min-height: 40px; padding-top: 12px; font-size: 8px; gap: 11px; }
  .journey-nav-number { font-size: 6px; }
  .journey-nav-arrow { font-size: 14px; }
}
@media (max-height: 430px) {
  .journey-description { display: none; }
  .journey-header { top: 15px; padding-top: 6px; }
  .journey-copies { top: 48%; }
}
@media (prefers-reduced-motion: reduce) {
  .journey { height: auto; }
  .journey-stage { position: relative; height: auto; min-height: 0; padding: 100px 7% 62px; }
  .journey .journey-photo-oven { object-position: 67% 50%; transform: none !important; opacity: .48; will-change: auto; }
  .journey .journey-photo-fold,
  .journey .journey-photo-glaze,
  .journey .journey-photo-box,
  .journey .journey-video,
  .journey-nav,
  .journey-footnote,
  .journey-side-note { display: none; }
  .journey-shade { background: linear-gradient(90deg, #07160fe8, #07160fb3); }
  .journey-shade::before { display: none; }
  .journey-header { top: 26px; left: 7%; right: 7%; }
  .journey-copies { position: relative; top: auto; left: auto; bottom: auto; width: 100%; height: auto; transform: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
  .journey-copy { position: relative; inset: auto; opacity: 1 !important; transform: none !important; justify-content: flex-start; will-change: auto; }
  .journey-copy h2 { font-size: clamp(35px, 4.8vw, 73px); line-height: 1; text-wrap: wrap; }
  .journey-description { display: block; font-size: 11px; margin-top: 18px; }
  .journey-kicker { font-size: 7px; margin-bottom: 17px; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 500px) {
  .journey-copies { grid-template-columns: 1fr; gap: 36px; }
  .journey-copy h2 { font-size: 48px; }
}
/* Keep the physical action in view on portrait phones. */
@media(max-width:700px) and (min-height:601px) and (prefers-reduced-motion:no-preference){
  .journey-media{inset:15% -10% auto;height:67.5vw;mask-image:linear-gradient(0deg,transparent,#000 7%,#000 94%,transparent);-webkit-mask-image:linear-gradient(0deg,transparent,#000 7%,#000 94%,transparent)}
  .journey-shade{background:linear-gradient(0deg,#07130ff2 0%,#07130f60 28%,#07130f00 60%,#07130f40 100%)}
}
