/* RIDGE NOTE — Forest Field Notes / refined editorial system */
:root {
  --ink: #1a2b27;
  --ink-soft: #4b5b55;
  --pine: #173a32;
  --pine-deep: #0e2822;
  --moss: #6f8877;
  --moss-light: #b9c8b6;
  --mist: #edf1ea;
  --paper: #fcfbf7;
  --sand: #efe5d2;
  --sand-deep: #d5c4a7;
  --signal: #a64825;
  --sun: #f4c96a;
  --line: rgba(26, 43, 39, .17);
  --line-light: rgba(252, 251, 247, 0.24);
  --display: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", Georgia, serif;
  --body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --shell: min(1180px, calc(100% - 48px));
  --space-section: clamp(88px, 10vw, 152px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
::selection { color: var(--paper); background: var(--pine); }
a { color: inherit; text-decoration: none; text-underline-offset: .2em; }
button, input { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
.shell { width: var(--shell); max-width: 1180px; margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.desktop-only { display: inline; }
.skip-link { position: fixed; z-index: 20; top: 14px; left: 18px; padding: 8px 13px; color: var(--paper); background: var(--pine); transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(252, 251, 247, .97); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(23, 58, 50, .02); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--pine); font-family: var(--body); letter-spacing: .05em; line-height: 1; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand strong { display: block; font-size: 14px; font-weight: 800; letter-spacing: .18em; }
.brand em { display: block; margin-top: 3px; color: var(--signal); font-size: 8px; font-style: normal; font-weight: 700; letter-spacing: .25em; }
.site-nav { display: flex; align-items: center; gap: clamp(19px, 3vw, 36px); font-size: 13px; font-weight: 700; letter-spacing: .01em; }
.site-nav > a { position: relative; padding: 8px 0; color: var(--ink-soft); transition: color .2s ease; }
.site-nav > a:not(.nav-cta)::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; content: ""; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-nav > a:hover, .site-nav > a.active, .site-nav > a[aria-current="page"] { color: var(--pine); }
.site-nav > a:not(.nav-cta):hover::after, .site-nav > a.active::after, .site-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { padding: 10px 15px !important; color: var(--paper) !important; background: var(--pine); }
.nav-cta:hover { background: var(--pine-deep); }
.nav-cta span { color: var(--sun); font-size: 15px; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; cursor: pointer; background: transparent; border: 1px solid var(--line); }
.menu-toggle > span:not(.sr-only) { display: block; width: 20px; height: 1px; margin: 5px auto; background: var(--pine); }

/* Shared type and controls */
.eyebrow, .section-kicker, .aside-label, .media-label, .note-tag, .article-meta, .art-topline, .art-footnote, .log-table span, .caption, .route-labels, .topo-card > p, .draft-status {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .035em;
  line-height: 1.4;
  text-transform: none;
}
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 24px; color: var(--signal); }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; background: var(--signal); border-radius: 50%; }
.section-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--signal); }
.section-kicker::before { width: 28px; height: 1px; content: ""; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; }
h1, h2 { font-family: var(--display); letter-spacing: -.055em; }
h1 { margin-bottom: 27px; font-size: clamp(3.1rem, 6vw, 6.4rem); line-height: 1.04; text-wrap: pretty; }
h1 span, h1 em, h2 em { color: var(--signal); font-style: normal; }
h2 { margin-bottom: 21px; font-size: clamp(2.15rem, 4vw, 4rem); line-height: 1.14; text-wrap: pretty; }
h3 { margin-bottom: 10px; font-size: 1.25rem; line-height: 1.4; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 13px 19px; border: 1px solid transparent; font-size: 13px; font-weight: 800; letter-spacing: .01em; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button span { color: var(--sun); font-size: 17px; line-height: 0; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--paper); background: var(--signal); }
.button-primary:hover { background: #873d20; }
.button-outline { color: var(--pine); border-color: var(--pine); }
.button-outline:hover { color: var(--paper); background: var(--pine); }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding: 3px 0 5px; color: var(--pine); font-size: 13px; font-weight: 800; letter-spacing: .01em; border-bottom: 1px solid var(--line); }
.text-link span { color: var(--signal); font-size: 17px; transition: transform .2s ease; }
.text-link:hover { color: var(--signal); }
.text-link:hover span { transform: translateX(4px); }
.section-space { margin-top: var(--space-section); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 0; }

