﻿:root {
  --paper: #f6f1e7;
  --sheet: #fffdf8;
  --ink: #1c1915;
  --muted: #5c564c;
  --line: #ddd4c4;
  --navy: #1b3358;
  --navy-deep: #12243f;
  --clay: #9a3412;
  --clay-deep: #7c2d12;
  --moss: #3f6212;
  --gold: #a16207;
  --header-h: 0px;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -10%, rgba(154, 52, 18, 0.08), transparent 36%),
    linear-gradient(180deg, #fbf7f0 0%, var(--paper) 28%, #efe7da 100%);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

a {
  color: var(--navy);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--clay);
}

:focus-visible {
  outline: 3px solid #c2410c;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 0.9rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.6rem;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fffdf8;
  border-bottom: 1px solid var(--line);
}

.mast {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0 0.7rem;
  border-bottom: 3px solid var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  object-fit: cover;
}

.brand-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 0.28rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mast-meta {
  margin: 0;
  max-width: 16rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
  line-height: 1.45;
}

.mast-tools {
  display: none;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.head-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.4rem 0.75rem;
  background: var(--clay);
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.head-dl:hover {
  background: var(--clay-deep);
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.toc {
  margin: 0 0 1.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}

.toc ol {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
}

.toc li {
  margin: 0.2rem 0;
}

.toc a {
  font-weight: 600;
}

.hero-shot {
  margin: 1.25rem 0 0;
}

.hero-shot img {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}

@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.78fr);
    column-gap: 2.75rem;
    align-items: center;
  }

  .hero-copy {
    min-width: 0;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 3.3vw, 3.55rem);
  }

  .hero .dek {
    max-width: 36rem;
  }

  .hero-shot {
    margin: 0;
  }

  .hero-shot img {
    width: 100%;
    max-width: none;
  }
}

