:root {
  --paper: #f3eee7;
  --paper-2: #e9e2d8;
  --ink: #211f1d;
  --ink-soft: #4a4642;
  --muted: #837c72;
  --clay: #b0613a;
  --clay-soft: #d9c3b4;
  --line: #d6cdc1;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

.wrap {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

/* header */
.site-head {
  border-bottom: 1px solid var(--line);
  background: rgba(243, 238, 231, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
}

.site-head .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 22px 0;
  gap: 24px;
}

.brand {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.02em;
}

.brand span { color: var(--clay); }

.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

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

/* hero */
.hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: end;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
}

.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0;
}

.hero-art {
  border: 1px solid var(--line);
  background: var(--paper-2);
}

/* sections */
section { padding: 72px 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
  margin: 0;
}

.link-more {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  white-space: nowrap;
}

.link-more:hover { text-decoration: underline; }

/* grid of works */
.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card figure {
  margin: 0 0 14px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
}

.card img { transition: transform 0.5s ease; }
.card:hover img { transform: scale(1.03); }

.card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  margin: 0 0 4px;
}

.card .meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* two column note */
.note {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.note p { margin: 0 0 18px; color: var(--ink-soft); }
.note p:last-child { margin-bottom: 0; }

.pull {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.35;
  color: var(--ink);
  border-left: 2px solid var(--clay);
  padding-left: 24px;
  margin: 0;
}

/* band */
.band {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0;
}

.band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.band h2 { color: var(--paper); margin-bottom: 10px; }
.band p { margin: 0; color: #c9c2b8; max-width: 52ch; }

.button {
  display: inline-block;
  border: 1px solid var(--paper);
  color: var(--paper);
  padding: 14px 26px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}

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

.button.clay { border-color: var(--clay); background: var(--clay); color: #fff; }
.button.clay:hover { background: #984f2d; border-color: #984f2d; }

/* generic page header */
.page-head {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
}

.page-head p { color: var(--ink-soft); max-width: 60ch; margin: 16px 0 0; }

/* detail list */
.spec {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  border-top: 1px solid var(--line);
}

.spec div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.spec dt { color: var(--muted); }
.spec dd { margin: 0; text-align: right; }

/* table */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th, td {
  text-align: left;
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

td.num { white-space: nowrap; }
.sold { color: var(--muted); }

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-block h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  margin: 0 0 10px;
}

.contact-block p { margin: 0 0 8px; color: var(--ink-soft); }
.contact-block a:hover { color: var(--clay); }

.form { display: grid; gap: 16px; margin-top: 8px; }

label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

input, textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
}

input:focus, textarea:focus { outline: 2px solid var(--clay-soft); outline-offset: 1px; }

textarea { min-height: 120px; resize: vertical; }

/* footer */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 48px 0;
  font-size: 14px;
  color: var(--muted);
}

.site-foot .wrap {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.site-foot a:hover { color: var(--clay); }

/* journal */
.journal { max-width: 76ch; }

.entry {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.entry:first-child { padding-top: 0; }

.entry-date {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.entry h2 { font-size: clamp(22px, 2.4vw, 27px); margin: 0 0 14px; }

.entry p { color: var(--ink-soft); margin: 0 0 14px; }
.entry p:last-child { margin-bottom: 0; }

/* map */
.map {
  border: 1px solid var(--line);
  background: var(--paper-2);
  margin-top: 22px;
}

.map img { width: 100%; height: auto; }

/* 404 */
.center-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
}

.center-page h1 { font-size: clamp(64px, 12vw, 132px); line-height: 1; margin: 0 0 12px; color: var(--clay); }

@media (max-width: 900px) {
  .hero-grid, .note, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .works { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 18px; font-size: 13px; }
}

@media (max-width: 620px) {
  .works { grid-template-columns: 1fr; }
  .site-head .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .spec { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  section { padding: 56px 0; }
}