/* Home hero */
.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(380px, 1.08fr); gap: clamp(42px, 7vw, 106px); align-items: center; min-height: 585px; padding-top: 70px; padding-bottom: 73px; }
.hero-copy { max-width: 560px; }
.hero h1 { max-width: 590px; }
.hero-lede { max-width: 450px; margin-bottom: 32px; color: var(--ink-soft); font-size: 16px; line-height: 2; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; margin-bottom: 34px; }
.hero-note { display: flex; align-items: flex-start; gap: 12px; max-width: 440px; padding-top: 15px; color: var(--ink-soft); border-top: 1px solid var(--line); font-size: 11px; line-height: 1.7; }
.hero-note p { margin: 0; }
.hero-note-mark { flex: 0 0 auto; width: 28px; height: 8px; margin-top: .65em; border-top: 2px solid var(--signal); }
.hero-art { position: relative; min-height: 470px; padding: 17px 17px 15px; color: var(--paper); background: var(--pine); overflow: hidden; }
.hero-art::before, .hero-art::after { position: absolute; content: ""; pointer-events: none; }
.hero-art::before { inset: 0; opacity: .45; background-image: repeating-radial-gradient(ellipse at 70% 76%, transparent 0 27px, rgba(185, 200, 182, .22) 28px 29px, transparent 30px 56px); mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%); }
.hero-art::after { right: -85px; bottom: -112px; width: 310px; height: 310px; border: 1px solid rgba(244, 201, 106, .47); border-radius: 50%; box-shadow: 0 0 0 24px rgba(244, 201, 106, .09), 0 0 0 50px rgba(244, 201, 106, .06); }
.art-topline, .art-footnote { position: relative; z-index: 2; display: flex; justify-content: space-between; color: var(--moss-light); font-size: 10px; }
.terrain-scene { position: relative; min-height: 394px; margin-top: 9px; overflow: hidden; }
.terrain-scene::after { position: absolute; right: 18%; bottom: -28px; width: 1px; height: 140%; content: ""; background: rgba(243, 197, 107, .33); transform: rotate(28deg); transform-origin: bottom; }
.sun { position: absolute; top: 52px; left: 22%; width: 92px; height: 92px; background: var(--sun); border-radius: 50%; box-shadow: 0 0 0 14px rgba(244, 201, 106, .08), 0 0 0 30px rgba(244, 201, 106, .05); }
.contour { position: absolute; z-index: 1; width: 160%; height: 220px; border: 1px solid rgba(238, 240, 232, .25); border-radius: 50%; transform: rotate(-16deg); }
.contour-a { top: 88px; left: -22%; }
.contour-b { top: 125px; left: -24%; transform: rotate(-14deg) scale(.86); }
.contour-c { top: 170px; left: -22%; transform: rotate(-13deg) scale(.72); }
.mountain { position: absolute; z-index: 2; bottom: -12px; clip-path: polygon(0 100%, 0 65%, 19% 50%, 34% 68%, 54% 22%, 72% 57%, 85% 42%, 100% 70%, 100% 100%); }
.mountain-back { right: -15%; left: -15%; height: 282px; background: #416858; opacity: .92; }
.mountain-front { right: -24%; left: -26%; height: 224px; background: #1d473b; clip-path: polygon(0 100%, 0 69%, 16% 59%, 29% 73%, 47% 45%, 63% 67%, 78% 53%, 100% 73%, 100% 100%); }
.trail-line { position: absolute; z-index: 4; right: 31%; bottom: -2px; width: 108px; height: 315px; border-left: 2px solid var(--signal); border-radius: 47%; transform: rotate(16deg); clip-path: polygon(45% 0, 100% 0, 52% 100%, 0 100%); opacity: .9; }
.scene-caption { position: absolute; z-index: 5; right: 20px; bottom: 20px; left: 20px; display: flex; justify-content: space-between; color: var(--paper); font-family: var(--body); font-size: 10px; }
.scene-caption strong { color: var(--sun); font-weight: 600; }
.art-footnote { justify-content: flex-start; gap: 10px; margin-top: 7px; color: var(--paper); font-size: 10px; }
.signal-line { display: inline-block; width: 29px; height: 1px; background: var(--signal); }

/* Intro and pathways */
.intro-band { padding: 88px 0; color: var(--paper); background: var(--pine); }
.intro-grid { display: grid; grid-template-columns: .64fr 1.36fr; gap: clamp(42px, 8vw, 145px); }
.intro-band .section-kicker { color: var(--sun); }
.intro-band h2 { margin-bottom: 18px; color: var(--paper); }
.intro-band p { max-width: 620px; margin-bottom: 0; color: rgba(252, 251, 247, .74); }
.pathways { position: relative; }
.pathways::before { position: absolute; top: -42px; right: 8%; width: 1px; height: 114px; content: ""; background: var(--signal); transform: rotate(35deg); opacity: .55; }
.pathway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.pathway-card { position: relative; display: flex; flex-direction: column; min-height: 285px; padding: 27px 25px 23px; overflow: hidden; border-top: 4px solid transparent; transition: transform .25s ease, box-shadow .25s ease; }
.pathway-card:hover { transform: translateY(-4px); box-shadow: 0 14px 0 rgba(21, 35, 31, .08); }
.pathway-start { color: var(--paper); background: var(--pine); border-top-color: var(--signal); }
.pathway-build { color: var(--ink); background: var(--sand); border-top-color: var(--sand-deep); }
.pathway-mountain { color: var(--paper); background: #526f60; border-top-color: var(--sun); }
.pathway-card::after { position: absolute; right: -30px; bottom: -60px; width: 180px; height: 180px; content: ""; border: 1px solid currentColor; border-radius: 50%; opacity: .16; box-shadow: 0 0 0 21px transparent, 0 0 0 22px currentColor; }
.pathway-icon { position: absolute; top: 23px; right: 24px; color: var(--signal); font-size: 28px; font-weight: 300; line-height: 1; }
.pathway-card h3 { margin-top: auto; margin-bottom: 10px; font-family: var(--display); font-size: 2rem; letter-spacing: -.04em; }
.pathway-card p { max-width: 240px; margin-bottom: 22px; color: inherit; font-size: 13px; line-height: 1.8; opacity: .8; }
.card-arrow { position: relative; z-index: 1; font-family: var(--body); font-size: 11px; font-weight: 800; letter-spacing: .02em; }

/* Feature / notes */
.feature-section { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(290px, .9fr); gap: clamp(38px, 8vw, 108px); align-items: center; }
.feature-media { position: relative; min-height: 490px; overflow: hidden; }
.feature-media-run { color: var(--paper); background: #3f6858; }
.feature-media-run::before { position: absolute; inset: 0; content: ""; opacity: .28; background-image: linear-gradient(rgba(252, 251, 247, .25) 1px, transparent 1px), linear-gradient(90deg, rgba(252, 251, 247, .25) 1px, transparent 1px); background-size: 46px 46px; transform: rotate(-7deg) scale(1.22); }
.feature-media .media-label, .feature-media .media-number { position: absolute; z-index: 3; top: 22px; }
.media-label { left: 25px; color: var(--paper); }
.media-number { display: none; }
.media-sun { position: absolute; top: 93px; left: 21%; width: 124px; height: 124px; background: var(--sun); border-radius: 50%; }
.media-ridge { position: absolute; right: -10%; bottom: 0; left: -10%; height: 57%; background: #1f473c; clip-path: polygon(0 100%, 0 54%, 16% 36%, 29% 61%, 49% 12%, 67% 53%, 81% 37%, 100% 64%, 100% 100%); }
.media-ridge-low { right: -16%; left: -15%; height: 38%; background: #173a32; clip-path: polygon(0 100%, 0 49%, 21% 28%, 38% 59%, 53% 29%, 72% 57%, 87% 38%, 100% 57%, 100% 100%); }
.media-path { position: absolute; z-index: 2; right: 34%; bottom: -18px; width: 145px; height: 320px; border-left: 2px solid var(--signal); border-radius: 50%; transform: rotate(21deg); }
.feature-copy > p:not(.section-kicker) { max-width: 430px; color: var(--ink-soft); line-height: 2; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0 16px; margin: 23px 0 28px; color: var(--ink-soft); font-size: 11px; }
.article-meta span + span::before { margin-right: 16px; content: "・"; color: var(--signal); }
.latest-section { padding: 0 0 2px; background: var(--mist); }
.latest-section > .shell { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.notes-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; }
.note-card { background: var(--paper); transition: transform .25s ease, box-shadow .25s ease; }
.note-card:not(.note-card-draft):hover { transform: translateY(-4px); box-shadow: 0 14px 0 rgba(21, 35, 31, .08); }
.note-card-draft { color: var(--ink-soft); }
.note-visual { position: relative; min-height: 205px; overflow: hidden; }
.note-visual > span { position: absolute; z-index: 2; top: 18px; left: 19px; color: rgba(252, 251, 247, .86); font-family: var(--body); font-size: 10px; letter-spacing: .04em; }
.note-visual i { position: absolute; right: 14%; bottom: 17%; left: 14%; height: 1px; background: var(--signal); transform: rotate(-13deg); }
.visual-river { background: #315b4e; }
.visual-river::before { position: absolute; top: 34%; left: -10%; width: 120%; height: 120px; content: ""; border: 1px solid rgba(238, 240, 232, .4); border-radius: 50%; transform: rotate(-14deg); }
.visual-river::after { position: absolute; right: -12%; bottom: -23%; width: 92%; height: 85%; content: ""; background: #173a32; clip-path: polygon(0 100%, 0 52%, 24% 31%, 42% 56%, 64% 18%, 80% 48%, 100% 35%, 100% 100%); }
.visual-map { background: var(--sand); }
.visual-map::before { position: absolute; inset: 18px; content: ""; border: 1px solid rgba(21, 35, 31, .24); border-radius: 50%; box-shadow: 15px 8px 0 -2px transparent, 15px 8px 0 -1px rgba(21, 35, 31, .22), -18px 26px 0 -7px transparent, -18px 26px 0 -6px rgba(21, 35, 31, .18); transform: rotate(24deg); }
.visual-map::after { position: absolute; right: 25%; bottom: 15%; width: 1px; height: 65%; content: ""; background: var(--pine); transform: rotate(33deg); }
.visual-pace { background: #263e4c; }
.visual-pace::before { position: absolute; top: 50%; right: 17%; width: 68%; height: 1px; content: ""; background: var(--sun); box-shadow: -55px -36px 0 rgba(243, 197, 107, .65), -112px 41px 0 rgba(243, 197, 107, .35); transform: rotate(-12deg); }
.visual-pace::after { position: absolute; bottom: 18%; left: 18%; width: 14px; height: 14px; content: ""; background: var(--signal); border-radius: 50%; }
.visual-ridge { background: #587761; }
.visual-ridge::before { position: absolute; right: -15%; bottom: -11%; left: -15%; height: 75%; content: ""; background: #315342; clip-path: polygon(0 100%, 0 54%, 21% 32%, 37% 64%, 58% 16%, 72% 54%, 88% 34%, 100% 60%, 100% 100%); }
.visual-ridge::after { position: absolute; top: 47%; left: 23%; width: 65%; height: 1px; content: ""; background: var(--moss-light); transform: rotate(-16deg); }
.visual-shoes { background: #d6a468; }
.visual-shoes::before { position: absolute; right: 16%; bottom: 22%; width: 63%; height: 33%; content: ""; background: var(--pine); border-radius: 50% 65% 14% 48%; transform: rotate(-11deg); }
.visual-shoes::after { position: absolute; right: 25%; bottom: 34%; width: 38%; height: 5px; content: ""; background: var(--sun); transform: rotate(-8deg); box-shadow: 0 13px 0 var(--sun), 0 26px 0 var(--sun); }
.visual-weather { background: #74888a; }
.visual-weather::before { position: absolute; top: 43%; left: 18%; width: 65%; height: 1px; content: ""; background: var(--mist); box-shadow: 18px 18px 0 rgba(238, 240, 232, .68), -21px 36px 0 rgba(238, 240, 232, .4); transform: rotate(-11deg); }
.visual-weather::after { position: absolute; top: 27%; right: 18%; width: 18px; height: 18px; content: ""; border: 1px solid var(--sun); border-radius: 50%; }
.note-body { padding: 22px 22px 24px; }
.note-tag { display: inline-block; margin-bottom: 13px; padding: 5px 9px; color: var(--pine); background: var(--mist); font-size: 11px; }
.note-tag-orange { color: #873f20; background: #f5d8c6; }
.note-tag-moss { color: var(--pine); background: var(--moss-light); }
.note-body h3 { min-height: 2.75em; margin-bottom: 20px; font-size: 1.2rem; }
.note-body .article-meta { margin: 0; }
.draft-status { display: inline-flex; margin: 0 0 12px 5px; color: var(--signal); font-size: 10px; }
.note-card-draft .note-visual { filter: saturate(.65); }

/* Nature band */
.field-note-band { color: var(--paper); background: var(--pine-deep); overflow: hidden; }
.field-note-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(40px, 8vw, 118px); align-items: center; padding-top: 96px; padding-bottom: 96px; }
.field-note-copy .section-kicker { color: var(--sun); }
.field-note-copy h2 { margin-bottom: 22px; }
.field-note-copy p:not(.section-kicker) { max-width: 390px; margin-bottom: 29px; color: rgba(252, 251, 247, .68); }
.link-light { color: var(--paper); border-color: rgba(252, 251, 247, .32); }
.topo-card { position: relative; min-height: 308px; padding: 23px; overflow: hidden; border: 1px solid rgba(237, 241, 234, .3); background: #244a40; }
.topo-card::before { position: absolute; inset: -25% -10%; content: ""; opacity: .52; background: repeating-radial-gradient(ellipse at 57% 54%, transparent 0 18px, rgba(185, 200, 182, .44) 19px 20px, transparent 21px 39px); transform: rotate(-13deg); }
.topo-lines { position: absolute; top: 31%; left: 13%; width: 62%; height: 44%; border: 1px solid var(--sun); border-radius: 48% 52% 44% 56%; transform: rotate(18deg); opacity: .72; }
.topo-lines::before, .topo-lines::after { position: absolute; content: ""; border: 1px solid var(--sun); border-radius: inherit; }
.topo-lines::before { inset: 20px -22px; }
.topo-lines::after { inset: 41px -43px; }
.topo-points { position: absolute; z-index: 2; top: 24px; right: 23px; left: 23px; display: flex; justify-content: space-between; color: var(--moss-light); font-family: var(--body); font-size: 10px; letter-spacing: .04em; }
.topo-points span:last-child { color: var(--sun); }
.topo-stats { position: absolute; z-index: 2; right: 22px; bottom: 45px; left: 22px; display: flex; gap: 28px; }
.topo-stats > div { display: flex; flex-direction: column; gap: 2px; }
.topo-stats strong { font-family: var(--display); font-size: 24px; font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.topo-stats span { color: var(--moss-light); font-family: var(--body); font-size: 10px; }
.topo-card > p { position: absolute; right: 22px; bottom: 18px; left: 22px; margin: 0; color: rgba(237, 241, 234, .72); font-size: 10px; }

/* Footer */
.site-footer { padding: 62px 0 24px; color: var(--paper); background: var(--pine-deep); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 52px; }
.brand-footer { color: var(--paper); }
.brand-footer p, .footer-grid > div > p { margin: 20px 0 0; color: rgba(252, 251, 247, .64); font-size: 12px; line-height: 1.8; }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; justify-content: flex-end; gap: 12px 25px; font-size: 12px; }
.footer-links a { color: rgba(252, 251, 247, .78); }
.footer-links a:hover { color: var(--sun); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 17px; color: rgba(252, 251, 247, .48); border-top: 1px solid var(--line-light); font-family: var(--body); font-size: 10px; letter-spacing: .01em; }

/* Archive */
.archive-hero { padding: 78px 0 62px; color: var(--paper); background: var(--pine); }
.archive-hero-inner { display: grid; grid-template-columns: 1fr .72fr; gap: 78px; align-items: end; }
.archive-hero .eyebrow { color: var(--sun); }
.archive-hero h1 { margin-bottom: 0; }
.archive-hero h1 span { color: var(--sun); }
.archive-hero-inner > p { max-width: 390px; margin: 0 0 7px; color: rgba(252, 251, 247, .73); }
.filter-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 17px; }
.filter-button { min-height: 44px; padding: 9px 16px; cursor: pointer; color: var(--ink-soft); background: transparent; border: 1px solid var(--line); font-size: 12px; font-weight: 700; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.filter-button:hover, .filter-button.is-active, .filter-button[aria-pressed="true"] { color: var(--paper); background: var(--pine); border-color: var(--pine); }
.filter-status { min-height: 1.6em; margin: 0 0 32px; color: var(--ink-soft); font-size: 12px; }
.archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 18px; }
.archive-card { border-top: 1px solid var(--line); }
.archive-card > a, .archive-card > .archive-card-content { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 20px; padding: 18px 0 27px; }
.archive-card:hover .archive-visual { filter: saturate(1.08); }
.archive-card.is-draft .archive-visual { filter: saturate(.58); }
.archive-visual { position: relative; min-height: 214px; overflow: hidden; transition: filter .25s ease; }
.archive-visual > span { position: absolute; z-index: 2; top: 15px; left: 15px; color: rgba(252, 251, 247, .86); font-family: var(--body); font-size: 10px; letter-spacing: .04em; }
.archive-content { align-self: center; padding: 0; }
.archive-content h2 { margin: 8px 0 13px; font-size: clamp(1.45rem, 2.4vw, 1.8rem); line-height: 1.33; letter-spacing: -.035em; }
.archive-content p { margin-bottom: 20px; color: var(--ink-soft); font-size: 12px; line-height: 1.8; }
.archive-content .article-meta { margin: 0; }
.archive-card.is-draft .archive-content { opacity: .86; }
.archive-card.is-draft .archive-content h2 { color: var(--ink-soft); }
.empty-state { padding: 38px; text-align: center; color: var(--ink-soft); background: var(--mist); }

/* Article pages */
.article-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(350px, 1.05fr); gap: clamp(42px, 8vw, 112px); align-items: center; padding-top: 74px; padding-bottom: 80px; }
.back-link { display: inline-block; margin-bottom: 36px; color: var(--ink-soft); font-family: var(--body); font-size: 12px; letter-spacing: 0; }
.back-link:hover { color: var(--signal); }
.article-hero-copy > .note-tag { margin-bottom: 18px; }
.article-hero h1 { margin-bottom: 26px; font-size: clamp(3rem, 5.7vw, 6rem); }
.article-dek { max-width: 480px; color: var(--ink-soft); font-size: 16px; line-height: 2; }
.article-meta-large { margin-top: 31px; }
.article-hero-art { position: relative; min-height: 470px; overflow: hidden; }
.feature-media-mountain { color: var(--paper); background: #526e62; }
.feature-media-mountain::before { position: absolute; inset: 0; content: ""; background: linear-gradient(135deg, rgba(23, 58, 50, .2), rgba(238, 240, 232, .08)); }
.feature-media-mountain::after { position: absolute; top: 18%; right: 15%; width: 1px; height: 90%; content: ""; background: rgba(243, 197, 107, .5); transform: rotate(27deg); }
.mist-layer { position: absolute; z-index: 1; top: 19%; right: -13%; left: -13%; height: 120px; background: rgba(238, 240, 232, .35); border-radius: 50%; filter: blur(2px); transform: rotate(-8deg); }
.mountain-peak { position: absolute; z-index: 2; right: -12%; bottom: -2px; left: -12%; clip-path: polygon(0 100%, 0 67%, 17% 52%, 29% 70%, 47% 23%, 61% 57%, 77% 42%, 100% 68%, 100% 100%); }
.mountain-peak-back { height: 64%; background: #365b50; }
.mountain-peak-front { right: -18%; left: -20%; height: 46%; background: #173a32; clip-path: polygon(0 100%, 0 58%, 20% 43%, 37% 69%, 55% 34%, 70% 65%, 85% 49%, 100% 69%, 100% 100%); }
.mountain-trail { position: absolute; z-index: 4; right: 33%; bottom: -20px; width: 115px; height: 310px; border-left: 2px solid var(--signal); border-radius: 50%; transform: rotate(19deg); }
.mountain-sprig { position: absolute; z-index: 4; right: 28px; bottom: 25px; color: var(--sun); font-size: 23px; }
.article-layout { display: grid; grid-template-columns: 210px minmax(0, 690px); gap: clamp(48px, 9vw, 124px); align-items: start; padding-bottom: 112px; }
.article-aside { min-width: 0; }
.aside-sticky { position: sticky; top: 100px; }
.article-toc { display: grid; gap: 11px; margin-bottom: 25px; }
.article-toc a { color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.article-toc a:hover { color: var(--signal); }
.aside-label { margin-bottom: 15px; color: var(--signal); }
.aside-rule { width: 100%; height: 1px; margin: 23px 0; background: var(--line); }
.aside-note { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.8; }
.article-body { min-width: 0; }
.article-body > p, .article-body > h2, .article-body > ol, .article-body > .caption { max-width: 680px; }
.article-body p { color: var(--ink-soft); line-height: 2.05; }
.lead-paragraph { color: var(--ink) !important; font-family: var(--display); font-size: 1.36rem; line-height: 1.82 !important; letter-spacing: -.025em; }
.article-body h2 { margin-top: 74px; margin-bottom: 22px; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.25; }
.pull-quote, .mountain-quote { position: relative; margin: 43px 0; padding: 34px 38px 33px; background: var(--mist); }
.pull-quote::before, .mountain-quote::before { position: absolute; top: 0; left: 0; width: 38%; height: 3px; content: ""; background: var(--signal); }
.pull-quote span, .mountain-quote span { color: var(--signal); font-family: var(--body); font-size: 11px; letter-spacing: .04em; }
.pull-quote blockquote, .mountain-quote blockquote { margin: 14px 0 0; color: var(--pine); font-family: var(--display); font-size: clamp(1.45rem, 2.6vw, 2.3rem); line-height: 1.35; letter-spacing: -.035em; }
.week-list { margin: 35px 0 18px; border-top: 1px solid var(--line); }
.week-item { display: grid; grid-template-columns: 70px 1fr; gap: 23px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.week-item > span { padding-top: 5px; color: var(--signal); font-family: var(--body); font-size: 11px; letter-spacing: 0; }
.week-item h3 { margin: 0 0 6px; font-family: var(--display); font-size: 1.45rem; }
.week-item p { margin: 0; font-size: 13px; }
.caption { color: var(--ink-soft); font-size: 11px; line-height: 1.8; }
.number-list { display: grid; gap: 13px; padding: 0; margin: 25px 0 35px; list-style: none; counter-reset: fieldnote; }
.number-list li { position: relative; padding-inline-start: 46px; color: var(--ink-soft); font-size: 13px; line-height: 1.8; counter-increment: fieldnote; }
.number-list li::before { position: absolute; top: .1em; left: 0; display: grid; place-items: center; width: 27px; height: 27px; color: var(--paper); background: var(--pine); border-radius: 50%; content: counter(fieldnote); font-family: var(--body); font-size: 11px; }
.number-list strong { color: var(--ink); }
.article-callout { display: flex; gap: 16px; margin: 46px 0; padding: 22px 24px; background: var(--sand); border-left: 3px solid var(--signal); }
.callout-mark { color: var(--signal); font-size: 26px; line-height: 1; }
.article-callout strong { display: block; margin-bottom: 4px; color: var(--pine); font-size: 13px; }
.article-callout p { margin: 0; font-size: 12px; line-height: 1.75; }
.author-box { display: flex; gap: 17px; align-items: center; margin-top: 72px; padding-top: 27px; border-top: 1px solid var(--line); }
.author-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 49px; height: 49px; color: var(--paper); background: var(--pine); font-family: var(--display); font-size: 1.4rem; }
.author-avatar-moss { background: #587761; }
.author-box .aside-label { margin-bottom: 6px; color: var(--signal); }
.author-box h3 { margin-bottom: 4px; font-size: 1rem; font-weight: 800; }
.author-box p:last-child { margin: 0; font-size: 11px; line-height: 1.65; }
.article-end { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 43px; }
.log-table { display: grid; gap: 13px; }
.log-table > div { display: flex; flex-direction: column; gap: 3px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.log-table span { color: var(--signal); font-size: 10px; }
.log-table strong { color: var(--pine); font-size: 12px; font-weight: 700; }
.number-list-mountain li::before { background: #587761; }
.route-strip { position: relative; margin: 44px 0 53px; padding: 21px 0 0; }
.route-line { position: relative; height: 2px; background: var(--moss); }
.route-line::before { position: absolute; top: -5px; right: 19%; left: 11%; height: 12px; content: ""; border-top: 1px dashed var(--sun); transform: rotate(-8deg); }
.route-line span { position: absolute; top: -5px; display: block; width: 12px; height: 12px; background: var(--signal); border: 3px solid var(--pine-deep); border-radius: 50%; }
.route-start { left: 8%; }.route-mid { left: 48%; background: var(--sun) !important; }.route-end { right: 8%; }
.route-labels { display: flex; justify-content: space-between; margin-top: 12px; color: var(--moss-light); font-family: var(--body); font-size: 10px; letter-spacing: 0; }
.article-callout-moss { background: var(--moss-light); border-left-color: var(--pine); }
.article-callout-moss .callout-mark { color: var(--pine); }

/* About */
.about-hero { padding: 84px 0 76px; border-bottom: 1px solid var(--line); }
.about-hero h1 { margin-bottom: 27px; }
.about-hero > p:last-child { max-width: 500px; margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 2; }
.about-story { display: grid; grid-template-columns: .62fr 1.38fr; gap: 72px; }
.story-mark { display: flex; align-items: center; justify-content: center; width: min(230px, 100%); height: 230px; color: var(--paper); background: var(--pine); font-family: var(--display); font-size: 7rem; line-height: .8; text-align: center; }
.story-mark span { display: block; margin-top: 19px; color: var(--sun); font-family: var(--body); font-size: 9px; letter-spacing: .04em; line-height: 1.2; }
.story-copy { max-width: 680px; }
.story-copy h2 { margin-bottom: 24px; }
.story-copy p { color: var(--ink-soft); line-height: 2.05; }
.principles-section { padding: 88px 0; background: var(--mist); }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principle { min-height: 220px; padding: 26px 25px; background: var(--paper); border-top: 3px solid var(--pine); }
.principle > span { display: none; }
.principle h3 { margin-top: 52px; font-family: var(--display); font-size: 1.55rem; }
.principle p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.8; }
.contact-band { padding: 82px 0; color: var(--paper); background: var(--pine); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.contact-band .section-kicker { color: var(--sun); }
.contact-band h2 { margin: 0; }
.contact-band p:not(.section-kicker) { max-width: 350px; margin-bottom: 22px; color: rgba(252, 251, 247, .72); }

/* Not-found page */
.not-found { width: var(--shell); max-width: 760px; margin: 0 auto; padding: 92px 0 118px; }
.not-found-art { position: relative; min-height: 174px; margin-bottom: 34px; overflow: hidden; color: var(--sun); background: var(--pine); }
.not-found-art::before { position: absolute; inset: 0; content: ""; opacity: .42; background: repeating-radial-gradient(ellipse at 72% 88%, transparent 0 21px, rgba(185, 200, 182, .24) 22px 23px, transparent 24px 48px); }
.not-found-code { position: absolute; z-index: 2; top: 22px; left: 24px; font-family: var(--display); font-size: clamp(3.2rem, 8vw, 5.4rem); line-height: 1; letter-spacing: -.08em; }
.not-found-peak { position: absolute; right: -8%; bottom: -1px; left: -8%; height: 75%; background: #3d6555; clip-path: polygon(0 100%, 0 60%, 18% 43%, 34% 66%, 52% 20%, 68% 58%, 84% 37%, 100% 65%, 100% 100%); }
.not-found > p:not(.eyebrow) { max-width: 560px; margin-bottom: 30px; color: var(--ink-soft); font-size: 15px; }

/* Motion */
.reveal { opacity: 1; transform: none; }
.reveal-delay { transition-delay: 0s; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  :root { --shell: min(100% - 40px, 720px); }
  .site-nav { gap: 18px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 68px; }
  .hero-art { width: min(100%, 650px); margin-left: auto; }
  .intro-grid, .feature-section, .field-note-grid, .archive-hero-inner, .article-hero, .about-story { grid-template-columns: 1fr; }
  .intro-grid { gap: 24px; }
  .feature-copy, .field-note-copy { max-width: 610px; }
  .archive-hero-inner { gap: 23px; }
  .archive-hero-inner > p { max-width: 540px; }
  .article-hero-art { width: min(100%, 640px); }
  .article-layout { grid-template-columns: 1fr; gap: 15px; }
  .aside-sticky { position: static; }
  .article-aside { order: 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .article-toc { display: flex; flex-wrap: wrap; gap: 10px 22px; }
  .aside-note { max-width: 620px; }
  .story-mark { width: 180px; height: 180px; font-size: 5rem; }
}
@media (max-width: 700px) {
  :root { --shell: calc(100% - 34px); --space-section: 84px; }
  body { font-size: 14px; }
  .header-inner { min-height: 70px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 17px 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px rgba(21, 35, 31, .08); }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .site-nav > a:not(.nav-cta)::after { display: none; }
  .site-nav .nav-cta { margin-top: 9px; padding: 13px 15px !important; text-align: center; border: 0; }
  h1 { font-size: clamp(2.75rem, 13.8vw, 4.8rem); line-height: 1.07; }
  h2 { font-size: clamp(2.05rem, 10.5vw, 3.25rem); }
  .hero { padding-top: 58px; padding-bottom: 67px; }
  .hero-lede { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 31px; }
  .hero-actions .button { max-width: 100%; }
  .hero-art, .feature-media, .article-hero-art { min-height: 365px; }
  .terrain-scene { min-height: 318px; }
  .sun { top: 37px; width: 70px; height: 70px; }
  .mountain-back { height: 215px; }
  .mountain-front { height: 162px; }
  .trail-line { height: 240px; }
  .intro-band { padding: 69px 0; }
  .desktop-only { display: none; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 27px; }
  .pathway-grid, .notes-grid, .principles-grid { grid-template-columns: 1fr; }
  .pathway-card { min-height: 235px; }
  .pathway-card h3 { margin-top: 44px; }
  .notes-grid { gap: 14px; }
  .note-visual { min-height: 180px; }
  .field-note-grid { padding-top: 70px; padding-bottom: 70px; }
  .topo-card { min-height: 280px; }
  .topo-stats { gap: 16px; }
  .topo-stats strong { font-size: 20px; }
  .footer-grid, .footer-bottom { flex-direction: column; }
  .footer-grid { padding-bottom: 39px; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { gap: 7px; }
  .archive-hero { padding: 67px 0 58px; }
  .archive-grid { grid-template-columns: 1fr; gap: 28px; }
  .archive-card > a, .archive-card > .archive-card-content { grid-template-columns: 1fr; gap: 14px; }
  .archive-visual { min-height: 190px; }
  .archive-content { grid-column: 1; }
  .archive-content h2 { font-size: 1.55rem; }
  .article-hero { padding-top: 58px; padding-bottom: 65px; }
  .back-link { margin-bottom: 30px; }
  .article-hero h1 { font-size: clamp(2.75rem, 12.8vw, 4.25rem); }
  .article-dek { font-size: 14px; }
  .article-body h2 { margin-top: 57px; font-size: 2.1rem; }
  .lead-paragraph { font-size: 1.22rem; }
  .pull-quote, .mountain-quote { padding: 28px 22px; }
  .week-item { grid-template-columns: 1fr; gap: 5px; }
  .week-item > span { padding: 0; }
  .author-box { align-items: flex-start; margin-top: 58px; }
  .article-end { align-items: flex-start; flex-direction: column; }
  .about-hero { padding-top: 66px; padding-bottom: 63px; }
  .about-hero h1 { font-size: clamp(2.8rem, 13.6vw, 4.55rem); }
  .about-story { gap: 34px; }
  .story-mark { width: 145px; height: 145px; font-size: 4rem; }
  .story-mark span { font-size: 8px; }
  .principles-section { padding: 69px 0; }
  .principle { min-height: 190px; }
  .principle h3 { margin-top: 32px; }
  .contact-band { padding: 69px 0; }
  .contact-band h2 { font-size: clamp(1.75rem, 8vw, 2.15rem); }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 360px) {
  :root { --shell: calc(100% - 30px); }
  .brand strong { font-size: 13px; }
  .button { padding-right: 14px; padding-left: 14px; }
  .hero h1 { font-size: 2.68rem; }
  .hero-art, .feature-media, .article-hero-art { min-height: 345px; }
  .terrain-scene { min-height: 297px; }
  .art-topline, .art-footnote { font-size: 9px; }
  .note-body, .archive-content { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Reader tools keep the field-note identity, with ordinary native controls. */
.reader-home .hero { min-height: 0; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 60px; padding-block: 62px; }
.reader-home .hero-art { min-height: 380px; }
.reader-home .terrain-scene { min-height: 304px; }
.reader-home .hero-actions { gap: 18px; margin-bottom: 24px; }
.reader-promise { max-width: 440px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; line-height: 1.9; }
.reader-questions { padding-block: 40px 76px; }
.reader-questions .section-heading { margin-bottom: 14px; }
.reader-questions h2 { font-size: clamp(1.65rem, 3vw, 2.65rem); line-height: 1.5; letter-spacing: -.025em; }
.reader-section-note { margin-bottom: 28px; color: var(--ink-soft); font-size: 13px; }
.question-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.question-link { display: flex; flex-direction: column; padding: 24px 0 15px; border-top: 2px solid var(--pine); }
.question-topic { color: var(--signal); font-size: 12px; font-weight: 700; }
.question-link h3 { margin: 16px 0 12px; font-family: var(--display); font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.6; }
.question-link p { margin-bottom: 28px; color: var(--ink-soft); font-size: 13px; }
.question-destination { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; font-size: 12px; font-weight: 700; }
.question-destination > span { color: var(--signal); font-size: 20px; }
.question-link:hover h3 { text-decoration: underline; text-underline-offset: .25em; }
.reader-feature-band { background: var(--mist); }
.reader-feature { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 90px); align-items: center; padding-block: 72px; }
.reader-feature .feature-media { min-height: 400px; }
.reader-feature h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.5; letter-spacing: -.025em; }
.reader-contents { padding-left: 1.3em; color: var(--ink-soft); font-size: 13px; line-height: 2; }
.reader-tool { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-block: 80px; }
.reader-tool h2 { margin-bottom: 0; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.5; }
.reader-tool-copy > p { max-width: 460px; color: var(--ink-soft); }
.reader-tool-note { margin: 16px 0 0; font-size: 12px; }
.article-byline { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 54px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; }
.article-byline a { text-decoration: underline; text-underline-offset: .25em; }
.about-story { padding-bottom: var(--space-section); }
.about-story .story-mark { flex-direction: column; }
.profile-records { padding-block: 80px; }
.profile-record-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.profile-record-grid > a { padding-top: 24px; border-top: 1px solid var(--line); }
.profile-record-grid h3 { font-family: var(--display); font-size: 1.6rem; }
.profile-record-grid p { max-width: 470px; color: var(--ink-soft); font-size: 14px; }
@media (max-width: 1000px) {
  .reader-home .hero { grid-template-columns: 1fr 1fr; gap: 28px; }
  .reader-home .hero h1.hero-welcome { font-size: clamp(1.8rem, 4vw, 2.8rem); }
  .reader-home .hero-lede { font-size: 14px; }
  .reader-home .hero-art { min-height: 340px; }
  .reader-home .terrain-scene { min-height: 264px; }
  .question-grid { gap: 20px; }
}
@media (max-width: 700px) {
  .reader-home .hero { grid-template-columns: 1fr; gap: 30px; padding-block: 38px; }
  .reader-home .hero h1.hero-welcome { font-size: clamp(2.1rem, 8.8vw, 3.5rem); }
  .reader-home .eyebrow { margin-bottom: 16px; }
  .reader-home .hero-art { min-height: 215px; width: 100%; }
  .reader-home .terrain-scene { min-height: 150px; }
  .reader-home .sun { top: 9px; width: 48px; height: 48px; }
  .reader-home .scene-caption { bottom: 10px; }
  .reader-home .mountain-back { height: 155px; }
  .reader-home .mountain-front { height: 115px; }
  .reader-home .hero-lede { margin-bottom: 24px; }
  .reader-questions { padding-block: 28px 44px; }
  .question-grid, .reader-feature, .reader-tool, .profile-record-grid { grid-template-columns: 1fr; }
  .question-grid { gap: 8px; }
  .question-link { padding-block: 20px; }
  .question-link h3 { font-size: 1.4rem; margin-top: 10px; }
  .question-link p { margin-bottom: 18px; }
  .reader-feature { gap: 28px; padding-block: 44px; }
  .reader-feature .feature-media { min-height: 220px; }
  .reader-feature .media-sun { top: 28px; width: 75px; height: 75px; }
  .reader-feature .media-path { height: 210px; }
  .reader-tool { gap: 26px; padding-block: 48px; }
  .profile-records { padding-block: 54px; }
}
.hero h1.hero-welcome { font-size: clamp(2.5rem, 4.6vw, 4.3rem); line-height: 1.4; letter-spacing: -.015em; }
.archive-tools { margin-bottom: 28px; display: flex; gap: 20px 36px; align-items: center; justify-content: space-between; }
.archive-search { flex: 1; max-width: 640px; }
.archive-search label { display: block; font-weight: 700; margin-bottom: 8px; }
.archive-search input { width: 100%; min-height: 50px; border: 1px solid #819287; border-radius: 3px; padding: 10px 14px; background: #fff; color: var(--ink); font-size: 16px; }
.archive-search p { margin: 7px 0 0; color: var(--ink-soft); font-size: 12px; }
.archive-options { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex-shrink: 0; }
.archive-options label { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.archive-options input { width: 18px; height: 18px; accent-color: var(--pine); }
.archive-options .text-button { border: 0; background: transparent; min-height: 44px; padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
html:not(.has-js) .filter-row { display: none; }
.article-end { flex-wrap: wrap; gap: 18px; }
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 17px 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px rgba(21, 35, 31, .08); max-height: calc(100dvh - 76px); overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .site-nav > a { min-height: 44px; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .site-nav > a:not(.nav-cta)::after { display: none; }
  .site-nav .nav-cta { margin-top: 9px; text-align: center; }
  html:not(.has-js) .header-inner { flex-wrap: wrap; padding: 14px 0; gap: 14px; }
  html:not(.has-js) .menu-toggle { display: none; }
  html:not(.has-js) .site-nav { position: static; display: flex; width: 100%; max-height: none; padding: 0; box-shadow: none; }
}
@media (max-width: 700px) {
  .archive-tools { align-items: stretch; flex-direction: column; gap: 10px; }
  .archive-options { flex-direction: row; flex-wrap: wrap; gap: 10px 24px; }
  .hero h1.hero-welcome { font-size: clamp(2.1rem, 8.8vw, 3.5rem); }
  .article-toc a { min-height: 44px; padding: 9px 0; }
}
