/* Alloway Land Services — 2026-10-14
 *
 * PALETTE, from the call. Asked black-and-white, Jonathan answered: "The black
 * and white, gray, too... dark gray not necessarily a stark black but like you
 * like the contrast". So: warm dark grey, never #000.
 *
 * ACCENT is yellow. He weighed blue against yellow out loud and chose yellow —
 * "it sort of resonates with where I'm heading with the business vision of
 * being an excavating contractor" and "the yellow stands out more. More better
 * to identify call to actions." Blue stays a quiet secondary ("a lighter blue",
 * explicitly NOT navy, NOT Michigan blue).
 *
 * STATIC, NOT ANIMATED: "a static bar versus like something that's dynamic
 * scrolling changing all the way through". No scroll-jacking, no carousels, no
 * reveal-on-scroll. Motion is hover feedback only, and honours
 * prefers-reduced-motion.
 *
 * MAGAZINE: "I like to build things in a way where it kind of feels like a
 * magazine where the goal of the presentation is to be like clear." Hence the
 * asymmetric feature block, the rules and eyebrows, and a real type scale.
 */

/* ============================ tokens ============================ */
:root {
  --bg:        #22262a;
  --bg-deep:   #191c1f;
  --bg-lift:   #272c31;
  --surface:   #2c3238;
  --surface-2: #343b42;
  --line:      #3d454d;
  --line-soft: #333a41;

  --text:      #f2f4f5;
  --muted:     #aab3bb;
  --dim:       #7f8a93;

  --accent:    #f2b124;
  --accent-dk: #cf9415;
  --accent-ink:#191c1f;
  --blue:      #74b6e0;

  --wrap: 1200px;
  --gut: 24px;
  --r: 3px;

  --shadow: 0 18px 40px -22px rgba(0,0,0,.85);
  --ease: cubic-bezier(.4,.1,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.68 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================ type ============================ */
h1, h2, h3, h4, .wordmark, .btn, .nav a, .eyebrow, .stat-n, .tag, .step-n, .faq summary, .card-go {
  font-family: "Barlow Condensed", "Oswald", "Arial Narrow", sans-serif;
  letter-spacing: .015em;
}
h1, h2, h3, h4 { margin: 0 0 14px; font-weight: 700; line-height: 1.04; }
h1 { font-size: clamp(2.6rem, 7vw, 4.9rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); text-transform: uppercase; }
h3 { font-size: 1.42rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 15px; }
a { color: var(--accent); }
ul { margin: 0 0 15px; padding-left: 20px; }
li { margin-bottom: 7px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .2em; font-size: .78rem;
  color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }

.lead { font-size: 1.14rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

/* ============================ buttons ============================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--r); text-decoration: none;
  font-weight: 700; font-size: 1.06rem; text-transform: uppercase;
  letter-spacing: .06em; border: 2px solid transparent; cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease),
              box-shadow .18s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(242,177,36,.6); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================ header ============================ */
.site-header {
  background: rgba(25,28,31,.97); border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; z-index: 60; backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 80px; }

.wordmark { text-decoration: none; color: var(--text); line-height: 1; margin-right: auto; display: block; }
.wordmark b { display: block; font-size: 1.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; transition: color .18s var(--ease); }
.wordmark b i { font-style: normal; color: var(--accent); }
.wordmark span { display: block; font-size: .67rem; letter-spacing: .34em; text-transform: uppercase; color: var(--dim); margin-top: 4px; font-family: inherit; font-weight: 600; }
.wordmark:hover b { color: var(--accent); }

.nav { display: flex; gap: 4px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; padding: 10px 14px; text-transform: uppercase; font-size: .98rem; font-weight: 600; letter-spacing: .07em; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--accent); transform: scaleX(0);
  transform-origin: left; transition: transform .2s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.active:not(.btn)::after { transform: scaleX(1); }
.nav a.active:not(.btn) { color: var(--accent); }
.nav .btn { padding: 11px 20px; font-size: .95rem; margin-left: 8px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: var(--r); padding: 11px 13px; cursor: pointer; line-height: 1; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px 0; transition: transform .2s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-deep); border-bottom: 2px solid var(--accent);
    flex-direction: column; align-items: stretch; padding: 12px var(--gut) 20px; gap: 2px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 10px; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { justify-content: center; margin: 10px 0 0; }
}

/* ============================ hero ============================ */
.hero { position: relative; background: var(--bg-deep); overflow: hidden; isolation: isolate; }

/* Drawn topographic contours rather than stock photography. The usual
 * "excavation contractor" stock shows a skid steer, dump truck or excavator and
 * he owns none of the three — it would sell work the business cannot do. */
/* Real photograph behind the contours: mid-Michigan farmland, CC0, and
 * literally Michigan. It is the only free-licensed image of the dozens
 * reviewed that was both the right subject AND the right geography — see
 * PHOTO-MANIFEST.md. Placeholder until Jonathan shoots his own. */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/hero-field.jpg") center 46%/cover no-repeat;
  opacity: .9; z-index: -3;
}
.hero::after {
  content: ""; position: absolute; inset: -10% -5% auto -5%; height: 120%;
  background: url("../img/topo.svg") center/cover no-repeat;
  opacity: .22; z-index: -2;
}
/* Vignette, as its own element so the photo and the contours can each sit on
 * their own layer underneath it. */
.hero-veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* Heavy enough over the headline (left) to hold contrast, light enough on
     the right that the field and sky actually read as a photograph. */
  background:
    linear-gradient(100deg, rgba(20,23,26,.93) 0%, rgba(20,23,26,.86) 34%, rgba(20,23,26,.52) 66%, rgba(20,23,26,.42) 100%),
    linear-gradient(180deg, rgba(20,23,26,.28) 0%, rgba(20,23,26,.1) 45%, rgba(34,38,42,.96) 100%);
}

