/* Contact page */
.ct-page {
  position: relative;
  z-index: 1;
  font-family: Manrope, sans-serif;
  color: #fff;
  padding-bottom: clamp(60px, 8vw, 120px);
}
.ct-hero {
  text-align: center;
  padding: clamp(130px, 12vw, 180px) 20px clamp(30px, 4vw, 56px);
}
.ct-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 99px;
  font:
    700 11px/1 Manrope,
    sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e9e1ff;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(196, 181, 253, 0.4);
  margin-bottom: 22px;
}
.ct-tag i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 10px #a78bfa;
}
.ct-hero h1 {
  margin: 0 auto;
  max-width: 12em;
  font:
    600 clamp(34px, 4.6vw, 68px)/1.14 Manrope,
    sans-serif;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.ct-hero h1 span,
.ct-studio h2 span {
  background: linear-gradient(90deg, #c4b5fd, #8b5cf6 55%, #e879f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ct-main {
  width: min(1060px, calc(100vw - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.ct-form {
  display: grid;
  gap: 18px;
}
.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ct-row.one {
  grid-template-columns: 1fr;
}
.ct-f {
  display: grid;
  gap: 9px;
  min-width: 0;
}
.ct-f label {
  font:
    500 12px/1.2 Manrope,
    sans-serif;
  color: rgba(255, 255, 255, 0.72);
}
.ct-in {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font:
    500 14px/1.3 Manrope,
    sans-serif;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}
.ct-in::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.ct-in:hover {
  background-color: rgba(255, 255, 255, 0.09);
}
.ct-in:focus {
  outline: none;
  border-color: #a78bfa;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.25);
}
select.ct-in {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}
select.ct-in option,
select.ct-in optgroup {
  background: #150c36;
  color: #fff;
}
textarea.ct-in {
  resize: vertical;
  min-height: 150px;
}
.ct-send {
  position: relative;
  overflow: hidden;
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 16px 20px;
  border-radius: 10px;
  font:
    700 15px/1 Manrope,
    sans-serif;
  color: #fff;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  box-shadow: 0 16px 30px -14px rgba(124, 58, 237, 0.95);
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    filter 0.3s;
}
.ct-send::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.7s;
}
.ct-send:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.ct-send:hover::after {
  left: 130%;
}
.ct-send:focus-visible,
.ct-dir:focus-visible,
.ct-soc a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.ct-side h2 {
  display: inline-block;
  margin: 0 0 20px;
  font:
    600 20px/1.2 Manrope,
    sans-serif;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.8);
  padding-bottom: 3px;
}
.ct-side h2:not(:first-child) {
  margin-top: 38px;
}
.ct-side ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.ct-side li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font:
    500 13.5px/1.6 Manrope,
    sans-serif;
  color: rgba(255, 255, 255, 0.88);
}
.ct-side li svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: #c4b5fd;
}
/* studio card */
.ct-studio {
  width: min(1180px, calc(100vw - 40px));
  margin: clamp(60px, 8vw, 120px) auto 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  padding: clamp(24px, 3vw, 44px);
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.04) 50%,
    rgba(10, 8, 28, 0.4)
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 40px 70px -34px rgba(0, 0, 0, 0.9);
}
.ct-studio h2 {
  margin: 0 0 20px;
  font:
    700 clamp(40px, 5vw, 76px)/1 Manrope,
    sans-serif;
  letter-spacing: -0.03em;
}
.ct-st-l p {
  margin: 0 0 clamp(26px, 3vw, 44px);
  max-width: 30em;
  font:
    500 15px/1.7 Manrope,
    sans-serif;
  color: rgba(255, 255, 255, 0.76);
}
.ct-st-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px 44px;
}
.ct-dir {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 99px;
  font:
    700 14px/1 Manrope,
    sans-serif;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  box-shadow: 0 14px 28px -12px rgba(124, 58, 237, 0.9);
  transition:
    transform 0.3s,
    filter 0.3s;
}
.ct-dir svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}
.ct-dir:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}
.ct-dir:hover svg {
  transform: translateX(4px);
}
.ct-soc small {
  display: block;
  margin-bottom: 10px;
  font:
    600 12px/1 Manrope,
    sans-serif;
  color: rgba(255, 255, 255, 0.7);
}
.ct-soc div {
  display: flex;
  gap: 10px;
}
.ct-soc a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.4, 1),
    filter 0.3s;
}
.ct-soc a svg {
  width: 16px;
  height: 16px;
}
.ct-soc a:hover {
  transform: translateY(-4px) scale(1.1);
  filter: brightness(1.2);
}
.ct-st-r {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: 0 30px 50px -26px rgba(0, 0, 0, 0.9);
}
.ct-st-r img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.ct-studio:hover .ct-st-r img {
  transform: scale(1.06);
}
/* entrance */
@keyframes ctUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.ct-hero > * {
  animation: ctUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.ct-hero h1 {
  animation-delay: 0.1s;
}
.ct-form,
.ct-side,
.ct-studio {
  animation: ctUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s backwards;
}
.ct-side {
  animation-delay: 0.35s;
}
.ct-studio {
  animation-delay: 0.45s;
}
@media (max-width: 860px) {
  .ct-main {
    grid-template-columns: 1fr;
  }
  .ct-studio {
    grid-template-columns: 1fr;
  }
  .ct-row {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ct-hero > *,
  .ct-form,
  .ct-side,
  .ct-studio {
    animation: none;
  }
}

/* ===== Medium size, wider than before ===== */
.ct-hero h1 {
  max-width: 14em;
  font-size: clamp(36px, 4.8vw, 80px);
}
.ct-main {
  width: min(1320px, calc(100vw - clamp(40px, 6vw, 120px)));
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 90px);
}
.ct-form {
  gap: 22px;
}
.ct-row {
  gap: 22px;
}
.ct-f label {
  font-size: 14px;
}
.ct-in {
  padding: 17px 20px;
  font-size: 16px;
  border-radius: 12px;
}
select.ct-in {
  padding-right: 48px;
  background-position: right 18px center;
  background-size: 15px;
}
textarea.ct-in {
  min-height: 190px;
}
.ct-send {
  padding: 19px 24px;
  font-size: 17px;
  border-radius: 12px;
}
.ct-side h2 {
  font-size: clamp(20px, 1.6vw, 26px);
  margin-bottom: 22px;
}
.ct-side h2:not(:first-child) {
  margin-top: 42px;
}
.ct-side ul {
  gap: 18px;
}
.ct-side li {
  font-size: 15.5px;
}
.ct-side li svg {
  width: 22px;
  height: 22px;
}
.ct-studio {
  width: min(1320px, calc(100vw - clamp(40px, 6vw, 120px)));
  padding: clamp(26px, 3vw, 50px);
}
.ct-studio h2 {
  font-size: clamp(40px, 5vw, 84px);
}
.ct-st-l p {
  font-size: 16px;
}
.ct-dir {
  padding: 15px 26px;
  font-size: 15px;
}
.ct-soc a {
  width: 38px;
  height: 38px;
}
.ct-soc a svg {
  width: 17px;
  height: 17px;
}

/* ===== Studio: full-bleed, edge to edge ===== */
.ct-studio {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  padding: clamp(40px, 5vw, 90px) clamp(24px, 6vw, 120px);
  gap: clamp(30px, 5vw, 100px);
  grid-template-columns: 1fr 1.15fr;
}
.ct-studio h2 {
  font-size: clamp(44px, 6vw, 100px);
}
.ct-st-l p {
  font-size: clamp(16px, 1.2vw, 20px);
  max-width: 30em;
}
.ct-st-r {
  border-radius: 18px;
  aspect-ratio: 16/9;
}
@media (max-width: 860px) {
  .ct-studio {
    grid-template-columns: 1fr;
  }
  .ct-st-r {
    aspect-ratio: 16/10;
  }
}

/* ===== Mobile: stack form and contact details (must come after the overrides above) ===== */
@media (max-width: 860px) {
  .ct-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
