/* Steve Cal's Lawn & Yard LLC. Layout and tokens follow the Clinton Tractor brand pages. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #0b0b0b;
  --text: #3f4247;
  --muted: #666a70;
  --line: #ececee;
  --panel: #f1f3f5;
  --chip: #f3f3f6;
  --dark: #0b0b0b;
  --dark-text: #d6d6d6;
  --dark-line: #2a2a2a;
  --paint: #1f6b3f;
  --paint-dk: #154d2d;
  --winter: #1b4d73;
  --r-lg: 20px;
  --r: 18px;
  --r-btn: 12px;
  --font: Inter, "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --gap: clamp(64px, 8vw, 104px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.05; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 1.9rem); line-height: 1.2; }
h3 { font-size: 1.15rem; line-height: 1.3; }
p { margin: 0 0 1em; }
svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sprite { display: none; }
.wrap { width: min(1360px, 100% - 64px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 99; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--paint); outline-offset: 2px; }
.intro { max-width: 680px; color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--r-btn); border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font: 600 .92rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: #2a2a2a; border-color: #2a2a2a; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .85rem; }
.btn-paint { background: var(--paint); border-color: var(--paint); }
.btn-paint:hover { background: var(--paint-dk); border-color: var(--paint-dk); }
.btn-glass { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); color: #fff; }
.btn-glass:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: #dcdde0; }
.btn-line:hover { background: var(--chip); border-color: #dcdde0; }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white:hover { background: #eef3ef; border-color: #eef3ef; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 24px; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; color: var(--ink); text-decoration: none; }
.brand img { height: 68px; width: 68px; }
.brand span { font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.brand small { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.site-head nav { margin-left: auto; }
.site-head nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-head nav a { color: var(--text); text-decoration: none; font-size: .92rem; font-weight: 500; }
.site-head nav a:hover { color: var(--ink); }

/* hero, and the snow band that reuses it */
.hero { position: relative; margin-top: 20px; border-radius: var(--r-lg); overflow: hidden; background: var(--dark); color: #fff; display: grid; grid-template-rows: minmax(480px, 600px) auto; }
.hero-media { grid-area: 1 / 1; position: relative; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.38) 42%, rgba(0,0,0,0) 70%), linear-gradient(0deg, rgba(0,0,0,.35), transparent 40%); }
.hero-tab { position: absolute; top: 0; left: 40px; z-index: 2; background: #fff; color: var(--ink); padding: 11px 18px 12px; border-radius: 0 0 18px 18px; font-size: .85rem; font-weight: 600; }
.hero-in { grid-area: 1 / 1; position: relative; z-index: 1; align-self: center; padding: 96px 40px 48px; max-width: 800px; }
.hero h1 { color: #fff; margin-bottom: .45em; text-wrap: balance; }
.hero-in p { font-size: 1.05rem; color: rgba(255,255,255,.9); max-width: 31em; margin-bottom: 26px; }
.hero .season-note { display: inline-block; margin-bottom: 14px; font-size: .85rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 4px 12px; }
.strip { grid-row: 2; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; background: #151515; font-size: .88rem; }
.strip li { display: flex; align-items: center; gap: 10px; padding: 14px 24px; color: rgba(255,255,255,.85); }
.strip li + li { border-left: 1px solid var(--dark-line); }
.strip a { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.band { margin-top: var(--gap); }
.band h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.band .hero-img { object-position: center 50%; }
.band .hero-in { padding-top: 48px; max-width: 700px; }
.band .hero-media::after { background: linear-gradient(90deg, rgba(10,28,44,.86) 0%, rgba(10,28,44,.66) 38%, rgba(10,28,44,0) 68%), linear-gradient(0deg, rgba(0,0,0,.3), transparent 40%); }
.band .strip { background: var(--winter); }
.band .strip li + li { border-left-color: rgba(255,255,255,.2); }

/* service cards */
.group, .sec { margin-top: var(--gap); }
.sec-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.sec-row p { margin: 0; }
.gcards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gcard a { position: relative; display: block; height: 320px; border-radius: var(--r); overflow: hidden; background: var(--panel); color: #fff; text-decoration: none; }
.gcard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gcard a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.18) 45%, transparent 70%); }
.gcard a:hover .gcard-img { transform: scale(1.03); }
.gcard-text { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.gcard-text b { font-size: 1.2rem; font-weight: 600; }
.gcard-text span { font-size: .85rem; color: rgba(255,255,255,.88); }

/* season calendar */
.year { margin-top: 12px; background: var(--panel); border-radius: var(--r-lg); padding: 28px 32px 30px; }
.year h3 { margin-bottom: 18px; }
.year-grid { --label: 230px; display: grid; gap: 10px; }
.year-row { display: grid; grid-template-columns: var(--label) 1fr; align-items: center; gap: 16px; }
.year-row > div:first-child b { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.25; }
.year-row > div:first-child small { color: var(--muted); font-size: .8rem; }
.months, .bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; list-style: none; margin: 0; padding: 0; }
.months li { text-align: center; font-size: .75rem; font-weight: 600; color: var(--muted); padding: 3px 0; border-radius: 6px; }
.months li.now { background: var(--ink); color: #fff; }
.bars { background: #e3e6e9; border-radius: 8px; height: 22px; overflow: hidden; }
.bars i { display: block; height: 100%; background: var(--paint); border-radius: 6px; grid-row: 1; }
.bars i.fall { background: #b5651d; }
.bars i.snow { background: var(--winter); }

/* service detail rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: var(--gap); }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.feature.flip .feature-media { order: 2; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.ticks li { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .95rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.stats div { background: var(--panel); border-radius: var(--r); padding: 18px 20px; }
.stats b { display: block; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; font-weight: 600; color: var(--ink); letter-spacing: -.02em; margin-bottom: 6px; }
.stats span { font-size: .85rem; line-height: 1.35; display: block; }

/* about panel */
.history { margin-top: var(--gap); display: grid; grid-template-columns: 55fr 45fr; background: var(--dark); color: var(--dark-text); border-radius: var(--r-lg); overflow: hidden; }
.history-text { padding: 56px; }
.history h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.2rem); }
.history-media { position: relative; min-height: 360px; }
.hist-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.timeline { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--dark-line); }
.timeline li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--dark-line); font-size: .9rem; }
.timeline b { color: #fff; font-size: 1.25rem; font-weight: 600; }

/* recent work */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 12px; }
.gallery li { position: relative; border-radius: var(--r); overflow: hidden; background: var(--panel); }
.gallery li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure { margin: 0; height: 100%; }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.66); color: #fff; font-size: .78rem; padding: 3px 9px; border-radius: 8px; }

