:root {
  --cream: #ECE7DF;
  --ink: #272521;
  --muted: #5E5B56;
  --rule: #C9C0B2;
  --red: #B54740;
  --red-text: #9E3A34;
  --gold: #D8B66A;
  --steel: #4B7081;
  --display: 'Big Shoulders', 'Arial Narrow', Arial, sans-serif;
  --body: 'Inter', -apple-system, Helvetica, Arial, sans-serif;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.46;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

a { color: var(--red-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--cream); padding: 10px 16px;
}
.skip:focus { left: 16px; top: 16px; z-index: 10; }

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

/* masthead: the lockup, then a full-width rule that closes it */
.masthead { padding-top: 32px; }
.masthead-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 14px; border-bottom: 2px solid var(--ink);
}
.lockup { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.lockup:hover { color: var(--ink); }
.mark { width: 28px; height: 28px; flex: none; display: block; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: .01em; }
.byline-top {
  font-family: var(--display); font-weight: 700; font-size: 14px; line-height: 1;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}

.kicker {
  font-family: var(--display); font-weight: 700; font-size: 14px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--red-text); margin: 0;
}

.title {
  font-family: var(--display); font-weight: 800; line-height: .98; letter-spacing: .005em;
  font-size: clamp(56px, 8vw, 104px); margin: 14px 0 0;
}
.acc { color: var(--red); }

.standfirst { font-style: italic; color: var(--muted); margin: 20px 0 0; max-width: 30em; }

/* hero */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.art { width: 100%; height: auto; display: block; max-width: 480px; margin-left: auto; }

/* form */
.join { margin-top: 34px; max-width: 520px; }
.join-fields { display: grid; grid-template-columns: 1fr; gap: 10px; }
.field label {
  display: block; font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px;
}
.field label span { color: var(--muted); letter-spacing: .08em; }
.field input {
  width: 100%; font: inherit; font-size: 18px; color: var(--ink);
  background: #F6F3EE; border: 2px solid var(--ink); border-radius: 0; padding: 12px 14px;
  appearance: none;
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.field input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(181, 71, 64, .2); }

.btn {
  margin-top: 12px; width: 100%; border: 0; border-radius: 0; cursor: pointer;
  background: var(--red); color: var(--cream);
  font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .04em;
  padding: 15px 20px; line-height: 1;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--ink); }
.btn[disabled] { background: var(--muted); cursor: progress; }

.fine { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 14px 0 0; }

.join-status { font-size: 17px; margin: 12px 0 0; }
.join-status:empty { margin: 0; }
.join-status.is-error { color: var(--red-text); font-weight: 500; }

.join-done { border-left: 2px solid var(--red); padding: 4px 0 4px 20px; margin-top: 34px; max-width: 520px; }
.join-done p { margin: 0 0 8px; }
.join-done p:last-child { margin: 0; color: var(--muted); font-size: 16px; }
.join-done strong { font-weight: 600; }

/* prose sections, set like the essay body */
.section { padding: 0 0 64px; }
.section-rule { border: 0; border-top: 1px solid var(--rule); margin: 0 0 44px; }
.sech { display: flex; align-items: baseline; gap: 14px; margin: 0 0 24px; }
.secnum { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.1; color: var(--rule); }
.sech h2 { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1.08; margin: 0; }

.prose p { margin: 0 0 20px; }
.prose .beat { font-weight: 600; font-size: 21px; line-height: 1.4; margin: 4px 0 30px; }
.prose .setup { margin-bottom: 4px; }

.excerpt-title { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; margin: 12px 0 24px; }
.stanza { margin: 0 0 30px; padding-left: 20px; border-left: 2px solid var(--rule); }
.stanza p { margin: 0 0 7px; }
.stanza p:last-child { margin-bottom: 0; }
.more { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .06em; }

/* closing call */
.closing { text-align: center; padding: 8px 0 80px; }
.endmark { font-size: 17px; line-height: 1; letter-spacing: .62em; padding-left: .62em; margin: 0 0 40px; color: var(--ink); }
.closing .title { font-size: clamp(44px, 6vw, 72px); margin: 0 auto; max-width: 12em; }
.closing .join { margin: 30px auto 0; text-align: left; }
.closing .join-done { margin: 30px auto 0; text-align: left; }

/* footer */
.foot { border-top: 2px solid var(--ink); padding: 22px 0 40px; }
.foot-bio { font-size: 15px; line-height: 1.65; margin: 0; max-width: 640px; }
.foot-bio strong { font-weight: 600; }
.foot-meta { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 16px 0 0; }
.foot-meta a { color: var(--ink); }
.stripe { height: 11px; background: linear-gradient(90deg, var(--red), var(--gold), var(--steel)); }

/* simple pages: confirm, subscribed, 404 */
.simple { padding: 72px 0 96px; }
.simple .title { font-size: clamp(52px, 8vw, 96px); }
.simple .prose { margin-top: 28px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .art { max-width: 300px; margin: 8px auto 0; order: 2; }
  .hero { padding: 48px 0 56px; }
}

@media (max-width: 640px) {
  :root { --gutter: 22px; }
  .masthead { padding-top: 24px; }
  .byline-top { display: none; }
  .join-fields { grid-template-columns: 1fr; }
  .sech h2 { font-size: 28px; }
  .secnum { font-size: 22px; }
  .excerpt-title { font-size: 34px; }
  .stanza { margin-left: calc(-1 * var(--gutter)); padding-left: calc(var(--gutter) - 2px); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }
