:root {
  --background: #1d1e1b;
  --background-deep: #181916;
  --copper: #b87749;
  --copper-light: #dda16f;
  --duration-multiplier: 1;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  color: var(--copper-light);
  background: var(--background);
  font-family: "Avenir Next", Avenir, Montserrat, Arial, sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 50% 26%,
      rgba(61, 67, 49, 0.17),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #20211e 0%,
      var(--background) 48%,
      var(--background-deep) 100%
    );
}

.hero::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background:
    radial-gradient(
      ellipse at center,
      rgba(201, 130, 76, 0.1),
      transparent 48%
    );
  animation: backgroundBreath 8s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.022;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.65) 0,
      rgba(255, 255, 255, 0.65) 1px,
      transparent 1px,
      transparent 3px
    );
  mix-blend-mode: soft-light;
}

.hero__content {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100svh;
}

.hero__glow {
  position: absolute;
  top: 3%;
  left: 50%;
  width: min(54vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) scale(0.7);
  background: radial-gradient(
    circle,
    rgba(213, 139, 81, 0.09),
    transparent 68%
  );
}

.brand {
  position: absolute;
  top: 0.7%;
  left: 50%;
  width: min(28.3vw, 460px, 55vh);
  aspect-ratio: 1390 / 1120;
  transform: translateX(-50%);
  transform-origin: 50% 38%;
}

.brand__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22));
}

.tagline {
  position: absolute;
  top: 51.7%;
  left: 50%;
  width: min(42.5vw, 690px);
  aspect-ratio: 2172 / 724;
  overflow: hidden;
  transform: translateX(-50%);
}

.tagline__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.22));
}

.coming-soon {
  position: absolute;
  top: 83.7%;
  left: 50%;
  width: max-content;
  max-width: 90vw;
  margin: 0;
  transform: translateX(-50%);
  color: #a97048;
  font-size: clamp(10px, 0.82vw, 14px);
  font-weight: 600;
  letter-spacing: clamp(2.5px, 0.25vw, 4.2px);
  line-height: 1.3;
  text-align: center;
}

.inquire {
  position: absolute;
  top: 90.1%;
  left: 50%;
  width: clamp(112px, 7.3vw, 122px);
  height: clamp(43px, 5.45vh, 47px);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  color: #a97048;
  border: 1px solid rgba(176, 112, 69, 0.72);
  outline: 0;
  background: rgba(31, 31, 28, 0.3);
  transform: translateX(-50%);
  transition:
    color 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    background-color 240ms ease;
}

.inquire::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(230, 164, 108, 0.16) 50%,
    transparent 80%
  );
  transform: translateX(-130%);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.inquire span {
  position: relative;
  z-index: 1;
  font-size: clamp(11px, 0.82vw, 14px);
  font-weight: 600;
  letter-spacing: clamp(2px, 0.2vw, 3.5px);
}

.inquire:hover,
.inquire:focus-visible {
  color: #e4a36e;
  border-color: rgba(221, 151, 96, 0.95);
  background: rgba(184, 119, 73, 0.07);
  box-shadow:
    0 0 0 1px rgba(205, 134, 82, 0.08),
    0 8px 30px rgba(0, 0, 0, 0.2);
}

.inquire:hover::before,
.inquire:focus-visible::before {
  transform: translateX(130%);
}

/* Initial animation state */

.has-js:not(.intro-ready) .brand,
.has-js:not(.intro-ready) .tagline,
.has-js:not(.intro-ready) .coming-soon,
.has-js:not(.intro-ready) .inquire {
  opacity: 0;
}

.intro-ready .hero__glow {
  animation:
    glowIn calc(1.8s * var(--duration-multiplier))
    0.15s
    cubic-bezier(0.16, 1, 0.3, 1)
    forwards;
}

.intro-ready .brand {
  animation:
    brandIn calc(1.55s * var(--duration-multiplier))
    0.12s
    cubic-bezier(0.16, 1, 0.3, 1)
    both;
}

.intro-ready .tagline {
  animation:
    taglineReveal calc(1.3s * var(--duration-multiplier))
    1.45s
    cubic-bezier(0.65, 0, 0.2, 1)
    both;
}

.intro-ready .tagline__image {
  animation:
    taglineImageIn calc(1.3s * var(--duration-multiplier))
    1.45s
    cubic-bezier(0.16, 1, 0.3, 1)
    both;
}

