:root {
  --paper: #f8f6f1;
  --paper-warm: #f4eddd;
  --paper-deep: #e9ddc5;
  --ink: #201811;
  --ink-soft: #4a3f30;
  --wine: #6e2430;
  --wine-dark: #591d27;
  --gold: #c8b893;
  --line: #d8cdbb;
  --dark: #171209;
  --sans: 'Raleway', Arial, sans-serif;
  --mono: 'Courier Prime', 'Courier New', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(110, 36, 48, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 36, 48, .014) 1px, transparent 1px),
    var(--paper);
  background-size: 24px 24px;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }
::selection { color: var(--paper-warm); background: var(--wine); }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }

.ed-breadcrumb,
.ed-wrap,
.ed-article,
.ed-footer__inner {
  width: min(calc(100% - 40px), 1180px);
  margin-inline: auto;
}

.ed-breadcrumb {
  padding: 16px 0 0;
  color: #6b5d48;
  font-family: var(--mono);
  font-size: 13px;
}
.ed-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ed-breadcrumb li:not(:last-child)::after {
  content: '/';
  margin: 0 8px;
  color: var(--gold);
}
.ed-breadcrumb a { text-decoration: none; }
.ed-breadcrumb a:hover { color: var(--wine); text-decoration: underline; }

.ed-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  padding: clamp(48px, 7vw, 96px) 0 clamp(54px, 8vw, 108px);
}
.ed-hero::after {
  position: absolute;
  right: -70px;
  bottom: -105px;
  width: 310px;
  height: 310px;
  border: 3px double var(--wine);
  border-radius: 50%;
  opacity: .11;
  content: '';
}
.ed-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
}
.ed-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.ed-kicker::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: '';
}
h1,
.ed-display {
  max-width: 17ch;
  margin: 0 0 24px;
  font-size: clamp(40px, 7vw, 78px);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: .99;
}
.ed-lead {
  max-width: 62ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}
.ed-meta {
  margin: 22px 0 0;
  color: #6b5d48;
  font-family: var(--mono);
  font-size: 13px;
}
.ed-stamp {
  position: relative;
  display: grid;
  min-height: 250px;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--paper-warm);
  box-shadow: 10px 10px 0 rgba(32, 24, 17, .12);
  transform: rotate(1.5deg);
}
.ed-stamp::before,
.ed-stamp::after {
  position: absolute;
  content: '';
}
.ed-stamp::before {
  inset: 12px;
  border: 1px dashed var(--wine);
}
.ed-stamp::after {
  width: 118px;
  height: 118px;
  border: 3px double var(--wine);
  border-radius: 50%;
}
.ed-stamp__text {
  z-index: 1;
  max-width: 150px;
  color: var(--wine);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-7deg);
}

.ed-section { padding: clamp(54px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.ed-section--warm { background: var(--paper-warm); }
.ed-section--dark { color: var(--paper-warm); background: var(--dark); }
.ed-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.ed-section h2,
.ed-article h2 {
  max-width: 25ch;
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.12;
  scroll-margin-top: 100px;
}
.ed-section h3,
.ed-article h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.ed-section__head p { max-width: 56ch; margin: 0; color: var(--ink-soft); }

.ed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.ed-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1.5px solid var(--ink);
  background: #fffdf8;
  box-shadow: 6px 6px 0 rgba(32, 24, 17, .09);
}
.ed-card--feature { grid-column: span 2; }
.ed-card__top {
  min-height: 118px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px dashed var(--ink);
  color: var(--paper-warm);
  background: var(--wine);
}
.ed-card:nth-child(even) .ed-card__top { color: var(--ink); background: var(--paper-deep); }
.ed-card__number {
  font-family: var(--mono);
  font-size: 38px;
  line-height: 1;
  opacity: .75;
}
.ed-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.ed-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px;
}
.ed-card__body h2,
.ed-card__body h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; }
.ed-card__body p { margin: 0 0 22px; color: var(--ink-soft); }
.ed-card__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }

.ed-button,
.ed-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  border: 1.5px solid var(--wine);
  border-radius: 3px;
  color: var(--paper-warm);
  background: var(--wine);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.ed-text-link { color: var(--wine); background: transparent; }
.ed-button:hover,
.ed-button:focus-visible { background: var(--wine-dark); }
.ed-text-link:hover,
.ed-text-link:focus-visible { color: var(--paper-warm); background: var(--wine); }

.ed-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(42px, 7vw, 92px);
  padding-block: clamp(54px, 8vw, 104px);
}
.ed-prose { width: 100%; min-width: 0; max-width: 760px; overflow: hidden; }
.ed-prose > p,
.ed-prose > ul,
.ed-prose > ol { margin: 0 0 1.25em; }
.ed-prose h2 { margin-top: 1.6em; }
.ed-prose h3 { margin-top: 1.7em; }
.ed-prose a:not(.ed-button):not(.ed-text-link) {
  color: var(--wine);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.ed-answer {
  margin: 0 0 42px;
  padding: 24px 26px;
  border: 2px solid var(--ink);
  border-left: 9px solid var(--wine);
  background: var(--paper-warm);
  box-shadow: 7px 7px 0 rgba(32, 24, 17, .08);
  font-size: 19px;
}
.ed-answer p { margin: 0; }
.ed-index {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(244, 237, 221, .86);
}
.ed-index strong {
  display: block;
  margin-bottom: 12px;
  color: var(--wine);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ed-index a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}
.ed-index a:hover { color: var(--wine); }

.ed-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; margin: 28px 0 38px; }
.ed-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}
.ed-table th,
.ed-table td { padding: 14px 15px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.ed-table th {
  color: var(--paper-warm);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ed-table tr:nth-child(even) td { background: var(--paper-warm); }
.ed-note {
  margin: 30px 0;
  padding: 20px 22px;
  border: 1px dashed var(--wine);
  background: #fffaf1;
  color: var(--ink-soft);
}
.ed-note strong { color: var(--ink); }
.ed-steps {
  counter-reset: steps;
  padding: 0;
  list-style: none;
}
.ed-steps li {
  position: relative;
  min-height: 56px;
  margin-bottom: 18px;
  padding: 12px 0 12px 66px;
}
.ed-steps li::before {
  position: absolute;
  top: 4px;
  left: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--wine);
  border-radius: 50%;
  color: var(--wine);
  font-family: var(--mono);
  font-weight: 700;
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
}
.ed-source-list { padding-left: 20px; font-size: 15px; }
.ed-source-list li { margin-bottom: 8px; }
.ed-related { margin-top: 54px; padding-top: 32px; border-top: 2px solid var(--ink); }

.ed-footer { padding: 32px 0; color: #c8b893; background: #100c06; }
.ed-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.ed-footer p { margin: 0; font-size: 13px; }
.ed-footer nav { display: flex; flex-wrap: wrap; gap: 14px; }
.ed-footer a { font-size: 13px; text-decoration: none; }
.ed-footer a:hover { color: #fff; }

@media (max-width: 900px) {
  .ed-hero__grid,
  .ed-article { grid-template-columns: 1fr; }
  .ed-stamp { min-height: 190px; }
  .ed-index { position: static; order: -1; }
  .ed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .ed-breadcrumb,
  .ed-wrap,
  .ed-article,
  .ed-footer__inner { width: min(calc(100% - 28px), 1180px); }
  .ed-grid { grid-template-columns: 1fr; }
  .ed-card--feature { grid-column: auto; }
  .ed-section__head { display: block; }
  .ed-section__head p { margin-top: 12px; }
  .ed-hero::after { display: none; }
  .ed-footer__inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
