:root {
  --paper: #f4f1ea;
  --paper-2: #ece7dc;
  --ink: #1c1a17;
  --muted: #6b655c;
  --accent: #c2410c;
  --line: #ddd6c8;
  --max: 1000px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.nav-cta {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 8px 20px;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 4px;
  font-size: 0.98rem;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn:hover { background: var(--accent); transform: translateY(-1px); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

.link-arrow {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.link-arrow:hover { color: var(--accent); }

/* Hero */
.hero {
  padding: 130px 28px 110px;
  max-width: 860px;
}
.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.lead {
  color: var(--muted);
  font-size: 1.18rem;
  max-width: 600px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

/* Sections */
.section { padding: 80px 28px; }
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.section-sub { color: var(--muted); font-size: 1.08rem; }

/* Divider line between sections */
#work, #contact { border-top: 1px solid var(--line); }

/* Grid cards */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.card {
  background: var(--paper);
  padding: 36px 30px;
  transition: background 0.2s ease;
}
.card:hover { background: var(--paper-2); }
.card-index {
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.card h3 { font-size: 1.25rem; font-weight: 600; margin: 14px 0 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  list-style: none;
}
.steps li { position: relative; }
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.steps h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* Contact */
.contact { text-align: center; max-width: 680px; }
.contact h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.contact .section-sub { margin: 0 auto; }
.contact .btn-lg { margin-top: 32px; }
.contact-note { color: var(--muted); font-size: 0.9rem; margin-top: 18px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-inner .brand { font-size: 1.1rem; }
.footer-inner p { color: var(--muted); font-size: 0.88rem; }
.footer-inner a { color: var(--muted); font-size: 0.88rem; transition: color 0.2s; }
.footer-inner a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 90px 28px 70px; }
  .section { padding: 60px 28px; }
}