.scroll-dl {
  display: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0.55rem 0;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a[aria-current="page"] {
  color: var(--clay);
  box-shadow: inset 0 -2px 0 var(--clay);
}

.ribbon {
  padding: 1.6rem 0 1.3rem;
}

.kicker {
  margin: 0 0 0.7rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 650;
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.dek {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-size: 1.18rem;
  color: var(--muted);
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.byline a {
  font-weight: 600;
}

.crumb {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.edition {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.edition div {
  padding: 0.85rem 0.9rem;
  border-left: 1px solid var(--line);
}

.edition div:first-child {
  border-left: 0;
  padding-left: 0;
}

.edition dt {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edition dd {
  margin: 0.15rem 0 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1.15;
}

.layout {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) 17.5rem;
  gap: 1.5rem;
  padding: 2.2rem 0 3rem;
}

.prose,
.rail,
.table-wrap {
  min-width: 0;
  max-width: 100%;
}

.chapters {
  position: sticky;
  top: 6.2rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chapters a {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  background: var(--sheet);
  color: var(--navy);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 650;
}

.chapters a:hover,
.chapters a:focus-visible {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.prose h2 {
  margin: 2.2rem 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.prose h3 {
  margin: 1.5rem 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 650;
}

.prose p,
.prose li {
  color: #2b2722;
}

.prose section:first-of-type > p:first-of-type::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 0.8;
  color: var(--clay);
}

.figure {
  margin: 1.4rem 0;
}

.figure img {
  width: 100%;
  border: 1px solid var(--line);
}

.figure figcaption {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 1.2rem 0 0.4rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.reasons article {
  padding: 1rem 1rem 1.1rem 0;
}

.reasons article + article {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.reasons h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.reasons p {
  margin: 0;
  font-size: 0.95rem;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.1rem 0 1.2rem;
}

.cat-grid article {
  margin: 0;
  padding: 1rem 1rem 1.05rem;
  background: var(--sheet);
  border: 1px solid var(--line);
}

.cat-grid .mark {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
  line-height: 1;
}

.cat-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
}

.cat-grid p {
  margin: 0;
  font-size: 0.95rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.2rem;
  border-top: 2px solid var(--ink);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
  background: var(--sheet);
}

th,
td {
  padding: 0.7rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

th {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.split article {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 1rem 1.05rem 1.1rem;
}

.split h3 {
  margin-top: 0;
}

.split ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.steps {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 0 0 1.15rem 3.2rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: var(--serif);
  font-weight: 650;
}

.steps strong {
  display: block;
  font-size: 1.05rem;
}

.callout {
  margin: 1.2rem 0;
  padding: 0.9rem 0 0.9rem 1rem;
  border-left: 4px solid var(--clay);
  background: rgba(154, 52, 18, 0.06);
}

.callout p {
  margin: 0;
}

.rail {
  position: sticky;
  top: 6.2rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panel {
  background: var(--navy-deep);
  color: #f8f4ec;
  padding: 1.15rem 1.15rem 1.25rem;
}

.panel h2 {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 650;
  line-height: 1.15;
}

.panel p {
  margin: 0 0 0.9rem;
  color: #ddd4c6;
  font-size: 0.92rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 2.8rem;
  padding: 0.65rem 0.9rem;
  background: var(--clay);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  border: 0;
}

.btn:hover {
  background: var(--clay-deep);
  color: #fff;
}

.btn.ghost {
  margin-top: 0.5rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn.ghost:hover {
  background: #fff;
  color: var(--navy-deep);
}

.score {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 1rem;
}

.score-num {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.score span {
  color: var(--muted);
  font-size: 0.85rem;
}

.score ul {
  margin: 0.7rem 0 0;
  padding-left: 1.05rem;
  font-size: 0.92rem;
}

.band {
  background: var(--navy);
  color: #f7f3ea;
  padding: 2.4rem 0;
}

.band h2 {
  margin: 0 0 1.2rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 650;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.quotes blockquote {
  margin: 0;
}

.quotes p {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.45;
}

.quotes footer {
  color: #d9d0c1;
  font-size: 0.88rem;
}

.stars {
  color: #f5d08a;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.survey {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #efe6d8;
  font-size: 0.95rem;
}

.survey strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: #fff;
}

.faq-block {
  padding: 2.6rem 0 1rem;
}

.faq-block h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 650;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.2rem;
}

details {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
}

summary {
  cursor: pointer;
  font-weight: 650;
}

details p {
  margin: 0.7rem 0 0;
  color: #2b2722;
}

.links {
  padding: 0.5rem 0 2.5rem;
}

.links h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 650;
}

.link-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.link-row a {
  display: block;
  min-height: 100%;
  padding: 0.95rem 0.9rem;
  background: var(--sheet);
  border-top: 3px solid var(--clay);
  color: inherit;
  text-decoration: none;
}

.link-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.link-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-foot {
  background: var(--ink);
  color: #e7e0d4;
  padding: 2rem 0 1.4rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-foot .foot-label {
  margin: 0 0 0.45rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: #fff;
}

.site-foot p,
.site-foot li,
.site-foot a {
  color: #d9d0c3;
  font-size: 0.92rem;
}

.site-foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #b7ae9f;
  font-size: 0.85rem;
}

.legal a {
  color: #d9d0c3;
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 16.5rem;
  }

  .chapters {
    display: none;
  }

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

  .edition div:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }

  .quotes,
  .link-row,
  .reasons,
  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reasons article:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .mast-tools,
  .nav-toggle {
    display: inline-flex;
  }

  .hero-shot {
    margin-top: 1rem;
  }

  .hero-shot img {
    max-width: none;
  }

  .scroll-dl {
    display: flex;
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    z-index: 12;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    background: var(--clay);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(28, 25, 21, 0.28);
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
  }

  .scroll-dl.is-on {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  body {
    padding-bottom: 5rem;
  }

  .site-nav {
    display: none;
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.3rem 0 0.7rem;
  }

  .site-nav a {
    display: block;
    padding: 0.55rem 0;
  }

  .edition,
  .layout,
  .split,
  .faq-grid,
  .quotes,
  .link-row,
  .foot-grid,
  .reasons,
  .cat-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mast {
    align-items: center;
  }

  .mast-meta,
  .brand small {
    display: none;
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .edition div,
  .edition div:nth-child(4),
  .reasons article,
  .reasons article + article,
  .reasons article:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
  }

  .edition div:first-child,
  .reasons article:first-child {
    border-top: 0;
  }

  .layout {
    padding-top: 1.4rem;
  }

  .rail {
    position: static;
    order: -1;
  }

  h1 {
    font-size: 2.35rem;
  }
}

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