/* ================================================================
   BUCKEYE FORESTRY LLC — "The Tally Sheet", light edition
   A light page where black does the structural work — solid black
   bands anchoring the scroll — with dark green as the accent and a
   pale green wash for the alternating sections.
   ================================================================ */

:root {
    /* Light grounds */
    --paper:   #F5F6F2;   /* page */
    --paper-2: #E9EDE6;   /* pale green wash, alternating sections */
    --paper-3: #FFFFFF;   /* cards and panels lift off the page */
    --pale:    #D5E3D8;   /* light green tint for highlights */

    /* Black — softened, with a hint of green so it sits with the accent */
    --ink:   #151815;     /* 16.5:1 on paper */
    --ink-2: #4C524B;     /* secondary text, 7.4:1 on paper */

    /* Dark green — the accent */
    --green:     #1E5236; /* 8.4:1 on paper */
    --green-2:   #2C7049; /* hover */
    --green-lit: #8FC5A2; /* legible green on the black bands */

    --line:   rgba(21, 24, 21, 0.14);
    --line-2: rgba(21, 24, 21, 0.30);
    --line-d: rgba(245, 246, 242, 0.20);   /* on black */

    --f-display: "Newsreader", Georgia, "Times New Roman", serif;
    --f-body:    "Archivo", "Helvetica Neue", Arial, sans-serif;

    /* Type scale, in rem against the 19px root. Nothing that carries meaning
       sits below ~16px; only the logo's "LLC" goes smaller. */
    --t-xs:   0.85rem;    /* 16.2px */
    --t-sm:   0.95rem;    /* 18.1px */
    --t-base: 1rem;       /* 19px   */
    --t-md:   1.21rem;    /* 23.0px */
    --t-lg:   1.5rem;     /* 28.5px */
    --t-xl:   2rem;       /* 38.0px */
    --t-2xl:  2.7rem;     /* 51.3px */

    --r-sm: 4px;
    --r:    8px;
    --r-lg: 10px;

    --gutter: clamp(1.25rem, 4vw, 3.5rem);
    --max:    1280px;
    --max-text: 66ch;

    --dur:  0.25s;
    --ease: cubic-bezier(0.2, 0.7, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

/* 118.75% of the user's own default = 19px for most people, while still
   respecting anyone who has changed their browser's base text size. */
html {
    font-size: 118.75%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--f-body);
    font-size: 1rem;
    line-height: 1.62;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; height: auto; }
/* The hidden attribute must beat any display rule an element also carries */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

.tally, .tally-row, .figure, table, .spec { font-variant-numeric: tabular-nums; }

::selection { background: var(--green); color: #fff; }

:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 3px;
    border-radius: var(--r-sm);
}

.skip-link {
    position: absolute; left: -9999px;
    background: var(--ink); color: var(--paper);
    padding: 0.75rem 1.25rem; z-index: 9999; font-weight: 700;
    border-radius: var(--r-sm);
}
.skip-link:focus { left: 1rem; top: 1rem; }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------
   Typography
   --------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--f-display);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.015em;
    font-optical-sizing: auto;
    text-wrap: balance;
    color: var(--ink);
}

h1 {
    font-size: clamp(2.4rem, 5.2vw, 3.9rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.022em;
}
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); letter-spacing: -0.018em; line-height: 1.06; }
h3 { font-size: var(--t-lg); font-weight: 500; }
h4 { font-size: var(--t-md); }

p { text-wrap: pretty; }

.lede {
    font-size: clamp(1.1rem, 2.1vw, var(--t-md));
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 56ch;
}

.prose { max-width: var(--max-text); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.9em; }
.prose p { color: var(--ink-2); }
.prose a:not(.btn) {
    color: var(--green);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}
.prose a:not(.btn):hover { color: var(--ink); }
.prose strong { font-weight: 700; color: var(--ink); }
.prose ul li {
    position: relative;
    padding-left: 1.7rem;
    margin-top: 0.6em;
    color: var(--ink-2);
}
/* A painted slash, the way a tallied tree is marked */
.prose ul li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.62em;
    width: 0.85rem; height: 3px;
    background: var(--green);
    transform: skewX(-24deg);
    border-radius: 1px;
}

/* ---------------------------------------------------------------
   Layout
   --------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.container-narrow { max-width: 880px; }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section-alt { background: var(--paper-2); }

/* The heavy sections are solid black — they anchor the scroll */
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--paper); }
.section-dark .lede,
.section-dark .prose p,
.section-dark .prose ul li { color: rgba(245, 246, 242, 0.80); }
.section-dark .prose strong { color: var(--paper); }
.section-dark .prose a:not(.btn) { color: var(--green-lit); }
.section-dark .prose a:not(.btn):hover { color: #fff; }
.section-dark .prose ul li::before { background: var(--green-lit); }

.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head .lede { margin-top: 1rem; }

.grid-2 { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); }
.grid-3 { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 800px)  { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px)  { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------
   Buttons — solid dark green means "do this", and nothing else does
   --------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--f-display);
    font-size: var(--t-md);
    font-weight: 600;
    line-height: 1.15;
    padding: 0.95rem 1.7rem;
    background: var(--green);
    color: #fff;
    border: 2px solid var(--green);
    border-radius: var(--r-sm);
    transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover { background: var(--green-2); border-color: var(--green-2); }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.section-dark .btn-ghost { color: var(--paper); border-color: var(--line-d); }
