:root {
  --text: #fff9ff;
  --muted: rgba(255, 249, 255, 0.72);
  --violet: #d9b8ff;
  --pink: #ffbdf1;
  --blue: #a6e6ff;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: #070512;
  font-family: "Inter", sans-serif;
}

body.menu-open,
body.world-rebuild-active {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(rgba(6, 4, 16, 0.34), rgba(6, 4, 16, 0.52)),
    url("../assets/media/contact-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* AMBIENT */

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  mix-blend-mode: screen;
}

.ambient-one {
  width: 420px;
  height: 420px;
  top: 12%;
  right: -120px;
  background: rgba(220, 160, 255, 0.28);
}

.ambient-two {
  width: 520px;
  height: 520px;
  left: -180px;
  bottom: -140px;
  background: rgba(120, 220, 255, 0.18);
}

.ambient-three {
  width: 360px;
  height: 360px;
  right: 22%;
  bottom: 12%;
  background: rgba(255, 170, 240, 0.16);
}

/* HEADER */

.contact-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px 6vw;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  transition: 0.35s ease;
}

.contact-header.is-scrolled,
.contact-header.is-open {
  padding-block: 20px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(34px);
  -webkit-backdrop-filter: blur(34px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.brand {
  position: relative;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: max-content;
  color: var(--text);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.28em;
}

.brand span {
  font-size: 9px;
  letter-spacing: 0.46em;
  opacity: 0.56;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 52px;
}

.main-nav a {
  position: relative;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.82;
  transition: 0.35s ease;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
  color: var(--violet);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--violet);
  transition: 0.35s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions {
  position: relative;
  z-index: 1002;
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: 0.35s ease;
}

.header-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.header-button span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

/* THEME SWITCHER */

.vibe-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.05)
    );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 34px rgba(0, 0, 0, 0.14);
}

.vibe-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  height: 32px;
  padding: 0 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: 0.35s ease;
}

.vibe-btn span {
  position: relative;
  z-index: 2;
}

.vibe-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.78;
  transition: 0.35s ease;
}

.vibe-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.48);
}

.vibe-violet {
  color: #281842;
}

.vibe-violet::before {
  background: linear-gradient(135deg, #dac5ff, #7fcfff, #f29be6);
}

.vibe-bold {
  color: #fdf7ff;
}

.vibe-bold::before {
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #102419, #126d58 58%, #8b6a44);
}

.vibe-nude {
  color: #4d362e;
}

.vibe-nude::before {
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.62), transparent 34%),
    linear-gradient(135deg, #fff7ef, #e4cfc2, #f9f2eb);
}

.mobile-vibe-block {
  display: none;
}

/* MENU */

.menu-toggle {
  position: relative;
  z-index: 1002;
  display: none;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--text);
  transition: 0.35s ease;
}

.menu-toggle span:first-child {
  top: 23px;
}

.menu-toggle span:last-child {
  top: 34px;
}

.menu-toggle.is-active span:first-child {
  top: 29px;
  transform: rotate(45deg);
}

.menu-toggle.is-active span:last-child {
  top: 29px;
  transform: rotate(-45deg);
}

.burger-menu {
  position: absolute;
  z-index: 1004;
  top: calc(100% + 14px);
  right: 6vw;
  width: min(440px, calc(100vw - 44px));
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 32px;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.22), transparent 9rem),
    radial-gradient(circle at 86% 18%, rgba(166, 230, 255, 0.18), transparent 12rem),
    radial-gradient(circle at 18% 88%, rgba(255, 189, 241, 0.18), transparent 13rem),
    linear-gradient(135deg, rgba(28, 18, 48, 0.92), rgba(11, 8, 26, 0.82));
  backdrop-filter: blur(34px) saturate(1.15);
  -webkit-backdrop-filter: blur(34px) saturate(1.15);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px) scale(0.94);
  transform-origin: top right;
  transition:
    opacity 0.42s ease,
    transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.burger-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 34%, rgba(255, 255, 255, 0.08) 68%, transparent),
    radial-gradient(circle at 50% 0%, rgba(217, 184, 255, 0.16), transparent 16rem);
  opacity: 0.86;
}

.burger-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.burger-menu a {
  position: relative;
  z-index: 2;
  display: block;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  line-height: 1;
  transition: 0.3s ease;
}

.burger-menu a:last-of-type {
  border-bottom: 0;
}

.burger-menu a:hover,
.burger-menu a.active {
  color: var(--violet);
  transform: translateX(8px);
}

.mobile-vibe-block {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  padding: 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.36), transparent 44%),
    radial-gradient(circle at 86% 18%, rgba(166, 230, 255, 0.18), transparent 48%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 44px rgba(0, 0, 0, 0.16);
}

