:root {
  --bg: #0c0b09;
  --panel: #14120e;
  --ink: #f1e8d6;
  --muted: #a79d88;
  --line: #3a3326;
  --brass: #c9a35b;

  --display: "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "Jost", "Futura", "Helvetica Neue", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

.caps {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
}

.rule {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 auto;
  color: var(--brass);
}

.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.rule svg { width: 26px; height: 26px; }

/* Header */

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px var(--gutter);
  border-bottom: 1px solid var(--line);
}

.top a { text-decoration: none; }

.top__brand { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; }

.top nav { display: flex; gap: clamp(14px, 3vw, 32px); }

.top nav a { font-family: var(--sans); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

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

/* Masthead */

.crest { text-align: center; padding: clamp(56px, 10vw, 120px) 0 clamp(40px, 7vw, 80px); }

.crest__mark { width: 88px; height: 88px; margin: 0 auto 28px; color: var(--brass); }

.crest h1 {
  margin: 18px 0 0;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(72px, 13vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.crest__sub { max-width: 26em; margin: 28px auto 0; font-size: clamp(21px, 2.4vw, 26px); color: var(--muted); }

.crest__sub em { color: var(--ink); }

/* Featured */

.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(40px, 7vw, 88px) 0; }

.frame { display: block; padding: 12px; border: 1px solid var(--brass); background: var(--panel); box-shadow: 0 40px 80px -30px #000; transition: transform 0.25s; }

.frame:hover { transform: translateY(-4px); }

.feature h2 { margin: 14px 0 0; font-weight: 500; font-size: clamp(48px, 6vw, 76px); line-height: 0.95; }

.feature__sub { margin: 10px 0 0; font-style: italic; color: var(--muted); }

.feature__hook { margin: 28px 0 16px; font-style: italic; font-size: 30px; line-height: 1.2; color: var(--brass); }

.feature p { margin: 0 0 16px; }

.btn {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 28px;
  border: 1px solid var(--brass);
  color: var(--brass);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn:hover, .btn--solid { background: var(--brass); color: var(--bg); }

.btn--solid:hover { background: transparent; color: var(--brass); }

.btn + .btn { margin-left: 8px; }

/* Shelf */

.section-head { text-align: center; margin: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); }

.section-head h2 { margin: 12px 0 0; font-weight: 500; font-style: italic; font-size: clamp(40px, 5vw, 60px); line-height: 1; }

.shelf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 72px); }

.book { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start; }

.book h3 { margin: 6px 0 0; font-weight: 500; font-size: 34px; line-height: 1; }

.book p { margin: 12px 0 0; font-size: 19px; }

.book .caps { font-size: 11px; }

.book__links { margin-top: 14px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }

.book__links a { color: var(--brass); text-decoration: none; border-bottom: 1px solid var(--line); }

.book__links a + a { margin-left: 16px; }

/* Essays */

.essays { max-width: 760px; margin: 0 auto; }

.essay-card { display: block; padding: 36px 0; text-align: center; text-decoration: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.essay-card h3 { margin: 14px 0 0; font-weight: 500; font-size: clamp(38px, 5vw, 54px); line-height: 1; transition: color 0.2s; }

.essay-card:hover h3 { color: var(--brass); }

.essay-card p { margin: 14px auto 0; max-width: 30em; color: var(--muted); }

/* Annex */

.annex { max-width: 700px; margin: clamp(56px, 9vw, 110px) auto 0; padding: clamp(28px, 5vw, 48px); text-align: center; border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: 6px; }

.annex h2 { margin: 12px 0 0; font-weight: 500; font-style: italic; font-size: 40px; line-height: 1.05; }

.annex p { margin: 16px 0 8px; }

.annex small { display: block; margin-top: 18px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }

/* Footer */

.foot { margin-top: clamp(64px, 10vw, 120px); padding: 48px var(--gutter) 64px; text-align: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 18px; }

.foot p { margin: 6px 0; }

.foot a { color: var(--ink); }

.foot .caps { display: block; margin-top: 24px; color: var(--muted); font-size: 11px; }

/* Article */

.essay { max-width: 700px; margin: 0 auto; padding: clamp(56px, 9vw, 110px) 0 0; }

.essay__head { text-align: center; }

.essay h1 { margin: 20px 0 0; font-weight: 500; font-style: italic; font-size: clamp(56px, 9vw, 104px); line-height: 0.92; }

.essay__standfirst { margin: 28px auto 0; max-width: 30em; font-size: clamp(22px, 2.6vw, 26px); color: var(--muted); }

.essay__by { margin: 28px 0 40px; }

.essay__body > p:first-of-type::first-letter {
  float: left;
  margin: 8px 12px 0 0;
  font-size: 92px;
  line-height: 0.75;
  color: var(--brass);
}

.essay__body p { margin: 0 0 22px; }

.essay__body h2 { margin: 56px 0 18px; text-align: center; font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass); }

.positions { list-style: none; margin: 0 0 40px; padding: 0; counter-reset: pos; }

.positions li { counter-increment: pos; padding: 28px 0; border-top: 1px solid var(--line); text-align: center; }

.positions li:last-child { border-bottom: 1px solid var(--line); }

.positions li::before { content: counter(pos, upper-roman); display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.3em; color: var(--brass); }

.positions .plate { display: block; width: 170px; height: 170px; margin: 12px auto 4px; }

.positions .plate--drawn { width: min(320px, 80%); height: auto; margin: 4px auto 0; }

.positions b { display: block; margin: 6px 0 10px; font-weight: 500; font-style: italic; font-size: 44px; line-height: 1; }

.positions p { margin: 0 auto 10px !important; max-width: 32em; }

.positions i { color: var(--brass); }

.colophon { margin-top: 56px; padding: 32px; text-align: center; border: 1px solid var(--brass); }

.colophon p { margin: 0 0 8px; }

@media (max-width: 760px) {
  body { font-size: 19px; }
  .top__brand { display: none; }
  .feature { grid-template-columns: 1fr; }
  .feature .frame { max-width: 320px; margin: 0 auto; }
  .shelf { grid-template-columns: 1fr; }
  .book { grid-template-columns: 110px 1fr; gap: 20px; }
  .book h3 { font-size: 28px; }
  .btn + .btn { margin-left: 0; }
  .btn { margin-right: 8px; }
}