.hero-inner { position: relative; padding: 104px 0 92px; max-width: 820px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); display: block; }
.hero .lead { font-size: 1.22rem; margin-bottom: 30px; }
.hero.compact .hero-inner { padding: 70px 0 62px; }

.hero-sub { display: flex; gap: 10px 30px; flex-wrap: wrap; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line-soft); list-style: none; }
.hero-sub li { color: var(--muted); font-size: .97rem; display: flex; align-items: center; gap: 9px; margin: 0; }
.hero-sub li::before { content: ""; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); flex: 0 0 auto; }

/* ============================ trust bar ============================ */
/* Mirrors the reference site he reacted to — "upfront estimates... clear
 * communication". First reassurance, straight under the hero. */
.trustbar { background: var(--accent); color: var(--accent-ink); }
.trustbar ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; }
.trustbar li { padding: 20px 18px; margin: 0; text-align: center; font-weight: 700; font-size: .98rem; border-right: 1px solid rgba(25,28,31,.18); display: flex; align-items: center; justify-content: center; gap: 10px; }
.trustbar li:last-child { border-right: 0; }
.trustbar svg { width: 20px; height: 20px; flex: 0 0 auto; }
@media (max-width: 860px) {
  .trustbar ul { grid-template-columns: repeat(2, 1fr); }
  .trustbar li:nth-child(2) { border-right: 0; }
  .trustbar li:nth-child(-n+2) { border-bottom: 1px solid rgba(25,28,31,.18); }
}
@media (max-width: 460px) { .trustbar li { font-size: .86rem; padding: 15px 10px; } }

/* ============================ sections ============================ */
section { padding: 86px 0; position: relative; }
section.alt { background: var(--bg-deep); }
section.lift { background: var(--bg-lift); }
.sec-head { max-width: 72ch; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }

/* ============================ grids ============================ */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

/* ============================ cards ============================ */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 30px 26px 28px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: border-color .2s var(--ease), background .2s var(--ease),
              transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.card h3 { margin-bottom: 10px; transition: color .2s var(--ease); }
.card p { color: var(--muted); font-size: .99rem; margin-bottom: 0; }

