/* Final editorial layout and a full-height mobile visit. */
.project-four .project-image {
  aspect-ratio: 1.38;
}
.project-five {
  margin-top: 140px;
}
.project-five .project-image {
  aspect-ratio: 1.05;
}
.atelier-editorial {
  grid-template-columns: 1.05fr 1fr;
  background: #382723;
  align-items: stretch;
}
.atelier-editorial .atelier-copy {
  padding: 85px 6vw 70px var(--gutter);
}
.atelier-editorial h2 {
  font-size: clamp(78px, 9.5vw, 154px);
  line-height: 0.88;
  margin-top: 48px;
  letter-spacing: -0.055em;
}
.atelier-editorial h2 em {
  color: #d9c1a2;
}
.atelier-editorial .atelier-lead {
  font: 400 clamp(25px, 2.4vw, 38px)/1.18 var(--serif);
  margin-top: 34px;
  letter-spacing: -0.02em;
}
.atelier-editorial .atelier-body {
  margin-top: 25px;
  max-width: 450px;
  color: #e1d5c9;
}
.atelier-editorial .text-link {
  color: var(--paper);
  border-color: #a68d77;
  margin-top: 26px;
}
.atelier-editorial .atelier-image {
  min-height: 900px;
}
.atelier-editorial .atelier-image img {
  object-position: 50% 30%;
}
.atelier-editorial .atelier-signature {
  margin-top: 35px;
}
.atelier-editorial .atelier-signature > span:last-child {
  font-size: 11px !important;
}
.atelier-page {
  background: var(--paper);
}
.atelier-page .desktop-nav a[aria-current] {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
}
.atelier-page-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: calc(100svh - 76px);
  border-bottom: 1px solid var(--rule);
}
.atelier-page-intro {
  padding: 65px 6vw 64px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.atelier-page-intro h1 {
  font: 400 clamp(95px, 11.5vw, 185px)/0.84 var(--serif);
  letter-spacing: -0.065em;
  margin: 55px 0 40px;
}
.atelier-page-intro h1 em {
  color: var(--oxblood);
}
.atelier-page-intro .atelier-lead {
  font: 400 clamp(27px, 2.6vw, 40px)/1.15 var(--serif);
  max-width: 470px;
  letter-spacing: -0.025em;
}
.atelier-page-intro > p:not(.section-kicker):not(.atelier-lead) {
  max-width: 440px;
  margin-top: 25px;
  color: var(--muted);
}
.atelier-page-intro .atelier-signature {
  margin-top: auto;
  padding-top: 32px;
  width: 100%;
  color: var(--muted);
  border-color: var(--rule);
}
.atelier-page-intro .atelier-signature > span:last-child {
  color: #6d6256;
}
.atelier-page-photo {
  margin: 24px 24px 24px 0;
  min-height: 710px;
  position: relative;
  overflow: hidden;
}
.atelier-page-photo img {
  object-position: 50% 35%;
}
.atelier-page-photo figcaption {
  position: absolute;
  bottom: 25px;
  left: 28px;
  color: white;
  font-size: 12px;
  letter-spacing: 1px;
  text-shadow: 0 1px 8px #211b16;
}
.atelier-story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 12vw;
}
.atelier-story h2 {
  font: 400 clamp(50px, 5vw, 80px)/1.03 var(--serif);
  letter-spacing: -0.04em;
  margin-top: 26px;
}
.atelier-story h2 em {
  color: var(--oxblood);
}
.atelier-story-copy {
  padding-top: 8px;
  max-width: 570px;
}
.atelier-story-copy p + p {
  margin-top: 24px;
}
.atelier-story-copy p:first-child {
  font-size: 21px;
  line-height: 1.65;
}
.atelier-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4vw;
  border-top: 1px solid var(--rule);
  padding-top: 40px;
  padding-bottom: 70px;
}
.atelier-principles article > span {
  font-size: 12px;
  color: var(--muted);
}
.atelier-principles h3 {
  font: 400 35px/1.2 var(--serif);
  margin: 20px 0;
}
.atelier-principles p {
  color: var(--muted);
  max-width: 340px;
}
.atelier-return {
  padding-top: 40px;
  padding-bottom: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--rule);
}
.atelier-return h2 {
  font: 400 clamp(38px, 4vw, 65px)/1.1 var(--serif);
  letter-spacing: -0.025em;
}
.atelier-return .text-link {
  margin: 0;
}
@media (max-width: 1100px) {
  .atelier-editorial .atelier-copy {
    padding-right: 5vw;
  }
  .atelier-editorial .atelier-image {
    min-height: 860px;
  }
  .atelier-editorial h2 {
    font-size: 100px;
  }
  .atelier-page-intro {
    padding-right: 4vw;
  }
  .atelier-page-intro h1 {
    font-size: 13vw;
  }
  .atelier-page-photo {
    min-height: 660px;
  }
}
@media (max-width: 760px) {
  .walkthrough {
    height: 880svh;
    margin: 0 8px;
  }
  .walkthrough .hero-visual {
    height: calc(100svh - 68px);
    background: var(--dark);
    color: white;
  }
  .walkthrough .hero-visual > img,
  #walkthrough-video {
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: var(--room-focus, 52%) center;
  }
  .walkthrough .hero-visual[data-room="1"] {
    --room-focus: 42%;
  }
  .walkthrough .hero-visual[data-room="2"] {
    --room-focus: 40%;
  }
  .walkthrough .hero-visual[data-room="3"] {
    --room-focus: 57%;
  }
  .walkthrough .hero-visual[data-room="4"] {
    --room-focus: 66%;
  }
  .walkthrough .hero-image-shade {
    display: block;
    background: linear-gradient(
      180deg,
      rgba(23, 18, 14, 0.38),
      transparent 30%,
      transparent 48%,
      rgba(23, 18, 14, 0.8)
    );
  }
  .walkthrough .hero-location {
    left: 18px;
    top: 24px;
    color: white;
    max-width: 150px;
  }
  .skip-visit {
    right: 18px;
    top: 24px;
    color: white;
  }
  .walkthrough .hero-caption {
    left: 22px;
    right: 22px;
    top: auto;
    bottom: 126px;
    max-width: none;
    color: white;
    gap: 14px;
  }
  .walkthrough .hero-caption > span:first-child {
    max-width: none;
    font-size: 11px !important;
    letter-spacing: 0.8px;
  }
  .walkthrough .hero-caption > span:nth-child(2) {
    font-size: clamp(34px, 9.2vw, 47px);
    line-height: 1.02;
    text-wrap: balance;
  }
  .walkthrough .discover-orbit {
    width: 72px;
    height: 72px;
    right: 20px;
    bottom: 280px;
    border: none;
    background: rgba(243, 240, 233, 0.94);
  }
  .walkthrough .discover-orbit > span:first-child {
    font-size: 10px;
  }
  .visit-navigation {
    color: white;
    bottom: 29px;
    left: 20px;
    right: 20px;
  }
  .visit-track {
    background: #ffffff60;
  }
  #visit-progress {
    background: white;
  }
  .visit-chapters button {
    font-size: 11px;
    letter-spacing: 0;
    padding: 10px 0;
  }
  .visit-chapters button > span {
    font-size: 11px;
  }
  .visit-chapters {
    margin-top: 10px;
  }
  .visit-status {
    bottom: 97px;
    left: 22px;
    right: 22px;
    font-size: 11px;
  }
  .hero-bottom {
    display: none;
  }
  .project-four {
    margin-top: 55px;
  }
  .project-five {
    margin: 55px 0 0 20px;
  }
  .project-four .project-image {
    aspect-ratio: 1.15;
  }
  .project-five .project-image {
    aspect-ratio: 1.05;
  }
  .atelier-editorial {
    display: flex;
    flex-direction: column;
  }
  .atelier-editorial .atelier-copy {
    padding: 60px 28px 48px;
  }
  .atelier-editorial h2 {
    font-size: 28vw;
    margin-top: 35px;
  }
  .atelier-editorial .atelier-lead {
    font-size: 31px;
    margin-top: 30px;
  }
  .atelier-editorial .atelier-body {
    margin-top: 25px;
  }
  .atelier-editorial .atelier-image {
    min-height: 0;
    height: 120vw;
    max-height: 650px;
    margin: 0 18px 22px;
  }
  .atelier-editorial .atelier-signature {
    display: flex;
    align-items: end;
  }
  .atelier-editorial .atelier-signature > span:last-child {
    margin-top: 0;
  }
  .atelier-page-hero {
    display: block;
  }
  .atelier-page-intro {
    padding: 42px 25px;
  }
  .atelier-page-intro h1 {
    font-size: 29vw;
    margin: 40px 0 35px;
  }
  .atelier-page-intro .atelier-lead {
    font-size: 30px;
  }
  .atelier-page-intro .atelier-signature {
    margin-top: 35px;
  }
  .atelier-page-photo {
    height: 125vw;
    min-height: 0;
    margin: 0 12px 18px;
  }
  .atelier-story {
    display: block;
    padding-top: 65px;
    padding-bottom: 65px;
  }
  .atelier-story h2 {
    font-size: 50px;
  }
  .atelier-story-copy {
    margin-top: 36px;
  }
  .atelier-story-copy p:first-child {
    font-size: 19px;
  }
  .atelier-principles {
    display: block;
    padding-top: 0;
    padding-bottom: 25px;
  }
  .atelier-principles article {
    padding: 30px 0;
    border-bottom: 1px solid var(--rule);
  }
  .atelier-principles article:last-child {
    border-bottom: none;
  }
  .atelier-principles h3 {
    margin: 12px 0;
    font-size: 32px;
  }
  .atelier-return {
    display: block;
    padding-top: 36px;
    padding-bottom: 60px;
  }
  .atelier-return h2 {
    font-size: 45px;
  }
  .atelier-return .text-link {
    margin-top: 28px;
  }
}
@media (max-height: 600px) and (min-aspect-ratio: 1/1) {
  .walkthrough .hero-caption {
    bottom: 94px;
  }
  .walkthrough .hero-caption > span:nth-child(2) {
    font-size: 30px;
  }
  .walkthrough .discover-orbit {
    display: none;
  }
  .visit-navigation {
    bottom: 14px;
  }
  .visit-status {
    bottom: 80px;
  }
}
