:root {
  --paper: #f1eee4;
  --paper-deep: #e7e1d4;
  --ink: #151411;
  --ink-soft: #47453f;
  --quiet: #777168;
  --rule: #b9b1a3;
  --red: #f0442b;
  --blue: #2457e6;
  --acid: #c8f04a;
  --white: #fffdf7;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background:
    linear-gradient(rgb(21 20 17 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(21 20 17 / 3%) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.blog-wrap {
  width: min(calc(100% - 64px), 1280px);
  margin-inline: auto;
}

.reading-wrap {
  width: min(calc(100% - 48px), 760px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  transform: none;
}

.blog-nav {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--ink);
  background: rgb(241 238 228 / 92%);
  backdrop-filter: blur(16px);
}

.blog-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
}

.blog-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 11px;
  justify-self: start;
  text-decoration: none;
}

.blog-brand strong {
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.blog-brand span {
  color: var(--red);
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
}

.blog-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
}

.blog-nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.blog-nav-links a:hover,
.blog-nav-links a[aria-current="page"] {
  background: var(--ink);
  color: var(--white);
}

.blog-nav-action {
  justify-self: end;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  background: var(--acid);
  font-size: 12px;
  font-weight: 780;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.blog-nav-action:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.blog-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(360px, .83fr);
  min-height: 670px;
}

.blog-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 64px 86px 0;
}

.journal-kicker,
.note-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font: 750 11px/1.4 var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.journal-kicker::before,
.note-kicker::before {
  width: 26px;
  height: 3px;
  background: currentColor;
  content: "";
}

.blog-hero h1 {
  max-width: 8.5ch;
  margin-top: 32px;
  font-size: clamp(68px, 8.4vw, 128px);
  font-weight: 830;
  letter-spacing: -0.078em;
  line-height: .82;
}

.blog-hero h1 em {
  display: block;
  color: var(--blue);
  font-family: var(--serif);
  font-weight: 400;
}

.hero-dek {
  max-width: 54ch;
  margin-top: 42px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.42;
}

.hero-manifesto {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-left: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.trajectory {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.trajectory::before,
.trajectory::after {
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgb(255 253 247 / 28%);
  border-radius: 50%;
  content: "";
}

.trajectory::before {
  top: -170px;
  right: -180px;
  box-shadow: 0 0 0 72px rgb(255 253 247 / 4%), 0 0 0 144px rgb(255 253 247 / 3%);
}

.trajectory::after {
  right: -50px;
  bottom: -420px;
  border-color: var(--red);
  box-shadow: 0 0 0 58px rgb(240 68 43 / 11%), 0 0 0 116px rgb(240 68 43 / 6%);
}

.trajectory-line {
  position: absolute;
  top: 20%;
  left: -12%;
  width: 125%;
  height: 42%;
  border-top: 2px solid var(--acid);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.trajectory-line::after {
  position: absolute;
  top: -8px;
  right: 18%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 12px rgb(200 240 74 / 12%);
  content: "";
}

.manifesto-card {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 34px;
  left: 34px;
  padding: 28px;
  border: 1px solid rgb(255 255 255 / 36%);
  background: rgb(21 20 17 / 82%);
  backdrop-filter: blur(12px);
}

.manifesto-card p:first-child {
  color: var(--acid);
  font: 700 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
}

.manifesto-card blockquote {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.27;
}

.manifesto-card small {
  display: block;
  margin-top: 24px;
  color: #a9a69c;
  font: 600 10px/1.5 var(--mono);
}

.editorial-strip {
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: var(--red);
  color: var(--white);
}

.editorial-strip p {
  width: max-content;
  padding: 12px 0;
  font: 760 11px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.blog-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--ink);
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--ink);
}

.section-label h2 {
  font: 750 11px/1.4 var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-label span {
  color: var(--quiet);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
}

.featured-note {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 500px;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--blue);
}

.featured-graphic {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-right: 1px solid var(--ink);
  background: var(--blue);
  color: var(--white);
}

.cube-field {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(255 255 255 / 15%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 15%) 1px, transparent 1px);
  background-size: 58px 58px;
  transform: rotate(-9deg) scale(1.25);
}

.cube-field::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 160px;
  border: 2px solid var(--acid);
  box-shadow: 28px -28px 0 -2px var(--blue), 28px -28px 0 0 var(--acid), -28px 28px 0 -2px var(--blue), -28px 28px 0 0 var(--acid);
  transform: translate(-50%, -50%) rotate(45deg);
  content: "";
}

