@charset "UTF-8";
:root {
  color-scheme: dark;
  --charcoal: #1f1c17;
  --brown: #4a2c1a;
  --copper: #8a5a2a;
  --tan: #c4996c;
  --red: #d40005;
  --cream: #e8dcc3;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--charcoal);
  color: var(--cream);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  /* border-top: 3px solid var(--red); */
}
.page {
  max-width: 1440px;
  min-height: calc(100svh - 3px);
  margin: auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
}
.masthead,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.masthead {
  min-height: 76px;
  border-bottom: 1px solid #c4996c30;
  color: var(--tan);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0 48px;
  text-align: center;
}
.logo {
  clip-path: inset(1px);
  display: block;
  width: min(540px, 76vw);
  height: auto;
  max-width: 100%;
}
.intro {
  max-width: 760px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 auto;
  max-width: 640px;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.18;
  letter-spacing: -1px;
  font-weight: 500;
  text-wrap: balance;
}
h2 {
  font-size: clamp(22px, 2.5vw, 34px);
}
h3 {
  font-size: clamp(20px, 2vw, 28px);
}
.promise {
  margin: 18px 0 0;
  color: var(--tan);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.7;
  text-wrap: balance;
}
.contact {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
a {
  color: inherit;
  text-decoration: none;
}
.email {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 17px 22px;
  background: var(--cream);
  color: var(--brown);
  border: 1px solid var(--cream);
  font-size: 14px;
  font-weight: 700;
  transition: background .15s, border-color .15s;
}
.email:hover {
  background: var(--tan);
  border-color: var(--tan);
}
.phone {
  padding: 15px 0;
  font-size: 15px;
  letter-spacing: .5px;
  text-underline-offset: 6px;
}
.phone:hover {
  color: var(--tan);
  text-decoration: underline;
}
a:focus-visible {
  outline: 3px solid var(--tan);
  outline-offset: 5px;
}
footer {
  min-height: 66px;
  border-top: 1px solid #c4996c30;
  color: var(--tan);
  font-size: 11px;
  letter-spacing: 1px;
}
.suits {
  font-size: 17px;
  letter-spacing: 8px;
}
.suits i {
  font-style: normal;
  color: var(--red);
}
@media (min-width: 700px) and (max-height: 850px) {
  .logo {
    clip-path: inset(1px);
    width: min(430px, 49vh);
  }
  main {
    padding-bottom: 30px;
  }
}
@media (max-width: 600px) {
  .masthead {
    min-height: 65px;
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  main {
    padding: 12px 0 36px;
  }
  .logo {
    clip-path: inset(1px);
    width: min(460px, 100%);
  }
  h1 {
    max-width: 350px;
    letter-spacing: -.6px;
  }
  .contact {
    flex-direction: column;
    gap: 5px;
    margin-top: 26px;
  }
  .email {
    padding: 16px 18px;
    font-size: 13px;
  }
  footer {
    min-height: 58px;
  }
}
#progress {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--red);

  z-index: 9999;
  transform-origin: 0 50%;
}

.scenes {
  width: 100%;
  /* height: 100vh;
  overflow-y: auto; */

  /* scroll-snap-type: y mandatory; */
}

.scene {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 320px;
  overflow: clip;
  /* scroll-snap-align: start;
  scroll-snap-stop: always; */
}

.graphics {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100%,calc(100vh * 16 / 9));
  height: auto;
  aspect-ratio: 16 / 9;
  transform: translate(-50%,-50%);
  transform-origin: center;
}

.person,
.table {
  position: absolute;
  display: block;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}

.person-01 {
  left: 5%;
  top: 26%;
  width: 30%;
  z-index: 5;
}
.person-02 {
  left: 22%;
  top: 12%;
  width: 34%;
  z-index: 2;
}
.person-03 {
  left: 49%;
  top: 29%;
  width: 24%;
  z-index: 5;
}
.person-04 {
  left: 64%;
  top: 30%;
  width: 27%;
  z-index: 7;
}
.table-01 {
  left: 6.0%;
  top: 64.2%;
  width: 86.3%;
  z-index: 10;
}

.animate-avatar {
  transition: transform 0.3s ease-in-out;
}

.animate-avatar.from-left {
  animation: animateFromLeft linear both;
  animation-timeline: view();
  animation-range: entry 0% cover 15%;
}

.animate-avatar.from-right {
  animation: animateFromRight linear both;
  animation-timeline: view();
  animation-range: entry 0% cover 15%;
}

.animate-avatar.from-below {
  animation: animateFromBelow linear both;
  animation-timeline: view();
  animation-range: entry 0% cover 10%;
}

@supports (animation-timeline: scroll()) {
  #progress {
    display: block;
    animation: showProgress 2s linear both;
    animation-timeline: scroll();
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
  .animate-avatar,
  #progress {
    animation: none !important;
  }
  #progress {
    display: none;
  }
}

@keyframes showProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes animateFromLeft {
  from {
    transform: translateX(-120px) scale(0.75);
    filter: blur(2px);
  }

  to {
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes animateFromRight {
  0% {
    transform: translateX(120px) scale(0.75);
    filter: blur(2px);
  }

  65% {
    transform: translateX(-10px) scale(1.04);
  }

  100% {
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes animateFromBelow {
  0% {
    transform: translateY(40px) scale(0.75);
    filter: blur(2px);
  }

  65% {
    transform: translateY(-10px) scale(1.04);
  }

  100% {
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}
