.site-header {
  position: absolute;
  z-index: 3;
  top: 25px;
  left: 61px;
  width: 1255px;
  height: 52px;
}

.site-logo {
  position: absolute;
  top: -7px;
  left: 0;
  color: #000;
  font-family: "Times New Roman", Times, serif;
  font-size: 86px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 2.58px;
  text-decoration: none;
  white-space: nowrap;
}

.site-actions {
  position: fixed;
  z-index: 10;
  top: 25px;
  right: 50px;
  display: flex;
  gap: 10px;
}

.cta {
  width: 113px;
  height: 51px;
  padding: 0;
  border: 2px solid var(--accent);
  border-radius: 40px;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  font-family: var(--gothic);
  font-size: 14px;
  font-weight: 700;
  line-height: 51px;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.site-actions .cta {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

@media (min-width: 768px) {
  .cta:hover {
    color: var(--accent);
    background: #fff;
  }
}

.site-logo:focus-visible,
.cta:focus-visible,
.play-button:focus-visible {
  outline: 3px solid #173a69;
  outline-offset: 4px;
}

.hero {
  position: relative;
  height: 820px;
  overflow: hidden;
  background: #fff;
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 1021px;
  height: 820px;
  object-fit: fill;
}

.hero-motto {
  position: absolute;
  top: 245px;
  left: 241px;
  margin: 0;
  color: #6c7c6c;
  font-family: "Times New Roman", Times, serif;
  font-size: 21px;
  letter-spacing: .63px;
  line-height: 1;
  transform: rotate(90deg);
  transform-origin: top left;
  white-space: nowrap;
}

.hero-ornament {
  position: absolute;
  top: 245px;
  left: 116px;
  display: block;
  width: 80.395px;
  height: 465.447px;
}

.hero-sp-vertical-copy { display: none; }

.introduction {
  position: relative;
  height: 768px;
  overflow: hidden;
  color: #fff;
  background: #000;
}

.introduction-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.introduction-background-video {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.introduction-shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: rgba(0, 0, 0, .25);
}

.introduction-content {
  position: absolute;
  z-index: 3;
  inset: 0;
  text-align: center;
}

@media (max-width: 767px) {
  .introduction-background-video { display: none; }
}

.introduction-copy {
  position: absolute;
  top: 182px;
  left: 50%;
  width: 877px;
  margin: 0;
  color: #fff;
  font-family: var(--mincho);
  font-size: 20px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: .8px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.play-button {
  position: absolute;
  display: grid;
  place-items: center;
  top: 616px;
  left: 50%;
  width: 96px;
  height: 96px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-family: var(--mincho);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .64px;
  transform: translateX(-50%);
}

.play-button::before {
  position: absolute;
  inset: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  content: "";
}

.play-button:hover::before {
  background: rgba(255, 255, 255, .12);
}

body.is-video-modal-open {
  overflow: hidden;
}

.video-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(0, 0, 0, .78);
}

.video-modal[hidden] {
  display: none;
}

.video-modal-panel {
  position: relative;
  width: min(960px, 100%);
  max-height: 100%;
}

.introduction-video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 64px);
  background: #000;
}

.video-modal-close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 113px;
  height: 51px;
  padding: 0;
  border: 2px solid var(--accent);
  border-radius: 40px;
  color: #fff;
  background: var(--accent);
  font-family: var(--gothic);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

@media (min-width: 768px) {
  .video-modal-close:hover {
    color: var(--accent);
    background: #fff;
  }
}

.video-modal-close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.features {
  --feature-heading-left: 100px;
  --feature-card-width: 388px;
  --feature-card-gap: 20px;
  --feature-track-width: calc(
    var(--feature-card-width) + var(--feature-card-width) +
    var(--feature-card-width) + var(--feature-card-width) +
    var(--feature-card-gap) + var(--feature-card-gap) + var(--feature-card-gap)
  );
  position: relative;
  width: 100vw;
  height: 731px;
  overflow: hidden;
  background: var(--accent);
}

