:root {
  --background: oklch(0.095 0.005 264);
  --foreground: oklch(0.97 0.003 264);
  --primary: oklch(0.61 0.225 27);
  --muted-foreground: oklch(0.66 0.008 264);
  --surface: oklch(0.14 0.007 264);
  --shadow-contact:
    0 0 0 1px color-mix(in oklab, var(--primary) 36%, transparent),
    0 0 34px color-mix(in oklab, var(--primary) 14%, transparent),
    inset 0 0 24px color-mix(in oklab, var(--primary) 4%, transparent);
  --shadow-contact-active:
    0 0 0 1px color-mix(in oklab, var(--primary) 65%, transparent),
    0 0 48px color-mix(in oklab, var(--primary) 25%, transparent),
    inset 0 0 30px color-mix(in oklab, var(--primary) 8%, transparent);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--primary);
  color: #fff;
}

.stage {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
}

.atmosphere {
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(
      ellipse 55% 75% at 52% 42%,
      color-mix(in oklab, var(--foreground) 6%, transparent),
      transparent 66%
    ),
    radial-gradient(
      ellipse 42% 52% at 100% 6%,
      color-mix(in oklab, var(--primary) 7%, transparent),
      transparent 68%
    ),
    radial-gradient(
      ellipse 42% 55% at 0% 100%,
      color-mix(in oklab, var(--foreground) 4%, transparent),
      transparent 72%
    ),
    linear-gradient(
      135deg,
      var(--background) 0%,
      var(--surface) 52%,
      var(--background) 100%
    );
  animation:
    background-enter 1.4s ease-out both,
    atmosphere-shift 18s ease-in-out 1.4s infinite;
}

.diagonal-mark {
  position: absolute;
  right: -6rem;
  top: -14rem;
  width: 38rem;
  height: 38rem;
  transform: rotate(12deg);
  opacity: 0.7;
  background: linear-gradient(
    135deg,
    transparent 46%,
    color-mix(in oklab, var(--foreground) 4%, transparent) 46%,
    color-mix(in oklab, var(--foreground) 4%, transparent) 51%,
    transparent 51%
  );
}

.ring {
  position: absolute;
  border-radius: 9999px;
}
.ring-lg {
  left: -8rem;
  bottom: -13rem;
  width: 32rem;
  height: 32rem;
  border: 1px solid color-mix(in oklab, var(--foreground) 3.5%, transparent);
}
.ring-sm {
  left: -6rem;
  bottom: -11rem;
  width: 25rem;
  height: 25rem;
  border: 1px solid color-mix(in oklab, var(--primary) 10%, transparent);
  box-shadow: 0 0 55px color-mix(in oklab, var(--primary) 8%, transparent);
}

.edge-line {
  position: absolute;
  right: 7%;
  top: 0;
  width: 1px;
  height: 28vh;
  background: linear-gradient(
    to bottom,
    color-mix(in oklab, var(--primary) 50%, transparent),
    color-mix(in oklab, var(--primary) 10%, transparent),
    transparent
  );
  box-shadow: 0 0 18px color-mix(in oklab, var(--primary) 35%, transparent);
}

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

.shell {
  position: relative;
  z-index: 10;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  width: 100%;
  max-width: 96rem;
  padding: 1.5rem 1.25rem;
}

.promise {
  display: flex;
  min-height: 3rem;
  align-items: flex-start;
  justify-content: flex-end;
}

.promise p {
  margin: 0;
  padding-right: 0.75rem;
  border-right: 1px solid color-mix(in oklab, var(--primary) 60%, transparent);
  text-align: right;
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 0 1.25rem;
}

.logo {
  width: min(73vw, 17.5rem);
  height: auto;
  object-fit: contain;
  animation: logo-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

h1 {
  margin: 2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 6.5vw, 5.45rem);
  font-weight: 500;
  line-height: 0.98;
  animation: reveal-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

h1 span {
  display: block;
}
h1 .accent {
  margin-top: 0.25rem;
  color: var(--primary);
}

.tagline {
  margin: 1.25rem 0 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--muted-foreground);
  animation: reveal-up 0.7s ease-out 0.7s both;
}

.contact {
  margin-top: 2.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 34rem;
  min-height: 5rem;
  padding: 0 1.25rem;
  border: 1px solid color-mix(in oklab, var(--primary) 40%, transparent);
  border-radius: 9999px;
  text-align: left;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(
    110deg,
    color-mix(in oklab, var(--surface) 82%, transparent),
    color-mix(in oklab, var(--background) 88%, transparent)
  );
  box-shadow: var(--shadow-contact);
  backdrop-filter: blur(18px);
  transition:
    transform 0.5s,
    border-color 0.5s,
    box-shadow 0.5s;
  animation:
    contact-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.95s both,
    contact-breathe 4.5s ease-in-out 1.8s infinite;
}

.contact:hover {
  transform: translateY(-4px) scale(1.012);
  border-color: color-mix(in oklab, var(--primary) 70%, transparent);
  box-shadow: var(--shadow-contact-active);
}

.contact:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.contact .icon {
  display: flex;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid color-mix(in oklab, var(--primary) 40%, transparent);
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  color: var(--primary);
  transition: transform 0.5s;
}

.contact:hover .icon {
  transform: scale(1.05);
}

.contact-text {
  min-width: 0;
}

.contact .label {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--muted-foreground);
}

.contact .number {
  display: block;
  margin-top: 0.25rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 5.8vw, 1.75rem);
  font-weight: 500;
}

.contact .arrow {
  display: none;
  margin-left: auto;
  font-size: 2.5rem;
  color: var(--primary);
  transition: transform 0.5s;
}

.contact:hover .arrow {
  transform: translateX(4px);
}

.brandmark {
  display: flex;
  min-height: 2rem;
  align-items: flex-end;
  justify-content: center;
}

.brandmark p {
  margin: 0;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: color-mix(in oklab, var(--muted-foreground) 60%, transparent);
}

@media (min-width: 390px) {
  .contact .arrow {
    display: block;
  }
}

@media (min-width: 640px) {
  .shell {
    padding: 2rem;
  }
  .promise p {
    font-size: 0.64rem;
  }
  .logo {
    width: 22rem;
  }
  h1 {
    margin-top: 2.5rem;
  }
  .tagline {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.34em;
  }
  .contact {
    margin-top: 2.75rem;
    min-height: 6rem;
    padding: 0 1.75rem;
  }
  .contact .icon {
    width: 3rem;
    height: 3rem;
  }
  .contact .label {
    font-size: 0.65rem;
  }
}

@media (min-width: 1024px) {
  .shell {
    padding: 2.5rem 3.5rem;
  }
  .logo {
    width: 28rem;
  }
  .hero {
    padding-bottom: 2.5rem;
  }
}

@media (min-width: 1280px) {
  .logo {
    width: 31rem;
  }
}

@keyframes atmosphere-shift {
  0%,
  100% {
    transform: translate3d(-1.5%, -1%, 0) scale(1.03);
  }
  50% {
    transform: translate3d(1.5%, 1%, 0) scale(1.07);
  }
}
@keyframes background-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes logo-enter {
  from {
    opacity: 0;
    transform: scale(0.96);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes contact-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes contact-breathe {
  0%,
  100% {
    box-shadow: var(--shadow-contact);
  }
  50% {
    box-shadow: var(--shadow-contact-active);
  }
}

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