:root {
  --bg: #0B0C0E;
  --bg-alt: #101215;
  --fg: #EDEDEA;
  --fg-muted: #9A9C9F;
  --accent: #C9A227;
  --border: #24262A;
  --radius: 2px;
  --font-serif: "Georgia", "Iowan Old Style", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #FAFAF8;
    --bg-alt: #F2F1EC;
    --fg: #17181A;
    --fg-muted: #5B5D60;
    --border: #E2E1DA;
  }
}

:root[data-theme="dark"] {
  --bg: #0B0C0E;
  --bg-alt: #101215;
  --fg: #EDEDEA;
  --fg-muted: #9A9C9F;
  --border: #24262A;
}
:root[data-theme="light"] {
  --bg: #FAFAF8;
  --bg-alt: #F2F1EC;
  --fg: #17181A;
  --fg-muted: #5B5D60;
  --border: #E2E1DA;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap-narrow {
  max-width: 720px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.85rem;
}
.nav a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--fg); }
.nav-cta {
  color: var(--fg) !important;
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: var(--radius);
}
.nav-cta:hover { border-color: var(--accent); }

/* Hero */
.hero {
  padding: 120px 0 96px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent);
  margin: 0 0 18px;
  font-weight: 600;
}
h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  max-width: 18ch;
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 56ch;
  margin: 0 0 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-sans);
}
.btn-primary {
  background: var(--accent);
  color: #17181A;
  font-weight: 600;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
  color: var(--fg);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); }

/* Sections */
.section {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}
.section-alt {
  background: var(--bg-alt);
}
h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 20px;
}
.section-lead {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 62ch;
  margin: 0 0 48px;
}

.phases, .deliverables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 760px) {
  .phases, .deliverables { grid-template-columns: 1fr; }
}
.phase, .deliverable {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.phase-n {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.phase h3, .deliverable h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0 0 10px;
}
.phase p, .deliverable p {
  color: var(--fg-muted);
  line-height: 1.65;
  font-size: 0.92rem;
  margin: 0;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 480px;
}
.honeypot { position: absolute; left: -9999px; }
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-row input,
.form-row textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form .btn { align-self: flex-start; margin-top: 4px; }
.contact-alt {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--fg-muted);
}
.contact-alt a { color: var(--fg); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--fg-muted);
  flex-wrap: wrap;
  gap: 8px;
}
