@import url(../fonts/fonts.css);

:root {
  --ground: #e7e7e3;
  --ground-2: #dcded6;
  --ink: #1e2421;
  --ink-2: #434a45;
  --ink-3: #5f6661;
  --red: #a8172b;
  --red-deep: #840f20;
  --olive: #4e6b3a;
  --gold: #b8902a;
  --rule: #1e2421;
  --hair: rgba(30, 36, 33, 0.24);

  --serif: "Libre Caslon Text", "Iowan Old Style", Georgia, serif;
  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --label: "Jost", "Futura", "Avenir Next", sans-serif;

  --gutter: clamp(18px, 4vw, 64px);
  --max: 1320px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--ink-3) var(--ground); }

body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 1.0625rem/1.68 var(--serif);
  font-feature-settings: "kern", "liga", "onum";
  text-rendering: optimizeLegibility; overflow-x: hidden;
}

::selection { background: var(--red); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--ink); color: #fff; padding: 10px 16px; font: 500 0.95rem var(--label); }
.skip:focus, .skip:hover { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- The guide page frame ---------- */

body::after { content: ""; position: fixed; inset: 0; border: 14px solid var(--ground); box-shadow: inset 0 0 0 1px var(--hair), inset 0 0 0 5px var(--ground), inset 0 0 0 6px var(--hair); pointer-events: none; z-index: 40; }
.folder { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.sheet { position: relative; padding: clamp(40px, 6vw, 96px) 0; }
.sheet + .sheet, .sheet--foot { border-top: 1px solid var(--rule); }
.sheet + .sheet::before, .sheet--foot::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid var(--hair); }

.folio {
  position: absolute; right: 0; bottom: 18px;
  font: 500 0.78rem/1 var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
}

/* ---------- Running head (navigation) ---------- */

.strip {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 22px 0 14px; margin: calc(clamp(40px, 6vw, 96px) * -1) 0 clamp(28px, 4vw, 56px);
  border-bottom: 1px solid var(--rule); position: relative;
}
.strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; border-bottom: 1px solid var(--hair); }

.wordmark {
  display: inline-flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--red);
  font: 400 clamp(1.05rem, 1.5vw, 1.25rem)/1 var(--display); letter-spacing: 0.2em; text-transform: uppercase;
}
.wordmark { white-space: nowrap; }
.wordmark i { font: italic 400 0.95rem var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
@media (max-width: 1260px) { .wordmark i { display: none; } .nav ul { gap: 0 20px; } }
@media (max-width: 420px) { .wordmark { letter-spacing: 0.08em; font-size: 0.95rem; } }
.wordmark:hover { color: var(--red-deep); }

.nav ul { display: flex; flex-wrap: wrap; gap: 0 26px; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: inline-block; padding: 10px 0; text-decoration: none;
  font: 500 0.82rem/1 var(--label); letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
.nav a svg { display: none; }
.nw { white-space: nowrap; }

.nav-toggle { display: none; }
@media (max-width: 1100px) {
  .strip { flex-wrap: wrap; align-items: center; }
  .wordmark i { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--rule); background: transparent; color: var(--ink); cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 10px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; position: relative; }
  .nav-toggle span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; translate: 0 -50%; }
  .nav-toggle[aria-expanded="true"] span { border-color: transparent; }
  .nav-toggle[aria-expanded="true"] span::before, .nav-toggle[aria-expanded="true"] span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; translate: 0 -50%; }
  .nav-toggle[aria-expanded="true"] span::before { rotate: 45deg; }
  .nav-toggle[aria-expanded="true"] span::after { rotate: -45deg; }
  .nav-toggle .t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav { flex-basis: 100%; display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; border-top: 1px solid var(--hair); }
  .nav li { border-bottom: 1px solid var(--hair); }
  .nav a { display: block; padding: 15px 0; font-size: 0.95rem; border: 0; }
}

/* ---------- Type ---------- */

