a,
article,
body,
div,
figcaption,
figure,
footer,
h1,
h2,
h3,
header,
hgroup,
html,
img,
li,
nav,
ol,
p,
section,
strong,
ul {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

article,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}

.col-full:after,
.col-full:before {
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
}

.col-full:after {
  clear: both;
}

.col-full {
  zoom: 1;
}

html {
  font-size: 62.5%;
  background-color: #e6e1dd;
  scroll-behavior: smooth;
}

body {
  font-size: 1.4em;
  line-height: 1.618;
  color: #6c6158;
  font-family: Karla, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

#wrapper {
  padding: 0 1.618em;
}

img {
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
}

a {
  color: #7a5f4a;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: #342e2a;
}

a:focus-visible,
.chapter-nav a:focus-visible {
  outline: 2px solid #856270;
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: Cutive, Georgia, serif;
  color: #342e2a;
  margin: 0 0 0.618em;
}

h2 a {
  text-decoration: none;
}

h1 {
  font-size: 1.618em;
  line-height: 1.3;
  text-shadow:
    0 2px 0 #fff,
    0 3px 0 #918c88;
}

h2 {
  font-size: 1.387em;
  line-height: 1.3;
}

h3 {
  font-family: Karla, "Segoe UI", sans-serif;
  font-size: 1.05em;
  font-weight: 700;
  margin: 0 0 0.8em;
}

p,
ul,
ol {
  margin: 0 0 1.2em;
}

.entry > p,
.entry > ul,
.entry > ol {
  max-width: 42em;
}

strong {
  font-weight: 700;
}

#header {
  padding: 2.4em 0 1.2em;
  clear: both;
  position: relative;
  text-align: center;
}

#header #logo {
  float: left;
}

#header #logo img {
  max-width: min(100%, 20em);
}

#header .site-title {
  margin-bottom: 0;
  display: none;
}

#header .site-description {
  display: none;
}

#footer {
  padding: 2.2em 0 2.8em;
  color: #887a6f;
}

#footer a {
  text-decoration: none;
}

#footer a:hover,
#footer a:focus-visible {
  text-decoration: underline;
}

.type-page {
  margin: 0 0 2.2em;
  padding: 1.4em;
  position: relative;
  background-color: #f7f2ee;
  border: 1px solid #c4bfbb;
  border-bottom: 0;
  border-radius: 2px;
  box-shadow:
    inset 0 0.53em 2.618em rgba(0, 0, 0, 0.05),
    inset 0 0 0 0.618em rgba(255, 255, 255, 0.55),
    0 1px 1px rgba(0, 0, 0, 0.15),
    0 10px 0 -5px #eee,
    0 10px 1px -4px rgba(0, 0, 0, 0.125),
    0 20px 0 -10px #eee,
    0 20px 1px -9px rgba(0, 0, 0, 0.125),
    0 1em 2em rgba(0, 0, 0, 0.1);
}

.type-page header h1 {
  font-weight: 700;
  position: relative;
  max-width: 18em;
}

body.home .type-page header h1 {
  max-width: none;
  padding-right: 0;
  font-size: clamp(1.5em, 4vw, 2.1em);
  line-height: 1.2;
  margin-bottom: 0.4em;
}

.story-hero {
  margin: 0 0 1.8em;
  padding-bottom: 1.4em;
  border-bottom: 1px solid #d5cdc4;
}

.story-kicker {
  display: inline-block;
  margin: 0 0 0.7em;
  padding: 0.15em 0.55em;
  font-size: 0.78em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #856270;
  background: #efe6df;
  border: 1px solid #d8cbc0;
  border-radius: 999px;
}

.story-lede {
  font-size: 1.12em;
  line-height: 1.55;
  color: #4d443c;
  max-width: 42em;
}

.callout,
.charges li {
  margin: 0;
  padding: 0;
  max-width: 40em;
  background: none;
  border: 0;
  box-shadow: none;
  color: #789922;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 0.98em;
  line-height: 1.28;
}

.callout::before,
.charges li::before {
  content: "> ";
}

p.callout:not(:has(+ p.callout)) {
  margin-bottom: 1.1em;
}

.charges {
  list-style: none;
  margin: 0.35em 0 1.2em;
  padding: 0;
  max-width: 40em;
}

.charges a {
  color: inherit;
  text-decoration: none;
}

.charges a:hover,
.charges a:focus-visible {
  text-decoration: underline;
}

.story-note {
  font-size: 0.95em;
  color: #7a7066;
  max-width: 42em;
}