.features > h2 {
  position: absolute;
  z-index: 1;
  top: 59px;
  left: var(--feature-heading-left);
  margin: 0;
  color: #fff;
  font-family: var(--mincho);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.feature-viewport {
  position: absolute;
  top: 167px;
  left: var(--feature-heading-left);
  width: min(var(--feature-track-width), calc(100vw - var(--feature-heading-left)));
  height: 504px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  touch-action: pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.feature-viewport::-webkit-scrollbar {
  display: none;
}

.feature-viewport:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 3px #173a69;
}

.feature-viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.feature-viewport.is-static {
  left: max(0px, calc((100vw - var(--feature-track-width)) / 2));
  width: var(--feature-track-width);
  overflow-x: hidden;
  cursor: default;
  scroll-snap-type: none;
  touch-action: auto;
}

.feature-viewport.is-static .feature-track {
  padding-right: 0;
}

.feature-control {
  position: absolute;
  z-index: 2;
  top: 687px;
  width: 26px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.feature-control img {
  display: block;
  width: 26px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.feature-control-prev { left: min(1275px, calc(100vw - 91px)); }
.feature-control-next { left: min(1318px, calc(100vw - 48px)); }
.feature-control-prev img { transform: rotate(180deg); }

.feature-control:focus-visible {
  outline: 3px solid #173a69;
  outline-offset: 3px;
}

.feature-control[aria-disabled="true"] {
  opacity: .45;
  cursor: default;
}

@media (min-width: 1367px) {
  .hero {
    width: 100vw;
    height: 820px;
  }

  .site-header {
    left: 4.4655929722vw;
  }

  .hero-ornament {
    left: 8.4919472914vw;
  }

  .hero-motto {
    left: 17.6427525622vw;
  }

  .hero-image {
    left: 25.2562225476vw;
    right: 0;
    width: 74.7437774524vw;
    height: 820px;
    object-fit: cover;
    object-position: center top;
  }
}

@media (min-width: 1367px) {
  .features {
    --feature-heading-left: calc((100vw - var(--canvas-width)) / 2 + 100px);
  }

  .feature-control-prev {
    left: auto;
    right: calc((100vw - var(--canvas-width)) / 2 + 65px);
  }

  .feature-control-next {
    left: auto;
    right: calc((100vw - var(--canvas-width)) / 2 + 22px);
  }
}

.feature-track {
  position: relative;
  display: flex;
  gap: var(--feature-card-gap);
  width: max-content;
  height: 504px;
  padding-right: 0;
}

.feature-card {
  position: relative;
  display: block;
  flex: 0 0 var(--feature-card-width);
  height: 504px;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.feature-card:focus-visible {
  outline: 3px solid #173a69;
  outline-offset: 3px;
}

.feature-card h3 {
  position: absolute;
  z-index: 1;
  top: 35px;
  left: 34px;
  margin: 0;
  color: #000;
  font-family: "Times New Roman", Times, var(--mincho);
  font-size: 26px;
  font-weight: 400;
  line-height: 38px;
  white-space: nowrap;
}

.feature-image {
  position: absolute;
  top: 145px;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  background: #f2f2f2;
}

.feature-image img {
  position: absolute;
  display: block;
  max-width: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.feature-card-exterior .feature-image img {
  top: -3px;
  left: -92px;
  width: 548px;
  height: 362px;
}

.feature-card-plan .feature-image img {
  top: 32px;
  left: -24px;
  width: 464px;
  height: 326px;
  mix-blend-mode: multiply;
}

.feature-card-interior .feature-image img {
  top: 0;
  left: -92px;
  width: 573px;
  height: 359px;
}

.feature-card-technology .feature-image img {
  top: 17px;
  left: 111px;
  width: 147px;
  height: 393px;
}

.feature-label {
  position: absolute;
  z-index: 2;
  top: 324.5px;
  right: 0;
  bottom: auto;
  width: 41px;
  height: auto;
  margin: 0;
  padding: 12px 0;
  color: #000;
  background: #fff;
  font-family: "Times New Roman", Times, serif;
  font-size: 36px;
  line-height: 41px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  white-space: nowrap;
}