h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
.display { font: 400 clamp(3rem, 6.6vw, 6rem)/0.95 var(--display); letter-spacing: -0.015em; color: var(--red); }
.h2 { font: 400 clamp(2.2rem, 4.2vw, 3.8rem)/1.02 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.h3 { font: 700 clamp(1.2rem, 1.7vw, 1.4rem)/1.2 var(--serif); color: var(--ink); }
.lede { font: 400 clamp(1.2rem, 1.6vw, 1.4rem)/1.5 var(--serif); max-width: 40ch; color: var(--ink); }
.prose { max-width: 62ch; }
.prose p { margin: 0 0 1em; }
.prose h2, .prose h3 { margin: 1.6em 0 0.5em; }
.sci, .prose em { font-style: italic; }
.typed { font-family: var(--label); }
.label-caps, .plate-no { font: 500 0.8rem/1.3 var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- Actions ---------- */

.act {
  display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 24px; margin-top: 26px;
  background: var(--red); color: #fff; text-decoration: none;
  font: 500 0.88rem/1 var(--label); letter-spacing: 0.16em; text-transform: uppercase;
  transition: background 0.2s;
}
.act svg { width: 20px; height: 12px; transition: translate 0.3s var(--ease-out); }
.act:hover { background: var(--red-deep); color: #fff; }
.act:hover svg { translate: 4px 0; }
.textlink { display: inline-block; padding: 11px 0; font: italic 400 1.05rem/1.4 var(--serif); color: var(--red); }
.textlink svg { display: inline-block; width: 18px; height: 11px; margin-left: 4px; vertical-align: 0; }

/* ---------- Plates ---------- */

.plate { margin: 0; position: relative; }
.plate .mount { display: block; position: relative; background: var(--ground); padding: 0; border: 1px solid var(--rule); outline: 1px solid var(--hair); outline-offset: 4px; }
.plate .mount img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) contrast(1.02); }
.plate figcaption { margin-top: 14px; font: 400 0.95rem/1.45 var(--serif); color: var(--ink-2); }
.plate figcaption b { font: 500 0.78rem var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-right: 6px; }
.tape, .stamp { display: none; }

/* ---------- Leader-line callouts ---------- */

.callouts { position: relative; }
.callouts img { width: 100%; }
.callouts svg.leaders { position: absolute; top: 0; left: 0; width: 100%; height: auto; aspect-ratio: 854 / 1260; overflow: visible; pointer-events: none; }
.callouts .leaders line, .callouts .leaders polyline { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.callouts .leaders circle { fill: var(--ink); }
.callouts .leaders .num { display: none; font: 500 46px var(--label); fill: #fff; text-anchor: middle; dominant-baseline: central; }
.js .callouts .leaders polyline { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.4s var(--ease-out) forwards; }
.js .callouts .leaders polyline:nth-of-type(2) { animation-delay: 0.15s; }
.js .callouts .leaders polyline:nth-of-type(3) { animation-delay: 0.3s; }
.js .callouts .leaders polyline:nth-of-type(4) { animation-delay: 0.45s; }
.js .callouts .leaders line:nth-of-type(2) { animation-delay: 0.15s; }
.js .callouts .leaders line:nth-of-type(3) { animation-delay: 0.3s; }
.js .callouts .leaders line:nth-of-type(4) { animation-delay: 0.45s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.callouts ol { list-style: none; margin: 0; padding: 0; }
.callouts li {
  position: absolute; width: 9.5em; font: 400 1rem/1.3 var(--serif); color: var(--ink);
}
.callouts li span { display: block; }
.callouts li b { display: block; font: 500 0.74rem var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-bottom: 2px; }
.callouts li.r { text-align: left; }
.callouts li.l { text-align: right; }

@media (max-width: 860px) {
  .callouts li { position: static; width: auto; text-align: left !important; display: grid; grid-template-columns: 1.6em 1fr; padding: 8px 0; border-top: 1px solid var(--hair); }
  .callouts li::before { content: attr(data-n); grid-row: 1 / 3; font: 500 0.8rem/1.6 var(--label); color: var(--red); }
  .callouts li > * { grid-column: 2; }
  .callouts ol { margin-top: 16px; }
  .callouts .leaders .lab { display: none; }
}

/* ---------- Home: first viewport ---------- */

.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr; gap: 0 clamp(18px, 2.4vw, 36px); align-items: start; }
.hero-plate { grid-column: 1 / 8; grid-row: 1 / 3; position: relative; margin: -18px 0 0; }
.hero-plate .callouts { width: min(calc(100% - 19em), calc((100vh - 320px) / 1.475)); min-width: 280px; margin: 0 auto; }
.hero-plate .callouts li { width: 8.6em; }
.hero-plate .callouts li.l { right: calc(100% + 18px); }
.hero-plate .callouts li.r { left: calc(100% + 18px); }
.hero-plate .name { text-align: center; margin-top: 2px; font: italic 400 1.05rem var(--serif); color: var(--ink-2); }
.hero-plate .name b { font: 400 1.25rem var(--display); font-style: normal; color: var(--ink); display: block; letter-spacing: 0.02em; }
.hero-plate .name .plate-no { display: block; color: var(--red); margin-bottom: 4px; }
.hero-copy { grid-column: 8 / 13; grid-row: 1; padding-top: clamp(6px, 2vw, 34px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 26px; }
.actions .act { margin-top: 0; }
.hero-grid > .notthis { grid-column: 8 / 13; grid-row: 2; }
.hero-copy .display { font-size: clamp(3rem, 5.2vw, 5.4rem); }
.hero-copy .lede { margin: 22px 0 0; }

.notthis { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 0; margin-top: clamp(28px, 3.4vw, 48px); border-top: 1px solid var(--rule); }
.notthis > * { padding: 16px 16px 0 0; }
.notthis > * + * { padding-left: 16px; border-left: 1px solid var(--hair); }
.notthis img { width: 100%; max-width: 150px; aspect-ratio: 1; object-fit: contain; }
.notthis .nm { font: 700 0.98rem/1.3 var(--serif); margin: 6px 0 0; color: var(--ink); }
.notthis p { margin: 4px 0 0; font-size: 0.92rem; line-height: 1.4; color: var(--ink-2); }
.notthis .no { display: inline-block; margin-top: 6px; font: 500 0.72rem var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.notthis .range img { max-width: none; aspect-ratio: auto; width: 100%; }

@media (max-width: 860px) {
  .hero-grid { display: flex; flex-direction: column; }
  .hero-copy { order: -1; padding-top: 0; margin-bottom: 26px; }
  .hero-plate { margin-top: 36px; }
  .hero-plate .callouts li { width: auto; }
  .hero-grid > .notthis { margin-top: 30px; }
  .hero-plate .name { margin: 8px 0 0; }
  .notthis { grid-template-columns: 1fr 1fr; }
  .notthis .range { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--hair); margin-top: 16px; }
}

/* ---------- Sheet heads ---------- */

.sheet-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; margin-bottom: clamp(30px, 4vw, 60px); align-items: start; }
.sheet-head > :first-child { grid-column: 1 / 8; }
.sheet-head > :nth-child(2) { grid-column: 8 / 13; }
@media (max-width: 860px) { .sheet-head { display: block; } .sheet-head > :nth-child(2) { margin-top: 16px; } }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 36px); }

/* ---------- Compare plate (signature) ---------- */

.compare-tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--rule); margin-bottom: 30px; }
.compare-tabs button {
  appearance: none; border: 0; background: transparent; cursor: pointer; min-height: 48px; padding: 12px 20px 10px;
  font: 500 0.8rem/1.2 var(--label); letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-2);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.compare-tabs button[aria-selected="true"] { color: var(--red); border-bottom-color: var(--red); }
.compare-tabs button:hover { color: var(--ink); }
.compare-tabs button i { text-transform: none; letter-spacing: 0; font: italic 400 0.92rem var(--serif); display: block; margin-top: 2px; color: var(--ink-3); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); }
.compare .side { text-align: center; }
.compare .side img { width: 100%; max-width: 420px; margin: 0 auto; aspect-ratio: 1; object-fit: contain; }
.compare .side h3 { font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.1 var(--display); margin-top: 10px; }
.compare .side .sci { display: block; line-height: 1.3; color: var(--ink-2); }
.compare .verdict { display: inline-block; margin-top: 10px; padding: 6px 12px; font: 500 0.74rem var(--label); letter-spacing: 0.16em; text-transform: uppercase; border: 1px solid currentColor; }
.compare .yes { color: var(--olive); }
.compare .nope { color: var(--red); }