.placeholder {
  display: inline;
  color: #8a5a3a;
  background: #f3e4d4;
  border-radius: 0.2em;
  padding: 0.05em 0.3em;
  font-style: italic;
}

p.placeholder {
  display: block;
  padding: 0.7em 0.85em;
  border-left: 3px solid #c48a5a;
  background: #f6ebe0;
  border-radius: 0 0.25em 0.25em 0;
}

.chapter-nav {
  margin: 0 0 2em;
  padding: 0.9em 1em;
  background: #efe8e1;
  border: 1px solid #d5cdc4;
  border-radius: 0.35em;
}

.chapter-nav ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55em 1.1em;
  list-style: none;
  margin: 0;
  counter-reset: chapter;
}

.chapter-nav li {
  counter-increment: chapter;
}

.chapter-nav a {
  text-decoration: none;
  color: #4d443c;
  font-weight: 700;
}

.chapter-nav a::before {
  content: counter(chapter, decimal-leading-zero) " ";
  color: #968873;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.chapter-nav a:hover,
.chapter-nav a:focus-visible {
  color: #856270;
  text-decoration: underline;
}

.story-chapter {
  margin: 0 0 2.4em;
  padding: 0 0 2em;
  border-bottom: 1px solid #ddd4cb;
  scroll-margin-top: 1.2em;
}

.story-chapter:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0.4em;
}

.chapter-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65em 0.9em;
  align-items: baseline;
  margin: 0 0 1em;
}

.chapter-number {
  margin: 0;
  font-family: Cutive, Georgia, serif;
  font-size: 1.1em;
  color: #a08b7a;
  letter-spacing: 0.04em;
}

.chapter-header h2 {
  margin: 0;
  font-size: clamp(1.25em, 3vw, 1.65em);
}

.chapter-body > p {
  max-width: 42em;
}

.story-chapter--feature {
  padding: 1.2em 1em 1.6em;
  background:
    linear-gradient(180deg, rgba(133, 98, 112, 0.08), transparent 7em),
    #f3ebe4;
  border: 1px solid #d3c3b8;
  border-radius: 0.35em;
}

.story-figure {
  margin: 0 0 1em;
  background: #ebe4dc;
  border: 1px solid #d2c8bd;
  border-radius: 0.3em;
  overflow: hidden;
}

.story-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #ddd4cb;
}

.story-figure figcaption,
.compare-label {
  margin: 0;
  padding: 0.55em 0.75em;
  font-size: 0.88em;
  line-height: 1.4;
  color: #5f564d;
  background: #f4eee8;
}

.compare-label {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.78em;
  color: #7a5f4a;
  border-bottom: 1px solid #ddd4cb;
}

.story-figure--wide {
  margin-top: 1.2em;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9em;
  margin: 1.2em 0 1.4em;
}

.compare-grid .story-figure {
  margin: 0;
  height: 100%;
}

.compare-grid img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.comparison-block {
  margin: 1.6em 0 2em;
}

.comparison-block h3 {
  margin-bottom: 0.7em;
  padding-bottom: 0.35em;
  border-bottom: 1px dashed #d2c8bd;
}

.archive-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85em;
  margin: 1.3em 0 0.4em;
}

.archive-strip .story-figure {
  margin: 0;
}

.archive-strip img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.story-footnote {
  margin-top: 1.6em;
  font-size: 0.95em;
  color: #7a7066;
}

@media only screen and (min-width: 640px) {
  .compare-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .archive-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (min-width: 768px) {
  #wrapper {
    box-sizing: border-box;
    overflow-x: hidden;
  }

  #main.fullwidth,
  .col-full {
    max-width: 75.998em;
    margin: 0 auto;
    width: 100%;
  }

  .col-left {
    float: left;
  }

  #header:after {
    content: "\0020";
    display: block;
    height: 0;
    overflow: hidden;
    clear: both;
  }

  #header #logo {
    margin-right: 1em;
  }

  #header hgroup {
    float: left;
    margin-bottom: 1.2em;
  }

  .type-page {
    padding: 2em 2.2em 2.4em;
  }

  .story-chapter--feature {
    padding: 1.6em 1.5em 1.9em;
  }

  .archive-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .compare-grid img {
    min-height: 18em;
  }
}

@media only screen and (min-width: 1024px) {
  body.home .type-page {
    max-width: 58em;
    margin-left: auto;
    margin-right: auto;
  }

  .story-figure--wide img {
    max-height: 34em;
    width: 100%;
    object-fit: contain;
    background: #e4dbd2;
  }
}

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