/* The workshop diary owns its paper, navy accents, and photographic layout. */
.planter-post {
  --paper: #f5f2ea;
  --ink: #182e3c;
  --muted: #657075;
  --line: #d8d8cc;
  --navy: #24485b;
  --accent: #b45e42;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
.planter-post * { box-sizing: border-box; }
.planter-post :is(figure, p, h1, h2, h3) { margin: 0; }
.planter-post img { display: block; max-width: 100%; }
.planter-post [hidden] { display: none !important; }
.planter-post article a { color: var(--navy); text-underline-offset: 4px; }
.planter-post article :is(a, button):focus-visible,
.photo-viewer button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.planter-post .wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.planter-post .post-meta {
  display: flex; flex-wrap: wrap; gap: 6px 20px; padding-top: 30px;
  color: var(--muted); font-size: 12px;
}
.planter-post .article-update { margin-top: 10px; color: var(--muted); font-size: 12px; }
.hero-grid {
  display: grid; grid-template-columns: 1.02fr 1fr; gap: 46px;
  padding: 28px 0 52px; align-items: start;
}
.hero-copy h1 { font: 400 clamp(44px, 4.6vw, 68px)/1.08 var(--serif); letter-spacing: -.045em; }
.hero-copy h1 em { font-weight: 400; }
.hero-copy .standfirst { font: 22px/1.5 var(--serif); margin-top: 25px; max-width: 440px; color: #4a5c63; }
.hero-copy .intro { margin-top: 24px; font-size: 15px; color: #58676d; max-width: 450px; }
.material-note {
  display: flex; gap: 12px; align-items: center; margin-top: 30px;
  padding-top: 20px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.7;
}
.material-note strong { display: block; font-weight: 500; font-size: 12px; }
.filament-swatch { height: 29px; width: 29px; flex: none; background: #203d4e; border-radius: 50%; border: 1px solid #162e3c; }
.hero-image-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #e9e5dc; }
.photo-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.photo-open img { width: 100%; height: 100%; object-fit: cover; }
.real-hero .photo-open img { object-fit: contain; object-position: center; }
.planter-post figcaption { padding-top: 14px; line-height: 1.65; font-size: 12px; color: var(--muted); }
.article-body { border-top: 1px solid var(--line); }
.fit-section { padding: 66px 0; }
.section-copy, .section-heading { min-width: 0; }
.measurement-section > .section-copy, .section-heading, .result-section > .section-copy { max-width: 820px; }
.planter-post article h2 { font: 400 43px/1.15 var(--serif); letter-spacing: -.03em; }
.section-copy > p:not(.small-note),
.section-heading > p { margin-top: 22px; color: #52636a; font-size: 16px; line-height: 1.85; }
.planter-post .small-note { font-size: 12px; color: var(--muted); line-height: 1.8; margin-top: 18px; }
.fit-table-wrap { margin-top: 28px; overflow-x: auto; max-width: 640px; }
.planter-post table { width: 100%; border-collapse: collapse; text-align: left; line-height: 1.7; }
.fit-table { font-size: 13px; }
.fit-table caption { text-align: left; color: var(--muted); font-size: 12px; padding-bottom: 12px; }
.planter-post th, .planter-post td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.planter-post thead th { font-size: 12px; font-weight: 600; background: #eae7dc; }
.planter-post tbody th { font-weight: 500; }
.fit-table tbody th { padding-left: 0; }
.fit-table td { white-space: nowrap; color: #52636a; }
.photo-grid { display: grid; gap: 29px; margin-top: 34px; }
.two-up { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.process-figure, .finished-figure { min-width: 0; }
.process-image-frame, .photo-slot { overflow: hidden; background: #dedcd3; border: 1px solid #d3d6cf; }
.measurement-image-frame { aspect-ratio: 3 / 4; height: auto; background: #e9e5dc; }
.measurement-image-frame .photo-open img { object-fit: contain; object-position: center; }
.design-study {
  display: grid; grid-template-columns: 210px 1fr; align-items: center; gap: 30px;
  padding: 20px 32px; margin-bottom: 62px !important; background: #edeae2; border: 1px solid #e0dfd5;
}
.design-study > img { width: 210px; height: 180px; object-fit: contain; mix-blend-mode: multiply; }
.planter-post .design-study figcaption { display: block; padding: 0; }
.design-study .material-note { margin-top: 16px; padding-top: 12px; }
.design-study h3 { font: 400 27px/1.3 var(--serif); letter-spacing: -.02em; margin-bottom: 10px; }
.planter-post .design-study figcaption p { max-width: 620px; font-size: 14px; line-height: 1.8; }
.speed-section { border-block: 1px solid var(--line); padding: 58px 0; }
.speed-heading { display: grid; grid-template-columns: 1fr 1.02fr; gap: 0 70px; align-items: start; }
.speed-heading h2 { max-width: 350px; }
.speed-heading > p { color: #52636a; font-size: 16px; line-height: 1.85; }
.planter-post .time-comparison { margin-top: 34px; padding: 28px 34px; background: #e9ece8; border: 1px solid #d8dfd8; }
.comparison-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 14px; font-size: 12px; }
.time-row + .time-row { margin-top: 24px; }
.time-label { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-bottom: 8px; font-size: 13px; }
.time-label strong { font: 400 30px/1.15 var(--serif); white-space: nowrap; }
.time-label strong span { font-size: 16px; margin-left: 2px; }
.bar-track { height: 12px; background: #dde2dc; }
.bar { display: block; height: 100%; }
.bar-original { background: #a2aba8; width: 100%; }
.bar-experimental { background: #b98b70; width: 34.452%; }
.bar-revised { background: var(--navy); width: 47.875%; }
.experimental .time-label { color: #855c44; }
.optimized .time-label { color: var(--navy); }
.planter-post .time-comparison figcaption { display: block; margin-top: 20px; border-top: 1px solid #cfd7cf; padding-top: 14px; }
.tradeoff-panel { margin-top: 30px; }
.tradeoff-panel h3 { font: 400 27px/1.3 var(--serif); letter-spacing: -.02em; margin-bottom: 18px; }
.tradeoff-table-wrap { overflow-x: auto; }
.tradeoff-table { font-size: 13px; }
.tradeoff-table tbody th { width: 28%; }
.tradeoff-table tbody td { width: 24%; color: #52636a; }
.tradeoff-table tbody td:last-child { color: var(--navy); }
.tradeoff-panel > p { font-size: 14px; line-height: 1.85; color: #52636a; margin-top: 20px; max-width: 830px; }
.story-split { display: grid; grid-template-columns: .95fr 1fr; gap: 78px; align-items: center; padding: 70px 0; }
.error-frame { height: 480px; }
.error-frame img { object-position: 50% 40%; }
.source-link { display: inline-block; font-size: 12px; margin-top: 10px; }
.narrative-section { padding: 60px 0 64px; border-top: 1px solid var(--line); }
.section-heading h2 { max-width: 700px; }
.screen-frame { height: 340px; }
.screen-frame img { object-position: 50% 49%; }
.details-frame img { object-position: 50% 53%; }
.latest-slices { margin-top: 35px; padding: 28px 32px; background: #e9ece8; border: 1px solid #d8dfd8; }
.latest-slices h3 { font: 400 26px/1.3 var(--serif); letter-spacing: -.02em; }
.slice-cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; margin-top: 24px; }
.slice-cards > div + div { border-left: 1px solid #cdd7cd; padding-left: 30px; }
.slice-cards span { font-size: 11px; color: var(--muted); }
.slice-cards strong { display: block; font: 400 43px/1.25 var(--serif); margin-top: 9px; }
.slice-cards p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.clog-section { border-top: 1px solid var(--line); }
.nozzle-frame { height: 520px; }
.nozzle-frame img { object-position: 50% 48%; }
.followup-section { scroll-margin-top: 30px; }
.planter-post .followup-date { margin: 0 0 14px; color: var(--accent); font-size: 12px; }
.followup-copy { max-width: 820px; }
.followup-copy h3 { margin-top: 32px; font: 400 27px/1.3 var(--serif); letter-spacing: -.02em; }
.followup-copy p { margin-top: 18px; color: #52636a; font-size: 16px; line-height: 1.85; }
.planter-post .followup-photo { max-width: 470px; margin-top: 32px; }
.planter-post .followup-status { max-width: 820px; margin-top: 30px; padding: 20px 24px; border-left: 3px solid var(--navy); background: #e9ece8; color: #52636a; font-size: 14px; line-height: 1.8; }
.followup-status strong { color: var(--ink); }
.next-section { padding: 55px 0 65px; border-top: 1px solid var(--line); }
.next-session-plan { max-width: 820px; margin-top: 35px; padding-top: 27px; border-top: 1px solid var(--line); }
.next-session-plan h3 { font: 400 26px/1.3 var(--serif); letter-spacing: -.02em; }
.next-steps { padding-left: 22px; margin: 18px 0 0; }
.next-steps li { padding: 5px 0 5px 4px; font-size: 14px; color: #52636a; }
.planter-post article > .post-topics { margin-top: 38px; }
.planter-post .article-footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 22px; padding: 22px 0 35px; font-size: 13px; }
.photo-viewer { width: max-content; max-width: 94vw; max-height: 94dvh; padding: 58px 20px 20px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.photo-viewer::backdrop { background: #0d1b25df; }
.photo-viewer > button { position: absolute; right: 12px; top: 6px; min-height: 44px; padding: 8px 12px; border: 0; background: transparent; font: 14px var(--sans); color: var(--ink); cursor: pointer; }
.photo-viewer > img { width: auto; max-width: calc(94vw - 42px); height: auto; max-height: calc(94dvh - 165px); object-fit: contain; margin: auto; }
.photo-viewer > p { max-width: 730px; font-size: 12px; line-height: 1.65; margin: 14px auto 0; }
html:has(.photo-viewer[open]) { overflow: hidden; }
.visually-hidden { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
@media (max-width: 900px) {
  .planter-post .wrap { width: calc(100% - 56px); }
  .hero-grid { gap: 28px; }
  .hero-copy h1 { font-size: 48px; }
  .story-split { gap: 40px; }
  .speed-heading { column-gap: 38px; }
  .screen-frame { height: 300px; }
  .design-study { grid-template-columns: 170px 1fr; gap: 22px; padding: 20px 24px; }
  .design-study > img { width: 170px; height: 160px; }
}
@media (max-width: 650px) {
  .planter-post .wrap { width: calc(100% - 40px); }
  .planter-post .post-meta { padding-top: 24px; font-size: 11px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding: 30px 0 35px; }
  .hero-copy h1 { font-size: clamp(38px, 10.8vw, 52px); }
  .hero-copy .standfirst { font-size: 22px; margin-top: 22px; }
  .hero-copy .intro { font-size: 16px; max-width: none; margin-top: 20px; }
  .material-note { margin-top: 24px; padding-top: 16px; }
  .hero-image-frame { aspect-ratio: 4 / 3; }
  .fit-section { padding: 44px 0; }
  .planter-post article h2 { font-size: 37px; }
  .section-copy h2 br, .section-heading h2 br { display: none; }
  .fit-table { font-size: 12px; }
  .fit-table th, .fit-table td { padding: 11px 7px; }
  .fit-table thead th { font-size: 11px; }
  .two-up, .story-split, .speed-heading { grid-template-columns: minmax(0, 1fr); }
  .photo-grid { margin-top: 28px; }
  .design-study { grid-template-columns: 1fr; gap: 8px; padding: 24px; margin-bottom: 44px !important; }
  .design-study > img { width: 210px; height: 165px; margin: auto; }
  .design-study h3 { font-size: 25px; }
  .speed-section { padding: 42px 0; }
  .speed-heading h2 { max-width: none; }
  .speed-heading > p { margin-top: 22px; }
  .planter-post .time-comparison { margin-top: 26px; padding: 24px 20px; }
  .comparison-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .time-label { font-size: 12px; gap: 12px; }
  .time-label > span { max-width: 170px; }
  .time-label strong { font-size: 26px; }
  .tradeoff-table { min-width: 400px; font-size: 12px; }
  .tradeoff-table th, .tradeoff-table td { padding: 11px 10px; }
  .story-split { gap: 30px; padding: 44px 0; }
  .error-frame { height: 390px; }
  .narrative-section { padding: 44px 0; }
  .latest-slices { padding: 24px 20px; margin-top: 28px; }
  .slice-cards { gap: 17px; }
  .slice-cards > div + div { padding-left: 17px; }
  .slice-cards strong { font-size: 32px; }
  .slice-cards span { font-size: 10px; }
  .nozzle-frame { height: 430px; }
  .next-section { padding: 44px 0; }
  .photo-viewer { max-width: 96vw; padding: 54px 12px 16px; }
  .photo-viewer > img { max-width: calc(96vw - 26px); max-height: calc(94dvh - 195px); }
}
@media (prefers-reduced-motion: no-preference) {
  html:has(.planter-post) { scroll-behavior: smooth; }
}
@media print {
  .planter-post { background: white; }
  .planter-post .wrap { width: 100%; }
  .photo-viewer { display: none !important; }
  .photo-open { cursor: default; }
  .story-split, .narrative-section, .design-study { break-inside: avoid; }
}
