:root {
  --sand: #f6efe6;
  --ink: #241c16;
  --clay: #8c3a2a;
  --paper: #fffaf4;
  --muted: #6d5d52;
  --line: #e4d5c6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 1.06rem;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--clay); }
h1, h2, h3 {
  font-family: "Besley", serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.7rem;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 0.8rem; }
.bar { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar-in {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo { font-family: "Besley", serif; font-size: 1.6rem; color: var(--ink); text-decoration: none; }
#nav { display: none; gap: 1.05rem; margin-left: auto; }
#nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
#nav a[aria-current="page"] { color: var(--clay); }
.nav-btn {
  display: inline-block;
  margin-left: auto;
  background: var(--clay);
  color: var(--paper);
  border: 0;
  font: inherit;
  font-weight: 700;
  padding: 0.42rem 0.75rem;
  cursor: pointer;
  flex: 0 0 auto;
}
@media (min-width: 861px) {
  .nav-btn { display: none; }
  #nav { display: flex; position: static; flex-direction: row; background: transparent; padding: 0; }
}
.wrap { width: min(1100px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { max-width: 40rem; }
.kicker { letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem; font-weight: 700; color: var(--clay); margin-bottom: 0.5rem; }
.intro { padding: 3rem 0 1.2rem; }
.lead { font-size: 1.15rem; max-width: 40rem; }
.btn {
  display: inline-block;
  background: var(--clay);
  color: var(--paper);
  text-decoration: none;
  border: 0;
  padding: 0.75rem 1.05rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.btn.line { background: transparent; color: var(--clay); box-shadow: inset 0 0 0 2px var(--clay); }
.actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1rem; }
.duo { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 0.7rem; padding-bottom: 2rem; }
figure { margin: 0; }
figcaption { font-size: 0.84rem; color: var(--muted); margin-top: 0.4rem; }
section { padding: 2.8rem 0; }
.paper { background: var(--paper); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; align-items: center; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.stack { grid-template-columns: 1fr; }
.three article { border-top: 4px solid var(--clay); padding-top: 0.8rem; }
address { font-style: normal; font-size: 1.2rem; line-height: 1.5; }
.foot { background: #2a211c; color: #f6efe6; padding: 1.5rem 0; }
.foot-in { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot a { color: #f0c2b6; }
.copy { width: min(1100px, calc(100% - 2rem)); margin: 1rem auto 0; font-size: 0.92rem; }
.form { display: grid; gap: 0.75rem; max-width: 36rem; }
label { font-weight: 700; display: grid; gap: 0.3rem; }
input, textarea { font: inherit; padding: 0.7rem; border: 1px solid var(--line); background: white; border-radius: 0; }
.prose { max-width: 42rem; padding-bottom: 2rem; }
.prose h2 { margin-top: 1.5rem; }
.modal { position: fixed; inset: 0; background: rgba(36, 28, 22, 0.55); display: grid; place-items: center; padding: 1rem; z-index: 40; }
.modal[hidden] { display: none; }
.modal__card { background: var(--paper); padding: 1.4rem; width: min(420px, 100%); border-bottom: 6px solid var(--clay); }
@media (max-width: 860px) {
  h1 { font-size: 2.2rem; }
  #nav { position: absolute; left: 0; right: 0; top: 74px; background: var(--paper); flex-direction: column; padding: 0.5rem 1rem 1rem; border-bottom: 1px solid var(--line); }
  #nav.is-open { display: flex; }
  .duo, .split, .three { grid-template-columns: 1fr; }
}
