:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #181816;
  --muted: #5c5b55;
  --line: #e4e1d8;
  --accent: #b84a27;
  --accent-soft: #f3e4dc;
  --radius: 14px;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 245, 240, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.94rem;
  color: var(--muted);
}

.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-outline {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.btn-outline:hover { border-color: var(--ink); }

.hero {
  padding: 88px 0 72px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.metric strong {
  display: block;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.metric span {
  font-size: 0.9rem;
  color: var(--muted);
}

section {
  padding: 68px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.025em;
}

.section-sub {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 52ch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  font-size: 0.76rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 14px;
}

.work-thumb {
  height: 168px;
  border-radius: 10px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.t1 { background: linear-gradient(135deg, #1f2d27, #354f44); color: #e8efe9; }
.t2 { background: linear-gradient(135deg, #2d2621, #6b4b38); color: #f6ede7; }
.t3 { background: linear-gradient(135deg, #1d2433, #3c4b6e); color: #e8eef9; }
.t4 { background: linear-gradient(135deg, #3b2622, #8c422c); color: #fbece7; }

.cta-box {
  background: var(--ink);
  color: var(--bg);
  border-radius: 18px;
  padding: 44px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-box p { color: #c7c5bc; margin: 8px 0 0; max-width: 48ch; }

.cta-box .btn-primary {
  background: var(--bg);
  color: var(--ink);
}

.legal {
  padding: 60px 0 80px;
  max-width: 740px;
}

.legal h1 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 1.2rem;
  margin: 28px 0 8px;
}

.legal p, .legal li {
  color: var(--muted);
  font-size: 0.97rem;
}

footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover { color: var(--ink); }

@media (max-width: 820px) {
  .grid-3, .grid-2, .metrics { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .hero { padding: 56px 0 48px; }
  .cta-box { padding: 32px 24px; }
}
