body[data-page=about] .dr-motor-hero {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  margin: 0;
  border-radius: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0b0708;
}

.dr-motor-hero>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transform: translate3d(var(--about-mouse-x,0px),var(--about-mouse-y,0px),0) scale(var(--about-hero-scale,1.035));
  will-change: transform;
}

body[data-page=about] .dr-motor-hero .dr-motor-hero-title {
  position: absolute;
  inset: 47% 6.5% auto;
  display: flex;
  justify-content: space-between;
  gap: 40%;
  margin: 0;
  color: #fff;
  font-size: clamp(24px,2.65vw,51px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.04em;
  transform: translateY(var(--about-title-y,0px));
}

.dr-motor-hero-title span {
  white-space: nowrap;
}

.dr-about-motion-ready .dr-motor-hero-title span {
  opacity: 0;
  translate: -85px 0;
  transition: opacity 1.1s,translate 1.3s cubic-bezier(.22,1,.36,1);
}

.dr-about-motion-ready .dr-motor-hero-title span+span {
  translate: 85px 0;
  transition-delay: .12s;
}

.dr-about-motion-ready.dr-about-hero-entered .dr-motor-hero-title span {
  opacity: 1;
  translate: 0 0;
}

body[data-page=about] .dr-motor-hero .dr-about-down {
  left: 6.5%;
  bottom: 40px;
  width: 44px;
  height: 44px;
  z-index: 2;
}

.dr-about-profile {
  padding: clamp(110px,10vw,190px) 0 clamp(150px,13vw,250px);
  scroll-margin-top: 110px;
}

.dr-about-profile-heading {
  text-align: center;
  margin: 0 0 clamp(90px,8vw,150px);
  font-size: clamp(26px,2.6vw,46px);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -.035em;
}

.dr-about-profile-grid {
  display: grid;
  grid-template-columns: minmax(0,4fr) minmax(0,6fr);
  align-items: start;
  gap: clamp(70px,9vw,170px);
}

.dr-about-profile-copy>span {
  display: block;
  font-size: 12px;
  color: #83837a;
  margin-bottom: 30px;
}

.dr-about-profile-copy h3 {
  margin: 0 0 36px;
  font-size: clamp(22px,2vw,34px);
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: -.025em;
}

.dr-about-profile-copy p {
  font-size: 15px;
  line-height: 1.9;
  color: #6f736c;
  margin: 0;
}

.dr-about-line {
  display: block;
  overflow: hidden;
}

.dr-about-line em {
  display: block;
  font-style: normal;
  transition: transform 1s cubic-bezier(.22,1,.36,1),opacity .8s;
}

.dr-about-line:nth-child(2) em {
  transition-delay: .15s;
}

.dr-about-line:nth-child(3) em {
  transition-delay: .3s;
}

.dr-about-motion-ready .dr-about-profile-copy:not(.is-visible) .dr-about-line em {
  transform: translateY(110%);
  opacity: 0;
}

.dr-about-motion-ready .dr-about-profile-copy.is-visible .dr-about-line em {
  transform: none;
  opacity: 1;
}

body[data-page=about] .dr-scroll-gallery,
body[data-page=about] .dr-gallery-stage {
  background: none;
}

.dr-about-profile-photo {
  position: relative;
  aspect-ratio: 1.62;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
}

.dr-about-profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(var(--about-photo-y,0px)) scale(1.12);
  will-change: transform;
}

.dr-about-motion-ready [data-about-reveal] {
  opacity: 0;
  translate: 0 48px;
  transition: opacity .9s,translate 1.1s cubic-bezier(.22,1,.36,1);
}

.dr-about-motion-ready [data-about-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
}

