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

:root {
  --header-h: 76px;
  --maxw: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Space Grotesk', 'Noto Serif SC', 'Songti SC', serif;
  --font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Space Grotesk', 'Noto Sans SC', monospace;
}

:root, :root[data-theme="dark"] {
  --bg: #0B0E08;
  --surface: #11140C;
  --surface-2: #181C10;
  --line: rgba(233,236,222,0.12);
  --line-strong: rgba(233,236,222,0.26);
  --text: #ECEDE2;
  --muted: #9BA28B;
  --olive: #9DB262;
  --olive-deep: #53642D;
  --copper: #DD9248;
  --on-copper: #1B1104;
  --paper: #F2F0E6;
  --danger: #FFB3A3;
  --success: #B8D984;
  --nav-bg: rgba(11,14,8,0.78);
}

:root[data-theme="light"] {
  --bg: #F2F0E6;
  --surface: #FAF8F1;
  --surface-2: #E8E5D6;
  --line: rgba(26,30,18,0.14);
  --line-strong: rgba(26,30,18,0.30);
  --text: #1E2216;
  --muted: #61664F;
  --olive: #53642D;
  --olive-deep: #53642D;
  --copper: #B26A16;
  --on-copper: #FFF6E8;
  --paper: #F2F0E6;
  --danger: #9E321E;
  --success: #4D672A;
  --nav-bg: rgba(242,240,230,0.82);
}

html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

::selection { background: var(--olive-deep); color: var(--paper); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.wrap { width: min(var(--maxw), calc(100% - 48px)); margin: 0 auto; }
.grid-lines {
  position: fixed;
  inset: 0 auto 0 50%;
  width: min(var(--maxw), calc(100% - 48px));
  display: grid;
  grid-template-columns: 0.5fr 1fr 1fr 1fr 0.5fr;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  opacity: 0.45;
  pointer-events: none;
  transform: translateX(-50%);
  z-index: 1;
}
.grid-lines i { border-left: 1px solid var(--line); }
.grid-lines i:first-child { border-left: none; }

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: var(--header-h);
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav, .nav-logo, .nav-ctrl { display: flex; align-items: center; }
.nav { justify-content: space-between; padding: 0 max(24px, calc((100vw - var(--maxw)) / 2)); }
.nav-logo { gap: 12px; text-decoration: none; }
.nav-logo-mark { width: 40px; height: 40px; flex: 0 0 40px; }
.nav-logo-name { display: block; color: var(--text); font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
.nav-logo-sub {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.nav-ctrl { gap: 10px; }
.lang-toggle {
  display: flex;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.lang-toggle button {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 9px 13px;
}
.lang-toggle button.active { background: var(--olive-deep); color: var(--paper); }
.icon-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-btn svg { width: 16px; height: 16px; }

.inquiry { position: relative; z-index: 2; }
.intro {
  position: relative;
  min-height: clamp(220px, 30vh, 360px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg);
}
.intro-bg { position: absolute; inset: 0; }
.intro-bg img { width: 100%; height: 100%; object-fit: cover; }
.intro-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(78deg, rgba(11,14,8,0.93), rgba(11,14,8,0.56), rgba(11,14,8,0.18));
}
.intro-copy { position: relative; padding: calc(var(--header-h) + 24px) 0 24px; }
.back-link {
  display: inline-flex;
  color: var(--copper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  text-decoration: none;
  text-transform: uppercase;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--olive);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.eyebrow span:first-child { color: var(--copper); }
.eyebrow i { width: 56px; height: 1px; background: var(--line-strong); }
.intro h1 {
  max-width: 26ch;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 12px;
}
.intro p { max-width: 62ch; color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); }

.form-band { padding: clamp(32px, 4vw, 56px) 0; }
.form-layout { display: grid; grid-template-columns: 0.72fr 1.6fr; gap: clamp(28px, 5vw, 74px); align-items: start; }
.contact-strip {
  display: grid;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.contact-strip div { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.strip-label {
  display: block;
  color: var(--copper);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.contact-strip a { color: var(--text); text-decoration: none; word-break: break-all; }
.contact-strip span:last-child { color: var(--text); }

.lead-form {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 46px);
}
.form-head { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.form-head h2 { color: var(--text); font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
.form-head p { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid label { display: grid; gap: 8px; color: var(--text); font-size: 14px; }
.form-grid label.full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text);
  padding: 12px 14px;
}
textarea { min-height: 142px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 0.74; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.btn {
  border: none;
  border-radius: 99px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 15px 28px;
}
.btn svg { width: 15px; height: 15px; }
.btn-copper { background: var(--copper); color: var(--on-copper); font-weight: 500; }
.btn:disabled { cursor: wait; opacity: 0.72; }
.form-status { min-height: 24px; color: var(--muted); flex: 1 1 280px; }
.form-status.error { color: var(--danger); }
.form-status.success { color: var(--success); }

@media (max-width: 900px) {
  .grid-lines i { display: none; }
  .form-layout { grid-template-columns: 1fr; }
  .intro { min-height: auto; }
}
@media (max-width: 620px) {
  .wrap { width: min(var(--maxw), calc(100% - 32px)); }
  .nav { padding: 0 16px; }
  .nav-logo-sub { display: none; }
  .form-head, .form-grid { grid-template-columns: 1fr; }
  .form-head { display: grid; }
  .lead-form { padding: 22px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
