:root {
  --ink: #1b1814;
  --paper: #f7f4ed;
  --muted: #6d655a;
  --line: #ded6c7;
  --accent: #8c3a28;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "kern" 1;
}

a { color: inherit; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: .6rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 10; }

.site-header,
main,
.site-footer {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.1rem;
  letter-spacing: .01em;
}

.mark { width: 30px; height: 30px; color: var(--accent); flex: none; }

.site-header nav { display: flex; gap: 1.5rem; }

.site-header nav a {
  text-decoration: none;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-header nav a:hover { color: var(--ink); }

h1, h2, h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 500;
  letter-spacing: -.012em;
}

h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
h3 { font-size: 1.12rem; margin: 0 0 .45rem; }

.hero { padding: 5.5rem 0 4.5rem; }

.eyebrow {
  margin: 0 0 1.6rem;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.9rem);
  line-height: 1.03;
  margin: 0 0 1.8rem;
  max-width: 18ch;
}

.lede {
  max-width: 44rem;
  font-size: 1.12rem;
  color: #34302a;
  margin: 0 0 1.2rem;
}

.ja {
  max-width: 40rem;
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

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

.services h2 { margin-bottom: 1.6rem; }

.services ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

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

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.section-note { margin: 0; color: var(--muted); font-size: .9rem; }

.work-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.work-list li {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 1.2rem;
  align-items: baseline;
  padding: 1rem .4rem;
  border-bottom: 1px solid var(--line);
}

.work-list .year { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.work-list .title { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: 1.18rem; }
.work-list .kind { color: var(--muted); font-size: .9rem; text-align: right; }

.studio-body { max-width: 46rem; }
.studio-body p { margin: 0 0 1rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0 0;
}

.facts div { border-top: 1px solid var(--line); padding-top: .7rem; }
.facts dt { color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.facts dd { margin: .25rem 0 0; font-size: .98rem; }

.notes { list-style: none; margin: 0; padding: 0; }

.notes li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.2rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}

.notes time { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }

.contact-line { max-width: 34rem; margin: 0 0 1.2rem; }

.mail { margin: 0 0 .5rem; font-size: 1.3rem; }
.mail a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }

.address { margin: 0; color: var(--muted); font-size: .9rem; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem 0 3.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 3.6rem 0 3rem; }
  .services ul { grid-template-columns: 1fr; gap: 1.6rem; }
  .work-list li { grid-template-columns: 3.6rem 1fr; }
  .work-list .kind { grid-column: 2; text-align: left; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .notes li { grid-template-columns: 1fr; gap: .2rem; }
  .site-header nav { gap: 1rem; }
  .site-header nav a { font-size: .78rem; }
}
