:root {
  --paper: #f5f5ee;
  --paper-deep: #e7eadf;
  --ink: #1c221c;
  --muted: #5a6358;
  --faint: #7d8779;
  --line: rgba(28, 34, 28, 0.13);
  --sage: #6f8f74;
  --sage-soft: #dce8dc;
  --sage-mist: #eef4ee;
  --sage-deep: #4f6b55;
  --honey: #d4b45a;
  --honey-soft: #f3e7bc;
  --honey-mist: #f8f1d8;
  --honey-deep: #b8943d;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --mast: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

::selection {
  background: var(--honey-soft);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  padding: 0.5rem 0.8rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 2px;
  pointer-events: none;
}

.progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sage), var(--honey), var(--sage-deep));
}

.mast {
  position: sticky;
  top: 0;
  z-index: 30;
  background:
    linear-gradient(105deg, #e3eadf 0%, #ebe8d4 48%, #e7efdf 100%);
  border-bottom: 1px solid rgba(184, 148, 61, 0.28);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.mast.is-scrolled {
  background:
    linear-gradient(105deg, #dce6d8 0%, #e6e2cc 48%, #e0ead9 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 10px 28px rgba(79, 107, 85, 0.07);
}

.mast__inner {
  width: min(72rem, calc(100% - 2.5rem));
  margin: 0 auto;
  min-height: var(--mast);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 550;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1;
  color: var(--ink);
}

.mast__date {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--honey-deep);
}

.spread {
  width: min(72rem, calc(100% - 2.5rem));
  margin: 1.25rem auto 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 42rem) minmax(1.5rem, 1fr) 15.25rem;
  column-gap: 1.25rem;
  align-items: start;
}

.hero {
  grid-column: 1 / 3;
  grid-row: 1;
  margin: 0;
}

.hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 30%;
  background: var(--paper-deep);
}

.hero figcaption {
  margin-top: 0.65rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.story-head,
.story {
  grid-column: 1;
}

.story-head {
  grid-row: 2;
  padding-top: 2.4rem;
}

.story {
  grid-row: 3;
  position: relative;
}

.rail {
  grid-column: 3;
  grid-row: 1 / span 3;
  position: sticky;
  top: calc(var(--mast) + 1.25rem);
  align-self: start;
  padding-left: 1.35rem;
  border-left: 1px solid var(--line);
}

.rail__label,
.ad-label,
.site-footer__label {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.rail a {
  display: grid;
  grid-template-columns: 1.7rem 1fr;
  gap: 0.15rem 0.55rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--muted);
}

.rail a:last-child {
  border-bottom: 1px solid var(--line);
}

.rail a span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--faint);
}

.rail a strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.rail a:hover,
.rail a:hover strong,
.rail a.is-active,
.rail a.is-active strong {
  color: var(--sage-deep);
}

.ad-label {
  margin-bottom: 0.85rem;
  color: var(--sage-deep);
}

.story-head h1 {
  margin: 0.7rem 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5vw, 4.15rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.story-head h1 span {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.46em;
  font-weight: 450;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--muted);
}

.lede {
  margin: 1.45rem 0 0;
  max-width: 38rem;
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.65;
}

.spine {
  display: none;
}

.story section {
  scroll-margin-top: calc(var(--mast) + 1rem);
}

.story h2 {
  margin: 2.9rem 0 1rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.story h2::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 1px;
  margin-bottom: 0.85rem;
  background: linear-gradient(90deg, var(--honey), var(--sage));
}

.story p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.points,
.route,
.reasons,
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.points li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.points li:last-child {
  border-bottom: 1px solid var(--line);
}

.points h3,
.route h3 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-weight: 550;
  font-size: 1.32rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.points p,
.route p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.route {
  counter-reset: step;
}

.route li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  column-gap: 0.75rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.route li:last-child {
  border-bottom: 1px solid var(--line);
}

.route li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  grid-row: 1 / span 2;
  padding-top: 0.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--faint);
}

.route h3,
.route p {
  grid-column: 2;
}

.reasons-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7.25rem;
  gap: 0.5rem 1.25rem;
  align-items: center;
}

.seal {
  width: 7.25rem;
  margin: 0;
  color: var(--ink);
}

.seal svg {
  display: block;
  width: 100%;
  height: auto;
}

.reasons li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.35rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.reasons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 0.42rem;
  height: 0.42rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.facts {
  margin-top: 1.75rem;
}