@media(prefers-reduced-motion:reduce) {
  .dr-motor-hero>img,.dr-about-profile-photo img {
    transform: none;
    will-change: auto;
  }
  body[data-page=about] .dr-motor-hero .dr-motor-hero-title {
    transform: none;
  }
  .dr-about-motion-ready [data-about-reveal] {
    opacity: 1;
    translate: none;
    transition: none;
  }
  .dr-about-motion-ready .dr-motor-hero-title span {
    opacity: 1;
    translate: none;
    transition: none;
  }
  .dr-about-motion-ready .dr-about-profile-copy .dr-about-line em {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

/* Phone layout */
@media (max-width: 767px) {
  body[data-page=about] .dr-motor-hero {
    height: min(192vw, 100vh);
    height: min(192vw, 100svh);
    min-height: 320px;
    background: #0c090a;
  }

  .dr-motor-hero > img {
    top: 2%;
    height: 85%;
    object-position: 49% 50%;
    transform: none;
    will-change: auto;
    -webkit-mask-image: linear-gradient(#000 83%, transparent);
    mask-image: linear-gradient(#000 83%, transparent);
  }

  body[data-page=about] .dr-motor-hero .dr-motor-hero-title {
    inset: auto var(--dr-gutter) 16%;
    display: grid;
    justify-content: center;
    gap: 0;
    text-align: center;
    font-size: clamp(23px, 6.4vw, 32px);
    font-weight: 600;
    line-height: 1.48;
    transform: none;
  }

  .dr-about-motion-ready:not(.dr-about-hero-entered) .dr-motor-hero-title span {
    translate: 0 15px;
  }

  body[data-page=about] .dr-motor-hero .dr-about-down {
    left: 50%;
    bottom: 6.5%;
    width: clamp(44px, 12vw, 52px);
    height: clamp(44px, 12vw, 52px);
    transform: translateX(-50%);
  }

  .dr-about-profile {
    padding-block: clamp(58px, 20vw, 100px) clamp(72px, 31vw, 136px);
    scroll-margin-top: 12px;
  }

  .dr-about-profile-heading,
  .dr-gallery-copy h2 {
    font-size: clamp(21px, 6.6vw, 34px);
    font-weight: 600;
  }

  .dr-about-profile-heading {
    margin: 0 0 clamp(48px, 19vw, 92px);
    text-wrap: balance;
  }

  .dr-about-profile-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(30px, 10.5vw, 52px);
  }

  .dr-about-profile-photo {
    grid-row: 1;
    border-radius: clamp(10px, 3vw, 16px);
  }

  .dr-about-profile-photo img {
    transform: scale(1.08);
    will-change: auto;
  }

  .dr-about-profile-copy {
    padding-inline: 3vw;
  }

  .dr-about-profile-copy > span {
    display: none;
  }

  .dr-about-profile-copy h3 {
    margin-bottom: clamp(16px, 5.6vw, 28px);
    font-size: clamp(16px, 4.35vw, 20px);
    line-height: 1.62;
  }

  .dr-about-line,
  .dr-about-line em {
    display: inline;
  }

  .dr-about-line:last-child {
    display: block;
  }

  .dr-about-profile-copy p,
  .dr-gallery-copy p {
    font-size: clamp(14px, 3.85vw, 18px);
    line-height: 1.62;
    color: #686862;
  }

  .dr-scroll-gallery {
    height: auto;
    padding: 0 0 clamp(44px, 15vw, 72px);
  }

  .dr-gallery-stage {
    display: flex;
    flex-direction: column;
    position: relative;
    height: auto;
    gap: clamp(32px, 13vw, 66px);
  }

  .dr-gallery-copy {
    position: static;
    transform: none;
    width: 85%;
    max-width: none;
    margin-inline: auto;
    text-align: left;
    order: 0;
  }

  .dr-gallery-copy h2 {
    margin-bottom: clamp(18px, 6vw, 32px);
  }

  .dr-gallery-copy p {
    font-size: clamp(14px, 3.7vw, 18px);
    max-width: none;
    margin: 0 0 clamp(20px, 7vw, 36px);
  }

  .dr-gallery-images {
    position: relative;
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: clamp(172px, 57vw, 360px);
    gap: 4.8vw;
    order: 1;
    overflow-x: auto;
    padding-inline: 7.5vw;
    scroll-padding-inline: 7.5vw;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    pointer-events: auto;
  }

  .dr-gallery-images::-webkit-scrollbar {
    display: none;
  }

  .dr-gallery-images .dr-gallery-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: .88;
    opacity: 1;
    transform: none;
    will-change: auto;
    scroll-snap-align: start;
    border-radius: clamp(9px, 2.8vw, 14px);
  }

  .dr-gallery-photo:first-child {
    order: -2;
  }

  .dr-gallery-photo:nth-child(3) {
    order: -1;
  }

  .dr-gallery-photo figcaption {
    display: none;
  }
}

/* Motor story */

body[data-page=about] {
  overflow-x: clip;
}

body[data-page=about] main {
  overflow: clip;
}

body[data-page=about] #about-principles.dr-motor-story {
  position: relative;
  height: 320vh;
  height: 320dvh;
  width: calc(100% - 32px);
  margin: 0 16px 110px;
  padding: 0;
  isolation: isolate;
}

.dr-motor-story-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 650px;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(180deg,#fffdfb 0%,#fbe5d2 30%,#efae78 72%,#e88b40 100%);
}

.dr-motor-story-grid {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr);
  gap: clamp(20px,3vw,60px);
  align-items: center;
  padding-top: 70px;
  padding-bottom: 35px;
}