.intro-ready .coming-soon {
  animation:
    copyIn calc(0.85s * var(--duration-multiplier))
    1.25s
    cubic-bezier(0.16, 1, 0.3, 1)
    both;
}

.intro-ready .inquire {
  animation:
    buttonIn calc(0.8s * var(--duration-multiplier))
    1.05s
    cubic-bezier(0.16, 1, 0.3, 1)
    both;
}

@keyframes brandIn {
  0% {
    opacity: 0;
    filter: blur(14px);
    transform: translate(-50%, -5%) scale(0.72) rotate(-2.5deg);
  }

  60% {
    opacity: 1;
  }

  78% {
    filter: blur(0);
    transform: translate(-50%, 0) scale(1.025) rotate(0.15deg);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, 0) scale(1) rotate(0);
  }
}

@keyframes taglineReveal {
  0% {
    opacity: 0;
    clip-path: inset(0 50% 0 50%);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes taglineImageIn {
  0% {
    filter: blur(9px);
    transform: translateY(10px) scale(0.97);
  }

  100% {
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes copyIn {
  from {
    opacity: 0;
    filter: blur(4px);
    transform: translate(-50%, 13px);
    letter-spacing: 8px;
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, 0);
  }
}

@keyframes buttonIn {
  from {
    opacity: 0;
    transform: translate(-50%, 16px) scaleX(0.82);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0) scaleX(1);
  }
}

@keyframes glowIn {
  from {
    opacity: 0;
    transform: translateX(-50%) scale(0.7);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes backgroundBreath {
  from {
    opacity: 0.12;
    transform: scale(0.95);
  }

  to {
    opacity: 0.25;
    transform: scale(1.05);
  }
}

/* Tablets and phones */

@media (max-aspect-ratio: 4 / 5) {
  .brand {
    top: 2.2svh;
    width: min(83vw, 430px, 47svh);
  }

  .tagline {
    top: 52.5svh;
    width: min(92vw, 680px);
  }

  .coming-soon {
    top: 76.5svh;
  }

  .inquire {
    top: 83.5svh;
  }
}

@media (max-width: 480px) {
  .brand {
    top: 4svh;
    width: min(94vw, 390px, 44svh);
  }

  .tagline {
    top: 51svh;
    width: 96vw;
  }

  .coming-soon {
    top: 74svh;
    padding-inline: 16px;
    font-size: 10px;
    letter-spacing: 2.8px;
  }

  .inquire {
    top: 81svh;
    width: 116px;
    height: 45px;
  }
}

/* Short landscape screens */

@media (max-height: 620px) and (min-aspect-ratio: 1 / 1) {
  .brand {
    width: min(30vw, 54vh);
  }

  .tagline {
    top: 48%;
    width: min(43vw, 82vh);
  }

  .coming-soon {
    top: 80%;
  }

  .inquire {
    top: 87%;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
/* Timing and positioning reconstructed from the supplied screen recording. */
.hero { background: #20211f; }
.hero::before, .hero::after { display: none; }
.hero__glow { display: none; }
.brand { top: 0.8%; }
.tagline { top: 51.7%; }

.intro-ready .brand {
  animation: referenceBrandIn 2.5s 0.05s ease-out both;
}
.intro-ready .tagline {
  animation: referenceHandwriting 5.65s 3.2s linear both;
}
.intro-ready .tagline__image {
  animation: none;
}
.intro-ready .coming-soon {
  animation: referenceLowerIn 0.6s 8.85s ease-out both;
}
.intro-ready .inquire {
  animation: referenceButtonIn 0.5s 9.05s ease-out both;
}
@keyframes referenceBrandIn {
  0% { opacity: 0; filter: brightness(.35); transform: translateX(-50%); }
  90%,100% { opacity: 1; filter: brightness(1); transform: translateX(-50%); }
}
@keyframes referenceHandwriting {
  0% { opacity: 1; clip-path: inset(0 100% 0 0); }
  7% { clip-path: inset(0 95% 0 0); }
  23% { clip-path: inset(0 76% 0 0); }
  47% { clip-path: inset(0 49% 0 0); }
  72% { clip-path: inset(0 27% 0 0); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); }
}
@keyframes referenceLowerIn {
  from { opacity: 0; transform: translate(-50%, 9px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes referenceButtonIn {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .intro-ready .brand, .intro-ready .tagline,
  .intro-ready .coming-soon, .intro-ready .inquire { animation-duration: 1ms !important; animation-delay: 0ms !important; }
}
