* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #030303;
  color: #fff;
}

button,
input,
textarea {
  font: inherit;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;

  background:
    radial-gradient(
      circle at 50% 115%,
      #39150b 0%,
      #130907 24%,
      #070505 47%,
      #020202 75%
    );
}

.atmosphere {
  position: absolute;
  z-index: -2;

  left: 50%;
  bottom: -55vw;

  width: 115vw;
  height: 72vw;

  transform: translateX(-50%);
  border-radius: 50%;

  border-top: 1px solid rgba(255, 151, 89, 0.55);

  box-shadow:
    0 -2px 18px rgba(255, 104, 45, 0.20),
    0 -35px 100px rgba(151, 42, 10, 0.12);
}

.flare {
  position: absolute;
  z-index: -1;

  left: 50%;
  bottom: 2%;

  width: 40vw;
  height: 18vw;

  transform: translateX(-50%);

  background:
    radial-gradient(
      ellipse,
      rgba(255, 113, 42, 0.20) 0%,
      rgba(126, 31, 9, 0.08) 35%,
      transparent 72%
    );

  filter: blur(28px);

  animation: breathe 6s ease-in-out infinite;
}

.identity {
  position: relative;
  text-align: center;
  transform: translateY(-3vh);
}

h1 {
  margin: 0;

  font-size: clamp(100px, 16vw, 245px);
  line-height: 0.78;

  font-weight: 700;
  letter-spacing: -0.075em;

  white-space: nowrap;

  text-shadow:
    0 0 60px rgba(255, 255, 255, 0.025);
}

h1 span {
  color: #d96735;

  text-shadow:
    0 0 30px rgba(217, 103, 53, 0.25);
}

.rule {
  width: 36px;
  height: 1px;

  margin: 48px auto 22px;

  background: rgba(217, 103, 53, 0.75);
}

.identity p {
  margin: 0;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;

  color: rgba(255, 255, 255, 0.48);
}

.inquiries {
  position: absolute;

  left: 50%;
  bottom: 38px;

  transform: translateX(-50%);

  padding: 8px 0;

  border: 0;
  border-bottom: 1px solid rgba(217, 103, 53, 0.5);

  background: transparent;

  color: rgba(255, 255, 255, 0.62);

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;

  cursor: pointer;

  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.inquiries:hover {
  color: #fff;
  border-color: #d96735;
}


/* CONTACT MODAL */

.modal {
  position: fixed;
  inset: 0;
  z-index: 10;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 24px;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  z-index: 1;

  width: min(460px, 100%);

  padding: 44px;

  border: 1px solid rgba(255, 255, 255, 0.10);

  background: rgba(10, 8, 7, 0.96);

  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.6);
}

.modal-x {
  position: absolute;

  top: 16px;
  right: 20px;

  border: 0;
  background: transparent;

  color: rgba(255, 255, 255, 0.45);

  font-size: 25px;

  cursor: pointer;
}

.modal-label {
  margin-bottom: 20px;

  color: #d96735;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.30em;
}

h2 {
  margin: 0 0 36px;

  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

label {
  display: block;

  margin-top: 22px;

  color: rgba(255, 255, 255, 0.42);

  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.20em;
}

input,
textarea {
  display: block;

  width: 100%;

  margin-top: 9px;
  padding: 10px 0;

  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;

  outline: none;
  resize: none;

  background: transparent;
  color: #fff;
}

input:focus,
textarea:focus {
  border-color: #d96735;
}

.send {
  width: 100%;

  margin-top: 34px;
  padding: 14px;

  border: 1px solid rgba(217, 103, 53, 0.55);

  background: transparent;
  color: #fff;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;

  cursor: pointer;
}

.send:hover {
  background: rgba(217, 103, 53, 0.10);
}


/* ANIMATION */

@keyframes breathe {
  0%,
  100% {
    opacity: 0.55;
    transform: translateX(-50%) scale(0.96);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.04);
  }
}


/* MOBILE */

@media (max-width: 600px) {
  h1 {
    font-size: 25vw;
  }

  .rule {
    margin-top: 34px;
  }

  .identity p {
    font-size: 8px;
    letter-spacing: 0.25em;
  }

  .atmosphere {
    bottom: -35vw;
    width: 150vw;
    height: 75vw;
  }

  .inquiries {
    bottom: 26px;
  }

  .modal-card {
    padding: 36px 26px 30px;
  }
}


/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .flare {
    animation: none;
  }
}