:root {
  --paper: #f6f3ec;
  --ink: #171511;
  --faint: #8c8779;
  --rule: #ddd8ca;
  --rule-strong: #171511;
  --accent: #6d2231;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #191712;
    --ink: #ebe6d8;
    --faint: #948e7d;
    --rule: #35322a;
    --rule-strong: #ebe6d8;
    --accent: #d3a15c;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Fraunces", "Didot", Georgia, serif;
  font-weight: 300;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.label {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

.frame {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

/* ---------- header ---------- */
header.site {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--rule);
}
.wordmark {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
nav.site { display: flex; gap: clamp(16px, 3vw, 34px); }
nav.site a {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  padding-bottom: 3px;
}
nav.site a:hover { color: var(--ink); }
nav.site a.here { color: var(--ink); border-bottom: 1px solid var(--accent); }

/* ---------- hero ---------- */
.hero { padding: clamp(72px, 16vh, 160px) 0 clamp(56px, 12vh, 120px); text-align: center; }
.hero h1 {
  font-size: clamp(52px, 10vw, 112px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: 0.01em;
}
.hero h1 em { font-style: italic; }
.hero .four-words {
  margin-top: 30px;
  font-size: clamp(15px, 2.2vw, 19px);
  font-style: italic;
  color: var(--faint);
  letter-spacing: 0.06em;
  word-spacing: 0.3em;
}
.hero .four-words b { font-weight: 300; font-style: italic; color: var(--ink); }
.hero .place { margin-top: 44px; }

/* ---------- page head ---------- */
.page-head { padding: clamp(56px, 10vh, 104px) 0 clamp(28px, 5vh, 48px); }
.page-head .no { font-style: italic; color: var(--faint); font-size: 15px; margin-bottom: 14px; display: block; }
.page-head h1 { font-size: clamp(38px, 7vw, 72px); font-weight: 300; line-height: 1.05; }
.page-head h1 em { font-style: italic; }
.page-head .role { margin-top: 18px; }

.lede {
  font-size: clamp(19px, 2.6vw, 24px);
  line-height: 1.55;
  max-width: 34em;
  padding-bottom: clamp(40px, 8vh, 72px);
}
.lede em { font-style: italic; }
p.body {
  font-size: 17px;
  max-width: 36em;
  color: var(--ink);
  margin-bottom: 1.2em;
}
p.body.quiet { color: var(--faint); font-style: italic; }

/* ---------- galleries ---------- */
.plates { display: grid; gap: clamp(16px, 3vw, 32px); padding-bottom: clamp(56px, 10vh, 96px); }
.plates.two { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.plates.three { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.plate { display: block; }
.plate .well {
  border: 1px solid var(--rule);
  background: color-mix(in srgb, var(--ink) 3%, var(--paper));
  display: flex;
  align-items: center;
  justify-content: center;
}
.plate .well.wide { aspect-ratio: 16 / 10; }
.plate .well.tall { aspect-ratio: 4 / 5; }
.plate .well span { font-style: italic; color: var(--faint); font-size: 14px; }
.plate figcaption { margin-top: 10px; display: flex; justify-content: space-between; align-items: baseline; }
.plate figcaption .cap { font-style: italic; font-size: 14.5px; color: var(--faint); }

.divider { display: flex; align-items: center; gap: 18px; padding: clamp(30px, 6vh, 56px) 0; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }
.divider span { font-size: 17px; color: var(--faint); }

/* ---------- vacancy (work page) ---------- */
.vacancy { text-align: center; padding: clamp(64px, 16vh, 160px) 0; }
.vacancy .mark { font-size: 26px; color: var(--faint); display: block; margin-bottom: 30px; }
.vacancy h2 { font-size: clamp(30px, 5.5vw, 52px); font-weight: 300; font-style: italic; }
.vacancy p { margin: 22px auto 0; max-width: 30em; font-size: 16.5px; color: var(--faint); }

/* ---------- about ---------- */
.portrait { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(28px, 5vw, 64px); padding-bottom: clamp(56px, 10vh, 96px); }

/* ---------- index of ventures (home) ---------- */
.ventures { border-top: 1px solid var(--rule-strong); padding-bottom: clamp(56px, 10vh, 104px); }
.venture {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: clamp(22px, 4vh, 34px) 0;
  border-bottom: 1px solid var(--rule);
}
.venture .no { font-style: italic; color: var(--faint); font-size: 15px; }
.venture h2 { font-size: clamp(24px, 4vw, 40px); font-weight: 300; }
.venture h2 em { font-style: italic; }
.venture:hover h2 { color: var(--accent); }
.venture .role-tag { text-align: right; }
@media (max-width: 560px) {
  .venture { grid-template-columns: 40px 1fr; }
  .venture .role-tag { grid-column: 2; text-align: left; }
}

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--rule);
  padding: 36px 0 48px;
  text-align: center;
}
footer.site .motto { font-style: italic; font-size: 15px; margin-bottom: 14px; }
footer.site .contact a { border-bottom: 1px solid var(--rule); padding-bottom: 1px; }
footer.site .contact a:hover { border-color: var(--accent); }
footer.site .fine { margin-top: 16px; }