.facts li {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.close {
  margin-top: 2.75rem;
  padding: 2rem 1.5rem 1.85rem;
  background:
    radial-gradient(circle at 88% 0%, rgba(243, 231, 188, 0.9), transparent 42%),
    radial-gradient(circle at 12% 0%, rgba(220, 232, 220, 0.95), transparent 48%),
    linear-gradient(165deg, #f8faf4 0%, #f3f0e2 42%, var(--sage-mist) 100%);
  border: 1px solid rgba(184, 148, 61, 0.28);
  box-shadow: 0 18px 40px rgba(79, 107, 85, 0.06);
}

.close__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--honey-deep);
}

.close h2 {
  max-width: 18ch;
  margin-top: 0;
}

.close h2::before {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  margin-top: 0.35rem;
  padding: 0.75rem 1.35rem;
  background: linear-gradient(135deg, var(--sage-deep) 0%, #5c7348 58%, var(--honey-deep) 140%);
  color: #f7faf6;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--sage-deep);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--honey-soft);
  color: var(--ink);
  border-color: var(--honey);
  filter: none;
}

.close__note {
  margin: 0.75rem 0 0 !important;
  font-size: 0.68rem !important;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint) !important;
}

.closer {
  margin: 1.5rem 0 0 !important;
  max-width: 34rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 450;
  font-size: 1.35rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink) !important;
}

.site-footer {
  border-top: 1px solid rgba(184, 148, 61, 0.22);
  background: linear-gradient(180deg, #e8efe4 0%, #ebe6d4 100%);
}

.site-footer__note,
.site-footer__grid,
.site-footer__copy {
  width: min(72rem, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-footer__note {
  padding: 2rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
}

.site-footer__note p:last-child,
.site-footer__grid p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.site-footer__grid {
  display: grid;
  gap: 1.6rem;
  padding: 1.7rem 0;
}

.site-footer__brand {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 550;
  color: var(--ink);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.site-footer__links a,
.site-footer a {
  color: var(--ink);
}

.site-footer__copy {
  padding: 0 0 2rem;
  color: var(--faint);
  font-size: 0.84rem;
}

.legal {
  width: min(42rem, calc(100% - 2.5rem));
  margin: 2.5rem auto 4rem;
}

.legal h1 {
  margin: 0.4rem 0 1.4rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.legal h2 {
  margin: 2rem 0 0.6rem;
  font-family: var(--serif);
  font-weight: 550;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.legal ul {
  padding-left: 1.15rem;
}

.legal li + li {
  margin-top: 0.35rem;
}

.cookie {
  position: fixed;
  left: 1.25rem;
  right: auto;
  bottom: 1.25rem;
  z-index: 50;
  width: min(23.5rem, calc(100% - 2.5rem));
  padding: 1.05rem 1.15rem 1.1rem;
  background: #1f2a21;
  color: #eef4ee;
  border: 0;
  border-radius: 1.15rem;
  box-shadow: 0 18px 42px rgba(31, 42, 33, 0.28);
}

.cookie p {
  margin: 0;
  color: rgba(238, 244, 238, 0.82);
  font-size: 0.88rem;
  line-height: 1.5;
}

.cookie a {
  color: var(--honey-soft);
}

.cookie__actions {
  margin-top: 0.9rem;
}

.cookie__btn {
  min-height: 2.4rem;
  padding: 0.45rem 1.05rem;
  border: 0;
  border-radius: 999px;
  background: var(--honey-soft);
  color: #3f3a22;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie__btn:hover,
.cookie__btn:focus-visible {
  background: #fff8dc;
  color: var(--ink);
}

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

@media (min-width: 1440px) {
  .spine {
    display: block;
    position: absolute;
    right: calc(100% + 0.8rem);
    top: 3.2rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--faint);
  }
}

@media (min-width: 860px) {
  .site-footer__grid {
    grid-template-columns: 1.3fr 0.8fr 1fr;
  }
}

@media (max-width: 980px) {
  .spread {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .hero,
  .story-head,
  .story,
  .rail {
    grid-column: 1;
    grid-row: auto;
    position: static;
    border-left: 0;
    padding-left: 0;
  }

  .rail {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.25rem;
  }

  .rail__label {
    grid-column: 1 / -1;
  }

  .story-head {
    padding-top: 1.6rem;
  }
}

@media (max-width: 640px) {
  .mast__inner,
  .spread,
  .site-footer__note,
  .site-footer__grid,
  .site-footer__copy,
  .legal {
    width: min(100% - 1.5rem, 72rem);
  }

  .brand {
    font-size: 1.55rem;
  }

  .rail {
    grid-template-columns: 1fr;
  }

  .facts li {
    font-size: 1.25rem;
  }

  .reasons-wrap {
    grid-template-columns: 1fr;
  }

  .seal {
    display: none;
  }

  .cookie {
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    border-radius: 1rem;
  }
}

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

  .btn,
  .progress__bar {
    transition: none;
  }
}