.dr-motor-story-copy {
  position: relative;
  z-index: 2;
  align-self: start;
  padding: 45px 0 0;
}

.dr-motor-story-copy h2 {
  font-size: clamp(34px,3.6vw,64px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.04em;
  color: #3c342e;
  margin: 0 0 clamp(110px,18vh,160px);
}

.dr-motor-story-steps {
  display: grid;
  gap: clamp(30px,5.7vh,68px);
}

.dr-motor-step {
  display: grid;
  grid-template-columns: minmax(110px,.7fr) minmax(0,1fr);
  gap: clamp(22px,3vw,60px);
  align-items: start;
  opacity: var(--step-alpha,.17);
  transform: translateY(var(--step-shift,12px));
  color: #fff;
  will-change: opacity,transform;
}

.dr-motor-step.is-current {
  color: #46372c;
}

.dr-motor-step h3 {
  font-size: clamp(18px,1.65vw,28px);
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  letter-spacing: -.025em;
}

.dr-motor-step p {
  font-size: clamp(12px,1vw,15px);
  font-weight: 400;
  line-height: 1.85;
  margin: 2px 0 0;
  max-width: 340px;
}

.dr-motor-story-visual {
  position: relative;
  width: 100%;
  height: calc(100vh - 125px);
  height: calc(100dvh - 125px);
  max-height: 900px;
  min-height: 440px;
  align-self: center;
}

.dr-motor-webgl {
  width: 100%;
  height: 100%;
  position: relative;
}

.dr-motor-webgl>canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: 0;
}

.dr-motor-fallback {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: rotate(180deg);
  transition: opacity .35s;
}

.is-model-ready .dr-motor-fallback {
  opacity: 0;
  visibility: hidden;
}

.dr-motor-load-status {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  text-align: center;
  font-size: 11px;
  color: #8d6c50;
  margin: 0;
}

.is-model-ready .dr-motor-load-status {
  display: none;
}

.has-model-error .dr-motor-load-status {
  bottom: 4px;
}

.dr-motor-step:first-child {
  --step-alpha: 1;
  --step-shift: 0px
}

@media(max-height:760px) {
  .dr-motor-story-copy h2 {
    font-size: clamp(32px,3.1vw,48px);
    margin-bottom: clamp(100px,17vh,130px);
  }
  .dr-motor-story-steps {
    gap: 42px;
  }
  .dr-motor-story-grid {
    padding-top: 85px;
    padding-bottom: 32px;
  }
  .dr-motor-step {
    gap: 24px;
  }
  .dr-motor-step h3 {
    font-size: 18px;
  }
  .dr-motor-step p {
    font-size: 12px;
    line-height: 1.8;
  }
}