.section-dark .btn-ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.btn-sm { font-size: var(--t-base); padding: 0.68rem 1.2rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* ---------------------------------------------------------------
   Header
   --------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.site-header::after {
    content: "";
    display: block;
    height: 3px;
    background: var(--green);
}

.topbar { background: var(--ink); color: var(--paper); }
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 42px;
    font-size: 0.85rem;
}
.topbar-facts {
    display: flex; flex-wrap: nowrap; white-space: nowrap;
    flex: 0 1 auto; min-width: 0; overflow: hidden;   /* clip before it can push the page wider */
    color: rgba(245, 246, 242, 0.82);
}
.topbar-facts li { display: flex; align-items: center; }
.topbar-facts a { color: inherit; padding-block: 0.6rem; }   /* same tap height as the phone */
.topbar-facts a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar-facts li + li::before {
    content: "";
    display: inline-block;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--green-lit);
    margin: 0 0.85rem;
}
.topbar-contact { display: flex; align-items: center; gap: 1.6rem; white-space: nowrap; }
.topbar-contact a { color: rgba(245, 246, 242, 0.82); }
.topbar-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar-phone {
    display: inline-flex; align-items: baseline; gap: 0.5rem;
    padding: 0.6rem 0;
    font-family: var(--f-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--paper) !important;
}
.topbar-call { font-family: var(--f-body); font-size: 0.8rem; font-weight: 600; color: var(--green-lit); letter-spacing: 0.04em; }
@media (max-width: 900px) {
    .topbar-facts li:nth-child(2), .topbar-contact a:not(.topbar-phone) { display: none; }
}
@media (max-width: 480px) { .topbar-facts { display: none; } .topbar-inner { justify-content: center; } }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 132px;   /* room for the badge at a size where its lettering reads */
    box-sizing: border-box;
    transition: padding-top var(--dur) var(--ease);
}
.brand { display: block; flex-shrink: 0; }
.brand .badge { display: block; width: auto; height: 108px; transition: height var(--dur) var(--ease); }
/* Once the reader has scrolled, the bar gives the page its screen back.
   The header's in-flow box never changes size: it slides up 52px behind the
   viewport edge and its contents re-centre in the 80px that stay visible.
   A height change here would shift the whole page under the reader, fight
   scroll anchoring, and move anchor targets after they landed. */
.site-header { transition: top var(--dur) var(--ease); }
.site-header.is-compact { top: -52px; }
.site-header.is-compact .header-inner { padding-top: 52px; }
.site-header.is-compact .brand .badge { height: 62px; }

/* Anything jumped to by anchor clears the sticky header */
[id] { scroll-margin-top: 100px; }
.footer-brand .badge { height: 140px; width: auto; }

/* Lockup — the badge logo loses its knockout linework below ~200px,
   so the header pairs a solid Ohio silhouette with type. */
.lockup { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.lockup .ohio { width: 42px; color: var(--ink); flex-shrink: 0; }
.lockup .ohio svg { width: 100%; height: auto; display: block; }
.lockup .word {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 1.28rem;
    line-height: 0.96;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.lockup .word .llc {
    display: block;
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    color: var(--green);
    margin-top: 0.3rem;
}

.main-nav ul { display: flex; align-items: center; gap: clamp(0.9rem, 1.7vw, 1.6rem); }
.main-nav a {
    font-size: var(--t-sm);
    font-weight: 600;
    color: var(--ink-2);
    white-space: nowrap;      /* a menu item never stacks its words; the nav collapses instead */
    padding-block: 0.4rem;
    border-bottom: 2px solid transparent;
    transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.main-nav a:hover { color: var(--green); border-bottom-color: var(--green); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: var(--ink); border-bottom-color: var(--green); }

.header-cta { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
@media (min-width: 1241px) { .header-phone { display: none; } }
@media (max-width: 1240px) { .header-walk  { display: none; } }

.nav-toggle {
    display: none;
    width: 48px; height: 48px;
    align-items: center; justify-content: center;
    border: 1px solid var(--line-2);
    border-radius: var(--r-sm);
}
.nav-toggle .bars {
    display: block; position: relative;
    width: 21px; height: 2px; background: var(--ink);
    border-radius: 2px;
    transition: background var(--dur) var(--ease);
}
.nav-toggle .bars::before, .nav-toggle .bars::after {
    content: ""; position: absolute; left: 0;
    width: 21px; height: 2px; background: var(--ink);
    border-radius: 2px;
    transition: transform var(--dur) var(--ease);
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1240px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--paper);
        border-bottom: 3px solid var(--green);
        box-shadow: 0 22px 36px -22px rgba(21, 24, 21, 0.45);
        display: none;
    }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0 1rem; }
    .main-nav li { border-top: 1px solid var(--line); }
    .main-nav li:first-child { border-top: 0; }
    .main-nav a {
        display: block;
        padding: 1rem var(--gutter);
        font-size: var(--t-base);
        color: var(--ink);
        border-bottom: 0;
        border-left: 3px solid transparent;
    }
    .main-nav a:hover { border-bottom: 0; border-left-color: var(--green); background: var(--paper-2); }
    .main-nav .current-menu-item > a,
    .main-nav .current_page_item > a { border-left-color: var(--green); }
}

@media (max-width: 760px) {
    .header-inner { min-height: 96px; } .brand .badge { height: 76px; }
    .site-header.is-compact { top: -16px; } .site-header.is-compact .header-inner { padding-top: 16px; }
}
@media (max-width: 440px) {
    .header-cta .btn { font-size: 0.85rem; padding: 0.58rem 0.75rem; }
    .header-cta { gap: 0.55rem; }
    .header-inner { min-height: 84px; }
    .brand .badge { height: 64px; }
    .site-header.is-compact { top: -4px; } .site-header.is-compact .header-inner { padding-top: 4px; }
}

/* Small phones: the Ohio mark carries the identity on its own so the full
   phone number — the thing people came to tap — keeps its place. */
@media (max-width: 380px) {
    :root { --gutter: 1rem; }
    .header-inner { gap: 0.7rem; min-height: 68px; }
    .header-cta { gap: 0.4rem; }
    .header-cta .btn { font-size: 0.8rem; padding: 0.55rem 0.65rem; }
    .nav-toggle { width: 44px; height: 44px; }
    .brand .badge { height: 58px; }
}

/* ---------------------------------------------------------------
   Hero — the headline sits on the photograph, over its darkened left
   half; the forester's markup sits on the right, where the logs are.
   --------------------------------------------------------------- */
.hero { background: var(--ink); }

.plate-frame {
    position: relative;
    aspect-ratio: 1000 / 478;
    overflow: clip;                  /* clip, not hidden: lets the frame grow when the copy is taller than the ratio */
    background: var(--ink);          /* legible even if the image never arrives */
    color: var(--paper);
}
.plate-frame > picture, .plate-frame > picture img { display: block; width: 100%; height: 100%; }
.plate-frame > picture { position: absolute; inset: 0; }
.plate-frame > picture img { object-fit: cover; object-position: center 60%; }
/* Darken the left for the copy, and the foot for the tag; leave the deck clear */
.plate-frame::after {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(21, 24, 21, 0.90) 0%, rgba(21, 24, 21, 0.78) 34%, rgba(21, 24, 21, 0.28) 56%, rgba(21, 24, 21, 0.05) 78%),
        linear-gradient(0deg,  rgba(21, 24, 21, 0.55) 0%, rgba(21, 24, 21, 0) 32%);
    pointer-events: none;
}

