@import url("fonts/misans/Normal/MiSans-Regular.min.css");
@import url("fonts/misans/Normal/MiSans-Semibold.min.css");
@import url("fonts/misans/Normal/MiSans-Bold.min.css");
@import url("fonts/d-din/font-face.css");

:root {
  --contact-width: 1707.333px;
  --contact-bg: #050505;
  --contact-white: #f4f4f4;
  --contact-copy: rgba(255, 255, 255, 0.68);
  --contact-line: rgba(255, 255, 255, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #000; }
body {
  margin: 0;
  overflow-x: hidden;
  background: #000;
  color: var(--contact-white);
  font-family: MiSans, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 40;
  width: min(100%, var(--contact-width));
  height: 76px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.58), rgba(5, 5, 5, 0));
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header.is-hidden { opacity: 0; pointer-events: none; transform: translate(-50%, -28px); }
.nav {
  width: 100%;
  height: 76px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { width: 152px; height: 44px; display: flex; align-items: center; opacity: 0.9; }
.brand-logo { width: 148px; height: 44px; object-fit: contain; object-position: left center; }
.nav-right { display: flex; align-items: center; gap: 30.72px; }
.nav-secondary {
  min-height: 44px;
  padding: 0 2px;
  display: inline-flex;
  align-items: center;
  color: rgba(244, 244, 244, 0.68);
  white-space: nowrap;
  transition: color 180ms ease;
}
.nav-secondary:hover,
.nav-secondary[aria-current="page"] { color: rgba(244, 244, 244, 0.96); }
.language-toggle {
  position: relative;
  width: 76px;
  height: 30px;
  padding: 2px;
  display: inline-flex;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
}
.language-toggle::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 34px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 220ms ease;
}
.language-toggle.is-en::before { transform: translateX(36px); }
.language-toggle button {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}
.language-toggle button.is-active { color: rgba(255, 255, 255, 0.96); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after { content: ""; display: block; width: 23px; height: 1px; margin: 6px auto; background: currentColor; }
.menu-open .menu-toggle::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span { opacity: 0; }
.menu-open .menu-toggle::after { transform: translateY(-7px) rotate(-45deg); }

.contact-shell {
  width: min(100%, var(--contact-width));
  margin: 0 auto;
  overflow: clip;
  background: var(--contact-bg);
}
.contact-page h1,
.contact-page h2,
.contact-page h3,
.contact-page p { margin: 0; }

.contact-hero {
  position: relative;
  height: 836px;
  min-height: 836px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 42% 25% at 50% 103%, rgba(255, 255, 255, 0.035), transparent 72%),
    #050505;
}
.contact-hero__content {
  position: absolute;
  top: 278.817px;
  left: 102.44px;
  width: 1120px;
}
.contact-eyebrow {
  color: rgba(255, 255, 255, 0.5) !important;
  font-family: "D-DIN-PRO", "DIN Alternate", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.06em !important;
}
.contact-page .contact-hero h1 {
  max-width: 1120px;
  margin-top: 56px;
  color: #f4f4f4;
  font-size: 64px !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  white-space: nowrap;
}
.contact-page .contact-lead {
  width: 760px;
  max-width: 760px;
  margin-top: 54px;
  color: var(--contact-copy) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
}
.contact-actions { margin-top: 70px; display: flex; align-items: center; gap: 14px; }
.contact-button {
  height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0.667px solid transparent;
  font-size: 15px !important;
  line-height: 1.4 !important;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.contact-button--primary { width: 173.33px; background: #f4f4f4; color: #050505; }
.contact-button--primary:hover { background: #fff; }
.contact-button--secondary { width: 102.33px; border-color: rgba(255, 255, 255, 0.78); color: #f4f4f4; }
.contact-button--secondary:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.contact-wordmark {
  width: 289.668px;
  height: 25.994px;
  margin-top: 50.333px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.96;
}

.contact-paths {
  height: 466.792px;
  min-height: 466.792px;
  padding: 112px 96px 0;
  background: #050505;
}
.contact-page .contact-paths h2 {
  color: #f4f4f4;
  font-size: 40px !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
}
.contact-card-grid {
  margin-top: 33.792px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.contact-card {
  height: 164px;
  padding: 24px;
  border: 0.667px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.024));
}
.contact-page .contact-card h3 {
  color: #f4f4f4;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em !important;
}
.contact-page .contact-card p {
  max-width: none;
  margin-top: 12px;
  color: rgba(244, 244, 244, 0.68) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
}

.contact-footer {
  height: 315.698px;
  min-height: 315.698px;
  padding: 72.667px 80px 42px;
  display: grid;
  grid-template-columns: minmax(0, 725.667px) repeat(2, minmax(0, 362.833px));
  gap: 48px;
  border-top: 1px solid var(--contact-line);
  background: #050505;
}
.footer-brand img { width: 150px; height: 14px; object-fit: contain; object-position: left; }
.footer-statement {
  margin: 28px 0 0 !important;
  color: rgba(255, 255, 255, 0.66) !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
}
.footer-email { display: inline-flex; align-items: center; min-height: 49px; padding-top: 28px; color: rgba(255, 255, 255, 0.82); }
.footer-copy { display: block; margin-top: 38px; color: rgba(255, 255, 255, 0.42); }
.footer-heading { color: rgba(255, 255, 255, 0.42); }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links a { min-height: 34px; padding-top: 13px; color: rgba(255, 255, 255, 0.82); }

@media (max-width: 1240px) {
  .contact-hero__content { left: clamp(40px, 6vw, 78px); width: calc(100% - 80px); }
  .contact-page .contact-hero h1 { white-space: normal; }
  .contact-paths { padding-right: 40px; padding-left: 40px; }
  .contact-card { height: auto; min-height: 190px; }
}

@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .menu-toggle { display: block; }
  .nav-right {
    position: absolute;
    top: 68px;
    right: 18px;
    left: 18px;
    display: none;
    padding: 12px 18px 18px;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--contact-line);
    background: rgba(7, 7, 7, 0.96);
    backdrop-filter: blur(18px);
  }
  .menu-open .nav-right { display: flex; flex-direction: column; }
  .nav-secondary { width: 100%; }
  .language-toggle { margin-top: 10px; }
  .contact-hero { height: auto; min-height: 780px; }
  .contact-hero__content { position: relative; top: auto; left: auto; width: auto; padding: 210px 40px 72px; }
  .contact-page .contact-hero h1 { max-width: 720px; margin-top: 40px; }
  .contact-page .contact-lead { width: min(100%, 760px); margin-top: 40px; }
  .contact-actions { margin-top: 52px; }
  .contact-wordmark { margin-top: 70px; }
  .contact-paths { height: auto; min-height: 0; padding: 88px 40px 72px; }
  .contact-card-grid { grid-template-columns: 1fr; }
  .contact-card { min-height: 148px; }
  .contact-footer { height: auto; min-height: 360px; padding: 64px 40px; grid-template-columns: 1.4fr 0.7fr 0.7fr; gap: 32px; }
}

@media (max-width: 600px) {
  .site-header { height: 72px; }
  .nav { height: 72px; padding: 0 18px; }
  .brand { width: 132px; height: 36px; }
  .brand-logo { width: 132px; height: 36px; }
  .contact-hero { min-height: 720px; }
  .contact-hero__content { padding: 160px 24px 56px; }
  .contact-page .contact-hero h1 { margin-top: 32px; font-size: 40px !important; white-space: normal; }
  .contact-page .contact-lead { margin-top: 36px; font-size: 16px !important; }
  .contact-actions { margin-top: 44px; flex-wrap: wrap; }
  .contact-wordmark { width: 220px; height: auto; margin-top: 62px; }
  .contact-paths { padding: 72px 24px 56px; }
  .contact-page .contact-paths h2 { font-size: 32px !important; }
  .contact-card-grid { margin-top: 28px; gap: 12px; }
  .contact-card { min-height: 0; padding: 22px; }
  .contact-footer { grid-template-columns: 1fr 1fr; padding: 56px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
