/* O'Day homepage: feed-store flyer. Two inks (black + green) on newsprint.
   Brief overrides the taste-skill house rules on rules/boxes/cream: this look is built from them. */
:root {
  --paper: #EFE7D4;
  --paper-2: #E5DABF;
  --ink: #1A1A17;
  --ink-soft: #4A443A;
  --green: #7DC42A;
  --green-ink: #3B6A12;
  --sign: "Alfa Slab One", Rockwell, "Roboto Slab", Georgia, serif;
  --slab: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --m: clamp(16px, 4vw, 48px);
  --rule: 3px solid var(--ink);
  --ribbon: polygon(0 0, 100% 0, calc(100% - 16px) 50%, 100% 100%, 0 100%, 16px 50%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 19px/1.55 var(--slab); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--green-ink); }
:focus-visible { outline: 3px solid var(--green-ink); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; font-family: var(--sign); line-height: 1.05; letter-spacing: .005em; }
h3 { font: 700 24px/1.2 var(--slab); }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--m); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; font: 400 20px/1 var(--sign); text-decoration: none; background: var(--ink); color: var(--paper); border: var(--rule); transition: background-color .15s, color .15s, transform .15s; }
.btn:hover { background: var(--green); color: var(--ink); transform: translateY(-2px); }
.btn:active { transform: none; }
.btn.alt { background: var(--paper); color: var(--ink); }
.btn.alt:hover { background: var(--green); }

/* top strip */
.strip { background: var(--ink); color: var(--paper); font-size: 16px; }
.strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; padding-block: 8px; }
.strip nav { display: flex; gap: 22px; flex-wrap: wrap; }
.strip a { color: var(--paper); text-decoration: none; padding: 6px 0; display: inline-block; }
.strip a:hover { color: var(--green); }
.strip .call a { font-weight: 700; }