.marks { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 1rem; }
.marks th, .marks td { text-align: left; vertical-align: top; padding: 14px 14px 14px 0; border-top: 1px solid var(--hair); }
.marks thead th { font: 500 0.74rem var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); border-top: 0; }
.marks tbody th { font: 500 0.78rem var(--label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); width: 16%; padding-top: 17px; }
.marks td { width: 42%; line-height: 1.5; }
.js [role="tabpanel"][hidden] { display: none; }
[role="tabpanel"] { animation: fade-in 0.5s var(--ease-out); }
@keyframes fade-in { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 900px) {
  .compare-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 0; }
}
@media (max-width: 700px) {
  .compare-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 0; }
  .compare-tabs button { text-align: left; padding: 12px 10px 10px 0; border-bottom: 1px solid var(--hair); margin: 0; }
  .compare-tabs button[aria-selected="true"] { border-bottom: 3px solid var(--red); }
  .marks thead { display: none; }
  .marks tr { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hair); }
  .marks tbody th { grid-column: 1 / -1; width: auto; border: 0; padding: 12px 0 0; }
  .marks td { width: auto; border: 0; padding: 4px 10px 12px 0; font-size: 0.95rem; }
}

/* ---------- Rules ---------- */

.rules { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.rule { padding: 26px 28px 8px 0; }
.rule + .rule { padding-left: 28px; border-left: 1px solid var(--hair); }
.rule h3 { font: 700 1.3rem/1.25 var(--serif); margin-bottom: 12px; }
.rule p { margin: 0 0 0.7em; color: var(--ink-2); }
.signoff { margin: 36px 0 0; font: italic 400 clamp(1.25rem, 1.8vw, 1.5rem)/1.4 var(--serif); }
@media (max-width: 860px) { .rules { grid-template-columns: 1fr; } .rule, .rule + .rule { padding: 22px 0; border-left: 0; } .rule + .rule { border-top: 1px solid var(--hair); } }

/* ---------- Fruiting calendar ---------- */

.season table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.season caption { caption-side: bottom; text-align: left; padding-top: 16px; font: italic 400 1rem/1.5 var(--serif); color: var(--ink-2); max-width: 75ch; }
.season thead th { font: 500 0.74rem var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); text-align: left; padding: 0 0 10px 8px; border-left: 1px solid var(--hair); font-weight: 500; }
.season thead th:first-child { border-left: 0; width: 26%; }
.season tbody th { text-align: left; font: 700 1rem var(--serif); padding: 18px 12px 18px 0; border-top: 1px solid var(--hair); font-weight: 700; }
.season tbody td { border-left: 1px solid var(--hair); border-top: 1px solid var(--hair); height: 66px; position: relative; padding: 0; }
.season .bar { position: absolute; top: 22px; bottom: 22px; left: 0; right: 0; background: var(--red); }
.season .bar.start { left: 8px; border-radius: 11px 0 0 11px; }
.season .bar.end { right: 8px; border-radius: 0 11px 11px 0; }
.season .bar.start.end { border-radius: 11px; }
.season .bar.mixed { background: linear-gradient(90deg, transparent 50%, var(--red) 50%), radial-gradient(circle, var(--red) 1.5px, transparent 1.9px) 0 0 / 6px 6px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 14px 0 0; font: 400 0.95rem var(--serif); color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; width: 30px; height: 12px; border-radius: 6px; background: var(--red); }
.legend i.dots { background: radial-gradient(circle, var(--red) 1.5px, transparent 1.9px) 0 0 / 6px 6px; }
@media (max-width: 700px) { .season thead th { font-size: 0.7rem; letter-spacing: 0; padding-left: 2px; } .season thead th:first-child { width: 32%; } .season tbody th { font-size: 0.88rem; } }

/* ---------- Photographic plates (uses) ---------- */

.made { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.4vw, 52px) clamp(18px, 2.6vw, 40px); }
.made .plate .mount img { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .made { grid-template-columns: 1fr 1fr; } }
.madelist { columns: 2; column-gap: 28px; margin: 0; padding: 0; list-style: none; font-size: 1rem; }
.madelist li { padding: 6px 0; border-top: 1px solid var(--hair); break-inside: avoid; }

/* ---------- Mission ---------- */

.mission { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.mission .plate { grid-column: 1 / 6; }
.mission .copy { grid-column: 7 / 13; }
.mission .slogan { font: 400 clamp(3rem, 6.6vw, 5.8rem)/0.92 var(--display); color: var(--ink); margin-bottom: 26px; }
.mission .slogan span { color: var(--red); font-style: italic; }
@media (max-width: 860px) { .mission .plate, .mission .copy { grid-column: 1 / -1; } }

/* ---------- FAQ entries ---------- */

.packets { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 860px) { .packets { grid-template-columns: 1fr; } }
.packet { border-top: 1px solid var(--hair); }
.packet summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 14px; align-items: baseline; padding: 18px 0; }
.packet summary::-webkit-details-marker { display: none; }
.packet .q { font: 400 1.18rem/1.35 var(--serif); color: var(--ink); }
.packet summary:hover .q { color: var(--red); }
.packet .ico { width: 28px; height: 28px; display: grid; place-items: center; color: var(--red); transition: rotate 0.35s var(--ease-out); }
.packet .ico svg { width: 13px; height: 13px; }
.packet[open] .ico { rotate: 45deg; }
.packet .a { padding: 0 0 20px; }
.packet .a p { margin: 0 0 0.85em; }
.packet[open] .a { animation: fade-in 0.45s var(--ease-out); }
.caution { font: 500 0.78rem/1.5 var(--label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }

/* ---------- Method ---------- */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 64px) clamp(20px, 3vw, 48px); }
.step { counter-increment: step; position: relative; }
.step .art { width: 100%; aspect-ratio: 1; object-fit: contain; margin-bottom: 4px; }
.step h3 { font: 400 1.8rem/1.1 var(--display); margin-bottom: 10px; display: flex; align-items: baseline; gap: 12px; }
.step h3::before { content: counter(step) "."; color: var(--red); font: 400 1.8rem var(--display); }
.step p { margin: 0 0 0.75em; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } .step .art { max-width: 300px; } }

