:root {
  color-scheme: light;
  --paper: #f8f4e8;
  --ink: #283226;
  --green: #304b37;
  --line: #ded8c4;
  --muted: #585e50;
  font: 1rem/1.6 system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: var(--green); text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #825b22;
  outline-offset: 3px;
}
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: #fffdf6; }
.header-inner, .header-inner nav, .footer { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.header-inner, .footer { justify-content: space-between; padding-block: 1rem; }
.brand { font-weight: 750; text-decoration: none; }
.header-inner nav { font-size: .9rem; }
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(1.5rem, 5vw, 4.5rem); padding-block: clamp(2rem, 7vw, 5.5rem); }
.eyebrow { margin: 0 0 .7rem; color: #70531d; font-size: .82rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: Georgia, serif; font-weight: 500; line-height: 1.04; letter-spacing: -.04em; }
h1 { font-size: clamp(3rem, 7vw, 5.8rem); max-width: 10ch; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.lede { max-width: 35ch; margin-block: 1.25rem 1.6rem; color: var(--muted); font-size: 1.125rem; }
.button { display: inline-flex; min-height: 44px; align-items: center; padding: .6rem 1rem; border: 0; border-radius: .35rem; background: var(--green); color: #fff; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.button:hover { background: #223b2a; }
.button:disabled { cursor: default; opacity: .6; }
figure { position: relative; margin: 0; overflow: hidden; border-radius: .75rem; background: #e7dcc1; }
figure img { display: block; width: 100%; height: auto; }
figcaption { position: absolute; right: .6rem; bottom: .6rem; padding: .18rem .48rem; border-radius: .2rem; background: #25231de8; color: white; font-size: .75rem; }
.journal { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); padding-block: 2rem 3rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.guide ol { padding-left: 1.25rem; }
.guide li + li { margin-top: .5rem; }
.guide p, .status, .footer { color: var(--muted); font-size: .9rem; }
.sheet { padding: clamp(1rem, 3vw, 1.75rem); border: 1px solid var(--line); border-radius: .65rem; background: #fffdf6; }
.measurements { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
label { display: grid; gap: .35rem; margin-bottom: 1rem; font-weight: 650; }
input, textarea { width: 100%; min-width: 0; padding: .55rem .65rem; border: 1px solid #aeb19e; border-radius: .3rem; background: white; color: var(--ink); font: inherit; }
textarea { resize: vertical; }
.status { min-height: 1.5em; margin: .6rem 0 0; }
.footer { border-top: 1px solid var(--line); margin-bottom: 1rem; }
.footer p { margin: 0; }
@media (max-width: 680px) {
  .hero, .journal { grid-template-columns: 1fr; }
}
