/* Home rhythm: enter through the film, pause with the work, wander into memory. */
.journey-home .topbar {
  position: fixed;
  background: var(--white);
  color: var(--black);
}
.journey-home :is(section[id], .route-anchor) { scroll-margin-top: 0; }
.journey-home .home-film {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
  gap: 0;
  min-height: 100svh;
  padding: 108px var(--gutter) 30px;
}
.journey-home .home-film > .route-anchor { position: absolute; top: 0; }
.journey-home .home-film .film-portal { top: 80px; height: calc(100% - 80px); }
.journey-home .home-film .film-portal::after {
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--white) 98%, transparent) 0%,
    color-mix(in srgb, var(--white) 96%, transparent) 33%,
    color-mix(in srgb, var(--white) 90%, transparent) 50%,
    color-mix(in srgb, var(--white) 76%, transparent) 61%,
    color-mix(in srgb, var(--white) 12%, transparent) 79%,
    transparent 91%);
}
.journey-home .home-film .film-portal video { object-position: 50% 47%; }
.journey-home .home-film .film-mark { display: none; }
.journey-home .home-film .entrance-meta {
  z-index: 2;
  align-items: flex-start;
  gap: 20px;
  color: var(--black);
  mix-blend-mode: normal;
  pointer-events: none;
}
.journey-home .home-film .entrance-meta > span {
  background: var(--white);
  padding: 5px 9px;
}
.journey-home .hero-film-name {
  position: relative;
  top: auto;
  left: auto;
  align-self: center;
  justify-self: start;
  z-index: 3;
  width: 100%;
  padding-block: 48px 55px;
  color: var(--white);
  mix-blend-mode: difference;
  transform: none;
}
.journey-home .hero-film-name h1 {
  font-size: clamp(135px, 17.6vw, 280px);
  margin: 32px 0 30px;
  line-height: .74;
  letter-spacing: -.087em;
}
.journey-home .hero-film-name h1 em { font-size: 1.14em; margin-left: -.025em; }
.journey-home .hero-film-name .small-label { font-size: 11px; }
.journey-home .hero-film-name .hero-thought { font-size: 13px; padding-left: 2px; }
.journey-home .hero-film-bottom {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  pointer-events: none;
}
.journey-home .hero-film-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 24px;
  padding: 3px 16px;
  background: var(--white);
  color: var(--black);
  max-width: 66%;
}
.journey-home .hero-film-bottom :is(button, a) { pointer-events: auto; }
.journey-home .hero-film-controls .underlined-link { min-height: 46px; gap: 28px; font-size: 11px; border: 0; }
.journey-home .hero-film-controls #sound-toggle { min-height: 46px; font-size: 10px; color: var(--muted); }
.journey-home .hero-film-controls #film-error { flex-basis: 100%; max-width: 350px; font-size: 10px; padding-bottom: 8px; }
.journey-home .hero-film-controls #film-error:empty { display: none; }
.journey-home .hero-film-fallback { position: relative; z-index: 3; display: inline-flex; padding: 12px; margin-top: 18px; background: var(--white); color: var(--black); }
.journey-home .hero-film-bottom .flow-link {
  background: var(--white);
  color: var(--black);
  padding-inline: 18px;
  font-size: 11px;
  min-height: 52px;
  max-width: none;
}
.journey-home .home-works {
  background: var(--white);
  color: var(--black);
  padding: 120px var(--gutter) 110px;
  position: relative;
}
.journey-home .home-works-heading {
  display: grid;
  grid-template-columns: 1fr 2.3fr 1fr;
  gap: 25px;
  align-items: baseline;
  margin-bottom: 90px;
}
.journey-home .home-works-heading h2 { font-size: clamp(56px, 6.7vw, 112px); }
.journey-home .home-works-heading .text-button { justify-self: end; border-color: var(--line); display: flex; align-items: center; }
.journey-home .featured-work { width: min(100%, 1040px); margin-inline: auto; }
.journey-home :is(.featured-work, .selected-work) > a { display: block; }
.journey-home .featured-work img {
  width: 100%;
  height: auto;
  max-height: 88svh;
  object-fit: contain;
}
.journey-home :is(.featured-work, .selected-work) figcaption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 20px;
}
.journey-home :is(.featured-work, .selected-work) figcaption > span:nth-child(2) { margin-left: auto; color: var(--muted); font-size: 10px; text-align: right; }
.journey-home :is(.featured-work, .selected-work) figcaption > span:last-child { flex: none; }
.journey-home .works-selection {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 120px 9vw;
  margin: 130px auto 100px;
  max-width: 1320px;
}
.journey-home .selected-work { min-width: 0; }
.journey-home .selected-work:nth-child(2n) { padding-top: 110px; }
.journey-home .selected-work img { height: min(55vw, 650px); width: 100%; object-fit: contain; }
.journey-home .selected-work:nth-child(2n) img { height: min(44vw, 500px); }
.journey-home .home-works-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.journey-home .home-works-bottom > p { font-size: 13px; color: var(--muted); }
.journey-home .home-works-bottom .underlined-link { min-width: 250px; }
.journey-home .gesture-pause { position: relative; isolation: isolate; padding-block: 135px; }
.journey-home .gesture-pause::before {
  content: '';
  position: absolute;
  top: -30px;
  inset-inline: 0;
  height: 60px;
  background: var(--black);
  border-radius: 48% 52% 0 0 / 100% 70% 0 0;
  z-index: -1;
}
.journey-home .gesture-pause .gesture-quote {
  font: italic 300 clamp(27px, 3vw, 45px)/1.16 Cormorant, Georgia, serif;
  letter-spacing: -.025em;
  color: var(--white);
  max-width: 450px;
  margin: 30px 0;
}
.journey-home .memory { padding-block: 235px 105px; }
.journey-home .memory-heading { grid-template-columns: 1fr 2.3fr 1fr; }
.journey-home .memory-heading h2 { font-size: clamp(58px, 6.7vw, 112px); }
.journey-home .memory-map {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.2vw, 32px);
  row-gap: 90px;
  align-items: start;
  height: auto;
  margin-block: 100px 100px;
}
.journey-home .memory-card {
  position: relative;
  inset: auto;
  width: auto;
  min-width: 0;
}
.journey-home .memory-card > a { overflow: hidden; }
.journey-home .memory-card img { width: 100%; height: auto; }
.journey-home .memory-card figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 10px; }
.journey-home .memory-card figcaption > span { background: var(--white); }
.journey-home .memory-card .memory-path {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow: visible;
  margin-left: auto;
  padding: 0 5px;
  background: var(--white);
  font-size: 10px;
  white-space: nowrap;
}
.journey-home .memory-path:hover { text-decoration: underline; }
.journey-home .memory-hand { grid-column: 1 / 4; grid-row: 1; }
.journey-home .memory-cellar { grid-column: 6 / 13; grid-row: 1; padding-top: 100px; }
.journey-home .memory-butterfly { grid-column: 10 / 13; grid-row: 2; width: 83%; justify-self: end; }
.journey-home .memory-portrait { grid-column: 2 / 6; grid-row: 2; padding-top: 50px; }
.journey-home .memory-notebook { grid-column: 1 / 6; grid-row: 3; padding-left: 3vw; }
.journey-home .memory-material { grid-column: 8 / 13; grid-row: 3; padding-top: 95px; }
.journey-home .memory-material img { aspect-ratio: 1; object-fit: cover; }
.journey-home .memory-aside {
  position: relative;
  inset: auto;
  grid-column: 6 / 10;
  grid-row: 2;
  align-self: center;
  padding: 15px 0;
  font-size: clamp(25px, 3.1vw, 45px);
}
.journey-home .memory-thread { width: 100%; left: 0; opacity: .3; }
.journey-home .memory-field { inset: 15% -8% 7% 4%; }
.journey-home .memory-bottom { flex-wrap: wrap; gap: 20px 40px; }
.journey-home .memory-bottom > p { margin-right: auto; }
.journey-home .memory-bottom .underlined-link { gap: 28px; }
.journey-home .memory-bottom .text-path { margin-top: 0; }
.journey-home .about-journey { border-top: 1px solid var(--line); }