/* ---------- Films ---------- */

.films { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px, 4vw, 64px) clamp(20px, 3vw, 48px); }
@media (max-width: 860px) { .films { grid-template-columns: 1fr; } }
.film .screen { position: relative; aspect-ratio: 16 / 9; background: #1b1f1c; overflow: hidden; border: 1px solid var(--rule); outline: 1px solid var(--hair); outline-offset: 4px; }
.film .screen img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.6s var(--ease-out); }
.film .screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film button.play { position: absolute; inset: 0; width: 100%; border: 0; padding: 16px; background: transparent; cursor: pointer; display: grid; place-items: end start; color: #fff; z-index: 1; }
.film button.play.tl { place-items: start start; }
.film button.play.tr { place-items: start end; }
.film button.play span { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px 14px 18px; background: var(--red); font: 500 0.82rem var(--label); letter-spacing: 0.16em; text-transform: uppercase; transition: background 0.2s; }
.film button.play svg { width: 14px; height: 16px; }
.film button.play:hover span, .film button.play:focus-visible span { background: var(--red-deep); }
.film:hover .screen img { scale: 1.03; }
.film h2 { margin: 20px 0 6px; font: 400 2rem/1.1 var(--display); }
.film p { margin: 0; color: var(--ink-2); }
.film .credit { font: italic 400 0.95rem/1.4 var(--serif); color: var(--ink-2); margin-top: 10px; }

/* ---------- Page heads ---------- */

.page-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.page-head .title { grid-column: 1 / 8; }
.page-head .title .display { margin-bottom: 24px; }
.page-head .art { grid-column: 8 / 13; }
.page-head .art .paint { max-height: 560px; width: auto; margin: 0 auto; }
@media (max-width: 860px) { .page-head .title, .page-head .art { grid-column: 1 / -1; } }

/* ---------- Essay ---------- */

.essay { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(20px, 3vw, 48px); }
.essay .prose { grid-column: 1 / 8; }
.essay aside { grid-column: 9 / 13; }
.essay aside .sticky { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 40px; }
@media (max-width: 960px) { .essay .prose, .essay aside { grid-column: 1 / -1; } .essay aside { margin-top: 36px; } .essay aside .sticky { position: static; } }
.pull { margin: 1.4em 0; font: italic 400 clamp(1.7rem, 2.6vw, 2.3rem)/1.2 var(--serif); color: var(--ink); max-width: 26ch; }
.pull span { color: var(--red); }
.factlabel { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 20px 0; }
.factlabel p { margin: 0 0 8px; }
.factlabel .lead { font-weight: 700; }
.factlabel cite { font: italic 400 0.92rem var(--serif); color: var(--ink-2); }

/* ---------- Collaborations ---------- */

.collab { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(28px, 3.6vw, 52px) 0; border-top: 1px solid var(--hair); }
.collab:first-child { border-top: 0; padding-top: 0; }
.collab .plate { grid-column: 1 / 6; }
.collab .plate .mount img { aspect-ratio: 4 / 3; }
.collab .copy { grid-column: 7 / 13; }
.collab:nth-child(even) .plate { grid-column: 8 / 13; order: 2; }
.collab:nth-child(even) .copy { grid-column: 1 / 7; }
.collab .maker { display: block; margin-top: 12px; font: italic 400 1.1rem var(--serif); color: var(--red); }
.collab p { color: var(--ink-2); margin: 12px 0 0; max-width: 46ch; }
@media (max-width: 860px) { .collab .plate, .collab .copy, .collab:nth-child(even) .plate, .collab:nth-child(even) .copy { grid-column: 1 / -1; order: 0; } }

.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; align-items: start; }
.wall .plate .mount img { aspect-ratio: 1; }
@media (max-width: 860px) { .wall { grid-template-columns: 1fr 1fr; } }


.badge { width: 150px; }
.cant-beat { max-width: min(380px, 100%); }

/* ---------- Footer ---------- */

.colophon { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; align-items: start; }
.colophon .label { grid-column: 1 / 6; }
.colophon .bye { grid-column: 7 / 13; }
.colophon .bye > p:first-child { margin: 0; font: 400 clamp(1.8rem, 3vw, 2.6rem)/1.1 var(--display); }
.colophon .bye > p:first-child em { font-style: italic; color: var(--red); }
.colophon .small { margin-top: 18px; font-size: 0.95rem; line-height: 1.55; color: var(--ink-2); }
.colophon nav.small a { display: inline-block; padding: 6px 0; }
@media print { body::after { display: none; } .nav, .nav-toggle, .film button.play { display: none; } [role="tabpanel"][hidden] { display: block !important; } }
.fields { margin: 0; padding: 0; }
.fields > div { display: grid; grid-template-columns: 8em 1fr; gap: 0 1em; padding: 9px 0; border-top: 1px solid var(--hair); }
.fields > div:last-child { border-bottom: 1px solid var(--hair); }
.fields dt { font: 500 0.76rem/1.9 var(--label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.fields dd { margin: 0; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule); color: var(--ink); transition: background 0.2s, color 0.2s; }
.social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.social svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .colophon .label, .colophon .bye { grid-column: 1 / -1; } }

/* ---------- Utilities ---------- */

.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: clamp(40px, 5vw, 72px); }
.muted { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .callouts .leaders line, .js .callouts .leaders polyline { stroke-dashoffset: 0; animation: none; }
}