.mobile-vibe-block p {
  margin: 0 0 12px;
  color: rgba(255, 249, 255, 0.66);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.mobile-vibe-switcher {
  width: 100%;
  justify-content: center;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.16),
      rgba(217, 184, 255, 0.08),
      rgba(166, 230, 255, 0.08)
    );
}

.mobile-vibe-switcher .vibe-btn {
  flex: 1;
  min-width: 0;
  height: 36px;
}

/* PAGE */

.contact-page {
  position: relative;
  z-index: 2;
  padding: 180px 6vw 120px;
}

/* HERO */

.contact-hero {
  width: min(980px, 100%);
  margin-bottom: 70px;
}

.eyebrow,
.panel-label {
  margin: 0 0 22px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-hero h1 {
  margin: 0;
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(68px, 8vw, 128px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.contact-hero h1 em {
  color: var(--violet);
  font-style: italic;
}

.contact-intro {
  width: min(580px, 100%);
  margin-top: 34px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

/* LAYOUT */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 1.05fr);
  gap: 36px;
  align-items: stretch;
}

/* PANEL */

.contact-panel {
  position: relative;
  min-height: 520px;
  padding: 48px;
  border-radius: 38px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.025)
    );
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(170, 120, 255, 0.16), transparent 68%);
}

.contact-panel h2 {
  position: relative;
  z-index: 2;
  margin: 0 0 28px;
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(46px, 4.8vw, 78px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.contact-panel > p:not(.panel-label) {
  position: relative;
  z-index: 2;
  max-width: 520px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

/* TAGS */

.contact-tags {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.contact-tags span {
  padding: 13px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--violet);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* CARDS */

.contact-cards {
  display: grid;
  gap: 22px;
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr 44px;
  align-items: center;
  gap: 22px;
  min-height: 156px;
  padding: 28px;
  border-radius: 34px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.025)
    );
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: rgba(170, 120, 255, 0.28);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
}

.card-number {
  color: var(--violet);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.contact-card p {
  margin: 0 0 10px;
  color: var(--violet);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-card h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1;
}

.contact-card div span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact-card b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--violet);
  transition: 0.35s ease;
}

.contact-card:hover b {
  transform: translateX(4px);
}

/* FOOTER */

.contact-footer {
  position: relative;
  z-index: 2;
  min-height: 520px;
  overflow: hidden;
  color: var(--text);
  background: transparent;
}

.footer-bg {
  display: none;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(6, 4, 16, 0.05),
      rgba(6, 4, 16, 0.66)
    );
}

.footer-content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 520px;
  align-content: center;
  gap: 44px;
  padding: 90px 7vw 80px;
}

.footer-talk {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-talk span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.footer-socials {
  display: grid;
  gap: 22px;
  width: max-content;
}

.footer-socials a,
.footer-bottom {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-socials a {
  opacity: 0.84;
  transition: 0.3s ease;
}

.footer-socials a:hover {
  opacity: 1;
  color: white;
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  width: 100%;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.74);
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

/* WORLD REBUILD TRANSITION */

.world-rebuild {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  color: #fff9ff;
  background:
    radial-gradient(circle at 50% 50%, rgba(185, 162, 255, 0.5), transparent 20rem),
    rgba(7, 4, 18, 0.92);
  transition: opacity 0.45s ease;
}

.world-rebuild.is-active {
  opacity: 1;
}

.world-rebuild::before,
.world-rebuild::after {
  content: "";
  position: absolute;
  inset: -12%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(900px) rotateX(62deg) scale(1.4);
  opacity: 0;
  animation: rebuildGrid 3.4s ease forwards;
}

.world-rebuild::after {
  background-size: 28px 28px;
  filter: blur(1px);
  animation-delay: 0.2s;
}

.world-rebuild__panel {
  position: relative;
  z-index: 4;
  width: min(560px, calc(100% - 44px));
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.16), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(34px) scale(0.94);
  opacity: 0;
  animation: rebuildPanel 3.4s ease forwards;
}

.world-rebuild__kicker {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.world-rebuild__title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 400;
  line-height: 0.92;
}

.world-rebuild__title em {
  color: #b9a2ff;
  font-style: italic;
}

.world-rebuild__line {
  position: relative;
  height: 1px;
  margin: 28px 0 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.world-rebuild__line span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #b9a2ff, #8fd8ff, transparent);
  transform: translateX(-100%);
  animation: rebuildLine 2.5s ease 0.35s forwards;
}

.world-rebuild__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.world-rebuild__pieces {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.world-rebuild__pieces span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: rgba(185, 162, 255, 0.72);
  box-shadow: 0 0 22px rgba(185, 162, 255, 0.5);
  opacity: 0;
  animation: rebuildPiece 3.2s ease forwards;
}

.world-rebuild__pieces span:nth-child(1) { left: 10%; top: 18%; animation-delay: 0.1s; }
.world-rebuild__pieces span:nth-child(2) { left: 22%; top: 72%; animation-delay: 0.24s; }
.world-rebuild__pieces span:nth-child(3) { left: 36%; top: 28%; animation-delay: 0.38s; }
.world-rebuild__pieces span:nth-child(4) { left: 52%; top: 78%; animation-delay: 0.52s; }
.world-rebuild__pieces span:nth-child(5) { left: 68%; top: 18%; animation-delay: 0.66s; }
.world-rebuild__pieces span:nth-child(6) { left: 84%; top: 64%; animation-delay: 0.8s; }
.world-rebuild__pieces span:nth-child(7) { left: 14%; top: 48%; animation-delay: 0.94s; }
.world-rebuild__pieces span:nth-child(8) { left: 74%; top: 42%; animation-delay: 1.08s; }

.world-rebuild.to-bold {
  background:
    radial-gradient(circle at 70% 40%, rgba(0, 255, 185, 0.16), transparent 22rem),
    radial-gradient(circle at 30% 60%, rgba(185, 118, 48, 0.16), transparent 24rem),
    rgba(2, 8, 6, 0.96);
}

.world-rebuild.to-bold .world-rebuild__title em {
  color: #20ffc0;
}

.world-rebuild.to-bold .world-rebuild__line span,
.world-rebuild.to-bold .world-rebuild__pieces span {
  background: linear-gradient(90deg, #13b782, #d4a04f);
  box-shadow: 0 0 24px rgba(24, 255, 185, 0.46);
}

.world-rebuild.to-nude {
  color: #2f241f;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.72), transparent 18rem),
    radial-gradient(circle at 70% 75%, rgba(199, 142, 130, 0.28), transparent 24rem),
    rgba(246, 229, 218, 0.94);
}

.world-rebuild.to-nude .world-rebuild__panel {
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.5), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.24));
  border-color: rgba(255, 255, 255, 0.78);
}