a.card { text-decoration: none; color: inherit; }
a.card:hover, a.card:focus-visible { border-color: #4d5760; background: var(--surface-2); transform: translateY(-4px); box-shadow: var(--shadow); }
a.card:hover::before, a.card:focus-visible::before { transform: scaleX(1); }
a.card:hover h3, a.card:focus-visible h3 { color: var(--accent); }

.card-ico { width: 46px; height: 46px; color: var(--accent); margin-bottom: 18px; transition: transform .25s var(--ease); }
a.card:hover .card-ico { transform: translateY(-3px) scale(1.06); }

.card-n { position: absolute; top: 16px; right: 22px; font: 700 2.9rem/1 "Barlow Condensed", sans-serif; color: var(--text); opacity: .07; pointer-events: none; transition: opacity .25s var(--ease), color .25s var(--ease); }
a.card:hover .card-n { opacity: .22; color: var(--accent); }

.card-go { margin-top: 18px; font-weight: 700; font-size: .92rem; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.card-go span { transition: transform .22s var(--ease); display: inline-block; }
a.card:hover .card-go span { transform: translateX(5px); }

/* ============================ feature ============================ */
/* Mowing gets the magazine treatment. His words: "mowing services is probably
 * like the top service line that I want to be showing" and "it doesn't get
 * highlighted enough in the way I've presented on this draft." */
.feature { display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid var(--accent); border-radius: var(--r); overflow: hidden; background: linear-gradient(135deg, var(--surface-2), var(--surface)); }
.feature-body { padding: 44px 42px; }
.feature-side { background: var(--bg-deep); border-left: 1px solid var(--line); padding: 44px 36px; display: flex; flex-direction: column; justify-content: center; }
.feature-side ul { list-style: none; padding: 0; margin: 0; }
.feature-side li { padding: 11px 0; border-bottom: 1px solid var(--line-soft); color: var(--muted); display: flex; align-items: center; gap: 11px; font-size: .97rem; margin: 0; }
.feature-side li:last-child { border-bottom: 0; }
.feature-side li::before { content: ""; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); flex: 0 0 auto; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature-body { padding: 32px 26px; }
  .feature-side { border-left: 0; border-top: 1px solid var(--line); padding: 28px 26px; }
}

.tag { display: inline-block; background: var(--accent); color: var(--accent-ink); font: 700 .74rem/1 "Barlow Condensed", sans-serif; letter-spacing: .16em; text-transform: uppercase; padding: 7px 12px; border-radius: 2px; margin-bottom: 16px; }

/* ============================ stats ============================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--bg-deep); padding: 32px 22px; text-align: center; transition: background .2s var(--ease); }
.stat:hover { background: var(--surface); }
.stat-n { display: block; font-size: 3rem; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-l { display: block; font-size: .83rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-top: 10px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ============================ process ============================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--line); transition: border-color .2s var(--ease); }
.step:hover { border-color: var(--accent); }
.step-n { position: absolute; top: -15px; left: 0; background: var(--bg); padding-right: 12px; font: 700 1.05rem/1 "Barlow Condensed", sans-serif; color: var(--accent); letter-spacing: .14em; text-transform: uppercase; }
section.alt .step-n { background: var(--bg-deep); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ============================ split / value ============================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split.wide-left { grid-template-columns: 1.25fr .75fr; }
@media (max-width: 880px) { .split, .split.wide-left { grid-template-columns: 1fr; gap: 32px; } }

.value { display: flex; gap: 18px; align-items: flex-start; }
.value-ico { width: 34px; height: 34px; color: var(--accent); flex: 0 0 auto; margin-top: 3px; }
.value h3 { margin-bottom: 7px; }
.value p { color: var(--muted); margin: 0; }

/* ============================ photo slots ============================ */
/* Labelled slots, never broken <img>. See PHOTO-MANIFEST.md. */
.photo { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); aspect-ratio: 4/3; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.photo::before { content: ""; position: absolute; inset: 0; background: url("../img/topo.svg") center/cover no-repeat; opacity: .16; }
.photo::after { content: ""; position: absolute; inset: 11px; border: 1px dashed var(--line); border-radius: 2px; }
.photo span { position: relative; z-index: 1; color: var(--dim); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; padding: 0 22px; font-weight: 600; }
.photo.wide { aspect-ratio: 16/9; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }

/* ============================ area ============================ */
.area-list { columns: 3; column-gap: 30px; padding-left: 18px; color: var(--muted); }
@media (max-width: 700px) { .area-list { columns: 2; } }
.area-list li { margin-bottom: 7px; break-inside: avoid; }
.county { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; margin-bottom: 26px; }
.county h3 { margin-bottom: 6px; }
.county p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ============================ CTA band ============================ */
.cta-band { background: var(--accent); color: var(--accent-ink); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: repeating-linear-gradient(45deg, var(--accent-ink) 0 2px, transparent 2px 18px); }
.cta-band .wrap { position: relative; }
.cta-band h2 { color: var(--accent-ink); }
.cta-band p { color: #45390b; max-width: 58ch; margin: 0 auto 26px; font-size: 1.1rem; }
.cta-band .btn-primary { background: var(--accent-ink); color: var(--accent); }
.cta-band .btn-primary:hover { background: #000; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
.cta-band .btn-ghost { border-color: rgba(25,28,31,.45); color: var(--accent-ink); }
.cta-band .btn-ghost:hover { border-color: var(--accent-ink); background: rgba(25,28,31,.08); color: var(--accent-ink); }
.cta-band .btn-row { justify-content: center; }

/* ============================ FAQ ============================ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 1.16rem; list-style: none; padding: 20px 0; display: flex; justify-content: space-between; gap: 18px; align-items: center; text-transform: uppercase; letter-spacing: .03em; font-weight: 700; transition: color .18s var(--ease); }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.7rem; line-height: 1; transition: transform .22s var(--ease); flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 20px; max-width: 74ch; }

/* ============================ forms ============================ */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 34px 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 26px 22px; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.col-full { grid-column: 1 / -1; }
.field label { font-size: .84rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.field input, .field select, .field textarea { background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: var(--r); padding: 13px 14px; font: inherit; font-size: 1rem; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #4d5760; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242,177,36,.18); }
.field .hint { font-size: .83rem; color: var(--dim); text-transform: none; letter-spacing: 0; font-weight: 400; }
.req { color: var(--accent); }
.notice { border-radius: var(--r); padding: 15px 17px; margin-bottom: 20px; border: 1px solid; }
.notice.warn { border-color: var(--accent); background: rgba(242,177,36,.1); }

/* ============================ contact ============================ */
.contact-rows { list-style: none; padding: 0; margin: 0; }
.contact-rows li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; margin: 0; }
.contact-rows svg { width: 22px; height: 22px; color: var(--accent); flex: 0 0 auto; margin-top: 4px; }
.contact-rows b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--dim); margin-bottom: 3px; }
.contact-rows a { font-size: 1.28rem; font-weight: 700; text-decoration: none; }
.contact-rows a:hover { text-decoration: underline; }

/* ============================ footer ============================ */
.site-footer { background: var(--bg-deep); border-top: 3px solid var(--accent); padding: 58px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; color: var(--dim); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--muted); text-decoration: none; transition: color .16s var(--ease), padding-left .16s var(--ease); }
.site-footer a:hover { color: var(--accent); padding-left: 4px; }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: .87rem; }