.graphic-caption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #e2e8ff;
  font: 650 9px/1.5 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.featured-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 5vw, 64px);
}

.note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  color: var(--quiet);
  font: 650 9px/1.5 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}

.featured-copy h3 {
  margin-top: 48px;
  font-size: clamp(38px, 4.5vw, 64px);
  letter-spacing: -0.057em;
  line-height: .96;
}

.featured-copy > p {
  margin-top: 25px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.48;
}

.note-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.note-link span {
  color: var(--red);
  font-size: 23px;
  transition: transform 160ms ease;
}

.note-link:hover span {
  transform: translateX(5px);
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.note-card {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--ink);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.note-card:nth-child(2) {
  background: var(--acid);
}

.note-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--ink);
}

.note-card h3 {
  max-width: 13ch;
  margin-top: 58px;
  font-size: clamp(30px, 3.4vw, 47px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.note-card p {
  max-width: 47ch;
  margin-top: 20px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.47;
}

.covenant {
  background: var(--ink);
  color: var(--white);
}

.covenant-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(50px, 9vw, 130px);
}

.covenant h2 {
  max-width: 9ch;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .96;
}

.covenant h2 em {
  color: var(--acid);
}

.covenant-list {
  display: grid;
  list-style: none;
  padding: 0;
}

.covenant-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid #4a4944;
}

.covenant-list li:last-child {
  border-bottom: 1px solid #4a4944;
}

.covenant-list span {
  color: var(--red);
  font: 700 10px/1.5 var(--mono);
}

.covenant-list strong {
  display: block;
  font-size: 18px;
}

.covenant-list p {
  margin-top: 5px;
  color: #a9a79f;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
}

.write-band {
  background: var(--red);
  color: var(--white);
}

.write-band-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.write-band h2 {
  max-width: 16ch;
  font-size: clamp(42px, 6vw, 78px);
  letter-spacing: -.062em;
  line-height: .92;
}

.write-band p {
  max-width: 57ch;
  margin-top: 22px;
  color: #ffe0d8;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.48;
}

.write-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  background: var(--acid);
  color: var(--ink);
  font-size: 13px;
  font-weight: 820;
  text-decoration: none;
  box-shadow: 7px 7px 0 var(--ink);
}

.blog-footer {
  padding: 40px 0;
  border-top: 1px solid var(--ink);
  background: var(--paper-deep);
}

.blog-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: var(--ink-soft);
  font: 650 10px/1.5 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Article */
.article-header {
  padding: 96px 0 68px;
  border-bottom: 1px solid var(--ink);
}

.article-header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: end;
}

.article-header h1 {
  max-width: 12ch;
  margin-top: 28px;
  font-size: clamp(55px, 7vw, 100px);
  letter-spacing: -.071em;
  line-height: .88;
}

.article-dek {
  padding: 24px 0 0 25px;
  border-left: 4px solid var(--red);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.42;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  color: var(--quiet);
  font: 650 10px/1.5 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-byline a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.article-body {
  padding: 86px 0 110px;
  background: rgb(255 253 247 / 58%);
}

.article-body .opening {
  font-size: 24px;
  line-height: 1.48;
}

.article-body p,
.article-body li {
  color: #302e29;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.72;
}

.article-body p + p {
  margin-top: 27px;
}

.article-body h2 {
  margin: 72px 0 24px;
  font-size: clamp(35px, 4.6vw, 56px);
  letter-spacing: -.052em;
  line-height: 1;
}

.article-body h3 {
  margin: 46px 0 18px;
  font-size: 25px;
  letter-spacing: -.025em;
}

.article-body ul {
  display: grid;
  gap: 12px;
  margin: 25px 0;
  padding-left: 25px;
}

.article-body blockquote {
  margin: 58px -90px;
  padding: 42px 54px;
  border: 1px solid var(--ink);
  background: var(--acid);
  font-family: var(--serif);
  font-size: clamp(29px, 4vw, 45px);
  font-style: italic;
  line-height: 1.16;
  box-shadow: 9px 9px 0 var(--ink);
}

.article-aside {
  margin: 48px 0;
  padding: 24px;
  border-left: 5px solid var(--blue);
  background: #e3e8f8;
}

.article-aside strong {
  display: block;
  margin-bottom: 8px;
  font: 780 10px/1.5 var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.article-aside p {
  font-size: 16px;
}

.article-end {
  margin-top: 78px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
  color: var(--quiet);
  font: 650 10px/1.6 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Writing desk */
.desk-header {
  padding: 78px 0 62px;
  border-bottom: 1px solid var(--ink);
}

.desk-header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr);
  gap: 70px;
  align-items: end;
}

.desk-header h1 {
  max-width: 9ch;
  margin-top: 24px;
  font-size: clamp(58px, 7vw, 98px);
  letter-spacing: -.07em;
  line-height: .88;
}

.desk-rule {
  padding: 24px;
  border: 1px solid var(--ink);
  background: var(--acid);
  box-shadow: 7px 7px 0 var(--ink);
}

.desk-rule strong {
  display: block;
  font: 800 11px/1.5 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.desk-rule p {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.48;
}

.desk {
  padding: 70px 0 100px;
}

.desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 28px;
  align-items: start;
}

.editor-form,
.preview-card {
  border: 1px solid var(--ink);
  background: var(--white);
}

.editor-form {
  padding: clamp(26px, 4vw, 48px);
}

.editor-section + .editor-section {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--rule);
}

