.ray-contact {
  position: relative;
  isolation: isolate;
  z-index: 1;
  border-radius: 0 0 clamp(32px, 5vw, 72px) clamp(32px, 5vw, 72px);
  overflow: hidden;
  min-height: max(800px, 100vh);
  padding: 70px 24px 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 80px;
  background: var(--bg);
}
.ray-contact2 {
  position: relative;
  isolation: isolate;
  z-index: 1;
  border-radius: 0 0 clamp(32px, 5vw, 72px) clamp(32px, 5vw, 72px);
  overflow: hidden;
  min-height: max(800px, 100vh);
  padding: 162px 27px 107px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 80px;
  background: var(--bg);
}
.ray-contact::before {
  mask-image: linear-gradient(transparent, #000 25%, #000 65%, transparent);
  -webkit-mask-image: linear-gradient(
    transparent,
    #000 25%,
    #000 65%,
    transparent
  );
  content: "";
  position: absolute;
  inset: 35% 0 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 42% 70%,
      rgba(132, 87, 255, 0.34),
      transparent 65%
    ),
    radial-gradient(
      ellipse at 72% 72%,
      rgba(255, 168, 242, 0.24),
      transparent 60%
    );
}
[data-theme="light"] .ray-contact::before {
  mask-image: linear-gradient(transparent, #000 25%, #000 65%, transparent);
  -webkit-mask-image: linear-gradient(
    transparent,
    #000 25%,
    #000 65%,
    transparent
  );
  opacity: 0.55;
}
.ray-contact-heading {
  text-align: center;
}
.ray-contact-heading h2 {
  margin: 0 0 24px;
  font:
    800 clamp(96px, 20vw, 304px)/0.8 "Open Sauce One",
    sans-serif;
  letter-spacing: normal;
  color: transparent;
  background: linear-gradient(
    175deg,
    var(--pink) 20%,
    color-mix(in srgb, var(--violet) 55%, var(--pink)) 52%,
    transparent 100%
  );
  background-clip: text;
}
.ray-contact-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
.ray-contact-layout {
  position: relative;
  display: flex;
  gap: 44px;
  align-items: center;
}
.ray-contact-plane {
  position: absolute;
  width: 159px;
  height: 159px;
  top: -32px;
  inset-inline-start: -155px;
  transform: rotate(22deg);
  pointer-events: none;
}
.ray-contact-socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ray-contact-socials h3 {
  margin: 0;
  color: color-mix(in srgb, var(--violet) 60%, var(--pink));
  font-size: 20px;
  font-weight: 500;
}
.ray-contact-socials > a,
.ray-contact-socials > span {
  display: flex;
  align-items: center;
  min-height: 45px;
  gap: 10px;
  color: var(--text);
  font-size: 16px;
}
.ray-contact-socials a:hover {
  color: var(--violet);
}
.ray-contact-socials svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  flex-shrink: 0;
}
.ray-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 389px;
  padding: 20px;
}
.ray-contact-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.ray-contact-form input,
.ray-contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: color-mix(in srgb, var(--text) 5%, var(--bg));
  color: var(--text);
  font: inherit;
}
.ray-contact-form input {
  height: 40px;
}
.ray-contact-form textarea {
  height: 100px;
  resize: vertical;
}
.ray-contact-form input:focus,
.ray-contact-form textarea:focus {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}
.ray-contact-form button {
  height: 40px;
  border: 0;
  border-radius: 10px;
  font: 600 14px var(--font);
  color: #fff;
  background: var(--violet);
  box-shadow:
    inset 0 -2px 6px rgba(0, 0, 0, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.1),
    0 4px 10px rgba(0, 0, 0, 0.3);
  backdrop-filter: saturate(120%) blur(8px);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.ray-contact-form button:hover {
  background: var(--pink);
  color: #15121f;
}
.ray-contact-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.ray-contact-status:empty {
  display: none;
}
.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.ray-contact-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.ray-contact-status.is-success {
  color: #79e6b0;
}
.ray-contact-status.is-error {
  color: #ff9ba9;
}
@media (max-width: 1000px) {
  .ray-contact-plane {
    width: 93px;
    height: 93px;
    inset-inline-start: -55px;
    top: -65px;
  }
  .ray-contact-layout {
    gap: 24px;
  }
  .ray-contact-form {
    width: 340px;
  }
}
@media (max-width: 650px) {
  .ray-contact {
    padding: 60px 20px 80px;
    gap: 70px;
  }
  .ray-contact-heading h2 {
    font-size: clamp(88px, 21vw, 136px);
  }
  .ray-contact-heading p {
    font-size: 14px;
    max-width: 360px;
  }
  .ray-contact-layout {
    flex-direction: column;
    width: min(100%, 389px);
    gap: 24px;
    align-items: stretch;
  }
  .ray-contact-plane {
    width: 55px;
    height: 55px;
    inset-inline-start: auto;
    inset-inline-end: 0;
    top: -46px;
  }
  .ray-contact-form {
    width: 100%;
    padding: 0;
  }
  .ray-contact-socials h3 {
    font-size: 18px;
  }
  .ray-contact-socials > a,
  .ray-contact-socials > span {
    font-size: 14px;
  }
}