/* ============================ misc ============================ */
.skip { position: absolute; left: -9999px; background: var(--accent); color: var(--accent-ink); padding: 11px 18px; z-index: 100; border-radius: var(--r); font-weight: 700; }
.skip:focus { left: 14px; top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* The hero veil is a left-to-right gradient so the photo stays visible on the
 * right of a wide screen. Below ~1000px the text spans the full width and would
 * sit over the bright sky, so the veil goes uniform and darker. Contrast first,
 * photograph second. */
@media (max-width: 1000px) {
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(20,23,26,.82) 0%, rgba(20,23,26,.86) 50%, rgba(34,38,42,.97) 100%);
  }
}

/* ============================ mobile ============================
 * At the END on purpose: these were once written beside the hero rules, where
 * the later `section { padding }` overrode them at equal specificity and only
 * the hero tightened. */
@media (max-width: 760px) {
  .hero-inner { padding: 58px 0 52px; }
  .hero.compact .hero-inner { padding: 44px 0 40px; }
  section { padding: 56px 0; }
  .sec-head { margin-bottom: 30px; }
  .split { gap: 28px; }
}

/* ---------- photo inside a card ----------
 * Real photography of the work, added once usable free-licensed imagery was
 * found. Every one of these is the GROUND or the RESULT — never a machine
 * Jonathan does not own. */
