.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 244, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  padding: 0.25rem;
}
.brand img {
  width: 2.1rem;
  height: 2.1rem;
  filter: invert(1);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1rem;
  font: inherit;
  font-weight: 700;
  font-size: var(--step--1);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule-ui);
  border-radius: 2px;
  cursor: pointer;
}
.nav-toggle:hover {
  background: var(--paper-2);
}
.nav-toggle-bars {
  display: grid;
  gap: 3px;
  width: 16px;
}
.nav-toggle-bars i {
  display: block;
  height: 2px;
  background: currentColor;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.4rem;
}
.nav-list[data-collapsed="true"] {
  display: none;
}

.nav-list a {
  display: inline-block;
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.7rem 0;
  border-bottom: 2px solid transparent;
  min-height: 44px;
  transition:
    border-bottom-color 200ms ease,
    color 200ms ease;
}
.nav-list a:hover {
  border-bottom-color: var(--rule-ui);
}
.nav-list a[aria-current="page"] {
  color: var(--green);
  border-bottom-color: var(--green);
}
.nav-list .nav-help a {
  color: var(--paper);
  background: var(--green);
  border: 0;
  padding: 0.7rem 1.1rem;
  border-radius: 2px;
  transition:
    background-color 200ms ease,
    transform 150ms ease;
}
.nav-list .nav-help a:hover {
  background: var(--green-deep);
}
.nav-list .nav-help a:active {
  transform: scale(0.96);
}
.nav-list .nav-help a[aria-current="page"] {
  color: var(--paper);
}

.textsize {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding-left: 0.9rem;
  background: var(--paper);
  border: 1px solid var(--rule-ui);
  border-radius: 2px;
}
.textsize:hover {
  background: var(--paper-2);
}
html:not(.js) .textsize {
  display: none;
}

.textsize-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--ink-3);
  pointer-events: none;
}

.textsize select {
  appearance: none;
  -webkit-appearance: none;
  align-self: stretch;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0 2.25rem 0 0;
  cursor: pointer;
}
.textsize select option {
  background: var(--paper);
  color: var(--ink);
  font-weight: 400;
}

.textsize::after {
  content: "";
  position: absolute;
  right: 0.95rem;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: translateY(-72%) rotate(45deg);
  pointer-events: none;
}

.textsize select:focus,
.textsize select:focus-visible {
  outline: none;
}
.textsize:focus-within {
  outline: none;
}

