:root {
  --bg: #000;
  --fg: #f5f5f5;
  --muted: #8a8a8a;
  --line: #333;
  --line-focus: #f5f5f5;
  --error: #ff6b6b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--fg); }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; }

/* Header / nav */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px 40px;
}
.brand {
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
}
nav { display: flex; gap: 32px; }
nav a {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
nav a:hover, nav a:focus-visible, nav a[aria-current="page"] {
  color: var(--fg);
  border-bottom-color: var(--fg);
  outline: none;
}

/* Page frame */
.page { flex: 1; width: 100%; max-width: 820px; margin: 0 auto; padding: 56px 24px 96px; }
.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
h1.title {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 32px;
}
.lede { font-size: 1.15rem; color: #d6d6d6; max-width: 640px; }

/* Home */
.home {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 24px 96px;
}
.home h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.home p { color: var(--muted); font-size: 1rem; letter-spacing: 0.04em; margin-bottom: 56px; }
.home .links { display: flex; gap: 40px; }

/* Service sections */
.service { border-top: 1px solid var(--line); margin-top: 64px; padding-top: 40px; }
.service .num { font-size: 0.7rem; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 12px; }
.service h2 { font-size: 1.5rem; font-weight: 300; line-height: 1.3; margin-bottom: 16px; }
.service .summary { color: #d6d6d6; max-width: 640px; margin-bottom: 32px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.cols h3 {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.cols ul { list-style: none; }
.cols li { position: relative; padding-left: 18px; margin-bottom: 10px; font-size: 0.95rem; color: #d6d6d6; }
.cols li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--muted); }

/* How we work */
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; margin-top: 8px; }
.approach h3 { font-size: 1rem; font-weight: 400; margin-bottom: 6px; }
.approach p { font-size: 0.95rem; color: #bdbdbd; }

/* CTA */
.cta { margin-top: 72px; }
.btn {
  display: inline-block;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--fg);
  padding: 12px 32px;
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--fg); color: var(--bg); outline: none; }

/* Contact form */
.form-wrap { max-width: 420px; }
form { display: flex; flex-direction: column; gap: 28px; margin-top: 48px; }
.field { display: flex; flex-direction: column; gap: 8px; }
label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
input, textarea {
  width: 100%;
  background: transparent;
  color: var(--fg);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 0 10px;
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color .2s;
}
textarea { resize: vertical; min-height: 96px; }
input:focus, textarea:focus { border-bottom-color: var(--line-focus); }
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #000 inset;
  -webkit-text-fill-color: var(--fg);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form button {
  align-self: flex-start;
  margin-top: 8px;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--fg);
  padding: 12px 32px;
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s;
}
form button:hover, form button:focus-visible { background: var(--fg); color: var(--bg); outline: none; }
form button:disabled { opacity: .5; cursor: default; }
#status { min-height: 1.4em; font-size: .9rem; color: var(--muted); }
#status.error { color: var(--error); }
#status.ok { color: var(--fg); }

/* Footer */
.site-footer {
  padding: 24px 40px 32px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 640px) {
  .site-header { padding: 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  nav { gap: 24px; }
  .cols, .approach { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 24px; }
  .home .links { flex-direction: column; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
