@font-face {
  font-family: "Bodoni Moda";
  src: url("fonts/BodoniModa-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("fonts/Inter-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("fonts/Inter-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f6f3;
  --ink: #111111;
  --muted: #5e5e5a;
  --line: #e3e2dc;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Bodoni Moda", "Iowan Old Style", Palatino, Georgia, serif;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
}

* { 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.55;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 6;
}
.skip:focus { top: 12px; }

.top {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px var(--pad);
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.mark {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.18em;
  text-decoration: none;
  padding-left: 0.18em;
}
.nav-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--ink);
  min-height: 44px;
  min-width: 84px;
  padding: 0 14px;
}
nav { display: flex; gap: 26px; }
nav a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.hero-img { width: 100%; height: min(78vh, 820px); object-fit: cover; }
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); }
.kicker {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; }
h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.92;
  max-width: 12ch;
}
h2 {
  margin: 0 0 18px;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 0.96;
  max-width: 16ch;
}
.dek {
  max-width: 38rem;
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.btn.ghost { background: transparent; color: var(--ink); }
button.btn { cursor: pointer; }

section { padding: clamp(56px, 8vw, 104px) 0; }
.lead { margin: 0; max-width: 40rem; color: var(--muted); font-size: 18px; }
.lead.follow { margin-top: 28px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.essay p { margin: 0 0 16px; max-width: 40rem; }
.essay p:last-child { margin-bottom: 0; }

.div-label {
  margin: 40px 0 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h2.div-label, h3.div-label { font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; max-width: none; margin-bottom: 0; }
.houses { border-bottom: 1px solid var(--line); }
.house {
  display: grid;
  grid-template-columns: 168px minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px 28px;
  align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.house:hover .house-name { text-decoration: underline; text-underline-offset: 6px; }
.sector {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.house-name {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.house-line { color: var(--muted); }
.register {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
  margin-top: 8px;
}
.register span {
  padding: 16px 16px 16px 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.principles.quad { grid-template-columns: 1fr 1fr; }
.principles article { border-top: 1px solid var(--ink); padding-top: 16px; }
.principles h3 { margin: 8px 0; font-size: 32px; }
.principles p { margin: 0; color: var(--muted); }
.num { font-size: 12px; letter-spacing: 0.16em; }

.band { background: #111; color: #f7f6f3; }
.band .dek, .band .lead { color: #c8c8c2; }
.band .btn { background: transparent; color: #f7f6f3; border-color: #f7f6f3; }
.band .btn:hover { background: #f7f6f3; color: #111; }

.figure { margin: 0; }
.figure img { width: 100%; height: min(70vh, 720px); object-fit: cover; }
.figure figcaption {
  padding: 10px var(--pad) 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.journal-list { border-bottom: 1px solid var(--line); }
.journal-list a {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.journal-list h3 { margin: 0 0 8px; font-size: clamp(28px, 3vw, 40px); }
.journal-list p { margin: 0; color: var(--muted); }

.note { padding: clamp(28px, 4vw, 48px) 0; }
.note h2 { max-width: 20ch; }
.facts { display: grid; gap: 0; margin-top: 28px; }
.facts div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.facts dt { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; }

details { border-top: 1px solid var(--line); padding: 8px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 20px; min-height: 48px; display: flex; align-items: center; }
details p { margin: 0 0 16px; max-width: 40rem; color: var(--muted); }

form { display: grid; gap: 16px; max-width: 640px; }
label { display: grid; gap: 6px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
input, select, textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 12px 0;
  min-height: 48px;
  width: 100%;
  border-radius: 0;
}
textarea { min-height: 120px; resize: vertical; }
.hint { margin: 0; color: var(--muted); font-size: 14px; letter-spacing: 0; text-transform: none; }
.done { max-width: 640px; border-top: 1px solid var(--ink); padding-top: 24px; }
.done h3 { margin: 0 0 10px; font-size: 40px; }

.foot { border-top: 1px solid var(--line); padding: 48px 0 64px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.foot a { display: block; text-decoration: none; margin: 0 0 8px; font-size: 14px; }
.foot a:hover { text-decoration: underline; }
.foot p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.legal { margin-top: 36px; color: var(--muted); font-size: 12px; letter-spacing: 0.06em; }

@media (max-width: 800px) {
  .nav-btn { display: inline-flex; align-items: center; justify-content: center; }
  nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px var(--pad) 16px;
  }
  nav.is-open { display: flex; }
  nav a { min-height: 44px; display: flex; align-items: center; }
  .top { position: sticky; }
  .split, .principles, .principles.quad, .foot-grid, .register { grid-template-columns: 1fr; }
  .house, .journal-list a, .facts div { grid-template-columns: 1fr; gap: 6px; }
  h1 { max-width: none; }
  .hero-img, .figure img { height: 62vh; }
}
