/* TreePro — field manual. Bone paper, black ink, one green, one red.
   Rules do the work. No shadows, no gradients, no rounded pills. */
*{margin:0;padding:0;box-sizing:border-box}
:root{
  --paper:#FBFAF7; --paper-2:#F3F1EA; --ink:#12140F; --ink-2:#3C4239;
  --mut:#6E766A; --line:#D9D6CB; --line-2:#BDB9AB;
  --grn:#1C6B3C; --grn-lt:#3DBE6E; --red:#B4341C; --amb:#A8720C;
}
html{-webkit-text-size-adjust:100%}
body{background:var(--paper);color:var(--ink);
  font:17px/1.6 ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,sans-serif;
  -webkit-font-smoothing:antialiased;font-feature-settings:"kern","liga"}
.w{max-width:1080px;margin:0 auto;padding:0 28px}
.w-n{max-width:760px;margin:0 auto;padding:0 28px}
a{color:inherit}
img{max-width:100%;height:auto}
.mono{font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;
  font-size:11px;letter-spacing:.15em;text-transform:uppercase;font-weight:500}

/* ── chrome ───────────────────────────────────────────── */
.bar{background:var(--ink);color:var(--paper);font-size:12.5px;padding:7px 0}
.bar .w{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center}
.bar b{color:var(--grn-lt);font-weight:600}
nav{border-bottom:1.5px solid var(--ink);position:sticky;top:0;background:var(--paper);z-index:20}
nav .w{display:flex;align-items:center;justify-content:space-between;height:70px;gap:20px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;flex:none}
.brand svg{width:30px;height:30px;color:var(--ink)}
.brand span{font-size:20px;font-weight:700;letter-spacing:-.035em}
.nl{display:flex;gap:22px;align-items:center}
.nl a{color:var(--ink-2);text-decoration:none;font-size:14.5px;white-space:nowrap}
.nl a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.nl a.cur{color:var(--ink);font-weight:600}
.btn{background:var(--ink);color:var(--paper);padding:11px 20px;text-decoration:none;
  font-weight:600;font-size:15px;display:inline-block;border:1.5px solid var(--ink)}
.btn:hover{background:var(--grn);border-color:var(--grn)}
.btn-o{background:transparent;color:var(--ink);border:1.5px solid var(--ink);
  padding:11px 20px;text-decoration:none;font-weight:600;font-size:15px;display:inline-block}
.btn-o:hover{background:var(--ink);color:var(--paper)}
@media(max-width:860px){.nl a:not(.btn){display:none}}

/* ── type ─────────────────────────────────────────────── */
h1{font-size:clamp(38px,6.4vw,66px);line-height:1.02;letter-spacing:-.04em;font-weight:700}
h2{font-size:clamp(27px,3.6vw,38px);line-height:1.12;letter-spacing:-.03em;font-weight:700}
h3{font-size:20px;line-height:1.25;letter-spacing:-.02em;font-weight:700}
h4{font-size:17px;font-weight:700;letter-spacing:-.01em}
p{margin-bottom:18px}
.big{font-size:21px;line-height:1.5;color:var(--ink-2)}
.lede{font-size:19px;line-height:1.55;color:var(--ink-2);max-width:60ch}
.small{font-size:14.5px;color:var(--mut);line-height:1.55}
em.g{font-style:normal;color:var(--grn)}
strong{font-weight:700}