/* equipment */
.equip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.equip li { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.equip img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.equip .plate { aspect-ratio: 16 / 10; background: #10253a; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; }
.equip .plate b { font-size: 1.45rem; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
.equip .plate span { font-size: .8rem; color: rgba(255,255,255,.75); margin-top: 4px; }
.equip h3 { font-size: 1rem; margin: 0; padding: 14px 16px 0; display: flex; gap: 6px; }
.equip h3 span { color: var(--paint); }
.equip p { font-size: .88rem; margin: 6px 0 0; padding: 0 16px 16px; }

/* Clinton Tractor panel */
.row-panel { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.grey-panel { margin-top: var(--gap); background: var(--panel); border-radius: var(--r-lg); padding: 40px; }
.grey-panel p { max-width: 680px; margin: 0; }
.partner { display: flex; align-items: center; gap: 28px; min-width: 0; }
.partner img { width: 132px; height: auto; flex: none; }
.partner address { font-style: normal; font-size: .88rem; margin-top: 10px; color: var(--muted); }
.partner address a { color: inherit; }
.row-panel .btns { flex: none; }

/* service area */
.visit { display: grid; grid-template-columns: 45fr 55fr; gap: 40px; align-items: start; }
.visit address { font-style: normal; color: var(--ink); margin-bottom: 20px; line-height: 1.7; }
.map { width: 100%; height: 480px; border: 0; border-radius: var(--r); background: var(--panel); }
.chips-h { font-size: .85rem; margin: 28px 0 10px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--chip); border-radius: 999px; padding: 5px 12px; font-size: .82rem; color: var(--ink); }
.socials { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.socials a, .socials span { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 13px; border-radius: 10px; font-size: .84rem; font-weight: 500; text-decoration: none; }
.socials a { background: var(--ink); color: #fff; }
.socials a:hover { background: #2a2a2a; }
.socials span { background: var(--chip); color: var(--muted); }

/* FAQ + quote */
.faq-row { display: grid; grid-template-columns: 56fr 40fr; gap: 4%; align-items: start; margin-bottom: var(--gap); }
.faq details { border-bottom: 1px solid #e6e6e6; }
.faq h2 + details { border-top: 1px solid #e6e6e6; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; color: var(--ink); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; max-width: 640px; }
.sales { background: var(--paint); color: rgba(255,255,255,.9); border-radius: var(--r-lg); padding: 36px; }
.sales h2 { color: #fff; font-size: 2rem; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.quote-form label { display: flex; flex-direction: column; gap: 5px; font-size: .8rem; font-weight: 600; color: #fff; min-width: 0; }
.quote-form .full { grid-column: 1 / -1; }
.quote-form input, .quote-form select, .quote-form textarea { font: 500 .95rem/1.3 var(--font); color: var(--ink); background: #fff; border: 1px solid transparent; border-radius: 10px; padding: 10px 12px; width: 100%; min-height: 44px; }
.quote-form textarea { min-height: 88px; resize: vertical; }
.quote-form :focus-visible { outline-color: #fff; }
.quote-note { font-size: .78rem; margin: 2px 0 0; color: rgba(255,255,255,.82); }
.quote-note a { color: #fff; }

/* footer */
.site-foot { background: var(--panel); padding: 40px 0 28px; font-size: .88rem; }
.site-foot a { color: var(--ink); }
.foot-in { display: grid; grid-template-columns: 1.1fr 1fr 1.3fr; gap: 28px; }
.foot-logo { display: block; height: 84px; width: 84px; margin-bottom: 10px; border-radius: 50%; }
.foot-h { font-size: .85rem; margin: 0 0 8px; }
.foot-links { list-style: none; margin: 0; padding: 0; columns: 2; }
.foot-links li { padding: 2px 0; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.fine { grid-column: 1 / -1; color: var(--muted); font-size: .78rem; border-top: 1px solid #dcdde0; padding-top: 16px; margin: 0; }

/* phone call bar */
.callbar { display: none; }

@media (max-width: 1180px) {
  .site-head nav ul { gap: 16px; }
  .brand span { display: none; }
  .equip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .site-head nav { display: none; }
  .site-head .btn { margin-left: auto; }
  .brand span { display: block; }
  .head-in { height: 72px; }
  .brand img { height: 58px; width: 58px; }
  .gcards { grid-template-columns: 1fr 1fr; }
  .feature, .history, .visit, .faq-row { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
  .faq-row { gap: 40px; }
  .history-media { min-height: 280px; order: -1; }
  .history-text { padding: 32px 24px; }
  .strip { grid-template-columns: 1fr; }
  .strip li + li { border-left: 0; border-top: 1px solid var(--dark-line); }
  .band .strip li + li { border-top-color: rgba(255,255,255,.2); }
  .row-panel { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > div:first-child { grid-column: 1 / -1; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
  body { padding-bottom: 66px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .brand span { font-size: .9rem; }
  .site-head .btn { display: none; }
  .hero .season-note { border-radius: 14px; }
  .brand small { display: none; }
  .gcards { gap: 8px; }
  .gcard a { height: 168px; border-radius: 14px; }
  .gcard:first-child, .gcard:last-child { grid-column: span 2; }
  .gcard:first-child a, .gcard:last-child a { height: 220px; }
  .gcard-text { left: 12px; right: 12px; bottom: 10px; }
  .gcard-text b { font-size: .98rem; line-height: 1.2; }
  .gcard-text span { font-size: .74rem; line-height: 1.3; }
  .hero { grid-template-rows: minmax(540px, auto) auto; }
  .hero-tab { left: 20px; }
  .hero-in, .band .hero-in { padding: 84px 20px 28px; align-self: end; }
  .hero-media::after { background: linear-gradient(0deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.2) 100%); }
  .band .hero-media::after { background: linear-gradient(0deg, rgba(10,28,44,.92) 0%, rgba(10,28,44,.62) 58%, rgba(10,28,44,.15) 100%); }
  .btns .btn { flex: 1 1 auto; }
  .year { padding: 20px 16px; }
  .year-grid { --label: 1fr; }
  .year-row { grid-template-columns: 1fr; gap: 6px; }
  .year-head > div:first-child { display: none; }
  .months li { font-size: .68rem; }
  .equip { grid-template-columns: 1fr; }
  .gallery li:first-child { grid-row: span 1; }
  .gallery li:first-child { height: auto; }
  .grey-panel, .sales { padding: 28px 22px; }
  .partner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .map { height: 320px; }
  .quote-form { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
