:root {
  --bg: #ffffff;
  --text: #000000;
  --purple: #87498b;
  --muted: #4a4a4a;
  --space-2: clamp(10px, 1.2vw, 18px);
  --page-pad-top: clamp(12px, 2vw, 24px);
  --top-nav-slot: calc(
    var(--page-pad-top) + clamp(52px, 8vw, 100px) + clamp(8px, 1.2vw, 14px) + 43px
  );
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Alegreya Sans SC", sans-serif;
}

.contact-page {
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px) clamp(20px, 3vw, 44px);
  padding-top: var(--top-nav-slot);
  overflow-x: hidden;
  min-height: 100vh;
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: var(--page-pad-top) clamp(16px, 3vw, 40px) clamp(8px, 1.2vw, 14px);
  box-sizing: border-box;
  background-color: var(--bg);
}

.dot-logo {
  width: clamp(52px, 8vw, 100px);
  height: clamp(52px, 8vw, 100px);
  border-radius: 999px;
}

.dot-logo img {
  position: relative;
  left: 55px;
  z-index: 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu {
  display: flex;
  gap: var(--space-2);
}

.menu-right {
  margin-left: auto;
  padding-right: 88px;
  gap: 24px;
}

.menu-right a {
  font-size: clamp(14px, 1.5vw, 28px);
}

.menu a {
  font-family: "Inter", sans-serif;
  text-decoration: none;
  color: #000000;
  font-size: clamp(10px, 1vw, 16px);
  letter-spacing: 0.12em;
}

.menu a.active {
  color: var(--purple);
  font-weight: 700;
}

.intro {
  position: relative;
  z-index: 10;
  left: clamp(24px, 6vw, 88px);
  margin-top: 5px;
  font-family: "Architects Daughter", cursive;
  font-size: 23px;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: clamp(52px, 6vw, 92px);
}

.contact-stage {
  position: relative;
  z-index: 1;
  margin-bottom: -200px;
}

.contact-grid {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(16px, 4vw, 40px) clamp(12px, 5vw, 80px) clamp(48px, 10vw, 120px);
  min-height: min(62vh, 640px);
}

.contact-decor {
  position: absolute;
  top: 28%;
  width: min(560px, 58vw);
  max-width: none;
  pointer-events: none;
  z-index: 0;
  opacity: 0.98;
}

.contact-decor img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-decor--left {
  left: 0;
  width: min(650px, 68vw);
  transform: translate(calc(-58% - 60px), calc(-50% + 40px));
}

.contact-decor--right {
  right: 0;
  width: min(650px, 68vw);
  transform: translate(calc(58% + 60px), calc(-50% + 40px)) scaleX(-1);
}

.contact-form-wrap {
  position: relative;
  z-index: 5;
  width: min(100%, 550px);
  margin: -30px auto 0;
}

.contact-form .field {
  margin-bottom: clamp(22px, 3.5vw, 32px);
}

.contact-form label {
  display: block;
  font-family: "Alegreya Sans SC", sans-serif;
  font-weight: 700;
  font-size: clamp(15px, 1vw, 18px);
  letter-spacing: 0.16em;
  color: var(--text);
  margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--purple);
  background: #fff;
  font-family: "Alegreya Sans SC", sans-serif;
  font-size: 16px;
  padding: 12px 14px;
  color: var(--text);
  border-radius: 10px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(135, 73, 139, 0.35);
  outline-offset: 2px;
}

.contact-form textarea {
  min-height: 200px;
  resize: vertical;
  line-height: 1.45;
}

.contact-form button {
  display: block;
  width: fit-content;
  margin: clamp(28px, 5vw, 44px) auto 0;
  padding: 12px 40px;
  border: 1px solid var(--purple);
  background: transparent;
  color: var(--purple);
  font-family: "Alegreya Sans SC", sans-serif;
  font-weight: 700;
  font-size: clamp(12px, 1.5vw, 15px);
  letter-spacing: 0.22em;
  cursor: pointer;
  border-radius: 10px;
}

.contact-form button:hover {
  background: var(--purple);
  color: #fff;
}

.contact-socials {
  margin-top: clamp(50px, 8vw, 86px);
  transform: translateY(-35px);
}

.contact-socials-line {
  width: 100%;
  height: 2px;
  background: #CEC4CE;
  margin: 0 auto clamp(28px, 4vw, 36px);
}

.contact-socials-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
}

.contact-social-icon {
  width: clamp(29px, 3.9vw, 41px);
  height: clamp(29px, 3.9vw, 41px);
  object-fit: contain;
  display: block;
  transition: transform 160ms ease;
}

.contact-socials-row a {
  display: inline-flex;
}

.contact-socials-row a:hover .contact-social-icon,
.contact-socials-row a:focus-visible .contact-social-icon {
  transform: scale(1.12);
}

.contact-social-icon--spotify {
  border-radius: 50%;
}

@media (max-width: 720px) {
  .contact-decor {
    width: min(360px, 68vw);
    opacity: 0.55;
  }

  .contact-decor--left {
    width: min(440px, 82vw);
    transform: translate(calc(-72% - 30px), calc(-50% + 40px));
  }

  .contact-decor--right {
    width: min(440px, 82vw);
    transform: translate(calc(72% + 30px), calc(-50% + 40px)) scaleX(-1);
  }
}
