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

:root {
  --red: #C8151A;
  --black: #111;
  --white: #FAFAF8;
  --muted: #999;
  --border: #E8E6E2;
  --bg: #FAFAF8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --black: #F0EEEA;
    --white: #141414;
    --muted: #999;
    --border: #2A2A2A;
    --bg: #141414;
  }
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--black);
  font-size: 16px;
  line-height: 1.7;
}

.logo-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
  width: 100%;
}

.logo-header img { max-width: 100%; height: auto; }

.logo-header .light { display: block; }
.logo-header .dark  { display: none; }

@media (prefers-color-scheme: dark) {
  .logo-header .light { display: none; }
  .logo-header .dark  { display: block; }
}

.logo-footer { display: block; }

.logo-footer img { max-width: 110px; height: auto; }

.logo-footer .light { display: block; }
.logo-footer .dark  { display: none; }

@media (prefers-color-scheme: dark) {
  .logo-footer .light { display: none; }
  .logo-footer .dark  { display: block; }
}

.intro {
  height: 100vh;
  padding: 0 64px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.intro-body {
  font-size: 15px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.75;
}

.contact {
  padding: 24px 64px 64px;
  display: flex;
  justify-content: center;
}

.contact-inner {
  width: 100%;
  max-width: 440px;
  border: 1px solid var(--border);
  padding: 36px;
}

.contact h2 {
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 40px;
}

.success-msg {
  font-size: 14px;
  color: var(--muted);
  padding: 16px 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--black);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
  resize: none;
}

.field input:focus,
.field textarea:focus { border-bottom-color: var(--black); }

.field textarea { min-height: 60px; }

.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }

.form-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 4px;
}

.submit-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  border: none;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-btn:hover { background: var(--red); }

footer {
  padding: 24px 64px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer p { font-size: 12px; font-weight: 700; color: var(--muted); }

@media (max-width: 768px) {
  .intro { padding: 0 28px; }
  .contact { padding: 24px 28px 64px; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 24px 28px; flex-direction: column; gap: 10px; }
  .logo-header { width: 180px; margin: 0 auto 32px; }
}
