:root {
  --pine: #12301f;
  --pine-deep: #0b2116;
  --pine-soft: #1d4530;
  --sack: #f2f3ec;
  --paper: #ffffff;
  --kioti: #f25a1d;
  --lime: #c8f03c;
  --bark: #2b1c12;
  --shavings: #e9cf96;
  --ink: #10241a;
  --mute: #55665b;
  --rule: #cfd4c6;
  --f: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --r: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.55 var(--f); font-variation-settings: "wdth" 100; color: var(--ink); background: var(--sack); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--kioti); outline-offset: 2px; border-radius: 3px; }
.hero :focus-visible, .calc-out :focus-visible, .quote-side :focus-visible, .top :focus-visible, .dock :focus-visible, .foot :focus-visible { outline-color: var(--lime); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--lime); color: var(--ink); padding: .75rem 1rem; z-index: 50; }
.skip:focus { left: 0; }

h1, h2 { font-stretch: 75%; font-variation-settings: "wdth" 75; font-weight: 800; letter-spacing: -.005em; line-height: .94; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 6.2vw, 5rem); }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.35rem; border-radius: var(--r); font-weight: 700; font-size: 1.0625rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: center; line-height: 1.2; transition: transform .12s, background-color .12s; }
.btn:active { transform: translateY(1px); }
.btn-go { background: var(--kioti); color: var(--pine-deep); }
.btn-go:hover { background: #ff6c30; }
.btn-line { background: transparent; border-color: currentColor; }
.btn-line:hover { background: rgba(255,255,255,.1); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 2rem; padding: .6rem var(--pad); background: var(--pine); color: var(--sack); border-bottom: 1px solid rgba(255,255,255,.12); }
.mark { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1; }
.mark small { display: block; font-size: .72rem; font-weight: 400; letter-spacing: 0; opacity: .75; margin-top: .2rem; }
.top nav { display: flex; gap: 1.6rem; margin-left: auto; }
.top nav a { text-decoration: none; font-size: .98rem; padding: .7rem 0; }
.top nav a:hover { color: var(--lime); }
.top-phone { font-weight: 800; font-size: 1.15rem; text-decoration: none; color: var(--lime); font-variant-numeric: tabular-nums; padding: .6rem 0; }

/* hero */
.hero { background: var(--pine); color: var(--sack); padding: clamp(2rem, 5vw, 4.5rem) var(--pad) 0; overflow: hidden; }
.hero h1 { font-size: clamp(3.1rem, 9.5vw, 10.5rem); line-height: .88; letter-spacing: -.01em; text-wrap: wrap; }
.hero-body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(1.75rem, 4vw, 3.5rem); align-items: end; }
.hero-photo { margin-left: calc(var(--pad) * -1); }
.hero-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0 var(--r) var(--r) 0; }
.hero-photo figcaption { font-size: .88rem; opacity: .7; padding: .6rem 0 0 var(--pad); }
.hero-side { display: flex; flex-direction: column; align-self: stretch; }
.hero-rates { margin-top: auto; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.4; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 2.25rem; }
.quote-side .hero-cta { margin-bottom: 0; }
.hero-rates { display: grid; grid-template-columns: repeat(3, auto); gap: 0 1.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.22); justify-content: start; }
.hero-rates dt { font-size: .88rem; opacity: .75; }
.hero-rates dd { font-stretch: 75%; font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; color: var(--lime); letter-spacing: -.02em; margin-top: .2rem; }
.hero-rates small { font-size: .9rem; font-weight: 500; color: var(--sack); letter-spacing: 0; margin-left: .3rem; font-variation-settings: "wdth" 100; }

.road { display: flex; justify-content: space-between; gap: 1rem; margin: clamp(2rem, 4vw, 3.5rem) calc(var(--pad) * -1) 0; padding: 0 var(--pad) 1.4rem; position: relative; font-size: .95rem; overflow-x: auto; scrollbar-width: none; }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: .55rem; border-top: 2px dashed rgba(255,255,255,.3); }
.road span { position: relative; padding-top: 1.5rem; white-space: nowrap; opacity: .85; }
.road span::before { content: ""; position: absolute; top: 0; left: 0; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--pine); border: 2px solid var(--sack); }
.road .home { color: var(--lime); font-weight: 700; opacity: 1; }
.road .home::before { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 0 5px rgba(200,240,60,.22); }