.card-photo {
  margin: -30px -26px 20px; height: 168px; overflow: hidden; position: relative;
  border-bottom: 1px solid var(--line); background: var(--bg-deep);
}
.card-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.92) brightness(.86); transition: transform .4s var(--ease), filter .3s var(--ease);
}
.card:hover .card-photo img { transform: scale(1.05); filter: saturate(1) brightness(.98); }
/* Keeps the yellow top rule sitting above the photo. */
.card::before { z-index: 3; }

/* ---------- map ----------
 * A map must never be cropped, so it overrides the .photo `object-fit: cover`
 * used for photographs. Padded slightly off the frame edge and given the panel
 * background so the drawn SVG sits on its own colour rather than the hatch. */
.photo.map { background: #1f2327; }
.photo.map::before, .photo.map::after { display: none; }
.photo.map img { object-fit: contain; padding: 6px; }

/* ---------- comparison table ----------
 * Added for extractability: the SEO audit scored 0 tables and 0 answer-first
 * sections, which is what AI answers and featured snippets pull from. It is
 * also genuinely the question customers ask — "which one do I need?" */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table.svc { width: 100%; border-collapse: collapse; min-width: 560px; }
table.svc th, table.svc td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: .97rem; }
table.svc thead th {
  background: var(--bg-deep); color: var(--accent); font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase; letter-spacing: .1em; font-size: .86rem; border-bottom: 2px solid var(--accent);
}
table.svc tbody tr { background: var(--surface); transition: background .15s var(--ease); }
table.svc tbody tr:hover { background: var(--surface-2); }
table.svc td:first-child { color: var(--text); font-weight: 600; }
table.svc td:nth-child(2) { color: var(--muted); }
table.svc td:last-child { color: var(--accent); white-space: nowrap; font-weight: 600; }
table.svc tbody tr:last-child td { border-bottom: 0; }

/* ---------- satellite map ----------
 * Real imagery beats a drawn diagram for "where do you actually work". Esri
 * World Imagery via Leaflet: no API key, no billing account, no load quota. */
.map-shell {
  position: relative; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; background: var(--bg-deep);
}
#svc-map { height: 480px; width: 100%; background: var(--bg-deep); }
@media (max-width: 880px) { #svc-map { height: 380px; } }
.map-shell noscript img { display: block; width: 100%; height: auto; }
/* Leaflet's chrome, dressed to match the site. */
.leaflet-container { font: inherit; background: var(--bg-deep); }
.leaflet-control-attribution {
  background: rgba(25,28,31,.82) !important; color: var(--dim) !important; font-size: 10.5px !important;
}
.leaflet-control-attribution a { color: var(--muted) !important; }
.leaflet-bar a {
  background: var(--surface) !important; color: var(--text) !important;
  border-bottom-color: var(--line) !important;
}
.leaflet-bar a:hover { background: var(--surface-2) !important; color: var(--accent) !important; }
.leaflet-popup-content-wrapper, .leaflet-tooltip {
  background: var(--bg-deep) !important; color: var(--text) !important;
  border: 1px solid var(--line) !important; border-radius: var(--r) !important; box-shadow: var(--shadow) !important;
}
.leaflet-popup-tip { background: var(--bg-deep) !important; border: 1px solid var(--line) !important; }
.leaflet-tooltip::before { border-top-color: var(--line) !important; }

/* Mowing feature gains a photo column: copy | photo | checklist. Equipment he
 * actually owns, actually working — which is what "show me the equipment"
 * means on a site like this. */
.feature-3 { grid-template-columns: 1.05fr .6fr .55fr; }
.feature-3 [hidden] { display: flex !important; }
@media (max-width: 1040px) { .feature-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px)  { .feature-3 { grid-template-columns: 1fr; } }
