:root {
  --bg: #f6f4ef;
  --paper: #fcfbf8;
  --ink: #171714;
  --muted: #65635d;
  --line: #d7d2c7;
  --accent: #262622;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: .08em;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}

nav a {
  text-decoration: none;
  color: var(--muted);
}

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

.nav-cta {
  border: 1px solid var(--ink);
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink);
}

main, footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero {
  min-height: 610px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 0 70px;
}

.eyebrow,
.section-label,
.work-type {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  margin: 0;
}

h1 {
  font-size: clamp(54px, 8vw, 106px);
  line-height: .94;
  max-width: 1050px;
}

h2 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
}

h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.015em;
}

.lede {
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
  color: var(--muted);
  max-width: 780px;
  margin: 34px 0 0;
}

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

.button {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--ink);
}

.primary {
  background: var(--ink);
  color: var(--paper);
}

.secondary {
  background: transparent;
  color: var(--ink);
}

.principle {
  margin-top: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--muted);
}

.section {
  padding: 92px 0;
}

.rule-top {
  border-top: 1px solid var(--line);
}

.section-label {
  margin-bottom: 34px;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.prose {
  font-size: 18px;
  color: #383730;
}

.prose p:first-child { margin-top: 0; }
.prose p:last-child { margin-bottom: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 62px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  min-height: 210px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 68px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process > div {
  padding: 24px 22px 30px 0;
}

.process > div + div {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}

.process span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 30px;
}

.process strong {
  display: block;
  margin-bottom: 8px;
}

.process p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.work-list {
  margin-top: 58px;
  border-top: 1px solid var(--line);
}

.work-item {
  display: grid;
  grid-template-columns: .7fr 1.1fr 1.5fr;
  gap: 30px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.work-item strong {
  font-size: 18px;
}

.work-item > span:last-child {
  color: var(--muted);
}

.work-item:hover strong { text-decoration: underline; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.contact-intro {
  max-width: 540px;
  font-size: 19px;
  color: var(--muted);
  margin: 24px 0 28px;
}

.placeholder-note {
  font-size: 12px;
  max-width: 470px;
  color: var(--muted);
  margin-top: 18px;
}

.inquiry-box {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 34px;
}

.inquiry-box ol {
  margin: 22px 0 0;
  padding-left: 22px;
}

.inquiry-box li {
  margin: 14px 0;
  padding-left: 8px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 54px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  color: var(--muted);
  font-size: 13px;
}

footer strong { color: var(--ink); }
footer p { max-width: 520px; }
.footer-right { text-align: right; }
.footer-right p { margin-left: auto; }

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    padding: 20px 0;
  }
  nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  nav a:not(.nav-cta) { display: none; }

  .hero { min-height: 520px; }

  .section-grid,
  .contact-grid,
  footer {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cards,
  .process {
    grid-template-columns: 1fr;
  }

  .process > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  .work-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-right { text-align: left; }
  .footer-right p { margin-left: 0; }
}