/* Some photographs carry their subject on the left. `bf_hero_image()` can then
   ask for the copy on the right: the scrim mirrors and the copy block starts
   past the middle of the frame. Phones are unaffected (copy sits at the foot). */
@media (min-width: 1024px) {
    .hero-copy-right .plate-frame::after {
        background:
            linear-gradient(270deg, rgba(21, 24, 21, 0.92) 0%, rgba(21, 24, 21, 0.88) 46%, rgba(21, 24, 21, 0.70) 54%, rgba(21, 24, 21, 0.22) 66%, rgba(21, 24, 21, 0.04) 78%),
            linear-gradient(0deg,  rgba(21, 24, 21, 0.55) 0%, rgba(21, 24, 21, 0) 32%);
    }
    .hero-copy-right .hero-copy > * { margin-left: 46%; }   /* % of the copy block, not of the frame */
    .hero-copy-right .hero-copy .lede { max-width: 44ch; }
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    height: auto;                    /* grows past the frame's ratio when the copy needs it */
    padding-block: clamp(2.5rem, 5vw, 4rem);
}
.hero-copy h1 { color: #fff; max-width: 15ch; margin-bottom: 1.15rem; }
.hero-copy .lede { color: rgba(245, 246, 242, 0.86); max-width: 46ch; margin-bottom: 1.8rem; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.hero-copy .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.hero-copy .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }

.plate-leaders { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.plate-leaders .leader { stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: 0.92; }
.plate-leaders .ring   { fill: none; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }

.plate-chip {
    position: absolute; z-index: 2;
    display: flex; align-items: baseline; gap: 0.5rem;
    white-space: nowrap;
    background: var(--ink);
    color: var(--paper);
    padding: 0.42rem 0.75rem;
    border-radius: var(--r-sm);
    box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.7);
}
.plate-chip .sp  { font-family: var(--f-display); font-weight: 600; font-size: 0.95rem; }
.plate-chip .dim { font-size: 0.85rem; color: var(--green-lit); font-variant-numeric: tabular-nums; }

.plate-tag {
    position: absolute; z-index: 2;
    right: 0; bottom: 0;
    background: var(--green);
    color: #fff;
    font-size: var(--t-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.5rem 0.9rem;
    border-top-left-radius: var(--r-sm);
}

/* Trust strip — the proof points, as a ruled row under the photograph */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--paper);
}
.trust-strip li {
    display: flex; flex-direction: column; gap: 0.15rem;
    padding: 1.25rem 1.25rem 1.25rem 0;
    border-bottom: 1px solid var(--line);
}
.trust-strip li + li { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.trust-strip .k { font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.06em; color: var(--green); }
.trust-strip .v { font-family: var(--f-display); font-size: var(--t-md); font-weight: 500; color: var(--ink); }
.hero .trust-strip { background: var(--paper); }
.hero { background: var(--paper); }
.hero .plate-frame { background: var(--ink); }

@media (max-width: 1023px) {
    /* Frame grows for the text; the markup would drift off its logs, so it goes */
    .plate-frame { aspect-ratio: auto; min-height: 540px; }
    .plate-leaders, .plate-chip, .plate-tag { display: none; }
    .plate-frame::after {
        background: linear-gradient(180deg, rgba(21, 24, 21, 0.55) 0%, rgba(21, 24, 21, 0.82) 100%);
    }
    .hero-copy h1 { max-width: 18ch; }
    .hero-copy .lede { max-width: 56ch; }
    .trust-strip { grid-template-columns: repeat(2, 1fr); }
    .trust-strip li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 480px) {
    .plate-frame { min-height: 520px; }
    .trust-strip { grid-template-columns: 1fr; }
    .trust-strip li { padding-left: 0 !important; border-left: 0 !important; }
}

/* --- What we buy: a ruled sheet, not a nav strip -------------------- */
.tally-band {
    background: var(--ink);
    color: var(--paper);
    padding-block: clamp(2rem, 4vw, 3rem);
}
.band-top {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 2rem;
    padding-bottom: 1rem;
}
.band-label {
    font-family: var(--f-display);
    font-size: var(--t-lg);
    font-weight: 500;
    color: var(--paper);
}
.band-note { font-size: var(--t-sm); color: rgba(245, 246, 242, 0.72); }
.band-note a { color: var(--green-lit); text-decoration: underline; text-underline-offset: 3px; }
.band-note a:hover { color: #fff; }

.band-cols {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 2px solid var(--green-lit);
}
.band-cols li {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.05rem 1.1rem 1.05rem 0;
    border-right: 1px solid var(--line-d);
}
.band-cols li:last-child { border-right: 0; }
.band-cols li + li { padding-left: 1.1rem; }
.band-cols .sp {
    font-family: var(--f-display);
    font-size: var(--t-base);
    font-weight: 600;
    line-height: 1.15;
}
.band-cols .dbh {
    font-size: var(--t-sm);
    font-weight: 700;
    color: var(--green-lit);
    font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) { .band-cols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .band-cols { grid-template-columns: repeat(2, 1fr); } }

/* --- Log scale diagram --------------------------------------------- */
.logscale-fig { margin: 0 auto; max-width: 940px; }
.logscale { width: 100%; height: auto; display: block; }
.logscale .bark { fill: var(--paper-2); stroke: var(--ink); stroke-width: 2.5; }
.logscale .ring { fill: none; stroke: var(--ink); stroke-width: 0.8; opacity: 0.26; }
.logscale .pith { fill: var(--ink); }
.logscale .dim  { stroke: var(--green); stroke-width: 1.5; }
.logscale .d-in { font-family: var(--f-display); font-weight: 700; font-size: 23px; fill: var(--ink); }
.logscale .d-bf { font-family: var(--f-body); font-weight: 700; font-size: 18px; fill: var(--green); }
.logscale-fig figcaption {
    font-size: var(--t-sm);
    color: var(--ink-2);
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--line);
    max-width: 52ch;
}
/* On the black sections the diagram inverts */
.section-dark .logscale .bark { fill: rgba(245, 246, 242, 0.10); stroke: var(--paper); }
.section-dark .logscale .ring { stroke: var(--paper); opacity: 0.34; }
.section-dark .logscale .pith { fill: var(--paper); }
.section-dark .logscale .dim  { stroke: var(--green-lit); }
.section-dark .logscale .d-in { fill: var(--paper); }
.section-dark .logscale .d-bf { fill: var(--green-lit); }
.section-dark .logscale-fig figcaption { color: rgba(245, 246, 242, 0.78); border-top-color: var(--line-d); }

/* ---------------------------------------------------------------
   Tally rows — the structural device, used instead of icon cards
   --------------------------------------------------------------- */
.tally { border-top: 2px solid var(--ink); }
/* Grid rather than flex: flex picks its line breaks from each item's
   content width before it shrinks anything, so a long name pushed the
   figure onto its own row. Grid pins name / leader / figure to one row
   and lets a long name wrap inside its own column. */
.tally-row {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(1.5rem, 1fr) auto;
    grid-template-areas:
        "name fill figure"
        "note note note";
    align-items: baseline;
    column-gap: 1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
}
.tally-row .name {
    grid-area: name;
    font-family: var(--f-display);
    font-size: var(--t-md);
    font-weight: 600;
    color: var(--ink);
}
.tally-row .fill {
    grid-area: fill;
    height: 1px;
    background: var(--line-2);
    transform: translateY(-0.28em);
}
.tally-row .figure {
    grid-area: figure;
    font-weight: 700;
    font-size: var(--t-sm);
    color: var(--green);
    text-align: right;
}
.tally-row .note {
    grid-area: note;
    font-size: var(--t-sm);
    color: var(--ink-2);
    margin-top: 0.3rem;
    max-width: 64ch;
}
.section-dark .tally { border-top-color: var(--green-lit); }
.section-dark .tally-row { border-bottom-color: var(--line-d); }
.section-dark .tally-row .name { color: var(--paper); }
.section-dark .tally-row .fill { background: var(--line-d); }
.section-dark .tally-row .figure { color: var(--green-lit); }
.section-dark .tally-row .note { color: rgba(245, 246, 242, 0.78); }

/* ---------------------------------------------------------------
   Panels & steps
   --------------------------------------------------------------- */
.panel {
    background: var(--paper-3);
    border: 1px solid var(--line);
    border-top: 3px solid var(--green);
    border-radius: var(--r);
    padding: clamp(1.6rem, 3vw, 2.35rem);
}
.panel h3 { margin-bottom: 0.75rem; }
.panel p { color: var(--ink-2); }
.panel > * + * { margin-top: 0.9rem; }
.section-dark .panel { background: rgba(245, 246, 242, 0.07); border-color: var(--line-d); }
.section-dark .panel h3 { color: var(--paper); }
.section-dark .panel p { color: rgba(245, 246, 242, 0.80); }

/* Numbers are earned here — this really is a sequence */
.steps { counter-reset: step; }
.step {
    counter-increment: step;
    position: relative;
    padding-left: 3.9rem;
    padding-bottom: 2.2rem;
}
.step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 1.3rem; top: 2.9rem; bottom: 0.3rem;
    width: 1px;
    background: var(--line-2);
}
.step::before {
    content: counter(step);
    position: absolute;
    left: 0; top: 0;
    width: 2.6rem; height: 2.6rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--green);
    color: #fff;
    border-radius: var(--r-sm);
    font-family: var(--f-display);
    font-weight: 700;
    font-size: var(--t-md);
}
.step h3 { margin-bottom: 0.55rem; }
.step p { color: var(--ink-2); max-width: 62ch; }
.section-dark .step p { color: rgba(245, 246, 242, 0.80); }
.section-dark .step:not(:last-child)::after { background: var(--line-d); }