@media (max-width: 63.999em) {
  .header-inner {
    gap: 0.5rem 0.6rem;
  }
  .textsize {
    order: 2;
  }
  .nav-toggle {
    order: 3;
    padding: 0 0.85rem;
  }
  .nav {
    order: 4;
    width: 100%;
  }
  .nav-list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--rule);
    margin-top: 0.35rem;
    padding-bottom: 0.5rem;
  }
  .nav-list li {
    border-bottom: 1px solid var(--rule);
  }
  .nav-list li:last-child {
    border-bottom: 0;
  }
  .nav-list a {
    padding: 0.95rem 0;
    border-bottom: 0;
    font-size: var(--step-0);
  }
  .nav-list a[aria-current="page"] {
    border-bottom: 0;
  }
  .nav-list .nav-help a {
    margin-top: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 22.5em) {
  .textsize-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (min-width: 64em) {
  .nav-toggle {
    display: none;
  }
  .nav-list[data-collapsed="true"] {
    display: flex;
  }
}

.hero {
  padding-block: clamp(3.5rem, 8vw, 8rem) var(--sp-5);
}
.hero h1 {
  max-width: 16ch;
}
.hero .lede {
  margin-top: var(--sp-4);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  margin-top: var(--sp-4);
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.5rem;
  font-weight: 700;
  font-size: var(--step-0);
  text-decoration: none;
  border-radius: 2px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition:
    transform 150ms ease,
    background-color 200ms ease,
    border-color 200ms ease;
}
.btn:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
}
.btn:active {
  transform: scale(0.98);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--paper-2);
  color: var(--ink);
  border-color: var(--ink);
}
.btn svg {
  flex: none;
  transition: transform 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn:hover svg {
  transform: translateX(4px);
}

.arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--green);
  min-height: 44px;
  transition: transform 150ms ease;
}
.arrow:active {
  transform: scale(0.98);
}
.arrow:hover {
  color: var(--green-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.arrow svg {
  flex: none;
  transition: transform 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.arrow:hover svg {
  transform: translateX(6px);
}

.paths {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(2.5rem, 4.5vw, 3.75rem);
}
.path {
  display: block;
  text-decoration: none;
  max-width: 46rem;
  transition:
    transform 250ms ease,
    box-shadow 250ms ease,
    background-color 250ms ease;
  padding: 1rem 1.25rem;
  margin: -1rem -1.25rem;
  border-radius: 4px;
}
.path:hover {
  transform: translateY(-4px);
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(25, 23, 18, 0.06);
}
.path:active {
  transform: translateY(-2px) scale(0.99);
}
.path-title {
  display: block;
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0 0 var(--sp-3);
  transition: color 200ms ease;
}
.path:hover .path-title {
  color: var(--green-deep);
}
.path-body {
  display: block;
  color: var(--ink-2);
  max-width: 40rem;
  margin: 0 0 var(--sp-2);
}
.path-go {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--green);
}
.path-go svg {
  flex: none;
  transition: transform 200ms ease;
}
.path:hover .path-go svg {
  transform: translateX(5px);
}

.entries {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(2.5rem, 4.5vw, 3.75rem);
}
.entry {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--sp-2) var(--gutter);
  align-items: start;
}
.entry-n {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: var(--rule-ui);
  font-variant-numeric: tabular-nums;
}
.entry-body > :last-child {
  margin-bottom: 0;
}
.entry h3 {
  font-size: var(--step-2);
  margin: 0 0 var(--sp-2);
}
.entry h3 a {
  text-decoration: none;
  transition: color 200ms ease;
}
.entry h3 a:hover {
  color: var(--green-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.entry p {
  color: var(--ink-2);
  max-width: 40rem;
  margin: 0 0 var(--sp-2);
}
.entry-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--ink-3);
  margin-bottom: 0.55rem;
}
.entry-meta {
  margin: 0 0 var(--sp-2);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.1rem;
  font-size: var(--step--1);
  max-width: 34rem;
}
.entry-meta dt {
  font-weight: 700;
  color: var(--ink-3);
}
.entry-meta dd {
  margin: 0;
  color: var(--ink-2);
}

@media (max-width: 48em) {
  .entry {
    grid-template-columns: 1fr;
    gap: var(--sp-1);
  }
  .entry-n {
    font-size: 2rem;
  }
}

.callout {
  border-left: 3px solid var(--ink-3);
  padding: 0.35rem 0 0.35rem var(--sp-3);
  margin: var(--sp-4) 0;
  max-width: 44rem;
}
.callout > :last-child {
  margin-bottom: 0;
}
.callout h4 {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 var(--sp-2);
  color: var(--ink-2);
}
.callout p {
  max-width: none;
}
.callout-good {
  border-left-color: var(--green);
}
.callout-good h4 {
  color: var(--green-deep);
}
.callout-warn {
  border-left-color: var(--clay);
}
.callout-warn h4 {
  color: var(--clay);
}
.callout ol,
.callout ul:not(.checklist) {
  padding-left: 1.35rem;
  margin-bottom: 0;
}
.callout ol li,
.callout ul:not(.checklist) li {
  margin-bottom: 0.55rem;
}
.callout ol li:last-child,
.callout ul:not(.checklist) li:last-child {
  margin-bottom: 0;
}
.callout a {
  color: var(--green-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.callout a:hover {
  text-decoration-thickness: 3px;
}
.callout-warn a {
  color: var(--clay);
}

.checklist {
  list-style: none;
  margin: 0 0 var(--sp-4);
  padding: 0;
  display: grid;
  gap: var(--sp-2);
  max-width: 44rem;
}
.checklist li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.85rem;
  align-items: start;
}
.checklist svg {
  margin-top: 0.42rem;
  color: var(--green);
}
.checklist-warn svg {
  color: var(--clay);
}

.band {
  background: var(--night);
  color: var(--on-night);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.band h2,
.band h3 {
  color: var(--on-night);
}
.band p {
  color: var(--on-night-2);
}
.band .arrow {
  color: var(--on-night);
}
.band .arrow:hover {
  color: #ffffff;
}
.band .entry-n {
  color: #6f6959;
}
.band .entry p {
  color: var(--on-night-2);
}
.band-quote {
  font-family: var(--serif);
  font-size: var(--step-3);
  line-height: 1.22;
  letter-spacing: -0.018em;
  max-width: 22ch;
  margin: 0;
  color: var(--on-night);
}
.band p a {
  color: var(--on-night);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.band p a:hover {
  text-decoration-thickness: 3px;
}

.faq {
  max-width: 46rem;
}
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq details:first-of-type {
  border-top: 1px solid var(--rule);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-3) 3rem var(--sp-3) 0;
  position: relative;
  font-family: var(--serif);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
  transition: color 200ms ease;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--green-deep);
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 15px;
  height: 2px;
  background: var(--green);
  transform: translateY(-50%);
  transition:
    transform 300ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 300ms ease;
}
.faq summary::before {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 15px;
  height: 2px;
  background: var(--green);
  transform: translateY(-50%) rotate(90deg);
  transition:
    transform 300ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 300ms ease;
}
.faq details[open] summary::before {
  opacity: 0;
  transform: translateY(-50%) rotate(0deg);
}
.faq details[open] summary {
  color: var(--green-deep);
}
.faq-body {
  padding: 0 0 var(--sp-3);
}
.faq-body > :last-child {
  margin-bottom: 0;
}

.urgent {
  border-left: 3px solid var(--clay);
  padding: 0.35rem 0 0.35rem var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-3);
}
.urgent p {
  margin: 0;
  max-width: 42rem;
}
.urgent strong {
  color: var(--clay);
}

.prose > h2 {
  margin-top: var(--sp-5);
}
.prose > h3 {
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-2);
}
.prose > ul,
.prose > ol {
  padding-left: 1.4rem;
  max-width: var(--measure);
}
.prose > ul li,
.prose > ol li {
  margin-bottom: 0.6rem;
}
.prose a:not(.arrow):not(.btn) {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:not(.arrow):not(.btn):hover {
  text-decoration-thickness: 3px;
}

.pagenav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  margin-top: var(--sp-4);
}
.pagenav a {
  text-decoration: none;
  font-weight: 700;
  color: var(--green);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.pagenav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.figure {
  margin: 0 0 var(--sp-4);
}
.figure svg {
  color: var(--green-deep);
  width: 100%;
  max-width: 30rem;
  height: auto;
}
.figure svg text {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  fill: var(--ink);
}
.figure svg text.figure-invert {
  fill: var(--paper);
}
.figure figcaption {
  font-size: var(--step--1);
  color: var(--ink-3);
  margin-top: var(--sp-3);
  max-width: 32rem;
  line-height: 1.6;
}

.site-footer {
  background: var(--night);
  color: var(--on-night-2);
  padding-block: var(--sp-5) var(--sp-4);
}
.footer-grid {
  display: grid;
  gap: var(--sp-4) var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.footer-brand img {
  width: 2.6rem;
  height: 2.6rem;
  margin-top: var(--sp-3);
}
.footer-brand p {
  color: var(--on-night-2);
  font-size: var(--step--1);
  line-height: 1.6;
  max-width: 22rem;
}
.site-footer h2 {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--on-night);
  margin: 0 0 var(--sp-2);
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}
.footer-list a {
  text-decoration: none;
  color: var(--on-night-2);
  display: inline-block;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
}
.footer-list a:hover {
  color: var(--on-night);
  border-bottom-color: #4a463c;
}
.footer-base {
  border-top: 1px solid #302c24;
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  justify-content: space-between;
  font-size: var(--step--1);
}
.footer-base p {
  margin: 0;
  max-width: 44rem;
  color: var(--on-night-2);
}

.mt-3 {
  margin-top: var(--sp-3);
}
.mt-4 {
  margin-top: var(--sp-4);
}
.mt-5 {
  margin-top: var(--sp-5);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
html.js .reveal .path,
html.js .reveal .entry,
html.js .reveal .faq details {
  opacity: 0;
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
html.js .reveal.is-in .path,
html.js .reveal.is-in .entry,
html.js .reveal.is-in .faq details {
  animation: fade-up 600ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js .reveal .path,
  html.js .reveal .entry,
  html.js .reveal .faq details {
    opacity: 1;
    transform: none;
    animation: none !important;
    transition: none !important;
  }
}