/* Hero callouts become a numbered key under 1180px; numbered markers stay on the plate */
@media (max-width: 1180px) {
  .hero-plate .callouts { width: min(100%, 520px); min-width: 0; }
  .hero-plate .callouts svg.leaders polyline { display: none; }
  .hero-plate .callouts svg.leaders circle { r: 30px; fill: var(--red); }
  .hero-plate .callouts svg.leaders .num { display: block; }
  .hero-plate .callouts li { position: static; width: auto; text-align: left !important; display: grid; grid-template-columns: 1.6em 1fr; padding: 8px 0; border-top: 1px solid var(--hair); break-inside: avoid; }
  .hero-plate .callouts li::before { content: attr(data-n); grid-row: 1 / 3; font: 500 0.8rem/1.6 var(--label); color: var(--red); }
  .hero-plate .callouts li > * { grid-column: 2; }
  .hero-plate .callouts ol { margin-top: 16px; columns: 2; column-gap: 24px; }
}
@media (max-width: 600px) {
  .hero-plate .callouts ol { columns: 1; }
}

@media (max-width: 860px) {
  .colophon, .page-head, .mission, .essay, .collab, .grid-12, .sheet-head { grid-template-columns: minmax(0, 1fr); }
  .grid-12 > * { grid-column: 1 / -1 !important; }
}

@media (max-width: 1180px) {
  .hero-plate { grid-row: 1 / span 2; }
  .hero-grid > .notthis { grid-column: 1 / -1; grid-row: 3; margin-top: 36px; }
  .notthis > * { min-width: 0; }
}
@media (max-width: 860px) {
  .hero-plate { align-self: stretch; width: 100%; margin: 8px 0 0; }
  .hero-plate .callouts { width: 100%; }
  .hero-plate .callouts img { width: min(100%, 420px); margin: 0 auto; }
  .hero-plate .callouts svg.leaders { width: min(100%, 420px); left: calc(50% - min(50%, 210px)); }
  .colophon nav.small a { padding: 11px 0; }
}
@media (max-width: 700px) {
  .season .bar { top: 26px; bottom: 26px; }
  .season .bar.start { border-radius: 6px 0 0 6px; } .season .bar.end { border-radius: 0 6px 6px 0; }
  .season .bar.start.end { border-radius: 6px; }
}