.editor-section h2 {
  margin-bottom: 20px;
  font: 780 10px/1.5 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.editor-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.editor-field {
  display: grid;
  gap: 8px;
}

.editor-field.full {
  grid-column: 1 / -1;
}

.editor-field span {
  font-size: 12px;
  font-weight: 720;
}

.editor-field input,
.editor-field select,
.editor-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
}

.editor-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}

.editor-field textarea.long {
  min-height: 340px;
  font-family: var(--serif);
  font-size: 17px;
}

.editor-help {
  color: var(--quiet);
  font: 600 9px/1.6 var(--mono);
}

.email-status {
  min-height: 20px;
  margin-top: 10px;
  font: 700 10px/1.5 var(--mono);
}

.email-status.valid {
  color: #167032;
}

.email-status.invalid {
  color: #b2291a;
}

.editor-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  margin-top: 34px;
  padding: 0 19px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

.editor-submit:disabled {
  cursor: not-allowed;
  opacity: .35;
}

.preview-card {
  position: sticky;
  top: 24px;
  padding: 26px;
  box-shadow: 8px 8px 0 var(--blue);
}

.preview-card > span {
  color: var(--red);
  font: 760 9px/1.5 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.preview-card h2 {
  margin-top: 34px;
  font-size: 37px;
  letter-spacing: -.052em;
  line-height: .98;
}

.preview-card p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.48;
}

.preview-meta {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--quiet);
  font: 650 9px/1.55 var(--mono);
}

.publish-result {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--ink);
  background: var(--acid);
}

.publish-result strong {
  display: block;
  font-size: 13px;
}

.publish-result p {
  margin-top: 7px;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.45;
}

.download-post {
  display: inline-flex;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 800;
  text-underline-offset: 3px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 920px) {
  .blog-nav-inner {
    grid-template-columns: 1fr auto;
  }

  .blog-nav-links {
    display: none;
  }

  .blog-hero-grid,
  .featured-note,
  .covenant-grid,
  .article-header-grid,
  .desk-header-grid,
  .desk-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero-copy {
    padding-right: 0;
  }

  .hero-manifesto {
    min-height: 470px;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .featured-graphic {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .article-body blockquote {
    margin-inline: -24px;
  }

  .preview-card {
    position: static;
  }
}

@media (max-width: 650px) {
  .blog-wrap {
    width: min(calc(100% - 34px), 1280px);
  }

  .blog-nav-inner {
    min-height: 64px;
  }

  .blog-brand span {
    display: none;
  }

  .blog-nav-action {
    padding: 8px 10px;
    box-shadow: 3px 3px 0 var(--ink);
  }

  .blog-hero-grid {
    min-height: 0;
  }

  .blog-hero-copy {
    padding-block: 76px 62px;
  }

  .blog-hero h1 {
    font-size: clamp(62px, 22vw, 92px);
  }

  .hero-manifesto {
    min-height: 410px;
  }

  .manifesto-card {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .blog-section {
    padding: 70px 0;
  }

  .featured-note {
    box-shadow: 7px 7px 0 var(--blue);
  }

  .featured-graphic {
    min-height: 340px;
  }

  .note-grid,
  .write-band-inner,
  .editor-fields {
    grid-template-columns: 1fr;
  }

  .note-card {
    min-height: 350px;
    padding: 26px;
  }

  .note-card h3 {
    margin-top: 38px;
  }

  .blog-footer-inner {
    flex-direction: column;
  }

  .article-header {
    padding-top: 70px;
  }

  .article-body {
    padding-top: 62px;
  }

  .article-body blockquote {
    margin-inline: 0;
    padding: 30px 26px;
    box-shadow: 6px 6px 0 var(--ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
