:root {
  --cream: #f6efdc;
  --cream-2: #efe5cb;
  --bark: #4a3426;
  --bark-2: #6a5444;
  --leaf: #4f7a2b;
  --leaf-deep: #3d6120;
  --rule: #d9cba8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--bark); font: 400 1.15rem/1.6 var(--serif); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--leaf-deep); text-underline-offset: 3px; }
a:hover { color: var(--bark); }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--bark); color: var(--cream); padding: 10px 16px; z-index: 30; font: 500 1rem var(--sans); }
.skip:focus { top: 12px; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(246,239,220,0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
.brand { font: 700 1.35rem var(--serif); letter-spacing: 0.02em; color: var(--bark); text-decoration: none; }
nav ul { display: flex; gap: clamp(16px, 3vw, 36px); margin: 0; padding: 0; list-style: none; }
nav a { font: 500 1rem var(--sans); letter-spacing: 0.04em; color: var(--bark); text-decoration: none; padding: 8px 2px; border-bottom: 2px solid transparent; }
nav a:hover { border-bottom-color: var(--leaf); color: var(--bark); }
.nav-toggle { display: none; font: 500 1rem var(--sans); background: transparent; color: var(--bark); border: 1px solid var(--bark-2); padding: 8px 14px; cursor: pointer; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 0.5em; color: var(--bark); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--leaf-deep); }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.5; max-width: 34ch; }
.small { font-size: 0.98rem; color: var(--bark-2); }

.btn { display: inline-block; background: var(--leaf); color: #fff; font: 600 1.05rem var(--sans); letter-spacing: 0.03em; text-decoration: none; padding: 15px 26px; border: 0; border-radius: 3px; cursor: pointer; }
.btn:hover { background: var(--leaf-deep); color: #fff; }

.hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: clamp(24px, 5vw, 72px); padding: clamp(32px, 6vw, 80px) clamp(16px, 4vw, 48px); max-width: 1280px; margin: 0 auto; min-height: calc(100vh - 62px); }
.hero-copy .lede { margin-bottom: 1.4em; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; max-height: 82vh; object-fit: cover; border-radius: 3px; }

.band { padding: clamp(48px, 9vw, 120px) clamp(16px, 4vw, 48px); }
.band > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.tint { background: var(--cream-2); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; margin-bottom: clamp(56px, 9vw, 120px); }
.split:last-child { margin-bottom: 0; }
.split.flip .photo { order: 2; }
.photo { margin: 0; }
.photo img { width: 100%; border-radius: 3px; }
.split .text p { max-width: 36ch; }
.small-photo { margin: 28px 0 0; width: min(240px, 60%); }
.small-photo img { border-radius: 3px; }
.small-photo.wide { width: min(280px, 70%); }

.steps { list-style: none; padding: 0; margin-top: 40px; margin-bottom: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); }
.steps li img { width: 100%; max-width: 280px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; margin-bottom: 16px; }
.steps li:first-child img { aspect-ratio: 3 / 4; }
.steps p { font-size: 1.08rem; max-width: 30ch; }
.aside { max-width: 1180px; padding-right: 35%; font-size: 1.2rem; border-top: 1px solid var(--rule); padding-top: 28px; }
@media (max-width: 860px) { .aside { padding-right: 0; } }