/* the sign */
.sign { padding-block: 36px 0; }
.frame { border: 4px solid var(--ink); outline: 2px solid var(--ink); outline-offset: 5px; margin: 7px; background: var(--paper); }
.sign-top { text-align: center; padding: 40px var(--m) 28px; border-bottom: var(--rule); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.name { font: 400 clamp(46px, 8.4vw, 112px)/.95 var(--sign); letter-spacing: .01em; }
.ribbon { background: var(--green); color: var(--ink); font: 700 clamp(16px, 1.6vw, 21px)/1 var(--slab); letter-spacing: .14em; text-transform: uppercase; padding: 10px 40px; clip-path: var(--ribbon); }
.sign h1 { font-size: clamp(30px, 4vw, 52px); max-width: 22em; text-wrap: balance; }
.motto { font: 700 clamp(19px, 2vw, 26px)/1.2 var(--slab); letter-spacing: .04em; color: var(--green-ink); }
.sign-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.sign-body > * { padding: 32px var(--m); }
.sign-text { border-right: var(--rule); display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.sign-text .lead { font-size: 22px; }
.sign-text .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.photo { margin: 0; }
.photo img { border: var(--rule); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo figcaption { font-size: 16px; color: var(--ink-soft); padding-top: 8px; }

/* phone band */
.phone { background: var(--green); border-block: var(--rule); margin-top: 48px; text-align: center; padding: 22px var(--m); }
.phone p { font: 400 clamp(26px, 4vw, 54px)/1.1 var(--sign); }
.phone a { text-decoration: none; white-space: nowrap; }
.phone a:hover { color: var(--paper); }
.phone a.q { white-space: normal; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* sections */
.sec { padding-block: 88px 0; }
.sec-h { display: flex; align-items: center; gap: 18px; margin-bottom: 32px; }
.sec-h h2 { font-size: clamp(32px, 4vw, 52px); white-space: nowrap; }
.sec-h::after { content: ""; flex: 1; height: 0; border-top: var(--rule); border-bottom: 1px solid var(--ink); padding-top: 4px; }
.sec-h.c { justify-content: center; text-align: center; }
.sec-h.c::before { content: ""; flex: 1; border-top: var(--rule); border-bottom: 1px solid var(--ink); padding-top: 4px; }

/* recent job */
.job { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.job .photo img { aspect-ratio: 3/4; }
.tag { display: inline-block; background: var(--ink); color: var(--paper); font: 400 15px/1 var(--sign); letter-spacing: .06em; padding: 6px 10px; margin-bottom: 8px; }
.tag.g { background: var(--green); color: var(--ink); }
.job-note { border: var(--rule); padding: 24px 28px; margin-top: 24px; display: flex; gap: 20px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--paper-2); }
.job-note p { max-width: 62ch; }

/* services board */
.board { border: var(--rule); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.board > div { padding: 26px 24px; }
.board > div + div { border-left: var(--rule); }
.board h3 { font: 400 26px/1.1 var(--sign); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--ink); }
.board li { padding: 5px 0 5px 22px; position: relative; }
.board li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 10px; background: var(--green-ink); transform: rotate(45deg); }
.board-note { margin-top: 16px; color: var(--ink-soft); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { border-top: var(--rule); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; counter-increment: s; }
.steps li::before { content: counter(s); font: 400 30px/1 var(--sign); width: 52px; height: 52px; border-radius: 50%; background: var(--green); border: var(--rule); display: grid; place-items: center; margin-bottom: 6px; }

/* about + area */
.two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; }
.box { border: var(--rule); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.box.dark { background: var(--ink); color: var(--paper); }
.box h2 { font-size: clamp(30px, 3.2vw, 42px); }
.towns { font: 400 26px/1.25 var(--sign); }
.county { color: var(--green); font-weight: 600; margin-top: 2px; }

/* quote */
.quote-box { border: var(--rule); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); background: var(--paper-2); }
.q-left { padding: 36px; display: flex; flex-direction: column; gap: 22px; border-right: 3px dashed var(--ink); }
.q-right { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.q-right iframe { width: 100%; flex: 1; min-height: 620px; border: var(--rule); background: #fff; }
.fallback { font-size: 16px; }
.kind { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.kind legend { font-weight: 700; padding: 0; margin-bottom: 10px; }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.kinds label { position: relative; }
.kinds input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.kinds span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); background: var(--paper); font-weight: 700; transition: background-color .15s; }
.kinds label:hover span { background: var(--green); }
.kinds input:checked + span { background: var(--ink); color: var(--paper); }
.kinds input:focus-visible + span { outline: 3px solid var(--green-ink); outline-offset: 2px; }
.send { border: 2px solid var(--ink); background: var(--paper); padding: 18px 20px; min-height: 112px; }
.send p { display: none; }
.send p:first-child { display: block; }
.kind:has(#k-deck:checked) .send p, .kind:has(#k-repair:checked) .send p, .kind:has(#k-yard:checked) .send p, .kind:has(#k-lawn:checked) .send p { display: none; }
.kind:has(#k-deck:checked) .send .deck, .kind:has(#k-repair:checked) .send .repair, .kind:has(#k-yard:checked) .send .yard, .kind:has(#k-lawn:checked) .send .lawn { display: block; }

/* good to know */
.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: var(--rule); }
.terms > div { padding: 24px; }
.terms > div + div { border-left: var(--rule); }
.terms h3 { margin-bottom: 8px; }

/* footer */
.foot { background: var(--ink); color: var(--paper); margin-top: 96px; padding-block: 56px 28px; }
.foot .wrap { display: flex; flex-direction: column; gap: 36px; }
.foot-name { font: 400 clamp(40px, 7vw, 96px)/1 var(--sign); text-align: center; }
.foot-motto { text-align: center; font: 700 20px/1.2 var(--slab); letter-spacing: .04em; color: var(--green); margin-top: 14px; }
.foot-name span { display: block; width: fit-content; margin: 14px auto 0; background: var(--green); color: var(--ink); font: 700 18px/1 var(--slab); letter-spacing: .14em; padding: 9px 36px; clip-path: var(--ribbon); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 2px solid var(--paper); padding-top: 28px; font-size: 17px; }
.foot-cols h3 { font: 400 20px/1.2 var(--sign); margin-bottom: 8px; }
.foot-cols a { color: var(--paper); text-decoration: none; display: block; padding: 4px 0; }
.foot-cols a:hover { color: var(--green); }
.foot small { font-size: 15px; color: #CFC6B2; text-align: center; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
  .sign-body, .two, .quote-box { grid-template-columns: 1fr; }
  .sign-text { border-right: 0; border-bottom: var(--rule); }
  .job { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board, .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board > div:nth-child(3), .terms > div:nth-child(3) { border-left: 0; }
  .board > div:nth-child(n+3), .terms > div:nth-child(n+3) { border-top: var(--rule); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-left { border-right: 0; border-bottom: 3px dashed var(--ink); }
}
@media (max-width: 600px) {
  body { font-size: 18px; }
  .frame { margin: 4px; outline-offset: 3px; }
  .sign-top { padding-top: 28px; }
  .ribbon { padding-inline: 28px; letter-spacing: .08em; }
  .sign-text .btns .btn { width: 100%; }
  .board, .terms, .steps, .foot-cols { grid-template-columns: 1fr; }
  .board > div + div, .terms > div + div { border-left: 0; border-top: var(--rule); }
  .sec-h h2 { white-space: normal; }
  .name { font-size: min(46px, 9.4vw); }
  .foot-name { font-size: min(40px, 9.6vw); }
  .towns { font-size: 22px; }
  .sign h1 { font-size: 24px; }
  .box, .q-left { padding: 24px; }
  .q-right { padding: 14px; }
}

/* ---------- shared page chrome for inner pages ---------- */
.strip .home { font: 400 18px/1 var(--sign); color: var(--paper); text-decoration: none; }
.page-head { padding-block: 40px 0; }
.page-head .frame .sign-top { padding-bottom: 32px; }
.page-head .lead { font-size: 21px; max-width: 46ch; text-align: center; }
.mini-foot { margin-top: 96px; }

/* ---------- /work/ ---------- */
.facts { border: var(--rule); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--paper-2); }
.facts li { padding: 18px 22px; }
.facts li + li { border-left: var(--rule); }
.facts strong { display: block; font: 400 20px/1.2 var(--sign); margin-bottom: 4px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.pair .photo img { aspect-ratio: 3/4; }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; border-top: var(--rule); padding-top: 28px; margin-top: 56px; align-items: start; }
.stage h3 { font: 400 28px/1.1 var(--sign); margin-bottom: 6px; }
.stage .when { color: var(--green-ink); font-weight: 700; margin-bottom: 10px; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.shots .photo img { aspect-ratio: auto; max-height: 640px; }
.cta { border: var(--rule); background: var(--green); padding: 28px 32px; margin-top: 72px; display: flex; gap: 20px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta.top { margin: 0 0 20px; }
.cta h2 { font-size: clamp(28px, 3vw, 40px); }

/* ---------- /tools/sheets/ ---------- */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; margin-top: 40px; align-items: start; }
.panel { background: var(--paper); border: var(--rule); padding: 22px 24px; }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 28px; margin-bottom: 14px; }
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.fields label, .oprow label { display: flex; flex-direction: column; gap: 4px; font-size: 16px; font-weight: 700; min-width: 0; }
.fields input, .fields select, .oprow input { font: inherit; font-weight: 500; font-size: 17px; padding: 9px 10px; border: 2px solid var(--ink); background: #FBF8F0; color: var(--ink); width: 100%; min-width: 0; min-height: 46px; }
.fields input.err, .oprow input.err { border-color: #A3341F; background: #F8E3DC; }
.wall { border-top: 2px dashed var(--ink); padding-top: 18px; margin-top: 18px; }
.wall-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.wall-head strong { font: 400 22px/1.1 var(--sign); }
.ops { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.oprow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 8px; align-items: end; background: var(--paper-2); border: 2px solid var(--ink); padding: 10px; }
.oprow .t { grid-column: 1 / -1; font-weight: 700; color: var(--green-ink); }
.mini { font: 700 16px/1 var(--slab); min-height: 44px; padding: 0 14px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; transition: background-color .15s; }
.mini:hover { background: var(--green); }
.mini.x { color: #8A2C18; }
.mini.add { background: var(--ink); color: var(--paper); }
.mini.add:hover { background: var(--green); color: var(--ink); }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hint { font-size: 16px; color: var(--ink-soft); margin-top: 12px; }
.result { position: sticky; top: 16px; }
.big { font: 400 64px/1 var(--sign); }
.big small { font: 600 20px/1 var(--slab); color: var(--ink-soft); margin-left: 8px; }
.stock { margin-top: 16px; display: flex; flex-direction: column; }
.stock li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--ink); padding: 8px 0; font-variant-numeric: tabular-nums; }
.stock li span:last-child { font-weight: 700; }
.note-s { font-size: 16px; color: var(--ink-soft); margin-top: 12px; }
.warnp { font-size: 16px; border: 2px solid var(--ink); background: #F3D9A0; padding: 8px 12px; margin-top: 8px; }
.draw { margin-top: 12px; background: #FBF8F0; border: 2px solid var(--ink); padding: 8px; overflow-x: auto; }
.draw svg { display: block; width: 100%; height: auto; }
.calc-cta { margin-top: 20px; padding-top: 18px; border-top: 2px dashed var(--ink); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.calc-cta strong { font: 400 22px/1.15 var(--sign); }

@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr; }
  .facts li + li { border-left: 0; border-top: var(--rule); }
  .stage, .calc-grid { grid-template-columns: 1fr; }
  .result { position: static; }
}
@media (max-width: 600px) {
  .pair { grid-template-columns: 1fr; }
  .oprow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oprow .mini.x { grid-column: 1 / -1; justify-self: start; }
  .big { font-size: 52px; }
}
.page-head h1 { font-size: clamp(40px, 6vw, 84px); line-height: 1; }
@media (max-width: 600px) { .page-head h1 { font-size: 32px; } }

/* ---------- /lawn/ ---------- */
.deadline { font: 700 20px/1.3 var(--slab); }
.price-box { border: var(--rule); background: var(--paper-2); padding: 28px 32px; margin-top: 48px; display: grid; gap: 10px; }
.price { font: 400 clamp(44px, 6vw, 72px)/1 var(--sign); }
.price .per { font: 700 22px/1 var(--slab); white-space: nowrap; }
.sched { border: var(--rule); }
.sched li { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 24px; padding: 14px 20px; }
.sched li + li { border-top: 2px solid var(--ink); }
.sched li span:last-child { font-weight: 700; white-space: nowrap; }
.dots li { padding: 6px 0 6px 22px; position: relative; }
.dots li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 10px; background: var(--green-ink); transform: rotate(45deg); }
@media (max-width: 600px) {
  .sched li { flex-direction: column; }
  .price-box { padding: 22px; }
}