/* ---------------------------------------------------------------
   Species — leaf silhouettes drawn for this site, not stock icons
   --------------------------------------------------------------- */
.species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 1rem;
}
.species {
    background: var(--paper-3);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 1.7rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.species .leaf { width: 64px; height: 64px; color: var(--green); }
.species .leaf svg { width: 100%; height: 100%; }
.species h3 { font-size: var(--t-md); }
.species .grade {
    font-size: var(--t-xs);
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--green);
}
.species p { font-size: var(--t-sm); color: var(--ink-2); }
/* The two premium species get the pale green tint */
.species.is-premium { background: var(--pale); border-color: rgba(30, 82, 54, 0.22); }

/* ---------------------------------------------------------------
   Service area — county map
   --------------------------------------------------------------- */
.map-wrap {
    align-self: start;
    background: var(--paper-3);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: clamp(1.35rem, 3vw, 2rem);
}
.map-wrap svg { width: 100%; height: auto; }
.map-wrap .county { fill: #DCDFD8; stroke: var(--paper-3); stroke-width: 1.2; }
.map-wrap .county.is-core   { fill: var(--green); }
.map-wrap .county.is-served { fill: #86AF94; }
.map-legend {
    display: flex; flex-wrap: wrap; gap: 0.65rem 1.6rem;
    margin-top: 1.35rem; font-size: var(--t-sm); font-weight: 600;
    color: var(--ink-2);
}
.map-legend li { display: flex; align-items: center; gap: 0.55rem; }
.map-legend .sw { width: 1.05rem; height: 1.05rem; flex-shrink: 0; border-radius: 3px; border: 1px solid var(--line-2); }
.map-legend .sw.core   { background: var(--green); }
.map-legend .sw.served { background: #86AF94; }

.county-columns { columns: 2; column-gap: 2.5rem; font-size: var(--t-base); }
@media (min-width: 700px) { .county-columns { columns: 3; } }
.county-columns li {
    break-inside: avoid;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
}
.county-columns a { font-weight: 600; color: var(--green); }
/* The service-area page lists the counties beside the map, in half the width */
.prose .county-columns { list-style: none; padding-left: 0; margin: 1rem 0 2rem; }
.county-columns-narrow { columns: 2 !important; }
.county-columns a:hover { color: var(--ink); }
.section-dark .county-columns li { color: rgba(245, 246, 242, 0.82); border-bottom-color: var(--line-d); }
.section-dark .county-columns a { color: var(--green-lit); }

/* ---------------------------------------------------------------
   Quotes and the closing band
   --------------------------------------------------------------- */
.pull {
    font-family: var(--f-display);
    font-style: italic;
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    font-weight: 400;
    line-height: 1.22;
    letter-spacing: -0.012em;
    color: var(--ink);
    max-width: 22ch;
    border-left: 4px solid var(--green);
    border-radius: 2px;
    padding-left: clamp(1.25rem, 3vw, 2rem);
}
.pull cite {
    display: block;
    font-family: var(--f-body);
    font-size: var(--t-sm);
    font-weight: 600;
    font-style: normal;
    color: var(--ink-2);
    margin-top: 1.1rem;
    letter-spacing: 0;
}
.section-dark .pull { color: var(--paper); border-left-color: var(--green-lit); }
.section-dark .pull cite { color: rgba(245, 246, 242, 0.72); }

/* The tagline gets the one solid green moment on the page */
.word-band {
    background: var(--green);
    color: #fff;
    text-align: center;
    padding-block: clamp(2.6rem, 5vw, 3.9rem);
}
.word-band p {
    font-family: var(--f-display);
    font-size: clamp(1.7rem, 4.4vw, 2.9rem);
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.12;
}

/* ---------------------------------------------------------------
   Interior page hero — solid black
   --------------------------------------------------------------- */
.page-hero {
    position: relative;
    background: var(--ink);
    color: var(--paper);
    padding-block: clamp(3rem, 6vw, 4.75rem);
}
.page-hero.has-photo { padding-block: clamp(3.75rem, 8vw, 6.5rem); }
.page-hero-inner { position: relative; z-index: 2; }

/* A photograph behind a black section: the image sits under a dark wash so
   the type keeps its contrast, and the section's own black stays underneath
   in case the image never loads. */
.has-photo { position: relative; overflow: hidden; }
.has-photo .photo-bg { position: absolute; inset: 0; z-index: 0; }
.has-photo .photo-bg picture, .has-photo .photo-bg img { display: block; width: 100%; height: 100%; }
.has-photo .photo-bg img { object-fit: cover; object-position: center; }
.has-photo .photo-bg::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(21, 24, 21, 0.90) 0%, rgba(21, 24, 21, 0.80) 45%, rgba(21, 24, 21, 0.62) 100%);
}
.has-photo > .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--paper); margin-bottom: 1.1rem; }
.page-hero .lede { color: rgba(245, 246, 242, 0.80); }
.page-hero .crumb {
    font-size: var(--t-sm);
    font-weight: 600;
    color: var(--green-lit);
    margin-bottom: 1rem;
}
.page-hero .crumb a { display: inline-block; padding: 0.6rem 0; margin: -0.6rem 0; }   /* a real tap target without moving the text */
.page-hero .crumb a:hover { color: #fff; text-decoration: underline; }

/* ---------------------------------------------------------------
   FAQ
   --------------------------------------------------------------- */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 0;
    font-family: var(--f-display);
    font-size: var(--t-md);
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--green); }
.faq summary::after {
    content: "";
    flex-shrink: 0;
    width: 0.85rem; height: 0.85rem;
    border-right: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
    transform: rotate(45deg) translateY(-0.15em);
    transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-0.15em); }