.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.form { display: grid; gap: 14px; max-width: 30em; }
.f { display: grid; gap: 4px; font: 500 0.85rem var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--bark-2); }
.form input, .form textarea { font: 400 1.1rem/1.4 var(--serif); letter-spacing: 0; text-transform: none; color: var(--bark); background: #fffaf0; border: 1px solid var(--bark-2); border-radius: 3px; padding: 11px 13px; width: 100%; }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.note { margin: 0; min-height: 1.4em; font-size: 1rem; color: var(--leaf-deep); font-style: italic; }

footer { background: var(--bark); color: var(--cream); padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 48px) 40px; }
footer h2 { color: var(--cream); }
footer a { color: #d8e6bd; }
footer .f { color: #d9cba8; }
footer .small { color: #d9cba8; }
.foot { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); }
footer .btn { background: var(--cream); color: var(--bark); }
footer .btn:hover { background: #fff; color: var(--bark); }
footer .note { color: #d8e6bd; }
.links p { margin-bottom: 0.6em; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--rule); display: none; }
  nav.is-open { display: block; }
  nav ul { flex-direction: column; gap: 0; padding: 8px clamp(16px, 4vw, 48px) 16px; }
  nav a { display: block; padding: 12px 0; }
  .hero, .split, .join, .foot { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; }
  .hero-photo { order: -1; }
  .hero-photo img { max-height: 60vh; }
  .split.flip .photo { order: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; }
  .steps li img { margin: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ===== Honeysuckle information page ===== */
.doc { max-width: 960px; margin: 0 auto; padding: clamp(32px, 6vw, 80px) clamp(16px, 4vw, 48px) 40px; }
.doc-head { margin-bottom: clamp(32px, 5vw, 56px); }
.crumb { font: 500 0.95rem var(--sans); margin-bottom: 20px; }
.doc h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.note-box { border-left: 4px solid var(--leaf); background: var(--cream-2); padding: 16px 20px; font-size: 1.05rem; max-width: 62ch; }
.doc-sec { margin-top: clamp(40px, 7vw, 80px); padding-top: clamp(24px, 4vw, 40px); border-top: 1px solid var(--rule); }
.doc-sec h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--leaf-deep); }
.doc-sec h3 { font-size: 1.3rem; margin: 1.4em 0 0.4em; color: var(--bark); }
.doc-sec p, .doc-sec li { max-width: 66ch; }
.plain { padding-left: 1.2em; margin: 0 0 1em; }
.plain li { margin-bottom: 0.5em; }
.tablewrap { overflow-x: auto; margin: 0 0 1em; }
.facts { border-collapse: collapse; width: 100%; font-size: 1.05rem; line-height: 1.45; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.facts tbody th { width: 9em; font-weight: 700; color: var(--bark); white-space: nowrap; }
.facts.wide { min-width: 640px; }
.facts thead th { font: 600 0.8rem var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--bark-2); border-bottom: 2px solid var(--bark-2); }
.gallery { display: grid; gap: 18px; margin: 24px 0; }
.gallery.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g { margin: 0; }
.g img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; background: var(--cream-2); }
.gallery.g2 .g img { aspect-ratio: 4 / 3; }
.g.plate img { object-fit: contain; background: #fffdf6; }
.g figcaption { font-size: 0.95rem; line-height: 1.4; margin-top: 8px; color: var(--bark-2); }
.g .cr { display: block; font-size: 0.85rem; }
.credits ol { padding-left: 1.2em; }
.credits li { margin-bottom: 0.4em; }
body.sub .top nav a[aria-current="page"] { border-bottom-color: var(--leaf); }
@media (max-width: 720px) { .gallery.g3, .gallery.g2 { grid-template-columns: minmax(0, 1fr); } .g img, .gallery.g2 .g img { aspect-ratio: 4 / 3; } .facts tbody th { white-space: normal; width: auto; } }

/* ===== Field notes treatment (honeysuckle page) =====
   Echoes the Autumn Berry Inspired field guide: plate numbers, small-caps labels, a stamp. */
body.fieldnotes { --moss: #2b3524; --moss-2: #3a4830; --paper: #fbf8ee; --flower: #f7efc9; --stone: #e7e1d4; --twig: #e4ead3; --label: var(--sans); background: var(--paper); counter-reset: sec plate; scroll-padding-top: 118px; }
.fieldnotes .top { background: rgba(43,53,36,0.96); border-bottom-color: #4a5a3d; }
.fieldnotes .brand, .fieldnotes nav a { color: #f1ead6; }
.fieldnotes nav a:hover { color: #fff; border-bottom-color: #cfe0a8; }
.fieldnotes .nav-toggle { color: #f1ead6; border-color: #8c9a7c; }
.fieldnotes nav a[aria-current="page"] { border-bottom-color: #cfe0a8; }
@media (max-width: 720px) { .fieldnotes nav { background: var(--moss); } }

.fn-hero { background: var(--moss); color: #f1ead6; padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 48px) clamp(44px, 7vw, 88px); border-bottom: 6px double #55663f; }
.fn-hero-in { max-width: 960px; margin: 0 auto; }
.fn-hero h1 { color: #fbf6e4; }
.fn-hero .lede { color: #e8e1cb; max-width: 40ch; }
.fn-hero a { color: #cfe0a8; }
.fn-hero a:hover { color: #fff; }
.fn-eyebrow { display: flex; align-items: center; gap: 18px; margin: 0 0 clamp(24px, 4vw, 44px); font: 500 0.8rem/1.6 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #cfd8bd; }
.fn-stamp { display: inline-grid; text-align: center; padding: 7px 14px; border: 3px double #cfe0a8; color: #cfe0a8; transform: rotate(-4deg); line-height: 1.25; }
.fn-stamp b { font: italic 700 1.3rem var(--serif); letter-spacing: 0; text-transform: none; }
.fn-hero .note-box { background: rgba(255,255,255,0.07); border-left-color: #cfe0a8; color: #e8e1cb; }
.fn-hero .note-box b { color: #fff; }
.fn-series { font: 400 0.95rem var(--sans); margin: 28px 0 0; color: #cfd8bd; }

.fn-index { position: sticky; top: 62px; z-index: 15; background: var(--paper); border-bottom: 1px solid #cdbf9a; overflow-x: auto; }
.fn-index ul { display: flex; gap: clamp(14px, 3vw, 32px); margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); max-width: 1056px; list-style: none; white-space: nowrap; }
.fn-index a { display: block; padding: 14px 2px 12px; font: 500 0.78rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bark-2); text-decoration: none; border-bottom: 3px solid transparent; }
.fn-index a:hover { color: var(--bark); border-bottom-color: var(--leaf); }

.fieldnotes main > .doc-sec { margin: 0; border-top: 0; padding: clamp(44px, 7vw, 88px) clamp(16px, 4vw, 48px); counter-increment: sec; }
.fieldnotes main > .doc-sec > * { max-width: 960px; margin-left: auto; margin-right: auto; }
.fieldnotes main > .doc-sec p, .fieldnotes main > .doc-sec li { max-width: 66ch; }
.fieldnotes main > .doc-sec > .tablewrap, .fieldnotes main > .doc-sec > .gallery { max-width: 960px; }
.fieldnotes .doc-sec h2::before { content: "Note " counter(sec, decimal-leading-zero); display: block; margin-bottom: 10px; font: 500 0.78rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--bark-2); }
.t-paper { background: var(--paper); }
.t-flower { background: var(--flower); }
.t-bark { background: var(--stone); }
.t-twig { background: var(--twig); }
.t-cream { background: var(--cream-2); }
.t-dark { background: var(--moss-2); color: #f1ead6; }
.t-dark h2, .t-dark h3, .t-dark p { color: #f1ead6; }
.t-dark h2::before { color: #cfd8bd; }
.t-dark a { color: #cfe0a8; }

/* plates: white mat, hairline border, numbered caption */
.fieldnotes .g { counter-increment: plate; background: #fffdf6; border: 1px solid #cdbf9a; padding: 10px 10px 12px; box-shadow: 0 1px 0 rgba(0,0,0,0.05); }
.fieldnotes .g img { border-radius: 0; }
.fieldnotes .g figcaption { margin-top: 10px; }
.fieldnotes .g figcaption::before { content: "Plate " counter(plate, decimal-leading-zero); display: block; margin-bottom: 3px; font: 600 0.72rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #8a3b1e; }
.fieldnotes .facts { background: #fffdf6; border: 1px solid #cdbf9a; }
.fieldnotes .facts thead th { background: var(--stone); }
.fieldnotes .facts tbody th { font: 600 0.8rem var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bark-2); padding-top: 15px; }
.fieldnotes .facts tbody th i { text-transform: none; letter-spacing: 0; font: italic 400 1rem var(--serif); }
.fieldnotes footer { border-top: 6px double #55663f; }
@media (max-width: 720px) { .fn-eyebrow { align-items: flex-start; } }
.fieldnotes main > .doc-sec > p, .fieldnotes main > .doc-sec > ul, .fieldnotes main > .doc-sec > ol { margin-left: max(0px, calc((100% - 960px) / 2)); margin-right: 0; }
.fn-index a { color: var(--bark); }
.fieldnotes .t-dark h2::before { color: #cfd8bd; }