@media(prefers-reduced-motion:reduce) {
  body[data-page=about] #about-principles.dr-motor-story {
    height: auto;
  }
  .dr-motor-story-stage {
    position: relative;
    height: max(720px,100vh);
  }
  .dr-motor-step {
    opacity: 1!important;
    transform: none!important;
    will-change: auto;
    color: #654d39;
  }
  .dr-motor-fallback {
    transition: none;
  }
}

/* On small screens the model plays as the stage passes through the viewport. */
@media (max-width: 767px), (max-width: 900px) and (max-height: 500px) {
  body[data-page=about] #about-principles.dr-motor-story {
    width: calc(100% - 2 * var(--dr-gutter));
    height: auto;
    margin: 0 var(--dr-gutter) 38px;
  }

  .dr-motor-story-stage {
    position: relative;
    top: auto;
    display: grid;
    align-items: center;
    height: auto;
    min-height: 0;
    border-radius: 14px;
  }

  .dr-motor-story-grid {
    width: calc(100% - 2 * clamp(17px, 5vw, 32px));
    height: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 19px;
    padding: clamp(23px, 6vw, 34px) 0;
  }

  .dr-motor-story-visual {
    grid-row: 1;
    min-height: 0;
    height: clamp(150px, 45vw, 235px);
  }

  .dr-motor-story-copy {
    grid-row: 2;
    align-self: center;
    padding: 0;
  }

  .dr-motor-story-copy h2 {
    margin: 0 0 20px;
    font-size: clamp(23px, 5.8vw, 34px);
  }

  .dr-motor-story-steps {
    gap: 15px;
  }

  .dr-motor-step {
    grid-template-columns: minmax(65px, .35fr) minmax(0, 1fr);
    gap: 12px;
    transform: none;
    opacity: 1;
    color: #514136;
    will-change: auto;
  }

  .dr-motor-step h3 {
    font-size: 15px;
  }

  .dr-motor-step p {
    margin: 0;
    font-size: 13px;
    line-height: 1.68;
  }
}

@media (min-width: 768px) and (max-width: 900px) and (max-height: 500px) {
  .dr-motor-story-grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    grid-template-rows: auto;
  }

  .dr-motor-story-copy {
    grid-row: 1;
    grid-column: 2;
  }

  .dr-motor-story-visual {
    grid-column: 1;
    height: min(48vh, 225px);
  }
}

@media (max-width: 767px) {
  body[data-page=about] #about-principles.dr-motor-story {
    margin-bottom: clamp(72px, 30vw, 136px);
  }

  .dr-motor-story-stage {
    border-radius: clamp(12px, 3.6vw, 18px);
  }

  .dr-motor-story-grid {
    grid-template-rows: auto auto auto;
    gap: clamp(20px, 7.4vw, 40px);
    padding-block: clamp(28px, 8.4vw, 44px) clamp(26px, 10.5vw, 48px);
  }

  .dr-motor-story-copy {
    display: contents;
  }

  .dr-motor-story-copy h2 {
    grid-row: 1;
    margin: 0;
    font-size: clamp(25px, 7vw, 36px);
    line-height: 1.24;
  }

  .dr-motor-story-visual {
    grid-row: 2;
    height: clamp(195px, 70vw, 340px);
  }

  .dr-motor-fallback {
    filter: grayscale(1) brightness(1.04);
  }

  .dr-motor-story-steps {
    grid-row: 3;
    gap: 0;
  }

  .dr-motor-step {
    grid-template-columns: max-content minmax(0, 1fr);
    gap: clamp(14px, 5vw, 28px);
    padding-block: clamp(17px, 5.2vw, 26px);
    border-top: 1px dotted #976d4a5c;
  }

  .dr-motor-step h3 {
    font-size: clamp(15px, 4.35vw, 20px);
  }

  .dr-motor-step p {
    max-width: none;
    font-size: clamp(14px, 3.78vw, 18px);
    line-height: 1.74;
  }
}
