/* Burrly - burrlymill.com. One column, lots of room, the brand green. No web fonts, no scripts, no trackers. */
:root {
  --bone: #B9BCBB;   /* the mill's own body gray (Steve 2026-12-03: darker; #E4E6E5, then #C9CCCB, read too light) */
  --ink: #1F2326;
  --muted: #3A3E3F;  /* 5.7:1 on the gray */
  --green: #26472E;  /* text green: the brand green (#3F6E4A, kept in the logo) deepened to 5.4:1 on the gray */
  --rule: #A5A9A8;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font: 400 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
  flex: 1;
}
a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

.logo { display: block; margin: 0 auto; }
.logo img { display: block; width: 100%; height: auto; }
.home .logo { width: min(22rem, 80vw); margin-top: 6vh; }
.home main { max-width: 48rem; }
.hero { display: block; width: min(30rem, 88vw); height: auto; margin: 0.5rem auto 0; }
.open { display: block; width: min(40rem, 94vw); height: auto; margin: 2.5rem auto 0; }
.page .logo { width: 9rem; margin: 0 0 2.5rem; }

.tagline {
  max-width: none;
  text-align: center;
  color: var(--muted);
  margin: 1.5rem 0 1.5rem;
  letter-spacing: 0.01em;
}
nav.links { text-align: center; font-weight: 600; }
nav.links a { margin: 0 0.9rem; text-decoration: none; }
nav.links a:hover { text-decoration: underline; }

h1 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 1.25rem; letter-spacing: -0.01em; }
h2 { font-size: 1.05rem; margin: 2.25rem 0 0.5rem; color: var(--green); text-transform: uppercase; letter-spacing: 0.08em; }
p, li { max-width: 34rem; }
ol { padding-left: 1.3rem; }
li { margin: 0.45rem 0; }
li::marker { color: var(--green); font-weight: 700; }
.key {
  border-left: 3px solid var(--green);
  padding: 0.6rem 0 0.6rem 1rem;
  margin: 1.5rem 0;
  font-weight: 600;
}
.email { font-size: 1.35rem; font-weight: 700; margin: 1.5rem 0; word-break: break-word; }
.email a { text-decoration: none; }
.email a:hover { text-decoration: underline; }

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 2rem 1.5rem 2.5rem;
}
footer a { color: var(--muted); }

/* the exploded view on the instructions page: the picture on the left, a name beside each piece */
.exploded { position: relative; width: min(32rem, 94vw); margin: 1rem 0 0.5rem; }
.exploded img { display: block; width: 52%; height: auto; }
.exploded .lbl { position: absolute; left: calc(var(--x) * 0.52% + 4%); top: calc(var(--y) * 1%); transform: translateY(-50%);
  max-width: 44%; font-size: 0.92rem; line-height: 1.35; color: var(--muted); padding-left: 0.9rem; border-left: 2px solid var(--green); }
.exploded .lbl b { display: block; color: var(--ink); font-size: 1rem; }

/* label positions from make_exploded.py (burrly-exploded.json); in the stylesheet, not inline: the CSP blocks inline styles */
.lbl-tool { --x: 87.6; --y: 1.4; }
.lbl-lid { --x: 99.8; --y: 23.7; }
.lbl-chamber { --x: 93.9; --y: 57.9; }
.lbl-container { --x: 97.9; --y: 85.2; }