.faq .answer { padding-bottom: 1.4rem; color: var(--ink-2); max-width: 66ch; }
.faq .answer > * + * { margin-top: 0.9em; }

/* ---------------------------------------------------------------
   Forms
   --------------------------------------------------------------- */
.form-card {
    background: var(--paper-3);
    border: 1px solid var(--line);
    border-top: 3px solid var(--green);
    border-radius: var(--r);
    padding: clamp(1.6rem, 3.5vw, 2.5rem);
}
.section-dark .form-card { background: rgba(245, 246, 242, 0.07); border-color: var(--line-d); }

.form-grid { display: grid; gap: 1.2rem; align-items: end; }   /* inputs line up even when a label runs to two lines */
@media (min-width: 640px) {
    .form-grid { grid-template-columns: 1fr 1fr; }
    .form-grid .half { grid-column: span 1; }
    .form-grid .full { grid-column: 1 / -1; }
}

.field label {
    display: block;
    font-size: var(--t-sm);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.45rem;
}
.field .hint { font-weight: 400; color: var(--ink-2); }
.field input,
.field select,
.field textarea {
    width: 100%;
    font: inherit;
    font-size: var(--t-base);
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line-2);
    border-radius: var(--r-sm);
    padding: 0.8rem 0.9rem;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.6rem;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%231E5236' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.95rem center;
    background-size: 14px 9px;
}
.field input::placeholder, .field textarea::placeholder { color: #767C75; }
.field select option { background: var(--paper-3); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 3px solid var(--green);
    outline-offset: 0;
    border-color: var(--green);
}
.field-required label::after { content: " *"; color: var(--green); }

/* Never shown, never announced */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-note { font-size: var(--t-sm); color: var(--ink-2); margin-top: 1.1rem; }

.form-status {
    padding: 1.05rem 1.2rem;
    border-left: 4px solid;
    border-radius: var(--r-sm);
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.form-status.is-ok  { background: var(--pale); border-color: var(--green); color: #163D28; }
.form-status.is-err { background: #F3E6DC; border-color: #8A4418; color: #6E360F; }
.form-status a { text-decoration: underline; }

/* ---------------------------------------------------------------
   Contact rail
   --------------------------------------------------------------- */
.contact-rail > * + * { margin-top: 1.85rem; }
.contact-line { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-line .k {
    font-size: var(--t-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--green);
}
.contact-line .v { font-family: var(--f-display); font-size: var(--t-md); font-weight: 600; color: var(--ink); }
.contact-line .v a:hover { color: var(--green); }
.contact-line .sub { font-size: var(--t-sm); color: var(--ink-2); }
.contact-line .sub a { color: var(--green); text-decoration: underline; }

/* ---------------------------------------------------------------
   Figures
   --------------------------------------------------------------- */
figure.shot { margin: 0; }
figure.shot img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--r-lg);
}
figure.shot figcaption {
    font-size: var(--t-sm);
    color: var(--ink-2);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--line);
}
.section-dark figure.shot figcaption { color: rgba(245, 246, 242, 0.78); border-top-color: var(--line-d); }

/* ---------------------------------------------------------------
   Footer — solid black
   --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--paper); border-top: 3px solid var(--green); }
.footer-top { padding-block: clamp(2.9rem, 5vw, 4.25rem); }
.footer-grid { display: grid; gap: 2.4rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1.2fr 1fr; } }

.footer-brand .lockup .ohio { color: var(--paper); width: 48px; }
.footer-brand .lockup .word { color: var(--paper); }
.footer-brand .lockup .word .llc { color: var(--green-lit); }
.footer-brand p {
    margin-top: 1.15rem;
    font-size: var(--t-sm);
    color: rgba(245, 246, 242, 0.75);
    max-width: 34ch;
}
.footer-brand .footer-word {
    font-family: var(--f-display);
    font-style: italic;
    font-size: var(--t-md);
    color: var(--paper);
    margin-top: 1.25rem;
}
.footer-brand .footer-word + p { margin-top: 0.6rem; }
@media (min-width: 560px) { .footer-nav { columns: 2; column-gap: 2rem; } .footer-nav li { break-inside: avoid; } }

.site-footer h2 {
    font-size: var(--t-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--green-lit);
    margin-bottom: 1rem;
    font-family: var(--f-body);
}
.footer-nav li { padding: 0; }
.footer-nav a { display: inline-block; padding: 0.55rem 0; font-size: var(--t-sm); color: rgba(245, 246, 242, 0.82); }
@media (max-width: 760px) { .footer-nav a { display: block; padding: 0.7rem 0; } .footer-contact a, .footer-bottom a { display: inline-block; padding: 0.4rem 0; } }
.footer-nav a:hover { color: #fff; text-decoration: underline; }

.footer-contact > * + * { margin-top: 0.9rem; }
.footer-contact .big { font-family: var(--f-display); font-size: var(--t-lg); font-weight: 600; color: var(--paper); }
.footer-contact a:hover { color: var(--green-lit); }
.footer-contact .small { font-size: var(--t-sm); color: rgba(245, 246, 242, 0.75); }

.footer-bottom {
    border-top: 1px solid var(--line-d);
    padding-block: 1.4rem;
    font-size: var(--t-xs);
    color: rgba(245, 246, 242, 0.72);
}
.footer-bottom .inner { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; justify-content: space-between; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* Small note under the closing call to action */
.cta-note { margin-top: 1.35rem; font-size: var(--t-sm); color: rgba(245, 246, 242, 0.78); }

/* ---------------------------------------------------------------
   404
   --------------------------------------------------------------- */
.error-404 { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.error-404 .ohio { display: block; width: 120px; margin: 0 auto 2rem; color: var(--line-2); }
.error-404 .lede { margin-inline: auto; }

/* ---------------------------------------------------------------
   Motion & print
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .site-header, .site-footer, .btn, .nav-toggle, .word-band { display: none !important; }
    body, .section, .section-alt, .section-dark, .page-hero {
        background: #fff !important; color: #000 !important;
    }
    body { font-size: 12pt; }
    .section-dark h1, .section-dark h2, .section-dark h3, .page-hero h1,
    .section-dark .lede, .section-dark .prose p { color: #000 !important; }
    .tally-row .figure, .prose a { color: #000 !important; }
}

/* Two-column prose — a different rhythm from the site's usual split, used
   where an argument runs long enough to need the air. */
.prose-cols {
    margin-top: clamp(2rem, 4vw, 3rem);
    max-width: 100%;
}
.prose-cols p { color: var(--ink-2); }
.prose-cols p + p { margin-top: 1.1em; }
.section-dark .prose-cols p { color: rgba(245, 246, 242, 0.80); }
@media (min-width: 860px) {
    .prose-cols { columns: 2; column-gap: clamp(2.5rem, 5vw, 4.5rem); }
    .prose-cols p { break-inside: avoid; }
    .prose-cols p:first-child { margin-top: 0; }
}

/* ---------------------------------------------------------------
   Four steps across — the one place on the site where a numbered
   sequence is literally true, so the numbers are earned.
   --------------------------------------------------------------- */
.steps-row {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    counter-reset: rstep;
}
.steps-row > li {
    counter-increment: rstep;
    position: relative;
    padding-top: 3.4rem;
    border-top: 2px solid var(--ink);
}
.steps-row > li::before {
    content: counter(rstep);
    position: absolute;
    top: -1px; left: 0;
    width: 2.5rem; height: 2.5rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--green);
    color: #fff;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: var(--t-md);
    border-bottom-right-radius: var(--r-sm);
}
.steps-row h3 { font-size: var(--t-md); margin-bottom: 0.55rem; }
.steps-row p { font-size: var(--t-sm); color: var(--ink-2); }

@media (min-width: 900px) { .steps-row { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 560px) and (max-width: 899px) { .steps-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------
   Service area — the map leads, at a size worth looking at
   --------------------------------------------------------------- */
.area-split { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .area-split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }

/* ---------------------------------------------------------------
   Species strip — the home page preview carries no body copy, so
   cards would be mostly empty chrome. Rules and a big leaf instead,
   which also keeps it in the tally sheet's language.
   --------------------------------------------------------------- */
.species-strip {
    display: grid;
    gap: 0;
    border-top: 2px solid var(--ink);
}
.species-strip > li {
    padding: 1.85rem 1.5rem 1.85rem 0;
    border-bottom: 1px solid var(--line);
}
.species-strip .leaf {
    display: block;
    width: 92px; height: 92px;
    color: var(--green);
    margin-bottom: 1rem;
}
.species-strip .leaf svg { width: 100%; height: 100%; }
.species-strip h3 { font-size: var(--t-md); margin-bottom: 0.3rem; }
.species-strip p { font-size: var(--t-sm); font-weight: 700; color: var(--green); }

@media (min-width: 720px) {
    .species-strip { grid-template-columns: repeat(4, 1fr); }
    .species-strip > li { border-bottom: 0; border-right: 1px solid var(--line); padding-left: 1.5rem; }
    .species-strip > li:first-child { padding-left: 0; }
    .species-strip > li:last-child { border-right: 0; }
}

/* ---------------------------------------------------------------
   Related pages — the reader's plausible next step, and the site's
   internal linking, in one block
   --------------------------------------------------------------- */
.related-head { font-size: var(--t-md); font-weight: 500; margin-bottom: 1.1rem; }
.related-list { display: grid; gap: 1px; background: var(--line); border-top: 2px solid var(--ink); }
.related-list li { background: var(--paper-2); }
.related-list a {
    display: flex; flex-direction: column; gap: 0.3rem;
    padding: 1.15rem 1.25rem 1.15rem 0;
}
.related-list .t { font-family: var(--f-display); font-size: var(--t-md); font-weight: 500; color: var(--ink); }
.related-list .d { font-size: var(--t-sm); color: var(--ink-2); }
.related-list a:hover .t { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 760px) {
    .related-list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .related-list a { padding-right: 1.5rem; }
}


/* ---------------------------------------------------------------
   Steps section lead — heading beside the tally photograph
   --------------------------------------------------------------- */
.steps-lead { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
@media (min-width: 900px) { .steps-lead { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.steps-lead .section-head { margin-bottom: 0; }
.steps-shot img { aspect-ratio: 3 / 2; }

/* Walnut page: the leaf at a size that carries a column */
.leaf-large { display: block; width: clamp(140px, 18vw, 220px); height: auto; color: var(--green); margin-top: 1rem; }
.leaf-large svg { width: 100%; height: auto; display: block; }
.species-more { display: inline-block; margin-top: 0.4rem; font-size: var(--t-sm); font-weight: 600; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.species-more:hover { color: var(--ink); }

/* ---------------------------------------------------------------
   Yard vs woods — two photographs with the log bracketed
   --------------------------------------------------------------- */
.treepair { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); max-width: 960px; margin-inline: auto; }
@media (min-width: 640px) { .treepair { grid-template-columns: 1fr 1fr; } }
.tc { margin: 0; }
.tc-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: var(--ink);
}
.tc-frame picture, .tc-frame img { display: block; width: 100%; height: 100%; }
.tc-frame picture { position: absolute; inset: 0; }
.tc-frame img { object-fit: cover; }
.tc-marks { position: absolute; inset: 0; width: 100%; height: 100%; }
.tc-marks .bracket, .tc-marks .tick { stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6)); }
.tc-chip {
    position: absolute; transform: translateY(-50%);
    background: var(--ink); color: var(--paper);
    font-family: var(--f-display); font-weight: 600; font-size: 0.95rem;
    padding: 0.35rem 0.7rem; border-radius: var(--r-sm);
    box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.7);
}
.tc figcaption { padding-top: 0.85rem; }
.tc figcaption strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: var(--t-md); color: var(--ink); }
.tc figcaption span { display: block; font-size: var(--t-sm); color: var(--ink-2); margin-top: 0.2rem; }
.treepair-note { max-width: 60ch; margin: 1.5rem auto 0; font-size: var(--t-sm); color: var(--ink-2); text-align: center; }

/* ---------------------------------------------------------------
   Walnut self-check
   --------------------------------------------------------------- */
.wcheck {
    display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--paper-3); border: 1px solid var(--line); border-top: 3px solid var(--green);
    border-radius: var(--r); padding: clamp(1.5rem, 3.5vw, 2.5rem);
}
@media (min-width: 900px) { .wcheck { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .wcheck-form { grid-column: 1 / -1; } }
.wcheck-q { display: grid; gap: 1.1rem; }
.wcheck-q .hint { font-size: var(--t-xs); color: var(--ink-2); margin-top: 0.35rem; }
.wcheck-out { background: var(--paper-2); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); align-self: start; }
.wcheck-empty { color: var(--ink-2); }
.wcheck-tag { font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.06em; color: var(--green); margin-bottom: 0.4rem; }
.wcheck-head { margin-bottom: 0.7rem; }
.wcheck-body { color: var(--ink-2); margin-bottom: 1.25rem; }
.wcheck-form { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.wcheck-formlead { font-weight: 600; }
.wcheck-submit { display: flex; align-items: end; }

/* ---------------------------------------------------------------
   Polish: phones
   --------------------------------------------------------------- */
@media (max-width: 480px) {
    .btn-row { flex-direction: column; align-items: stretch; }
    .btn-row .btn, .form-grid .btn, .wcheck-submit .btn { width: 100%; justify-content: center; text-align: center; }
    .btn { padding-inline: 1.2rem; }
}

/* ---------------------------------------------------------------
   About — the two people, in their own words
   --------------------------------------------------------------- */
.people { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 860px) { .people { grid-template-columns: 1fr 1fr; } }
.person {
    border-top: 2px solid var(--ink);
    padding-top: 1.5rem;
}
.person-photo { margin-bottom: 1.5rem; }
.person-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.person-head { margin-bottom: 1.25rem; }
.person-head h3 { font-size: var(--t-xl); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
.person-role { font-size: var(--t-sm); font-weight: 700; letter-spacing: 0.06em; color: var(--green); margin-top: 0.5rem; }
.person-where { font-size: var(--t-sm); color: var(--ink-2); margin-top: 0.25rem; }
.person-bio p { color: var(--ink-2); }
.person-bio p + p { margin-top: 1em; }
.person-bio p:first-child { color: var(--ink); font-size: var(--t-md); line-height: 1.5; }   /* the opening line carries */

/* ---------------------------------------------------------------
   Heros on phones.

   The desktop wash darkens the left half so the copy can sit beside a
   clear photograph on the right. On a phone the copy spans the full
   width, so that wash blacks out the whole picture. Here the photograph
   shows through a light, even tint at the top and the copy is anchored
   at the bottom on its own fade — the band carries the contrast, so the
   picture can be seen.
   --------------------------------------------------------------- */
@media (max-width: 760px) {
    /* Interior pages */
    .page-hero.has-photo {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        min-height: 66vh;
        min-height: 66svh;
        padding-top: 30vh;
        padding-bottom: 0;
    }
    .page-hero.has-photo .photo-bg::after {
        background: rgba(21, 24, 21, 0.28);          /* even tint; the picture stays legible */
    }
    .page-hero.has-photo .page-hero-inner {
        padding-top: 2.75rem;
        padding-bottom: 2.25rem;
        background: linear-gradient(180deg, rgba(21, 24, 21, 0) 0, rgba(21, 24, 21, 0.86) 1.75rem, rgba(21, 24, 21, 0.86) 100%);
    }

    /* Home */
    .hero .plate-frame {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        min-height: calc(100vh - 88px);
        min-height: calc(100svh - 88px);
    }
    .plate-frame::after { background: rgba(21, 24, 21, 0.28) !important; }
    .plate-frame .hero-copy {
        height: auto;
        min-height: 0;
        justify-content: flex-end;
        padding-top: 2.75rem;
        padding-bottom: 2rem;
        background: linear-gradient(180deg, rgba(21, 24, 21, 0) 0, rgba(21, 24, 21, 0.86) 1.75rem, rgba(21, 24, 21, 0.86) 100%);
    }
}

/* Home hero on phones: the second call to action becomes a link so the
   band covers less and more of the photograph shows. */
@media (max-width: 760px) {
    .plate-frame .hero-copy .btn-row { gap: 0.9rem; }
    .plate-frame .hero-copy .btn-ghost {
        width: auto; align-self: flex-start;
        background: none; border: 0; padding: 0.35rem 0;
        font-size: var(--t-base); font-weight: 600;
        color: var(--paper);
        text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--green-lit);
    }
    .plate-frame .hero-copy .btn-ghost:hover { background: none; color: #fff; }
    .plate-frame .hero-copy .lede { margin-bottom: 1.5rem; }
    .plate-frame .hero-copy { padding-bottom: 1.75rem; }
}

/* Home hero on phones: headline and call on the photograph; the lede sits
   directly beneath. Two-thirds of the frame was copy otherwise, and the
   picture had nowhere to be. */
.hero-lede-mobile { display: none; }
@media (max-width: 760px) {
    .plate-frame .hero-copy .lede { display: none; }
    .hero-lede-mobile { display: block; padding-block: 1.6rem 0.4rem; }
    .hero-lede-mobile .lede { max-width: none; font-size: 1.05rem; }
    .plate-frame .hero-copy h1 { margin-bottom: 1.4rem; }
}

/* Walnut links inside data rows read as links without shouting */
.band-cols .sp a { color: inherit; text-decoration: underline; text-decoration-color: var(--green-lit); text-underline-offset: 3px; }
.band-cols .sp a:hover { color: var(--green-lit); }
.tally-row .note a, .faq .answer a, .species p a, .prose p a:not(.btn) { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.tally-row .note a:hover, .faq .answer a:hover, .species p a:hover { color: var(--ink); }

/* About: each person's direct line, from their card */
.person-contact { margin-top: 0.6rem; font-size: var(--t-sm); }
.person-contact a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.person-contact a:hover { color: var(--ink); }
.person-contact .sep { color: var(--ink-2); margin-inline: 0.45rem; }
/* The certificate is a document, not a landscape: show it whole */
.cert-shot img { object-fit: contain; aspect-ratio: 2409 / 2201; background: var(--paper-3); border: 1px solid var(--line); border-radius: var(--r); }
/* One line of fact under the credential section */
.cert-line { margin-top: 1rem; font-size: var(--t-sm); color: var(--green-lit); }
