/* Contact Us — precision atelier, scoped under .cu-page */

.cu-page {
  --cu-bg: #050505;
  --cu-bg-raised: #0e0e0e;
  --cu-line: #2a2a2a;
  --cu-line-soft: #1c1c1c;
  --cu-white: #f5f3ef;
  --cu-muted: #9a9690;
  --cu-warm: #c4b8a5;
  --cu-max: 1200px;
  --cu-ease: cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--cu-white);
  background: var(--cu-bg);
  font-family: var(--mm-font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.cu-page *,
.cu-page *::before,
.cu-page *::after {
  box-sizing: border-box;
}

.cu-page a {
  color: inherit;
  text-decoration: none;
}

.cu-page .cu-wrap {
  max-width: var(--cu-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Hero ---------- */
.cu-page .cu-hero {
  position: relative;
  padding: 88px 0 36px;
  background: var(--cu-bg);
}

.cu-page .cu-hero .cu-wrap {
  width: 100%;
  text-align: center;
}

.cu-page .cu-tagline {
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.35;
  text-align: center;
}

.cu-page .cu-headline {
  font-family: var(--mm-font);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cu-line-soft);
  max-width: none;
  color: var(--cu-white);
  text-align: left;
}

/* ---------- Body ---------- */
.cu-page .cu-body {
  padding: 0 0 100px;
}

.cu-page .cu-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
  gap: 48px 64px;
  align-items: start;
}

.cu-page .cu-apply {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
    var(--cu-bg-raised);
  border: 1px solid var(--cu-line);
  padding: 36px 36px 40px;
  position: relative;
}

.cu-page .cu-apply::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 2px;
  background: var(--cu-warm);
}

.cu-page .cu-apply-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cu-warm);
  margin-bottom: 8px;
}

.cu-page .cu-apply-title {
  font-family: var(--mm-font);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}

.cu-page .cu-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}

.cu-page .cu-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cu-page .cu-field--full {
  grid-column: 1 / -1;
}

.cu-page .cu-field label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cu-muted);
}

.cu-page .cu-field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--cu-line);
  border-radius: 0;
  color: var(--cu-white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  padding: 10px 0 12px;
  outline: none;
  transition: border-color 0.35s var(--cu-ease), box-shadow 0.35s var(--cu-ease);
  box-shadow: inset 0 -1px 0 transparent;
}

.cu-page .cu-field input::placeholder {
  color: rgba(154, 150, 144, 0.55);
}

.cu-page .cu-field input:focus {
  border-bottom-color: var(--cu-warm);
  box-shadow: inset 0 -1px 0 var(--cu-warm);
}

.cu-page .cu-field .errors {
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.cu-page .cu-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 14px 28px;
  border: none;
  background: var(--cu-white);
  color: #0a0a0a;
  font-family: var(--mm-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.35s var(--cu-ease), background 0.3s ease;
}

.cu-page .cu-submit::after {
  content: "";
  width: 18px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230a0a0a' stroke-width='1.6' viewBox='0 0 24 12'%3E%3Cpath d='M0 6h20M15 1l5 5-5 5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: transform 0.35s var(--cu-ease);
}

.cu-page .cu-submit:hover {
  transform: translateY(-2px);
  background: var(--cu-warm);
}

.cu-page .cu-submit:hover::after {
  transform: translateX(4px);
}

/* ---------- Office ---------- */
.cu-page .cu-office {
  padding: 28px 0 0 8px;
}

.cu-page .cu-office-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cu-muted);
  margin-bottom: 10px;
}

.cu-page .cu-office-title {
  font-family: var(--mm-font);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.cu-page .cu-office-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--cu-line);
}

.cu-page .cu-office-intro {
  margin: 0 0 28px;
  color: var(--cu-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cu-page .cu-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cu-page .cu-contact-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.cu-page .cu-contact-list img {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  opacity: 0.85;
  object-fit: contain;
}

.cu-page .cu-contact-list p,
.cu-page .cu-contact-list a {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 300;
  color: var(--cu-muted);
}

.cu-page .cu-contact-list a {
  text-decoration: none;
  cursor: pointer;
}

.cu-page .cu-contact-list a:hover {
  color: var(--cu-white);
}

/* ---------- Motion ---------- */
.cu-page .cu-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--cu-ease), transform 0.85s var(--cu-ease);
}

.cu-page .cu-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.cu-page .cu-reveal-delay-1 {
  transition-delay: 0.12s;
}

.cu-page .cu-reveal-delay-2 {
  transition-delay: 0.24s;
}

.cu-page .cu-reveal-delay-3 {
  transition-delay: 0.36s;
}

@media (prefers-reduced-motion: reduce) {
  .cu-page .cu-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cu-page .cu-submit,
  .cu-page .cu-field input {
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .cu-page .cu-hero {
    padding: 88px 0 32px;
  }

  .cu-page .cu-body-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cu-page .cu-office {
    padding: 32px 0 0;
    border-top: 1px solid var(--cu-line-soft);
  }

  .cu-page .cu-apply {
    padding: 28px 22px 32px;
  }
}

@media (max-width: 575px) {
  .cu-page .cu-wrap {
    padding: 0 18px;
  }

  .cu-page .cu-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cu-page .cu-submit {
    width: 100%;
    justify-content: center;
  }
}
