@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/source-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/source-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/source-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/source-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #F4F0E4;
  --paper-light: #FBF9F3;
  --ink: #24352F;
  --green: #477264;
  --rust: #A6583E;
  --rule: #D8D2C4;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --page-width: 1200px;
  --reading-width: 68ch;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.25rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--paper-light); }
a { color: var(--green); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--rust); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; border-radius: 2px; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--page-width), calc(100% - 3rem)); margin-inline: auto; }
.skip-link {
  position: absolute; z-index: 10; left: 1rem; top: .75rem; padding: .6rem .85rem;
  background: var(--ink); color: var(--paper-light); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--rule); }
.header-inner {
  min-height: 94px; display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; column-gap: clamp(1.4rem, 4vw, 4.5rem);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.brand span { font: 600 1.75rem/1 var(--serif); letter-spacing: -.025em; }
.masthead-note { margin: 0; color: var(--green); font-size: .9rem; line-height: 1.35; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.desktop-nav a, .mobile-nav a, .site-footer a:not(.brand) {
  color: var(--ink); font-size: .93rem; font-weight: 600; text-decoration: none;
}
.desktop-nav a:hover, .mobile-nav a:hover, .site-footer a:not(.brand):hover { color: var(--rust); text-decoration: underline; }
.mobile-nav { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 6.5rem); align-items: center; padding-block: clamp(3.75rem, 8vw, 7.5rem); }
.hero-copy { max-width: 39rem; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; }
h1 { margin: 0; max-width: 11ch; font-size: clamp(3rem, 5.5vw, 5.35rem); line-height: .99; letter-spacing: -.035em; }
.hero-lede { margin: 1.6rem 0 0; max-width: 37ch; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.45; }
.hero-note { margin: 1.15rem 0 1.7rem; max-width: 41ch; color: var(--green); }
.text-link { display: inline-flex; align-items: baseline; gap: .65rem; font-weight: 700; text-decoration: underline; text-underline-offset: .24em; }
.text-link-strong { color: var(--ink); }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--rule); }
.hero-figure figcaption { margin-top: .65rem; color: var(--green); font-size: .82rem; line-height: 1.4; }

