/* Burrly - burrlymill.com. One column, lots of room, the brand green. No web fonts, no scripts, no trackers. */
:root {
  /* Charcoal site (Steve, 2026-12-03): the mill's renders are its own light gray, so they need a dark page to stand
     out (on the gray page they blended in). The logo keeps the mill gray, as a chamfered plate (burrly-logo-plate.svg).
     Contrast on the charcoal: ink 11.9:1, muted 7.8:1, green 7.9:1. */
  --bone: #24282A;   /* the page (the name is from the gray days: it is the background) */
  --ink: #E4E6E5;
  --muted: #B9BCBB;  /* the mill's own gray */
  --green: #9CC7A6;  /* text green: the brand green (#3F6E4A, kept in the logo) lightened for the dark page */
  --rule: #4A4F51;
}
* { 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(21rem, 78vw); margin: 0.5rem auto 0; }   /* the apart-and-back animation (tall) */
.hero img { display: block; width: 100%; height: auto; }
.open { display: block; width: min(40rem, 94vw); height: auto; margin: 2.5rem auto 0; }
.page .logo { width: 10.5rem; margin: 0 0 2.5rem; }   /* the plate logo (its gray margin makes it wider) */

.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: #3F6E4A; font-weight: 600; font-size: 1.0625rem; }   /* every footer link (Burrly, How to contact us): the official green, the size and weight of the top links (Steve, 2026-12-03) */

/* 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; }

/* step-by-step pages (instructions, care): a picture beside each step, numbered in green; stacked on narrow screens.
   The pictures are animated WebP; people who ask for reduced motion get the still frame (<picture> media query). */
.how main { max-width: 46rem; }
.steps { list-style: none; padding: 0; margin: 1rem 0 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: minmax(0, 16rem) 1fr; gap: 1.5rem; align-items: center;
  max-width: none; margin: 0 0 1.75rem; }
.steps li img { display: block; width: 100%; height: auto; }
.steps li p { margin: 0; font-size: 1.1rem; line-height: 1.5; }
.steps li p::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem;
  margin-right: 0.6rem; border-radius: 50%; background: var(--green); color: var(--bone); font-weight: 700; font-size: 0.95rem; vertical-align: 0.1em; }
.steps li small { display: block; margin-top: 0.35rem; color: var(--muted); font-size: 0.95rem; }
.steps.cont { counter-reset: none; }
.next { font-weight: 600; margin-top: 2.5rem; }
@media (max-width: 34rem) {
  .steps li { grid-template-columns: 1fr; gap: 0.5rem; }
  .steps li img { width: min(18rem, 80vw); margin: 0 auto; }
}

/* the home page's three links: one per line on phones (Steve 2026-12-03) */
@media (max-width: 34rem) {
  nav.links a { display: block; margin: 0.55rem 0; }
}