.world-rebuild.to-nude .world-rebuild__kicker,
.world-rebuild.to-nude .world-rebuild__text {
  color: rgba(47, 36, 31, 0.66);
}

.world-rebuild.to-nude .world-rebuild__title em {
  color: #c78e82;
}

.world-rebuild.to-nude .world-rebuild__line span,
.world-rebuild.to-nude .world-rebuild__pieces span {
  background: linear-gradient(90deg, #f2d8c9, #c78e82);
  box-shadow: 0 0 24px rgba(199, 142, 130, 0.42);
}

@keyframes rebuildGrid {
  0% {
    opacity: 0;
    transform: perspective(900px) rotateX(68deg) translateY(120px) scale(1.65);
  }

  35% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: perspective(900px) rotateX(54deg) translateY(-160px) scale(1.05);
  }
}

@keyframes rebuildPanel {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(0.94);
    filter: blur(12px);
  }

  24%,
  78% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-26px) scale(1.03);
    filter: blur(10px);
  }
}

@keyframes rebuildLine {
  0% {
    transform: translateX(-100%);
  }

  62%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes rebuildPiece {
  0% {
    opacity: 0;
    transform: translate3d(0, 80px, 0) rotate(0deg) scale(0.2);
  }

  24% {
    opacity: 1;
  }

  72% {
    opacity: 0.95;
  }

  100% {
    opacity: 0;
    transform: translate3d(0, -160px, 0) rotate(260deg) scale(1.4);
  }
}

/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .contact-header {
    grid-template-columns: auto auto;
    padding: 24px 28px;
  }

  .main-nav,
  .header-button,
  .desktop-vibe-switcher {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-vibe-block {
    display: block;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .page {
    background:
      linear-gradient(rgba(6, 4, 16, 0.26), rgba(6, 4, 16, 0.58)),
      url("../assets/media/contact-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .contact-header {
    padding: 20px 22px;
  }

  .brand {
    font-size: 16px;
  }

  .menu-toggle {
    width: 58px;
    height: 58px;
  }

  .burger-menu {
    right: 22px;
    width: min(380px, calc(100vw - 44px));
    padding: 26px;
  }

  .burger-menu a {
    font-size: 50px;
  }

  .contact-page {
    padding: 140px 22px 90px;
  }

  .contact-hero {
    margin-bottom: 46px;
  }

  .contact-hero h1 {
    font-size: clamp(56px, 15vw, 76px);
  }

  .contact-intro {
    font-size: 15px;
  }

  .contact-panel {
    padding: 32px;
    border-radius: 30px;
  }

  .contact-tags {
    gap: 10px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px;
  }

  .contact-card b {
    width: 38px;
    height: 38px;
  }

  .contact-footer {
    min-height: 560px;
  }

  .footer-content {
    min-height: 560px;
    padding: 70px 24px 56px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.7;
  }
}