.guide-index { padding-block: 1rem var(--space-7); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--ink); padding-bottom: 1.4rem; }
.section-heading h2, .method-preview h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.25rem); line-height: 1.07; letter-spacing: -.025em; }
.section-heading > div > p { max-width: 52ch; margin: .75rem 0 0; color: var(--green); }
.section-folio { margin: 0 0 .3rem; color: var(--green); font-size: .75rem; font-weight: 700; letter-spacing: .11em; white-space: nowrap; }
.section-folio span { color: var(--rust); padding-inline: .35rem; }
.guide-list { margin: 0; padding: 0; list-style: none; counter-reset: guides; }
.guide-list li { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr) 2rem; gap: 1.1rem; align-items: center; padding: 1.65rem 0; border-bottom: 1px solid var(--rule); }
.guide-number { align-self: start; padding-top: .25rem; color: var(--rust); font: 600 1.1rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.guide-entry h3 { max-width: 48ch; margin: .15rem 0 .3rem; font-size: clamp(1.45rem, 2.3vw, 2rem); line-height: 1.18; }
.guide-entry h3 a { color: var(--ink); text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.guide-entry h3 a:hover { color: var(--green); text-decoration-color: currentColor; }
.guide-entry p { max-width: 68ch; margin: 0; }
.guide-entry .guide-category { color: var(--green); font-size: .79rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.guide-arrow { justify-self: end; color: var(--rust); font-size: 1.2rem; text-decoration: none; }

.method-preview { background: var(--paper-light); border-block: 1px solid var(--rule); }
.method-preview-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr); gap: clamp(3rem, 10vw, 9rem); padding-block: var(--space-7); }
.method-preview h2 { max-width: 13ch; }
.method-preview-inner > div:first-child > p { max-width: 55ch; margin: 1.25rem 0 0; }
.method-points { align-self: center; }
.method-points p { display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; margin: 0; padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.method-points p span { color: var(--rust); font: 600 1rem/1.5 var(--serif); }
.method-points .text-link { margin-top: 1.25rem; }

.site-footer { border-top: 1px solid var(--ink); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 100px; }
.footer-inner p { margin: 0; color: var(--green); font-size: .9rem; }
.brand-footer img { width: 30px; height: 30px; }
.brand-footer span { font-size: 1.35rem; }

.guide-top { padding-top: 2.2rem; }
.breadcrumb { margin: 0 0 2.4rem; color: var(--green); font-size: .88rem; }
.breadcrumb a { color: var(--green); }
.article-header { max-width: 850px; padding-bottom: 2.2rem; border-bottom: 1px solid var(--ink); }
.article-header h1 { max-width: 18ch; font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1.02; }
.article-deck { max-width: 63ch; margin: 1.35rem 0 0; font-size: 1.25rem; line-height: 1.5; }
.article-context { display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; margin-top: 1.4rem; color: var(--green); font-size: .85rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 235px; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; padding-block: 2.8rem var(--space-7); }
.article-body { max-width: var(--reading-width); }
.article-body h2 { margin: 2.65em 0 .65em; font-size: clamp(1.8rem, 3vw, 2.35rem); line-height: 1.13; scroll-margin-top: 1.5rem; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 2.15em 0 .55em; font-size: 1.42rem; line-height: 1.22; scroll-margin-top: 1.5rem; }
.article-body p { margin: 0 0 1.2em; }
.article-body ul { margin: .75rem 0 1.5rem; padding-left: 1.35rem; }
.article-body li { margin: .5rem 0; padding-left: .15rem; }
.article-body strong { font-weight: 700; }
.article-aside { position: sticky; top: 1.5rem; }
.article-aside h2 { margin: 0; font: 700 .78rem/1.3 var(--sans); letter-spacing: .09em; text-transform: uppercase; }
.article-toc { border-top: 2px solid var(--ink); padding-top: .9rem; }
.article-toc ul { margin: .75rem 0 0; padding: 0; list-style: none; }
.article-toc li { margin: .6rem 0; font-size: .88rem; line-height: 1.45; }
.article-toc a { color: var(--ink); text-decoration-color: var(--rule); }
.article-toc a:hover { color: var(--green); text-decoration-color: currentColor; }
.article-note { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.article-note p { margin: .7rem 0 0; color: var(--green); font-size: .93rem; line-height: 1.55; }
.article-next { display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--ink); padding-block: 1.8rem 3rem; }
.article-next a { max-width: 36ch; color: var(--ink); font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; text-decoration-color: var(--rule); }
.article-next p { margin: 0 0 .45rem; color: var(--green); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.article-next .next-link { text-align: right; margin-left: auto; }

.method-page { padding-block: 3rem var(--space-7); }
.method-page h1 { max-width: 14ch; }
.method-intro { max-width: 66ch; margin: 1.25rem 0 2.8rem; font-size: 1.25rem; }
.method-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; border-top: 1px solid var(--ink); padding-top: 2.2rem; }
.method-copy { max-width: var(--reading-width); }
.method-copy h2 { margin: 2.4em 0 .55em; font-size: 2rem; line-height: 1.15; }
.method-copy h2:first-child { margin-top: 0; }
.method-copy p, .method-copy li { max-width: 68ch; }
.method-copy li { margin: .55rem 0; }
.method-summary { border-top: 2px solid var(--rust); padding-top: .9rem; color: var(--green); font-size: .95rem; }
.method-summary strong { color: var(--ink); }
.method-closing { max-width: 68ch; margin-top: 2.6rem; }

.not-found { max-width: 760px; padding-block: 6rem 8rem; }
.not-found h1 { max-width: 12ch; }
.not-found p { max-width: 50ch; font-size: 1.15rem; }

@media (max-width: 860px) {
  .header-inner { grid-template-columns: auto 1fr auto; column-gap: 1.3rem; }
  .masthead-note { font-size: .82rem; }
  .desktop-nav { gap: .9rem; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 205px; gap: 2.5rem; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .wrap { width: min(var(--page-width), calc(100% - 2rem)); }
  .header-inner { min-height: 76px; display: flex; justify-content: space-between; }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: 1.55rem; }
  .masthead-note, .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; color: var(--ink); }
  .mobile-nav summary { cursor: pointer; list-style: none; padding: .55rem .1rem; font-size: .9rem; font-weight: 700; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; z-index: 5; top: calc(100% + .6rem); right: 0; width: min(17rem, 86vw); display: grid; gap: .9rem; padding: 1rem; background: var(--paper-light); border: 1px solid var(--rule); }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-block: 3.2rem 4rem; }
  h1 { max-width: 12ch; font-size: clamp(2.8rem, 13vw, 4rem); }
  .hero-figure img { aspect-ratio: 16 / 9; }
  .section-heading { display: block; }
  .section-folio { margin-top: 1.1rem; }
  .guide-list li { grid-template-columns: 2rem minmax(0, 1fr) 1rem; gap: .65rem; padding: 1.35rem 0; }
  .guide-entry h3 { font-size: 1.4rem; }
  .guide-entry p { font-size: .96rem; }
  .method-preview-inner { grid-template-columns: 1fr; gap: 2rem; padding-block: 4rem; }
  .method-preview h2 { max-width: 16ch; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: .75rem; padding-block: 1.5rem; }
  .footer-inner p { font-size: .85rem; }
  .guide-top { padding-top: 1.45rem; }
  .breadcrumb { margin-bottom: 1.8rem; }
  .article-header h1 { font-size: clamp(2.35rem, 11vw, 3.45rem); }
  .article-deck { font-size: 1.12rem; }
  .article-layout { display: flex; flex-direction: column; gap: 2.2rem; padding-block: 1.8rem 4rem; }
  .article-aside { position: static; order: -1; width: 100%; }
  .article-toc ul { columns: 1; }
  .article-note { margin-top: 1.35rem; }
  .article-body h2 { margin-top: 2.15em; font-size: 1.8rem; }
  .article-body h3 { margin-top: 1.7em; font-size: 1.3rem; }
  .article-next { flex-direction: column; }
  .article-next .next-link { margin-left: 0; text-align: left; }
  .method-page { padding-block: 2.2rem 4rem; }
  .method-page h1 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .method-grid { grid-template-columns: 1fr; gap: 2rem; }
  .method-summary { order: -1; }
  .method-copy h2 { font-size: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.arrow-icon { display: inline-block; width: .78em; height: .78em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: square; stroke-linejoin: miter; vertical-align: -.04em; }
.guide-arrow .arrow-icon { width: 1em; height: 1em; }