/* ── sections ─────────────────────────────────────────── */
section{padding:74px 0;border-bottom:1px solid var(--line)}
section.tight{padding:52px 0}
section.dark{background:var(--ink);color:var(--paper);border-bottom:0}
section.dark h2,section.dark h3{color:var(--paper)}
section.dark .lede,section.dark .big{color:#B6BCB0}
section.dark .mono{color:var(--grn-lt)}
section.tone{background:var(--paper-2)}
.eyebrow{display:flex;align-items:center;gap:12px;color:var(--mut);margin-bottom:22px}
.eyebrow::after{content:"";flex:1;height:1px;background:var(--line-2)}
.num{font-family:ui-monospace,Menlo,monospace;color:var(--grn);font-weight:600}

/* ── hero ─────────────────────────────────────────────── */
.hero{padding:86px 0 70px}
.hero h1{max-width:16ch}
.hero .lede{margin:26px 0 34px;font-size:20px}
.cta{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.cta .small{width:100%;margin-top:8px}

/* ── rule lists / specimen tables ─────────────────────── */
.spec{width:100%;border-collapse:collapse;margin-top:26px;font-size:15.5px}
.spec th{text-align:left;font-family:ui-monospace,Menlo,monospace;font-size:10.5px;
  letter-spacing:.13em;text-transform:uppercase;color:var(--mut);font-weight:500;
  padding:0 14px 10px 0;border-bottom:1.5px solid var(--ink)}
.spec td{padding:15px 14px 15px 0;border-bottom:1px solid var(--line);vertical-align:top}
.spec td:first-child{font-weight:650;width:30%}
.spec .mut{color:var(--mut)}

.cols{display:grid;grid-template-columns:repeat(3,1fr);gap:34px;margin-top:38px}
.cols-2{display:grid;grid-template-columns:repeat(2,1fr);gap:46px;margin-top:34px}
.col h3{margin-bottom:9px}
.col p{color:var(--ink-2);font-size:15.5px;margin-bottom:0}
.col .mono{color:var(--grn);margin-bottom:13px;display:block}
@media(max-width:820px){.cols,.cols-2{grid-template-columns:1fr;gap:30px}}

.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
@media(max-width:860px){.split{grid-template-columns:1fr;gap:34px}}

/* ── numbered steps ───────────────────────────────────── */
.steps{margin-top:36px;border-top:1.5px solid var(--ink)}
.step{display:grid;grid-template-columns:62px 1fr;gap:22px;padding:26px 0;
  border-bottom:1px solid var(--line)}
.step .n{font-family:ui-monospace,Menlo,monospace;font-size:26px;font-weight:600;
  color:var(--line-2);line-height:1;padding-top:4px}
.step h3{margin-bottom:8px}
.step p{color:var(--ink-2);margin-bottom:0;font-size:16px}
.step .aside{margin-top:12px;padding-left:15px;border-left:2px solid var(--grn);
  font-size:14.5px;color:var(--mut)}
@media(max-width:620px){.step{grid-template-columns:38px 1fr;gap:14px}.step .n{font-size:19px}}

/* ── callouts ─────────────────────────────────────────── */
.note{border:1.5px solid var(--ink);padding:24px 26px;margin:34px 0}
.note .mono{color:var(--grn);display:block;margin-bottom:11px}
.note p:last-child{margin-bottom:0}
.warn{border-left:3px solid var(--red);background:var(--paper-2);padding:18px 22px;margin:28px 0}
.warn .mono{color:var(--red);display:block;margin-bottom:8px}
.warn p:last-child{margin-bottom:0}

/* ── plain lists ──────────────────────────────────────── */
ul.tick{list-style:none;margin:22px 0}
ul.tick li{padding:11px 0 11px 30px;position:relative;border-bottom:1px solid var(--line);font-size:16px}
ul.tick li::before{content:"";position:absolute;left:2px;top:19px;width:9px;height:9px;
  border:1.5px solid var(--grn);background:var(--grn)}
ul.cross li::before{background:transparent;border-color:var(--red)}
ul.plain{list-style:none;margin:18px 0}
ul.plain li{padding:7px 0 7px 20px;position:relative;color:var(--ink-2);font-size:16px}
ul.plain li::before{content:"—";position:absolute;left:0;color:var(--line-2)}

/* ── footer ───────────────────────────────────────────── */
footer{background:var(--ink);color:#9AA294;padding:58px 0 34px;font-size:14.5px}
footer a{color:#CFD4C9;text-decoration:none}
footer a:hover{color:#fff;text-decoration:underline}
.fgrid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:34px;padding-bottom:36px;
  border-bottom:1px solid #2A2E26}
.fgrid svg{width:34px;height:34px;color:var(--grn-lt);margin-bottom:14px}
.fgrid h5{color:var(--paper);font-size:11px;letter-spacing:.15em;text-transform:uppercase;
  font-family:ui-monospace,Menlo,monospace;font-weight:500;margin-bottom:14px}
.fgrid li{list-style:none;padding:5px 0}
.fbot{padding-top:24px;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;font-size:13px}
@media(max-width:960px){.fgrid{grid-template-columns:1fr 1fr;gap:30px}}
@media(max-width:600px){.fgrid{grid-template-columns:1fr;gap:26px}}

/* ── misc ─────────────────────────────────────────────── */
.kicker{font-size:15px;color:var(--mut);margin-top:14px}
.hr-h{height:1.5px;background:var(--ink);margin:0}
figure{margin:34px 0}
figcaption{font-size:14px;color:var(--mut);margin-top:12px;padding-left:15px;
  border-left:2px solid var(--line-2)}
.diag{width:100%;height:auto;display:block;border:1px solid var(--line);background:#fff}

/* ── fixes found in review ────────────────────────────── */
/* .nl a (0,2,0) was beating .btn (0,1,0), so the nav CTA rendered
   dark ink on a near-black ground. Raise the button inside the nav. */
.nl a.btn{color:var(--paper)}
.nl a.btn:hover{color:var(--paper);text-decoration:none}
/* Two-column spec tables were wrapping the label column to three lines. */
.spec td:first-child{width:42%}
.split .spec td:first-child{width:46%}
/* Checklist markers on the dark ground need to carry, not recede. */
section.dark ul.tick li{border-bottom-color:#2A2E26}
section.dark ul.tick li::before{border-color:var(--grn-lt);background:var(--grn-lt)}
section.dark ul.cross li::before{background:transparent;border-color:#E0674B}
section.dark ul.tick li strong{color:var(--paper)}
/* Long right-hand lists were centring against a short left column. */
section.dark .split{align-items:start}

/* ── plates & product shots ───────────────────────────── */
.plate{margin:40px 0}
.plate img{width:100%;height:auto;display:block;border:1.5px solid var(--ink);background:#fff}
.plate figcaption{font-size:14px;color:var(--mut);margin-top:12px;padding-left:15px;
  border-left:2px solid var(--line-2);max-width:66ch}
section.dark .plate img{border-color:#2A2E26}
section.dark .plate figcaption{color:#8A9382;border-left-color:#2A2E26}

.shot{margin:38px 0}
.shot .chrome{border:1.5px solid var(--ink);background:var(--ink);padding:9px 12px;
  display:flex;align-items:center;gap:7px}
.shot .chrome i{width:9px;height:9px;border-radius:50%;background:#4A5147;font-style:normal}
.shot .chrome span{margin-left:8px;font-family:ui-monospace,Menlo,monospace;font-size:10.5px;
  color:#8A9382;letter-spacing:.09em}
.shot img{width:100%;height:auto;display:block;border:1.5px solid var(--ink);border-top:0}
.shot figcaption{font-size:14px;color:var(--mut);margin-top:12px;padding-left:15px;
  border-left:2px solid var(--line-2);max-width:66ch}
.shots-2{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:34px}
@media(max-width:860px){.shots-2{grid-template-columns:1fr}}

/* The narrow-column hero sat on both its own bottom padding and the next
   section's top padding, leaving a dead band on every field-guide page. */
.hero{padding-bottom:44px}
.hero + section{padding-top:56px}
@media(max-width:1080px){.nl{gap:16px}.nl a{font-size:14px}}
@media(max-width:1000px){.nl a[data-p="office"],.nl a[data-p="site"]{display:none}}

/* ── hero: two columns, because the right 40% was empty ─────────────────
   The pitch is "it reads the photo the homeowner sends and knows what it's
   looking at." That claim was being made in prose next to a blank half-screen
   while the only proof of it sat nine hundred pixels down the page. These are
   real screenshots of the running intake, not a mockup — which is the only
   kind of product shot this site is allowed to use. */
.hero-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,470px);gap:56px;
  align-items:center}
.hero-2>*,.plate-2>*{min-width:0}
/* The stock h1 ramp is tuned for a full-width hero. In two columns it wrapped
   to five lines and pushed the product shot out of the first screen. */
.hero-2 .hero-copy h1{font-size:clamp(34px,4.5vw,56px);max-width:14ch}
.hero-2 .hero-copy .lede{max-width:48ch;font-size:18.5px}

/* Two phones, offset, the front one overlapping. The back is the question,
   the front is the answer — the product in two frames, no caption needed. */
.phones{position:relative;height:486px}  /* 34px offset + 224*2 frame + border */
.phone{position:absolute;top:0;width:224px;border:1.5px solid var(--ink);
  background:var(--paper);overflow:hidden}
.phone img{width:100%;height:auto;display:block}
.phone.back{left:0;transform:rotate(-2.5deg)}
/* The paper ring separates the two frames without a shadow, which the brand
   does not use. */
.phone.front{left:186px;top:34px;box-shadow:-9px 0 0 0 var(--paper),-10.5px 0 0 0 var(--ink)}
.phone-note{display:block;margin-top:18px;font-family:ui-monospace,Menlo,monospace;
  font-size:10.5px;letter-spacing:.11em;text-transform:uppercase;color:var(--mut)}
.phone-note b{color:var(--grn);font-weight:500}

@media(max-width:1100px){
  .hero-2{grid-template-columns:1fr;gap:38px}
  .hero-2 .hero-copy h1{max-width:16ch}
  .phones{max-width:430px}
}
/* On a phone the two frames sat 176px wide with the front one 146px across,
   an 83% overlap: the back frame was almost entirely hidden and the pair read
   as broken rectangles rather than as a question and its answer. Narrower and
   set side by side, they keep the story and stay legible. */
@media(max-width:560px){
  .phone{width:152px}
  .phone.back{left:0;transform:rotate(-2deg)}
  .phone.front{left:170px;top:26px;box-shadow:-7px 0 0 0 var(--paper),-8.5px 0 0 0 var(--ink)}
  .phones{height:334px}  /* 26 offset + 152*2 frame + border */
  .phone-note{margin-top:14px;font-size:9.5px;letter-spacing:.08em}
}

/* ── the smallest screens people still carry ────────────────────────────
   The two phone mockups are absolutely positioned, so nothing about them
   responds to the container: at 152px each with the front one offset 170px,
   the pair needs 322px of content box. A 320px viewport gives 264px after the
   gutters, so the homepage scrolled sideways by 30px — on an SE and on a
   folded Android, and nowhere else. Absolute positioning is why no amount of
   max-width:100% helps; the widths have to come down by hand.

   The breakpoint is 384px rather than a round 400 because the arithmetic has an
   exact answer: the pair needs 322px, and viewport - 56px of gutter clears that
   from 378px up. So 320, 360 and 375 (an SE 2/3, still everywhere) all need the
   smaller phones and 390 does not — and the mockup is the hero image, so it
   keeps its size wherever it fits. */
@media(max-width:384px){
  .phone{width:120px}
  .phone.front{left:132px;top:22px;box-shadow:-6px 0 0 0 var(--paper),-7.5px 0 0 0 var(--ink)}
  .phones{height:266px}  /* 22 offset + 120*2 frame + border */
}

/* ── phone-width hero: it was ~1600px tall before the first button ──────
   Three things stacked up on a 390px screen. The announcement bar wrapped to
   two lines and ate 140px of the first screen. The hero kept its desktop
   86px top padding, adding another 150px of nothing. And the lede stayed at
   18.5px, which is a six-word line at this width, so two paragraphs ran to
   fourteen lines. None of it is visible on a laptop, which is why it shipped. */
@media(max-width:700px){
  .bar{font-size:12px;padding:6px 0}
  .bar .w{gap:6px 14px}
  /* One announcement is enough on a phone. The intake link stays because it
     is the thing worth tapping; the build log is in the nav and the footer. */
  .bar .w > span:first-child{display:none}
  .hero{padding-top:34px}
  .hero-2{gap:30px}
  .hero-2 .hero-copy h1{font-size:clamp(30px,8.2vw,40px);line-height:1.06;max-width:none}
  .hero-2 .hero-copy .lede{font-size:16.5px;line-height:1.5}
  .hero .cta{margin-top:4px}
  .hero .btn,.hero .btn-o{flex:1 1 auto;text-align:center}
}

/* The mark lost its rings at nav size: three circles at .55 and .3 opacity
   read as one soft blur, and the felling notch turned the whole thing into a
   spiral. Slightly larger, and the rings hold their own weight. */
.brand svg{width:34px;height:34px}

/* ── plate band: the drawings earn a full section ──────────────────────
   Three field plates were drawn for this site and all three lived on interior
   pages, while the homepage ran eight sections of heading-plus-column with a
   single tonal break in five thousand pixels. The art is the most distinctive
   thing here and it was the least visible. */
.plate-band{background:var(--ink);color:var(--paper);border-bottom:0;padding:72px 0}
.plate-band h2{color:var(--paper)}
.plate-band .big{color:#C6CCBE}
.plate-band p{color:#A8B0A0}
.plate-band .eyebrow{color:#8A9382}
.plate-band em.g{color:var(--grn-lt);font-style:normal}
.plate-2{display:grid;grid-template-columns:minmax(0,620px) minmax(0,1fr);gap:52px;align-items:center}
/* The plates are drawn in ink on paper. On the dark ground they need their own
   paper card rather than an invert, which would break the hairline weights. */
.plate-art{background:var(--paper);border:1.5px solid var(--ink);padding:18px}
.plate-art img{width:100%;height:auto;display:block}
@media(max-width:940px){
  .plate-2{grid-template-columns:1fr;gap:32px}
  .plate-band{padding:56px 0}
}

/* Alternate the plate band so two art sections do not read as one template. */
.plate-2.flip{grid-template-columns:minmax(0,1fr) minmax(0,640px)}
/* In a half-width column the stock h2 ramp wraps to five lines and the body
   to eight-word measures. */
.plate-2 h2{font-size:clamp(25px,2.5vw,33px)}
.plate-2 .big{font-size:19px}
/* The plates carry their own paper background, so on the tone ground an
   unframed one reads as an accidental white rectangle. Framed, it reads as a
   plate mounted on the page — which is what it is. */
.plate-art.light{background:var(--paper);border:1.5px solid var(--ink);padding:18px}
.lnk{color:var(--grn-dk,var(--grn));border-bottom:2px solid var(--grn);text-decoration:none;
  font-weight:600}
.lnk:hover{background:var(--grn);color:var(--paper)}
@media(max-width:940px){
  .plate-2.flip{grid-template-columns:1fr}
  /* Art first on a phone for the flipped band, so the section still opens on
     the drawing rather than on four paragraphs. */
  .plate-2.flip .plate-copy{order:2}
  .plate-2.flip .plate-art{order:1}
  .plate-art.light{padding:14px}
}

/* A plate that carries a whole argument gets the full measure, not a column. */
.plate-full{margin:0}
.plate-full img{width:100%;height:auto;display:block;border:1.5px solid var(--ink);
  background:var(--paper)}
.plate-full figcaption{font-size:14px;color:var(--mut);margin-top:14px;padding-left:15px;
  border-left:2px solid var(--line-2);max-width:72ch;line-height:1.55}

/* ── wide plates on a narrow screen ─────────────────────────────────────
   The plates are drawn on an 880-unit canvas with 10.5px labels. Scaled to
   fit a 334px column that label renders about four pixels tall, which is not
   small — it is gone. Measured, not guessed.

   So below the threshold they stop shrinking and start scrolling. A diagram
   the reader swipes is worth something; a diagram nobody can read is a
   decorative rectangle that costs bandwidth. The rule is set on the
   CONTAINER, not the image, so the caption stays full width and readable. */
@media(max-width:820px){
  .plate-scroll{width:100%;max-width:100%;min-width:0;overflow-x:auto;
    -webkit-overflow-scrolling:touch;border:1.5px solid var(--ink);background:var(--paper)}
  .plate-scroll img{width:700px;max-width:none;min-width:0;border:0}
  .plate-full img{border:0}
  .plate-hint{display:flex;align-items:center;gap:8px;margin-top:10px;
    font-family:ui-monospace,Menlo,monospace;font-size:10.5px;letter-spacing:.1em;
    text-transform:uppercase;color:var(--mut)}
  .plate-hint:before{content:"";width:22px;height:1.5px;background:var(--line-2)}
  /* The homepage bands hold the same drawings and need the same treatment. */
  .plate-art{padding:0;width:100%;max-width:100%;min-width:0;overflow-x:auto;
    -webkit-overflow-scrolling:touch}
  .plate-art img{width:700px;max-width:none;min-width:0}
}
@media(min-width:821px){ .plate-hint{display:none} }

/* ══ MOBILE SCALE ═══════════════════════════════════════════════════════
   Measured, not guessed: the homepage rendered 12,141px tall at 390px —
   fourteen and a half screens — against 7,216px at 1440. It was 68% TALLER
   on the smaller device, and every one of the eight sections was itself
   taller than the screen.

   The cause was that this stylesheet had no mobile scale at all. Type,
   leading, paragraph spacing and section padding were authored once at
   desktop, and the only responsive work anywhere was grids collapsing to one
   column. So a phone got 74px of section padding top and bottom (900px of
   pure whitespace across the page), 21px pull quotes, 19px ledes, and a
   four-block footer tower.

   Nothing below hides content. It sets a scale for the screen it is on. */
@media(max-width:700px){
  body{font-size:16px;line-height:1.55}

  /* 74px above and below on a 844px screen is a tenth of the viewport spent
     on nothing, eight times over. */
  section{padding:44px 0}
  section.tight{padding:38px 0}
  .plate-band{padding:44px 0}
  .hero+section{padding-top:38px}

  h2{font-size:clamp(23px,5.9vw,27px);line-height:1.16}
  h3{font-size:17px;line-height:1.3}
  .big{font-size:17.5px;line-height:1.5}
  .lede{font-size:16.5px;line-height:1.5}
  .small{font-size:13.5px}
  p{margin-bottom:14px}
  .eyebrow{margin-bottom:14px;gap:10px}

  /* The step list is the tallest block on the page. */
  .steps{margin-top:26px}
  .step{padding:20px 0}
  .aside{margin-top:10px;padding:10px 12px}

  .cols{gap:24px;margin-top:26px}
  .cols-2{gap:26px;margin-top:24px}
  .split{gap:26px}
  .spec{font-size:14px;margin-top:20px}
  .spec td,.spec th{padding-top:9px;padding-bottom:9px}
  .plate-2{gap:24px}
  .plate-full figcaption,.shot figcaption{font-size:13.5px;margin-top:10px}

  /* The footer stacked to four full-width blocks and ran to 921px against
     371px on desktop — longer than most of the sections above it. */
  footer{padding:36px 0 26px;font-size:13.5px}
  .fgrid{gap:24px 20px;padding-bottom:24px}
  .fgrid li{padding:3px 0}
  .fgrid svg{width:28px;height:28px;margin-bottom:10px}
  .fbot{font-size:12px}
}

/* Two columns rather than one: four stacked link lists is a tower, and these
   lists are three to five short items each. */
@media(max-width:600px){
  .fgrid{grid-template-columns:1fr 1fr}
  .fgrid>:first-child{grid-column:1 / -1}
}