@media (min-width: 1600px) {
  .journey-home .home-film { display: grid; }
  .journey-home .hero-film-name h1 { font-size: 280px; }
}
@media (max-width: 1000px) {
  .journey-home .home-works-heading { grid-template-columns: 1fr 2fr; }
  .journey-home .home-works-heading .text-button { grid-column: 2; justify-self: start; margin-left: 0; }
  .journey-home .memory-heading { grid-template-columns: 1fr 2fr; }
  .journey-home .memory-heading > p { grid-column: 2; }
  .journey-home .memory-map { row-gap: 70px; }
  .journey-home .memory-aside { font-size: 27px; }
  .journey-home .works-selection { gap: 75px 6vw; }
}
@media (max-width: 700px) {
  .journey-home .home-film { padding-bottom: 25px; }
  .journey-home .hero-film-name h1 { font-size: 21vw; }
  .journey-home .hero-film-controls { max-width: 62%; gap: 0 18px; }
  .journey-home .hero-film-bottom { gap: 12px; align-items: flex-end; }
  .journey-home .hero-film-bottom .flow-link { gap: 15px; }
  .journey-home .home-works { padding-block: 85px 100px; }
  .journey-home .home-works-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-bottom: 60px; }
  .journey-home .home-works-heading h2 { flex-basis: 100%; order: 2; font-size: clamp(52px, 10.5vw, 74px); }
  .journey-home .home-works-heading .text-button { min-height: 32px; font-size: 10px; }
  .journey-home .featured-work img { max-height: 78svh; }
  .journey-home .works-selection { gap: 60px 28px; margin-block: 75px 65px; }
  .journey-home .selected-work:nth-child(2n) { padding-top: 60px; }
  .journey-home .selected-work img { height: 53vw; }
  .journey-home .selected-work:nth-child(2n) img { height: 42vw; }
  .journey-home :is(.featured-work, .selected-work) figcaption { flex-wrap: wrap; gap: 3px 10px; font-size: 10px; margin-top: 14px; }
  .journey-home .selected-work figcaption > span:nth-child(2) { order: 3; flex-basis: 100%; text-align: left; margin-left: 0; font-size: 9px; }
  .journey-home .selected-work figcaption > span:last-child { margin-left: auto; }
  .journey-home .home-works-bottom { flex-wrap: wrap; gap: 22px; }
  .journey-home .home-works-bottom > p { font-size: 12px; }
  .journey-home .home-works-bottom .underlined-link { width: 100%; min-width: 0; }
  .journey-home .gesture-pause { padding-block: 80px 65px; }
  .journey-home .gesture-pause .gesture-quote { font-size: 32px; max-width: 360px; }
  .journey-home .memory { padding-block: 195px 75px; }
  .journey-home .memory-heading { display: block; }
  .journey-home .memory-heading h2 { font-size: clamp(48px, 8.4vw, 64px); margin-block: 28px 24px; }
  .journey-home .memory-map { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 15px; row-gap: 70px; margin-block: 70px 75px; }
  .journey-home .memory-hand { grid-column: 1 / 4; grid-row: 1; }
  .journey-home .memory-butterfly { grid-column: 5 / 7; grid-row: 1; width: 100%; padding-top: 100px; }
  .journey-home .memory-cellar { grid-column: 2 / 7; grid-row: 2; padding-top: 0; }
  .journey-home .memory-aside { grid-column: 1 / 7; grid-row: 3; padding: 0 10%; font-size: clamp(29px, 5.8vw, 38px); }
  .journey-home .memory-portrait { grid-column: 1 / 5; grid-row: 4; padding-top: 0; }
  .journey-home .memory-notebook { grid-column: 3 / 7; grid-row: 5; padding: 0; }
  .journey-home .memory-material { grid-column: 1 / 5; grid-row: 6; padding-top: 0; }
  .journey-home .memory-card figcaption { font-size: 9px; gap: 0 8px; }
  .journey-home .memory-card .memory-path { font-size: 9px; }
  .journey-home .memory-bottom { align-items: stretch; gap: 18px 30px; }
  .journey-home .memory-bottom > p { flex-basis: 100%; font-size: 11px; }
  .journey-home .memory-bottom .underlined-link { flex: 1 1 140px; font-size: 11px; white-space: normal; gap: 18px; }
}
@media (max-width: 600px) {
  .journey-home :is(section[id], .route-anchor) { scroll-margin-top: 45px; }
  .journey-home .home-film { padding-top: 88px; min-height: 100svh; }
  .journey-home .home-film .film-portal { top: 70px; height: calc(100% - 70px); }
  .journey-home .home-film .film-portal::after {
    background: radial-gradient(ellipse 105% 60% at 10% 48%,
      color-mix(in srgb, var(--white) 98%, transparent) 0%,
      color-mix(in srgb, var(--white) 96%, transparent) 48%,
      color-mix(in srgb, var(--white) 88%, transparent) 69%,
      color-mix(in srgb, var(--white) 40%, transparent) 85%,
      transparent 100%);
  }
  .journey-home .home-film .entrance-meta { font-size: 8px; gap: 12px; }
  .journey-home .home-film .entrance-meta > span { padding: 5px 7px; }
  .journey-home .home-film .entrance-meta > span:last-child { max-width: 40%; text-align: right; white-space: normal; }
  .journey-home .hero-film-name { padding-block: 60px; }
  .journey-home .hero-film-name h1 { font-size: 23.8vw; margin-block: 30px 28px; }
  .journey-home .hero-film-name .small-label { font-size: 9px; }
  .journey-home .hero-film-name .hero-thought { font-size: 11px; max-width: 220px; }
  .journey-home .hero-film-bottom { flex-wrap: wrap; gap: 15px; }
  .journey-home .hero-film-controls { max-width: 100%; padding-inline: 12px; }
  .journey-home .hero-film-controls .underlined-link { gap: 20px; font-size: 10px; min-height: 44px; }
  .journey-home .hero-film-controls #sound-toggle { font-size: 9px; min-height: 44px; }
  .journey-home .hero-film-bottom .flow-link { margin-left: auto; min-height: 46px; font-size: 10px; padding-inline: 14px; }
}
@media (max-width: 360px) {
  .journey-home .topbar { gap: 5px; padding-inline: 16px; }
  .journey-home .topbar nav { gap: 10px; font-size: 10px; }
  .journey-home .topbar > button { min-width: 26px; }
  .journey-home .hero-film-name { padding-block: 42px; }
  .journey-home .hero-film-name h1 { font-size: 23.4vw; }
  .journey-home .hero-film-controls { gap: 0 12px; }
  .journey-home .hero-film-controls .underlined-link { gap: 14px; }
  .journey-home .home-works-heading { gap: 15px; }
  .journey-home .home-works-heading h2 { font-size: 48px; }
  .journey-home .works-selection { grid-template-columns: 1fr; gap: 55px; }
  .journey-home .selected-work:nth-child(2n) { width: 78%; padding: 0; justify-self: end; }
  .journey-home .selected-work img { height: auto; max-height: 85svh; }
  .journey-home .selected-work:nth-child(2n) img { height: auto; max-height: 70svh; }
  .journey-home .memory-heading h2 { font-size: 44px; }
  .journey-home .memory-map { column-gap: 12px; row-gap: 55px; }
  .journey-home .memory-card figcaption { font-size: 8px; }
  .journey-home .memory-card .memory-path { font-size: 8px; }
}
@media (max-height: 560px) and (min-width: 601px) {
  .journey-home .home-film { min-height: 650px; }
  .journey-home .hero-film-name { padding-block: 30px; }
  .journey-home .hero-film-name h1 { font-size: clamp(115px, 13vw, 180px); }
}
@media (prefers-reduced-motion: reduce) {
  .journey-home .memory-card img { transition: none; }
}
