:root {
  --ink: #16232a;
  --teal: #075056;
  --orange: #ff5b04;
  --ice: #e4eef0;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ice);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 91, 4, 0.42), transparent 26rem),
    radial-gradient(circle at 78% 18%, rgba(7, 80, 86, 0.76), transparent 30rem),
    linear-gradient(135deg, #16232a 0%, #075056 44%, #16232a 100%);
  isolation: isolate;
}

.site-shell::before {
  position: absolute;
  inset: -40%;
  z-index: -2;
  content: "";
  background:
    linear-gradient(115deg, rgba(255, 91, 4, 0.72), transparent 34%),
    linear-gradient(235deg, rgba(228, 238, 240, 0.22), transparent 30%),
    linear-gradient(315deg, rgba(7, 80, 86, 0.92), transparent 44%);
  filter: blur(34px);
  animation: gradient-drift 14s ease-in-out infinite alternate;
}

.site-shell::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(228, 238, 240, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228, 238, 240, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle, black, transparent 72%);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 44px 20px;
  position: relative;
}

.hero__glow {
  position: absolute;
  width: 32vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.34;
  pointer-events: none;
  animation: float-glow 12s ease-in-out infinite;
}

.hero__glow--one {
  top: 9%;
  left: 8%;
  background: var(--orange);
}

.hero__glow--two {
  right: 2%;
  bottom: 8%;
  background: var(--teal);
  animation-delay: -4s;
}

.hero__glow--three {
  left: 44%;
  bottom: 0;
  background: var(--ice);
  opacity: 0.12;
  animation-delay: -8s;
}

.hero__content {
  width: min(100%, 1040px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.logo {
  width: clamp(210px, 30vw, 360px);
  height: auto;
  margin-bottom: clamp(34px, 5vw, 54px);
  filter: drop-shadow(0 24px 40px var(--shadow));
}

.eyebrow,
.modal__eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--white);
  font-family: "Cal Sans", "Inter", system-ui, sans-serif;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.85rem, 6.2vw, 4.8rem);
}

.hero__copy {
  width: min(100%, 1040px);
  margin: 22px 0 28px;
  color: rgba(228, 238, 240, 0.88);
  font-size: clamp(0.86rem, 1.55vw, 1.14rem);
  line-height: 1.62;
}

.hero__copy span {
  display: block;
}

.contact-button,
.submit-button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(255, 91, 4, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-button {
  min-width: 158px;
  padding: 0 28px;
}

.contact-button:hover,
.submit-button:hover,
.contact-button:focus-visible,
.submit-button:focus-visible {
  background: #ff6d20;
  box-shadow: 0 20px 40px rgba(255, 91, 4, 0.35);
  transform: translateY(-2px);
}

.contact-button:focus-visible,
.submit-button:focus-visible,
.modal__close:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(228, 238, 240, 0.8);
  outline-offset: 3px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 35, 42, 0.72);
  backdrop-filter: blur(18px);
}

.modal__panel {
  width: min(100%, 520px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  position: relative;
  z-index: 1;
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid rgba(228, 238, 240, 0.18);
  border-radius: 8px;
  background: rgba(22, 35, 42, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
  transform: translateY(14px) scale(0.98);
  transition: transform 180ms ease;
}

.modal.is-open .modal__panel {
  transform: translateY(0) scale(1);
}

.modal__close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  position: absolute;
  top: 16px;
  right: 16px;
  border: 1px solid rgba(228, 238, 240, 0.22);
  border-radius: 50%;
  background: rgba(228, 238, 240, 0.08);
  color: var(--ice);
  font-size: 1.6rem;
  line-height: 1;
}

.modal h2 {
  max-width: 390px;
  font-size: clamp(2.15rem, 8vw, 3.35rem);
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.modal__form-content.is-hidden {
  display: none;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(228, 238, 240, 0.78);
  font-size: 0.93rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(228, 238, 240, 0.22);
  border-radius: 8px;
  background: rgba(228, 238, 240, 0.08);
  color: var(--white);
  padding: 14px 15px;
}

textarea {
  resize: vertical;
}

.submit-button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: rgba(228, 238, 240, 0.68);
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
}

.form-success {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 26px 10px 12px;
  text-align: center;
}

.form-success[hidden] {
  display: none;
}

.form-success__icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #20c875;
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(32, 200, 117, 0.25);
}

.form-success__icon svg {
  width: 38px;
  height: 38px;
}

.form-success__icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.form-success h3 {
  margin: 8px 0 0;
  color: var(--white);
  font-family: "Cal Sans", "Inter", system-ui, sans-serif;
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 400;
  line-height: 1;
}

.form-success p {
  margin: 0;
  color: rgba(228, 238, 240, 0.82);
  font-size: 1.05rem;
  line-height: 1.55;
}

@keyframes gradient-drift {
  0% {
    transform: translate3d(-3%, -2%, 0) rotate(0deg) scale(1);
  }

  100% {
    transform: translate3d(4%, 3%, 0) rotate(18deg) scale(1.08);
  }
}

@keyframes float-glow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(7%, -6%, 0) scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 620px) {
  .hero {
    padding: 44px 18px;
  }

  .logo {
    width: min(78vw, 320px);
  }

  .eyebrow {
    max-width: 300px;
    line-height: 1.45;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.85rem);
  }

  .hero__copy {
    margin-top: 22px;
  }

  .modal {
    align-items: end;
    padding: 12px;
  }

  .modal__panel {
    padding-top: 52px;
  }
}

@media (max-width: 540px) {
  .hero__copy span {
    display: inline;
  }
}