/* shared section head */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 1rem clamp(1.5rem, 4vw, 4rem); align-items: end; margin-bottom: clamp(1.75rem, 4vw, 3.25rem); }
.sec-head p { font-size: 1.1rem; max-width: 40ch; }
.calcs, .prices, .services, .soil, .quote { padding: clamp(3.5rem, 8vw, 7.5rem) var(--pad); }

/* calculators */
.calc { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); background: var(--paper); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 0 var(--rule), 0 30px 60px -40px rgba(18,48,31,.45); }
.calc + .calc { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.calc-in { padding: clamp(1.25rem, 3vw, 2.75rem); display: grid; gap: 1.35rem; align-content: start; min-width: 0; }
.calc-in h3 { font-stretch: 75%; font-variation-settings: "wdth" 75; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.calc-sub { color: var(--mute); margin-top: -.9rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field > span, .field > label > span, .presets-l { font-weight: 600; font-size: .95rem; }
.field small { font-weight: 400; color: var(--mute); }
input[type=number], input[type=text], input[type=tel], input[type=email], select, textarea { width: 100%; min-height: 48px; padding: .6rem .8rem; border: 1.5px solid #9aa594; border-radius: var(--r); background: #fff; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2310241a' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 12px; padding-right: 2.4rem; text-overflow: ellipsis; }
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
textarea { resize: vertical; line-height: 1.45; }

.presets { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.presets-l { flex-basis: 100%; }
.presets button, .towns button { min-height: 44px; padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--sack); cursor: pointer; font-size: .98rem; font-weight: 500; }
.presets button::before { content: "+ "; font-weight: 800; color: #b23c08; }
.presets button:hover, .towns button:hover { border-color: var(--ink); }
.towns { display: flex; flex-wrap: wrap; gap: .5rem; }
.towns small { color: var(--mute); font-weight: 400; margin-left: .2rem; }
.towns button[aria-pressed=true] { background: var(--pine); border-color: var(--pine); color: #fff; }
.towns button[aria-pressed=true] small { color: var(--lime); }

.rows-head, .row { display: grid; grid-template-columns: .8fr 1fr 1fr 1fr 4.6rem 44px; gap: .5rem; align-items: center; }
.rows-head { font-size: .85rem; color: var(--mute); margin-bottom: -.9rem; }
#rows { display: grid; gap: .5rem; }
.row label span { display: none; }
.row .yd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.del { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; font-size: 1.5rem; line-height: 1; color: var(--mute); cursor: pointer; }
.del:hover { background: var(--sack); color: #a3260d; }
.add { justify-self: start; min-height: 44px; padding: .4rem 0; border: 0; background: none; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--kioti); cursor: pointer; }
.add::before { content: "+ "; }
.check { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; background: var(--sack); border-radius: var(--r); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--pine); flex: none; }
.check.off { opacity: .5; cursor: default; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }
.stepper { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; }
.stepper input { border-radius: 0; border-left: 0; border-right: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button { appearance: none; }
.stepper button { border: 1.5px solid #9aa594; background: var(--sack); font-size: 1.4rem; font-weight: 700; cursor: pointer; border-radius: var(--r) 0 0 var(--r); }
.stepper button:last-child { border-radius: 0 var(--r) var(--r) 0; }
.stepper button:hover { background: var(--lime); }

.calc-out { background: var(--pine); color: var(--sack); padding: clamp(1.25rem, 3vw, 2.75rem); display: flex; flex-direction: column; min-width: 0; }
.out-label { font-size: .95rem; opacity: .75; }
.out-num { font-stretch: 75%; font-variation-settings: "wdth" 75; font-weight: 800; color: var(--lime); font-size: clamp(4.5rem, 9vw, 8rem); line-height: .85; letter-spacing: -.01em; margin-top: .35rem; font-variant-numeric: tabular-nums; }
.out-num small { font-size: 1.5rem; letter-spacing: -.01em; color: var(--sack); white-space: nowrap; }
.out-detail { margin-top: 1rem; font-size: .98rem; opacity: .88; min-height: 3em; }

.trailer { margin: 1.5rem 0 1.25rem; }
.load { display: flex; flex-wrap: wrap-reverse; align-items: flex-end; gap: 6px 5px; min-height: 64px; padding: 0 8px; }
.load i { position: relative; width: 44px; height: 52px; background: linear-gradient(to top, #fff var(--fill, 100%), transparent var(--fill, 100%)); border-radius: 4px 4px 7px 7px; box-shadow: inset 0 0 0 1.5px #fff, inset -6px 0 0 rgba(18,48,31,.08); animation: drop .28s cubic-bezier(.3,1.4,.5,1) both; }
.load i::before { content: ""; position: absolute; left: 50%; top: -9px; width: 14px; height: 11px; transform: translateX(-50%); background: #fff; clip-path: polygon(0 0, 50% 45%, 100% 0, 78% 100%, 22% 100%); }
.load i.part { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.load i.part::before { opacity: .7; }
.load.bulk i { height: 34px; width: 44px; border-radius: 60% 60% 4px 4px / 100% 100% 4px 4px; background: linear-gradient(to top, #8a5a33 var(--fill, 100%), transparent var(--fill, 100%)); box-shadow: inset 0 0 0 1.5px #b98253; }
.load.bulk i::before { display: none; }
.more { align-self: center; font-weight: 800; color: var(--lime); padding-left: .3rem; }
.bed { height: 9px; background: #5aa7d6; border-radius: 2px; position: relative; }
.bed::after { content: ""; position: absolute; right: -14px; top: 3px; width: 14px; height: 3px; background: #5aa7d6; }
.wheels { display: flex; gap: 6px; padding-left: 58%; }
.wheels i { width: 24px; height: 24px; margin-top: -2px; border-radius: 50%; background: #9aa594; border: 7px solid #050f0a; }
@keyframes drop { from { transform: translateY(-14px); opacity: 0; } }

.out-cost { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.out-cost span { font-size: .95rem; opacity: .85; }
.out-cost strong { font-size: 1.9rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.out-actions { display: grid; gap: .65rem; margin-top: 1.25rem; }
.out-note { font-size: .88rem; opacity: .7; margin-top: 1rem; }
.lines { width: 100%; border-collapse: collapse; margin-top: 1.25rem; font-variant-numeric: tabular-nums; }
.lines th { text-align: left; font-weight: 400; }
.lines th, .lines td { padding: .7rem 0; border-top: 1px solid rgba(255,255,255,.22); vertical-align: baseline; }
.lines td { text-align: right; font-weight: 700; padding-left: 1rem; white-space: nowrap; }
.lines tr:last-child > * { border-bottom: 1px solid rgba(255,255,255,.22); }

/* prices */
.prices { background: var(--kioti); color: var(--pine-deep); }
.boards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); }
.board h3 { padding-bottom: .8rem; border-bottom: 3px solid currentColor; }
.board dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid rgba(11,33,22,.35); }
.board dt { font-size: 1.1rem; font-weight: 500; }
.board dt small { display: block; font-size: .88rem; font-weight: 400; opacity: .85; }
.board dd { font-stretch: 75%; font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.75rem); line-height: 1; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.board dd small { font-size: .95rem; font-weight: 500; letter-spacing: 0; font-variation-settings: "wdth" 100; }
.board dd.q { font-size: 1.5rem; }
.board-note { margin-top: 1rem; font-size: .98rem; max-width: 44ch; }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 4rem); }
.svc-grid h3 { font-stretch: 75%; font-variation-settings: "wdth" 75; font-size: 1.9rem; font-weight: 800; padding-bottom: .7rem; border-bottom: 3px solid var(--pine); }
.svc-grid li { padding: .75rem 0; border-bottom: 1px solid var(--rule); font-size: 1.08rem; }

/* soil */
.soil { background: var(--bark); color: #f4ecdf; }
.soil-intro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 1.25rem clamp(1.5rem, 4vw, 4rem); }
.soil-intro > p { font-size: 1.15rem; align-self: end; max-width: 40ch; }
.soil-lists { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 1.5rem clamp(1.5rem, 4vw, 4rem); margin-top: clamp(1rem, 3vw, 2.5rem); }
.soil h3 { color: var(--shavings); margin-bottom: .9rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { font-stretch: 75%; font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1; padding: .5rem .9rem .55rem; border: 2px solid rgba(233,207,150,.5); border-radius: 999px; }
.plain li { padding: .45rem 0 .45rem 1.3rem; position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: .6rem; height: 2px; background: currentColor; opacity: .6; }

.compost { margin-top: clamp(3rem, 6vw, 5.5rem); }
.compost > h3 { font-stretch: 75%; font-variation-settings: "wdth" 75; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; color: #f4ecdf; margin-bottom: 1.5rem; }
.stages { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; border-radius: 10px; overflow: hidden; }
.stages li { counter-increment: s; padding: 1.25rem 1.1rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; min-height: 15rem; }
.stages li::before { content: counter(s); font-stretch: 75%; font-variation-settings: "wdth" 75; font-weight: 800; font-size: 3.5rem; line-height: .9; }
.stages b { font-size: 1.15rem; line-height: 1.15; }
.stages span { font-size: .95rem; line-height: 1.4; }
.stages em { font-style: normal; font-weight: 700; font-size: .9rem; margin-top: auto; padding-top: .75rem; }
.stages li:nth-child(1) { background: #ecd49d; color: #2b1c12; }
.stages li:nth-child(2) { background: #cfa565; color: #2b1c12; }
.stages li:nth-child(3) { background: #c2501c; color: #fff; }
.stages li:nth-child(4) { background: #5d3a20; color: #f4ecdf; }
.stages li:nth-child(5) { background: #150d08; color: #f4ecdf; }
.compost-rules { margin-top: 1.25rem; max-width: 70ch; opacity: .85; }

/* quote */
.quote { background: var(--pine); color: var(--sack); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.quote-side > p { margin-top: 1rem; font-size: 1.1rem; }
.big-phone a { font-stretch: 75%; font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(3rem, 6.5vw, 5.5rem); line-height: 1; color: var(--lime); text-decoration: none; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.quote-side h3 { margin: 2.25rem 0 .5rem; }
.qform { background: var(--paper); color: var(--ink); border-radius: 14px; padding: clamp(1.25rem, 3vw, 2.5rem); display: grid; gap: 1.1rem; }
.hint { font-size: .9rem; color: var(--mute); margin-top: -.6rem; }
.err { font-style: normal; font-size: .92rem; font-weight: 600; color: #a3260d; }
.hint + .err { margin-top: -.7rem; }
[aria-invalid=true] { border-color: #a3260d !important; background: #fff6f3 !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qform .btn { justify-self: start; }
.status:empty { display: none; }
.status { padding: .9rem 1rem; border-radius: var(--r); font-size: 1rem; }
.status.good { background: #e3f6c4; border-left: 5px solid #3d7a12; }
.status.bad { background: #fde6df; border-left: 5px solid #a3260d; }

/* footer */
.foot { background: var(--pine-deep); color: var(--sack); padding: 2.5rem var(--pad) 3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; font-size: .98rem; }
.foot-name { font-weight: 800; font-size: 1.4rem; }
.foot a { text-underline-offset: 3px; display: inline-block; padding: .25rem 0; }

.dock { display: none; }

@media (max-width: 900px) {
  .top nav { display: none; }
  .top { justify-content: space-between; }
  .hero-body, .sec-head, .calc, .boards, .svc-grid, .soil-intro, .soil-lists, .quote, .foot { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { margin-right: calc(var(--pad) * -1); }
  .hero-photo img { border-radius: 0; aspect-ratio: 3 / 2; }
  .hero-side { order: -1; }
  .stages { grid-template-columns: 1fr; }
  .stages li { min-height: 0; display: grid; grid-template-columns: 3rem 1fr; column-gap: .5rem; }
  .stages li::before { grid-row: span 3; font-size: 2.75rem; }
  .stages em { padding-top: 0; }
  body { padding-bottom: 64px; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 1px; background: var(--pine-deep); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px rgba(0,0,0,.25); }
  .dock a { display: flex; align-items: center; justify-content: center; min-height: 56px; font-weight: 800; font-size: 1.05rem; text-decoration: none; background: var(--kioti); color: var(--pine-deep); }
  .dock .dock-q { background: var(--lime); }
}
@media (max-width: 560px) {
  .mark small { display: none; }
  .hero-rates { grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
  .rows-head { display: none; }
  .row { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: .75rem; background: var(--sack); border-radius: var(--r); }
  .row label span { display: block; font-size: .8rem; color: var(--mute); margin-bottom: .2rem; white-space: nowrap; }
  .row input { padding: .5rem .45rem; }
  .row .yd { grid-column: 1 / 4; text-align: left; }
  .row .del { justify-self: end; margin: -.3rem; }
  .pair { grid-template-columns: 1fr; }
  .board dd { font-size: 1.9rem; }
  .road { justify-content: flex-start; gap: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