.film button.play:focus-visible { outline: none; }
.film button.play:focus-visible span { outline: 3px solid #fff; outline-offset: -6px; box-shadow: 0 0 0 3px var(--red); }
/* 2 tabs 701-900 keep rules */
@media (max-width: 900px) {
  .compare-tabs button { text-align: left; padding: 12px 10px 10px 0; border-bottom: 1px solid var(--hair); margin: 0; }
  .compare-tabs button[aria-selected="true"] { border-bottom: 3px solid var(--red); }
}
/* 3 mobile margin clears the frame */
@media (max-width: 450px) { .folder { padding: 0 22px; } }
/* 8 hero folio inside the fold */
/* 9 calendar at small widths */
@media (max-width: 380px) {
  .season thead th { font-size: 0.7rem; letter-spacing: 0; padding-left: 1px; }
  .season tbody th { font-size: 0.82rem; hyphens: auto; }
}
/* 13 sticky aside only when it fits */
@media (max-height: 1100px) { .essay aside .sticky { position: static; } }
/* 10 align Not-this labels */
.notthis > div:not(.range) { display: flex; flex-direction: column; }
.notthis > div:not(.range) .no { margin-top: auto; padding-top: 6px; }
.season .bar.dotted { background: radial-gradient(circle, var(--red) 1.5px, transparent 1.9px) 0 0 / 6px 6px; }
.season .rep { display: block; font: italic 400 0.85rem var(--serif); color: var(--ink-2); }

/* =========================================================
   Season dial: one branch, painted four times, turned by month
   ========================================================= */
.season-stack { position: relative; }
.season-stack .s-img { display: block; width: 100%; }
.season-stack .s-img:not(:first-child) { position: absolute; inset: 0; }
.season-stack .s-img { opacity: 0; transition: opacity 0.7s ease-out, filter 0.7s ease-out; filter: blur(3px); }
.season-stack .s-img.on { opacity: 1; filter: none; }
.season-stack .s-img:first-child { position: relative; }
[data-season]:not([data-season="autumn"]) .callouts > ol li,
[data-season]:not([data-season="autumn"]) .leaders polyline,
[data-season]:not([data-season="autumn"]) .leaders circle,
[data-season]:not([data-season="autumn"]) .leaders .num { opacity: 0; transition: opacity 0.35s; }
.callouts > ol li, .leaders polyline, .leaders circle, .leaders .num { transition: opacity 0.5s 0.25s; }
.callouts li.hot b { text-decoration: underline; text-underline-offset: 3px; }
.leaders circle.hot { r: 12px; fill: var(--red); }

.dial { margin: 16px auto 0; width: min(100%, 520px); }
.dial-label { display: block; text-align: center; font: 500 0.78rem var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.dial-input { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; margin: 0; background: transparent; cursor: pointer; --p: 82%; }
.dial-input::-webkit-slider-runnable-track { height: 34px; background:
  linear-gradient(var(--ink), var(--ink)) 11px 50% / calc(100% - 22px) 1px no-repeat,
  repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px calc((100% - 1px) / 11)) 11px 50% / calc(100% - 21px) 12px no-repeat,
  linear-gradient(90deg, transparent calc(7 / 11 * 100%), rgba(168, 23, 43, 0.22) calc(7 / 11 * 100%) calc(10 / 11 * 100%), transparent 0) 11px 50% / calc(100% - 22px) 12px no-repeat; }
.dial-input::-moz-range-track { height: 34px; background: linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 1px no-repeat; }
.dial-input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 34px; margin-top: 0; border: 0; background: var(--red); clip-path: polygon(50% 100%, 0 30%, 0 0, 100% 0, 100% 30%); }
.dial-input::-moz-range-thumb { width: 22px; height: 34px; border: 0; border-radius: 0; background: var(--red); }
.dial-input:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.dial-months { position: relative; height: 1.2em; margin: 6px 0 0; padding: 0; list-style: none; font: 500 0.72rem var(--label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); text-align: center; }
.dial-note { margin: 14px 0 0; text-align: center; font: italic 400 1rem/1.5 var(--serif); color: var(--ink); min-height: 3em; }
.dial-note b { font-style: normal; color: var(--red); font-weight: 700; }
@media (max-width: 1180px) {
  [data-season]:not([data-season="autumn"]) .callouts > ol li { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) { .season-stack .s-img { transition: none; filter: none; } }

.dial-months li { position: absolute; top: 0; translate: -50% 0; }
.display--long { font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: 1.02; }


/* Folios sit in their own line at the foot of each sheet, never on top of text */
.folio { position: static; display: block; text-align: right; margin-top: clamp(32px, 4vw, 52px); }
.sheet { padding-bottom: clamp(26px, 3vw, 44px); }
@media (max-width: 860px) { .folder { padding: 0 30px; } }
@media (max-width: 450px) { .folder { padding: 0 30px; } }

/* Tighter pairs, opened up */
.callouts li b { margin-bottom: 4px; }
.hero-plate .name .plate-no { margin-bottom: 8px; }
.compare .side h3 { margin: 14px 0 6px; }
.collab .maker { margin-top: 14px; }
.film h2 { margin: 22px 0 12px; }
.compare .side img { max-width: 300px; }
.marks { margin-top: 22px; }

/* Thumb index: chapter tabs cut into the right edge of the page */
.thumbs { display: none; }
@media (min-width: 1101px) and (min-height: 640px) {
  .thumbs { display: flex; flex-direction: column; gap: 4px; position: fixed; right: 0; top: 50%; translate: 0 -50%; z-index: 41; margin: 0; padding: 0; list-style: none; }
  .thumbs a { display: block; writing-mode: vertical-rl; padding: 16px 7px 16px 6px; min-height: 92px; text-align: center; text-decoration: none; background: var(--ink); color: var(--ground); font: 500 0.7rem/1 var(--label); letter-spacing: 0.16em; text-transform: uppercase; border-radius: 6px 0 0 6px; transition: padding 0.25s var(--ease-out), background 0.2s; }
  .thumbs li:nth-child(even) a { background: #39413c; }
  .thumbs a:hover { padding-right: 14px; background: var(--red-deep); color: #fff; }
  .thumbs a[aria-current="page"] { background: var(--red); color: #fff; padding-right: 14px; }
}

/* Home first screen fits shorter laptops */
@media (max-height: 820px) and (min-width: 1181px) {
  .hero-copy .display { font-size: clamp(3rem, 4.6vw, 4.6rem); }
  .notthis img { max-width: 110px; }
}

/* Photo walls: one dominant plate, the rest filed beside it */
.wall { grid-auto-flow: dense; }
.wall .plate:first-child { grid-column: span 2; grid-row: span 2; }
.wall .plate:first-child .mount img { aspect-ratio: 4 / 3.25; }
@media (max-width: 860px) { .wall .plate:first-child { grid-column: 1 / -1; grid-row: auto; } }

/* Berry: species-account opener, plate first */
.account { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.account-plate img { width: 100%; max-height: 72vh; object-fit: contain; }
.account-no { margin: 0 0 18px; font: 500 0.8rem var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.account-text .display { margin-bottom: 22px; }
.account-fields { margin-top: 28px; max-width: 62ch; }
@media (max-width: 860px) { .account { grid-template-columns: 1fr; } .account-plate img { max-height: 56vh; } }

/* Harvest: the method at a glance */
.glance { margin-top: clamp(36px, 5vw, 64px); border-top: 1px solid var(--rule); padding-top: 22px; }
.glance ol { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.glance a { display: block; text-decoration: none; text-align: center; color: var(--ink); }
.glance img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: translate 0.3s var(--ease-out); }
.glance a:hover img { translate: 0 -4px; }
.glance span { display: block; margin-top: 6px; font: 500 0.82rem var(--label); letter-spacing: 0.14em; text-transform: uppercase; }
.glance b { color: var(--red); margin-right: 4px; }
@media (max-width: 700px) { .glance ol { grid-template-columns: repeat(3, 1fr); } }

/* About: a field notebook of dates */
.notebook { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: clamp(36px, 5vw, 64px) 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--rule); }
.notebook li { padding: 0 18px 0 0; }
.notebook li + li { padding-left: 18px; border-left: 1px solid var(--hair); }
.notebook b { display: block; font: 400 1.6rem/1.1 var(--display); color: var(--red); margin-bottom: 8px; }
.notebook span { font-size: 0.98rem; line-height: 1.5; }
@media (max-width: 860px) { .notebook { grid-template-columns: 1fr; } .notebook li, .notebook li + li { padding: 14px 0; border-left: 0; border-top: 1px solid var(--hair); } }

/* Collaborations: the makers' register, set like a field-guide table */
.register-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 40px; margin-bottom: 26px; }
.register-head .lede { max-width: 42ch; margin: 0; }
.ledger { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.ledger thead th { text-align: left; font: 500 0.74rem var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); padding: 0 16px 12px 0; border-bottom: 1px solid var(--rule); }
.ledger tbody th, .ledger td { text-align: left; vertical-align: top; padding: 15px 16px 15px 0; border-bottom: 1px solid var(--hair); }
.ledger tbody th { font: 400 1.3rem/1.25 var(--display); color: var(--ink); }
.ledger td:first-child { font: 500 0.8rem var(--label); letter-spacing: 0.12em; color: var(--red); width: 3.5em; padding-top: 19px; }
.ledger td:last-child { font-style: italic; }
@media (max-width: 700px) {
  .ledger thead { display: none; }
  .ledger tr { display: grid; grid-template-columns: 2.6em 1fr; padding: 12px 0; border-bottom: 1px solid var(--hair); }
  .ledger tbody th, .ledger td { border: 0; padding: 2px 0; }
  .ledger td:first-child { grid-row: 1 / 4; padding-top: 6px; }
  .ledger tbody th, .ledger td:not(:first-child) { grid-column: 2; }
}

/* Recipes: the first film leads at full width */
.films.featured .film:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 0 clamp(24px, 3.5vw, 52px); align-items: end; }
.films.featured .film:first-child h2 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
@media (max-width: 860px) { .films.featured .film:first-child { grid-template-columns: 1fr; } }

.dial-months .m1 { display: none; }
@media (max-width: 520px) { .dial-months .m3 { display: none; } .dial-months .m1 { display: inline; } }
.disclaimer { margin: 0; color: var(--ink-2); }

/* Round 4b: the plate is the left half of the page */
.hero-plate .name { position: absolute; left: 0; top: 0; text-align: left; margin: 0; z-index: 2; }
.hero-plate .callouts { margin-top: 0; }
.dial { margin-top: 10px; }
.dial-label { display: none; }
.dial-note { min-height: 0; margin-top: 10px; font-size: 0.98rem; }
.dial-input::before { content: none; }
.dial-scale { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; font: 500 0.74rem var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 1180px) {
  .hero-plate .name { position: static; text-align: center; margin-top: 10px; }
}
/* Phenology bands on the dial: flowering, green fruit, ripe */
.dial { --flower: rgba(201, 171, 61, 0.35); --green: rgba(78, 107, 58, 0.3); --ripe: rgba(168, 23, 43, 0.25); }
.dial-input::-webkit-slider-runnable-track { background:
  linear-gradient(var(--ink), var(--ink)) 11px 50% / calc(100% - 22px) 1px no-repeat,
  repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px calc((100% - 1px) / 11)) 11px 50% / calc(100% - 21px) 12px no-repeat,
  linear-gradient(90deg, transparent calc(2.5 / 11 * 100%), var(--flower) calc(2.5 / 11 * 100%) calc(4.5 / 11 * 100%), var(--green) calc(4.5 / 11 * 100%) calc(6.5 / 11 * 100%), var(--ripe) calc(6.5 / 11 * 100%) calc(10.5 / 11 * 100%), transparent 0) 11px 50% / calc(100% - 22px) 12px no-repeat; }
.dial-key { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 0; padding: 0; list-style: none; font: 400 0.88rem var(--serif); color: var(--ink-2); }
.dial-key i { display: inline-block; width: 18px; height: 9px; margin-right: 6px; vertical-align: 1px; }
/* Uses wall leads with one plate */
.made { grid-auto-flow: dense; }
.made .plate:first-child { grid-column: span 2; grid-row: span 2; }
.made .plate:first-child .mount img { aspect-ratio: 4 / 3.15; }
@media (max-width: 860px) { .made .plate:first-child { grid-column: 1 / -1; grid-row: auto; } }
/* Recipes: lead film full width */
.films.featured .film:first-child { grid-template-columns: 1fr; }
.films.featured .film:first-child .film-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 0 40px; align-items: baseline; }
.films.featured .film:first-child .film-text h2 { grid-row: span 2; }
@media (max-width: 860px) { .films.featured .film:first-child .film-text { display: block; } }
/* Not-this strip: map spans below the two lookalikes on narrower desktops */
@media (max-width: 1500px) {
  .hero-grid > .notthis { grid-template-columns: 1fr 1fr; }
  .notthis .range { grid-column: 1 / -1; display: grid; grid-template-columns: 0.9fr 1fr; gap: 16px; align-items: center; border-left: 0; padding-left: 0; border-top: 1px solid var(--hair); margin-top: 14px; padding-top: 14px; }
  .notthis .range p { margin: 0; }
}
@media (max-width: 1500px) and (max-height: 820px) {
  .hero-grid > .notthis .range { display: none; }
}

.footnav { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0; padding: 0; list-style: none; }
.footnav a { display: inline-block; padding: 8px 0; }
/* Round 4c */
.dial-label { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.thumbs li a[aria-current="page"] { background: var(--red); color: #fff; padding-right: 14px; }
.thumbs li a:hover { padding-right: 14px; background: var(--red-deep); color: #fff; }
@media (max-width: 1180px) { [data-season]:not([data-season="autumn"]) .callouts > ol li { opacity: 1; } }
.hero-grid > .notthis { grid-template-columns: 1fr 1fr; }
.season .m1 { display: none; }
@media (max-width: 560px) { .season .m3 { display: none; } .season .m1 { display: inline; } }
.range-fig { margin: 22px 0 0; }
.range-fig img { width: 100%; max-width: 420px; }
.range-fig figcaption { margin-top: 8px; font-size: 0.95rem; color: var(--ink-2); }
.wall.wall--wide .plate:first-child { grid-row: auto; }
.wall .plate:nth-child(8):last-child { grid-column: span 2; }
.display--word { font-size: clamp(2.4rem, 6vw, 6rem); }
.range-fig { margin-top: 28px; } .range-fig img { max-width: 380px; }
.sheet-head .lede { margin-top: 20px; }
.sheet-head > .range-fig { margin: 0; align-self: start; }
.sheet-head > .range-fig img { max-width: 100%; }
/* Round 5: key after the dial on narrow screens; key only for the ripe plate */
.key-after { display: none; }
@media (max-width: 1180px) {
  .hero-plate { display: flex; flex-direction: column; }
  .hero-plate .callouts { order: 0; width: min(100%, 520px, calc((100vh - 230px) / 1.475)); margin: 0 auto; }
  .hero-plate .callouts img { width: 100%; }
  .hero-plate .callouts svg.leaders { width: 100%; left: 0; }
  .hero-plate .callouts > ol { display: none; }
  .hero-plate .dial { order: 1; }
  .hero-plate .name { order: 2; }
  .key-after { order: 3; display: block; list-style: none; margin: 14px 0 0; padding: 0; columns: 2; column-gap: 24px; }
  .key-after li { display: grid; grid-template-columns: 1.6em 1fr; padding: 8px 0; border-top: 1px solid var(--hair); break-inside: avoid; font: 400 1rem/1.3 var(--serif); }
  .key-after li::before { content: attr(data-n); grid-row: 1 / 3; font: 500 0.8rem/1.6 var(--label); color: var(--red); }
  .key-after li > * { grid-column: 2; }
  .key-after b { display: block; font: 500 0.74rem var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
  [data-season]:not([data-season="autumn"]) .key-after { display: none; }
}
@media (max-width: 600px) { .key-after { columns: 1; } }
@media (min-width: 861px) and (max-width: 1180px) {
  .hero-grid > .notthis { grid-column: 8 / 13; grid-row: 2; margin-top: 28px; }
}
.films.featured { grid-template-columns: repeat(3, 1fr); }
.films.featured .film:first-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0 clamp(24px, 3.5vw, 52px); align-items: center; }
.films.featured .film:first-child .film-text { display: block; }
.films.featured .film:first-child .screen { max-width: 760px; }
@media (max-width: 960px) { .films.featured { grid-template-columns: 1fr; } .films.featured .film:first-child { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .made .plate:first-child { grid-column: auto; } }
@media (max-width: 600px) { .account-fields > div { grid-template-columns: 1fr; gap: 2px; } }
@media (max-width: 380px) { .season tbody th { hyphens: manual; } }
/* Firefox: same dial track and pointer */
.dial-input::-moz-range-track { height: 34px; background:
  linear-gradient(var(--ink), var(--ink)) 11px 50% / calc(100% - 22px) 1px no-repeat,
  repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px calc((100% - 1px) / 11)) 11px 50% / calc(100% - 21px) 12px no-repeat,
  linear-gradient(90deg, transparent calc(2.5 / 11 * 100%), var(--flower) calc(2.5 / 11 * 100%) calc(4.5 / 11 * 100%), var(--green) calc(4.5 / 11 * 100%) calc(6.5 / 11 * 100%), var(--ripe) calc(6.5 / 11 * 100%) calc(10.5 / 11 * 100%), transparent 0) 11px 50% / calc(100% - 22px) 12px no-repeat; }
.dial-input::-moz-range-thumb { width: 22px; height: 34px; border: 0; border-radius: 0; background: var(--red); clip-path: polygon(50% 100%, 0 30%, 0 0, 100% 0, 100% 30%); }


/* ===== Tick-the-marks checklist (ported from the Herbarium edition) and contact form ===== */
.idcheck { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.check-plate { position: relative; margin: 0; max-width: 460px; }
.check-plate img { display: block; width: 100%; height: auto; }
.check-plate svg { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 854 / 1260; pointer-events: none; overflow: visible; }
.check-plate figcaption { position: static; }
.ring { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 410; stroke-dashoffset: 410; transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; transition: stroke-dashoffset 0.55s var(--ease-out); }
.ring.on { stroke-dashoffset: 0; }
.checklist { border: 0; margin: 0; padding: 0; display: grid; gap: 4px; }
.checklist .mark { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid var(--hair); cursor: pointer; font: 400 1.05rem/1.4 var(--serif); }
.checklist .mark:last-child { border-bottom: 1px solid var(--hair); }
.checklist .mark input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checklist .box { width: 30px; height: 30px; border: 1.5px solid var(--ink); display: grid; place-items: center; background: transparent; }
.checklist .box svg { width: 22px; height: 22px; fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 0.25s var(--ease-out); }
.checklist input:checked + .box svg { stroke-dashoffset: 0; }
.checklist input:focus-visible + .box { outline: 2px solid var(--red); outline-offset: 3px; }
.checklist .mark:hover .box { border-color: var(--red); }
.checklist strong { display: block; font-weight: 700; }
.checklist .how { display: block; margin-top: 2px; color: var(--ink-2); font-size: 0.98rem; }
.idverdict { position: relative; margin-top: 22px; padding: 16px 18px; min-height: 112px; border: 1px solid var(--rule); overflow: hidden; font: 400 1.02rem/1.45 var(--serif); color: var(--ink-2); transition: border-color 0.3s; }
.idverdict .v-text { margin: 0; }
.idverdict .count { display: block; margin-bottom: 4px; font-weight: 700; color: var(--ink); }
.idverdict.is-complete { border-color: var(--olive); padding-bottom: 96px; }
.idverdict.is-complete .count { color: var(--olive); }
.det-stamp { position: absolute; right: 14px; bottom: 12px; display: grid; gap: 2px; padding: 7px 14px; border: 3px double var(--olive); color: var(--olive); text-align: center; text-transform: uppercase; font: 500 0.78rem/1.2 var(--label); letter-spacing: 0.18em; opacity: 0; transform: rotate(-12deg) scale(1.5); pointer-events: none; transition: transform 0.28s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.12s; }
.det-stamp i { font: italic 400 1rem var(--serif); text-transform: none; letter-spacing: 0; }
.idverdict.is-complete .det-stamp { opacity: 0.9; transform: rotate(-6deg) scale(1); }
.seed-inset { margin: 22px 0 0; display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; }
.seed-inset img { width: 110px; height: 110px; border: 2px solid transparent; transition: border-color 0.3s; }
.seed-inset figcaption { font: italic 400 0.98rem var(--serif); color: var(--ink-2); }
.seed-inset.on img { border-color: var(--red); }
@media (max-width: 860px) { .idcheck { grid-template-columns: minmax(0, 1fr); } .check-plate { max-width: 340px; } }
@media (prefers-reduced-motion: reduce) { .ring, .checklist .box svg, .det-stamp { transition: none !important; } }

.contact { display: grid; gap: 14px; margin-top: 18px; max-width: 34em; }
.contact .f { display: grid; gap: 4px; font: 500 0.78rem var(--label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.contact input, .contact textarea { font: 400 1.05rem/1.4 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink); background: #f3f3ef; border: 1px solid var(--ink-3); padding: 10px 12px; border-radius: 0; width: 100%; }
.contact textarea { resize: vertical; }
.contact .hp { position: absolute; left: -9999px; }
.contact .act { justify-self: start; border: 0; cursor: pointer; }
.form-note { margin: 0; min-height: 1.4em; font: italic 400 1rem var(--serif); color: var(--olive); }
.check-plate figcaption { margin-top: 14px; font: 400 0.95rem/1.45 var(--serif); color: var(--ink-2); }
.check-plate figcaption b { font: 500 0.78rem var(--label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-right: 6px; }
