:root {
  --moss: #334a32;
  --moss-deep: #203422;
  --moss-soft: #71806a;
  --ivory: #f5f1e7;
  --paper: #fffdf7;
  --wood: #8a5d3b;
  --wood-light: #caa47e;
  --charcoal: #242622;
  --line: rgba(36, 38, 34, 0.2);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--charcoal); font-family: "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif; line-height: 1.65; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; background: var(--paper); color: var(--moss-deep); padding: .65rem .9rem; border: 1px solid var(--moss); }
.skip-link:focus { top: 1rem; }
.site-header { background: var(--ivory); border-bottom: 1px solid var(--line); }
.utility-bar { max-width: var(--max); margin: 0 auto; padding: .45rem 2rem; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); color: #5d625b; font-size: .69rem; text-transform: uppercase; }
.masthead { max-width: var(--max); min-height: 180px; margin: 0 auto; padding: 1.7rem 2rem 1.4rem; display: grid; grid-template-columns: 1.25fr .75fr auto; align-items: end; gap: 3rem; }
.brand { display: inline-block; width: fit-content; line-height: 1; }
.brand-kicker { display: block; margin-bottom: .65rem; color: var(--wood); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.brand-name { display: block; color: var(--moss-deep); font-family: Georgia, "Times New Roman", serif; font-size: 2.9rem; letter-spacing: 0; }
.brand-name strong { font-weight: 400; color: var(--wood); }
.brand-note { max-width: 390px; margin: 0; padding-left: 1.25rem; border-left: 3px solid var(--wood); font-family: Georgia, "Times New Roman", serif; font-size: 1.02rem; line-height: 1.45; }
.search-open { min-width: 106px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; background: transparent; border: 1px solid var(--moss); color: var(--moss-deep); }
.search-open span:first-child { font-size: 1.3rem; line-height: 1; }
.main-nav { max-width: var(--max); margin: 0 auto; padding: 0 2rem; display: flex; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { flex: 0 0 auto; padding: .9rem 1.3rem .82rem; border-left: 1px solid var(--line); font-size: .77rem; font-weight: 700; }
.main-nav a:last-child { border-right: 1px solid var(--line); }
.main-nav a:hover, .main-nav a:focus-visible { background: var(--moss); color: var(--paper); }

.hero-story { max-width: var(--max); min-height: 610px; margin: 0 auto; padding: 2.1rem 2rem 2.7rem; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr); }
.hero-image { min-height: 520px; overflow: hidden; }
.hero-image img { height: 100%; object-fit: cover; }
.hero-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: 3.2rem 2.5rem; background: var(--moss-deep); color: var(--paper); }
.eyebrow { display: inline-block; width: fit-content; color: var(--wood); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.eyebrow--light { color: #ddd5b7; }
.issue { margin: auto 0 1rem; color: #c4c9bb; font-size: .7rem; text-transform: uppercase; }
.hero-copy h1 { margin: 0 0 1.2rem; font-family: Georgia, "Times New Roman", serif; font-size: 3.05rem; font-weight: 400; line-height: 1.03; }
.hero-copy > p:not(.issue) { margin: 0 0 1.4rem; color: #e3e5dc; font-size: .94rem; line-height: 1.65; }
.read-link { display: inline-flex; width: fit-content; align-items: center; gap: .75rem; padding-bottom: .3rem; border-bottom: 1px solid currentColor; font-size: .78rem; font-weight: 700; }
.read-link--light { color: #f0e7ce; }
.opening-note { max-width: var(--max); margin: 0 auto; padding: 1.6rem 2rem; display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.opening-note p { max-width: 680px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.28rem; line-height: 1.45; }
.opening-note span { max-width: 330px; color: #60635e; font-size: .76rem; }

.latest-section, .category-strip, .related { max-width: var(--max); margin: 0 auto; padding: 5rem 2rem; }
.section-heading { margin-bottom: 2.2rem; display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.section-heading > div { display: flex; align-items: baseline; gap: 1rem; }
.section-index { color: var(--wood); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.section-heading h2, .method-title h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 2.35rem; font-weight: 400; line-height: 1.1; }
.section-heading > p { max-width: 430px; margin: 0; color: #5e625c; font-size: .82rem; }
.editorial-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2.6rem 1.4rem; }
.article-card { grid-column: span 5; border-top: 3px solid var(--moss); }
.article-card--wide { grid-column: span 7; }
.article-card:nth-child(2), .article-card:nth-child(3) { margin-top: 4rem; }
.card-image { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #d9d4c9; }
.card-image img { height: 100%; object-fit: cover; transition: transform .35s ease; }
.article-card:hover .card-image img { transform: scale(1.02); }
.card-copy { padding: 1.15rem .2rem 0; }
.card-copy h3 { margin: .55rem 0 .65rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.72rem; font-weight: 400; line-height: 1.16; }
.card-copy h3 a:hover { color: var(--wood); }
.card-copy > p { max-width: 650px; margin: 0; color: #555a53; font-size: .84rem; }
.card-meta { margin-top: 1rem; display: flex; gap: 1.2rem; color: #70746e; font-size: .68rem; text-transform: uppercase; }

.method-band { background: var(--wood); color: var(--paper); padding: 5rem max(2rem, calc((100vw - var(--max)) / 2 + 2rem)); display: grid; grid-template-columns: .65fr 1.35fr; gap: 4rem; }
.method-title .section-index { color: #f0dfc4; }
.method-title h2 { margin-top: .4rem; font-size: 2.7rem; }
.method-title p { max-width: 380px; color: #f3e8d7; }
.method-list { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; list-style: none; border-top: 1px solid rgba(255,255,255,.4); border-left: 1px solid rgba(255,255,255,.4); }
.method-list li { min-height: 180px; padding: 1.3rem; border-right: 1px solid rgba(255,255,255,.4); border-bottom: 1px solid rgba(255,255,255,.4); }
.method-list span { display: block; margin-bottom: 2rem; color: #f1dec0; font-size: .7rem; }
.method-list strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-weight: 400; }
.method-list p { margin: .35rem 0 0; color: #f2e7d9; font-size: .78rem; }
.category-links { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-links a { min-height: 260px; padding: 1.5rem; position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.category-links a:hover { background: var(--paper); }
.category-links span { color: var(--wood); font-size: .68rem; }
.category-links strong { display: block; margin-top: 2.5rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 400; }
.category-links p { color: #5c615a; font-size: .79rem; }
.category-links b { position: absolute; right: 1.5rem; bottom: 1.2rem; color: var(--wood); font-size: 1.3rem; }

.site-footer { background: var(--moss-deep); color: #e7e6dc; padding: 4rem max(2rem, calc((100vw - var(--max)) / 2 + 2rem)) 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 4rem; }
.footer-grid p { max-width: 480px; color: #c5c9c0; font-size: .77rem; }
.footer-label { display: block; margin-bottom: .9rem; color: #fffaf0; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; }
.footer-grid a { display: block; width: fit-content; margin: .35rem 0; color: #d6d8d0; font-size: .75rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { margin-top: 3rem; padding-top: 1rem; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.2); color: #adb3a8; font-size: .68rem; }

.article-header { max-width: 980px; margin: 0 auto; padding: 4rem 2rem 3rem; text-align: center; }
.breadcrumbs { margin-bottom: 3rem; display: flex; justify-content: center; gap: .6rem; color: #686c66; font-size: .72rem; }
.breadcrumbs a:hover { color: var(--wood); }
.article-number { color: var(--wood); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.article-header h1 { max-width: 900px; margin: .75rem auto 1.3rem; font-family: Georgia, "Times New Roman", serif; font-size: 3.7rem; font-weight: 400; line-height: 1.05; }
.article-deck { max-width: 730px; margin: 0 auto; color: #535850; font-family: Georgia, "Times New Roman", serif; font-size: 1.23rem; line-height: 1.5; }
.byline { margin-top: 2rem; display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem 1.4rem; color: #696e67; font-size: .68rem; text-transform: uppercase; }
.article-hero { max-width: 1240px; margin: 0 auto; padding: 0 2rem; }
.article-hero img { aspect-ratio: 16 / 8.2; object-fit: cover; }
figcaption { margin-top: .5rem; color: #73766f; font-size: .66rem; }
.article-layout { max-width: 1050px; margin: 0 auto; padding: 4rem 2rem 5rem; display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 4.5rem; }
.article-aside { align-self: start; padding-top: 1rem; position: sticky; top: 1.5rem; border-top: 3px solid var(--wood); }
.aside-label { color: var(--wood); font-size: .67rem; font-weight: 700; text-transform: uppercase; }
.article-aside p { color: #5b6058; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; line-height: 1.5; }
.article-aside a { display: inline-block; padding-bottom: .25rem; border-bottom: 1px solid var(--wood); color: var(--wood); font-size: .72rem; font-weight: 700; }
.article-content { min-width: 0; font-size: 1rem; }
.article-content .lead { margin-top: 0; color: #3c413b; font-family: Georgia, "Times New Roman", serif; font-size: 1.27rem; line-height: 1.6; }
.article-content h2 { margin: 3rem 0 1rem; font-family: Georgia, "Times New Roman", serif; font-size: 2.05rem; font-weight: 400; line-height: 1.2; }
.article-content h3 { margin: 2.2rem 0 .7rem; color: var(--moss-deep); font-size: 1.08rem; line-height: 1.35; }
.article-content h4 { margin: 1.7rem 0 .5rem; color: var(--wood); font-size: .88rem; }
.article-content p { margin: 0 0 1.25rem; }
.article-content ul { margin: 1.4rem 0 1.7rem; padding: 1.3rem 1.5rem 1.3rem 2.7rem; background: #ebe7dc; border-left: 3px solid var(--moss); }
.article-content li { margin: .35rem 0; }
.article-inline-image { margin: 2.2rem 0; }
.article-inline-image img { aspect-ratio: 3 / 2; object-fit: cover; }
.related { border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.related-grid .article-card { grid-column: auto; margin-top: 0; }

.category-hero { max-width: var(--max); margin: 0 auto; padding: 4.5rem 2rem 3.5rem; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 4rem; border-bottom: 1px solid var(--line); }
.category-hero h1, .search-page h1 { margin: .4rem 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 4.2rem; font-weight: 400; line-height: 1; }
.category-hero p { max-width: 470px; margin: 0; color: #555b53; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; }
.category-articles { max-width: var(--max); margin: 0 auto; padding: 3rem 2rem 5rem; }
.result-count { color: #6b7069; font-size: .7rem; text-transform: uppercase; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 1.5rem; }
.category-grid .article-card { grid-column: auto; margin-top: 0; }

.search-dialog { width: min(760px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; background: var(--paper); color: var(--charcoal); border: 1px solid var(--moss); border-radius: 0; }
.search-dialog::backdrop { background: rgba(25, 34, 25, .78); }
.search-head { padding: 1rem 1.3rem; display: flex; justify-content: space-between; align-items: center; background: var(--moss); color: white; }
.search-head button { width: 42px; height: 42px; background: transparent; color: white; border: 1px solid rgba(255,255,255,.5); font-size: 1.4rem; }
.search-form { padding: 1.5rem; }
.search-form label { display: block; margin-bottom: .45rem; font-size: .75rem; font-weight: 700; }
.search-form > div { display: grid; grid-template-columns: 1fr auto; }
.search-form input { min-width: 0; height: 50px; padding: 0 .9rem; background: white; color: var(--charcoal); border: 1px solid var(--line); border-right: 0; border-radius: 0; }
.search-form button { height: 50px; padding: 0 1.25rem; background: var(--wood); color: white; border: 1px solid var(--wood); }
.search-results { max-height: 55vh; overflow-y: auto; padding: 0 1.5rem 1.5rem; }
.search-result { padding: 1rem 0; display: grid; grid-template-columns: 115px 1fr; gap: 1rem; border-top: 1px solid var(--line); }
.search-result img { width: 115px; height: 78px; object-fit: cover; }
.search-result span { color: var(--wood); font-size: .65rem; text-transform: uppercase; }
.search-result strong { display: block; font-family: Georgia, "Times New Roman", serif; line-height: 1.25; }
.search-result p { margin: .3rem 0 0; color: #60655e; font-size: .75rem; }
.search-page { max-width: 900px; min-height: 540px; margin: 0 auto; padding: 5rem 2rem; }
.search-page > p { color: #595e57; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; }
.search-form--page { padding: 1rem 0 2rem; }
.search-results--page { max-height: none; padding: 0; }

@media (max-width: 900px) {
  .masthead { grid-template-columns: 1fr auto; gap: 1.5rem; }
  .brand-note { display: none; }
  .hero-story { min-height: 0; grid-template-columns: 1fr; }
  .hero-image { min-height: 410px; }
  .hero-copy { min-height: 430px; }
  .issue { margin-top: 4rem; }
  .method-band { grid-template-columns: 1fr; }
  .category-links { grid-template-columns: 1fr 1fr; }
  .category-links a:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; gap: 2rem; }
  .article-aside { position: static; }
}

@media (max-width: 640px) {
  .utility-bar { padding: .4rem 1rem; }
  .utility-bar span:last-child { display: none; }
  .masthead { min-height: 140px; padding: 1.2rem 1rem; align-items: center; }
  .brand-name { font-size: 2rem; }
  .search-open { min-width: 44px; width: 44px; }
  .search-open span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .main-nav { padding: 0 1rem; }
  .main-nav a { padding: .78rem .9rem; font-size: .7rem; }
  .hero-story { padding: 1rem 1rem 2rem; }
  .hero-image { min-height: 280px; }
  .hero-copy { min-height: 380px; padding: 2rem 1.3rem; }
  .hero-copy h1 { font-size: 2.35rem; }
  .opening-note { padding: 1.3rem 1rem; display: block; }
  .opening-note p { font-size: 1.08rem; }
  .opening-note span { display: block; margin-top: 1rem; }
  .latest-section, .category-strip, .related { padding: 3.5rem 1rem; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 1rem; }
  .section-heading h2, .method-title h2 { font-size: 2rem; }
  .editorial-grid { display: block; }
  .article-card, .article-card--wide, .article-card:nth-child(2), .article-card:nth-child(3) { margin: 0 0 2.7rem; }
  .card-copy h3 { font-size: 1.5rem; }
  .method-band { padding: 3.5rem 1rem; gap: 2rem; }
  .method-list { grid-template-columns: 1fr; }
  .method-list li { min-height: 150px; }
  .category-links { grid-template-columns: 1fr; }
  .category-links a, .category-links a:last-child { min-height: 220px; grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom a { display: block; margin-top: .5rem; }
  .article-header { padding: 2.5rem 1rem 2rem; }
  .breadcrumbs { margin-bottom: 2rem; flex-wrap: wrap; }
  .article-header h1 { font-size: 2.55rem; }
  .article-deck { font-size: 1.08rem; }
  .article-hero { padding: 0 1rem; }
  .article-hero img { aspect-ratio: 4 / 3; }
  .article-layout { padding: 2.5rem 1rem 3.5rem; }
  .article-content .lead { font-size: 1.13rem; }
  .article-content h2 { font-size: 1.75rem; }
  .article-inline-image { margin-left: 0; margin-right: 0; }
  .related-grid, .category-grid { grid-template-columns: 1fr; }
  .category-hero { padding: 3rem 1rem 2.5rem; grid-template-columns: 1fr; gap: 1.5rem; }
  .category-hero h1, .search-page h1 { font-size: 2.65rem; }
  .category-articles { padding: 2rem 1rem 3.5rem; }
  .search-result { grid-template-columns: 85px 1fr; }
  .search-result img { width: 85px; height: 70px; }
  .search-result p { display: none; }
  .search-page { padding: 3.5rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
