/* RT's Precision Lawn Service — site v4 */
/* RT's Precision Lawn Service — styles (v3, "dress uniform")
   Navy dress blues, red piping, brass insignia, pressed white. */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --navy: #0c1d39;
  --navy-2: #13294d;
  --navy-3: #1c3a69;
  --navy-deep: #07142a;
  --red: #b8202b;
  --red-2: #9e1a24;
  --brass: #b9965b;
  --brass-2: #dcc28c;
  --white: #ffffff;
  --mist: #f2f4f7;
  --ink: #0c1626;
  --muted: #556072;
  --line: #dde2ea;
  --on-navy: #c6d0e0;
  --on-navy-2: #8e9cb5;
  --grass: #3f9933;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --r: 2px;
  /* faint twill weave, like uniform cloth */
  --twill: repeating-linear-gradient(135deg, rgba(255,255,255,.022) 0 1px, transparent 1px 4px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--font);
  font-stretch: 120%;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.05;
  margin: 0 0 .5em;
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.008em; }

:focus-visible { outline: 2px solid var(--navy-3); outline-offset: 3px; }
.on-navy :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--brass-2); }

.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--white); padding: .5rem 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy) var(--twill);
  color: var(--white);
  box-shadow: 0 2px 0 var(--red);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--white); }
.brand img { width: 38px; }
.brand-name { font-stretch: 122%; font-weight: 700; font-size: 1.15rem; line-height: 1.05; letter-spacing: -0.005em; }
.brand-name small { display: block; font-stretch: 100%; font-weight: 500; font-size: .74rem; letter-spacing: .02em; color: var(--on-navy-2); margin-top: 2px; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.nav a { display: block; text-decoration: none; color: var(--on-navy); font-weight: 550; font-size: .94rem; padding: .5rem .85rem; position: relative; transition: color .2s ease; }
.nav a:hover { color: var(--white); }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .15rem; height: 2px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--white); }
.nav .btn { margin-left: .9rem; padding: .62rem 1.1rem; }
.nav .btn-white, .nav .btn-white:hover { color: var(--navy); }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r);
  padding: .45rem .85rem; font: 600 .9rem var(--font); color: var(--white); cursor: pointer;
}
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: calc(100% + 2px); background: var(--navy-deep); border-bottom: 2px solid var(--red); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: .5rem 1.5rem 1.25rem; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--brass-2); }
  .nav .btn { margin: 1rem 0 0; border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: 600 .97rem var(--font);
  letter-spacing: .01em;
  text-decoration: none;
  padding: .95rem 1.6rem;
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: #e9edf4; }
.btn-line { border-color: rgba(220, 194, 140, .6); color: var(--white); }
.btn-line:hover { border-color: var(--brass-2); background: rgba(220, 194, 140, .08); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 2px; transition: color .2s ease; }
.text-link:hover { color: var(--navy-3); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  text-align: center;
  background:
    var(--twill),
    radial-gradient(80% 60% at 50% 100%, #2a4f86 0%, rgba(42, 79, 134, 0) 70%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 45%, #1a3766 100%);
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 30; padding: 4.75rem 0 0; }
.slogan {
  color: var(--white);
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.022em;
  margin: 0 auto;
}
.slogan span { display: block; }
.insignia { display: flex; align-items: center; justify-content: center; gap: .9rem; margin: 1.6rem auto 1.4rem; }
.insignia::before, .insignia::after { content: ""; height: 1px; width: 64px; background: var(--brass); opacity: .8; }
.insignia svg { width: 64px; height: 14px; }
.hero-lede { font-size: 1.12rem; line-height: 1.6; max-width: 34em; margin: 0 auto 2rem; color: var(--on-navy); }
.hero .btn-row { justify-content: center; }

/* ---------- Lawn stage ---------- */
.stage { position: relative; height: var(--stage-h, 300px); --lawn-h: 190px; --mower-w: 230px; margin-top: -24px; }
.stage .treeline {
  position: absolute; left: 0; right: 0; bottom: var(--lawn-h); height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='40' viewBox='0 0 640 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V26c20-1 24-12 44-12s22 9 37 9 20-14 41-14 24 12 39 12 18-7 33-7 24 10 43 10 22-15 45-15 26 14 43 14 20-5 35-5 26 9 43 9 20-12 39-12 24 10 41 10 22-7 37-7 22 9 39 9 18-10 37-10 22 12 44 12V40Z' fill='%23071226' opacity='.6'/%3E%3C/svg%3E") repeat-x bottom / 640px 40px;
}
/* Fallback lawn (no scripts / reduced motion before draw): a CSS checkerboard laid flat in perspective.
   Replaced by the drawn checkerboard when the script runs. */
.stage .lawn {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--lawn-h);
  overflow: hidden; background: #3f9933;
  perspective: 420px; perspective-origin: 50% -120%;
}
.stage .lawn::before {
  content: ""; position: absolute; left: -60%; right: -60%; top: 0; height: 420%;
  transform-origin: 50% 0; transform: rotateX(64deg);
  background: repeating-conic-gradient(#5db547 0 25%, #3f9933 0 50%) 50% 0 / 180px 180px;
}
.stage.has-svg-lawn .lawn { visibility: hidden; }
/* concrete curb: the lawn ends on a sharply edged line */
.stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; z-index: 80;
  background: linear-gradient(180deg, #f4f5f1 0 2px, #e3e5df 2px 6px, #cfd3cb 6px);
  box-shadow: 0 -1px 0 rgba(0,0,0,.18);
}
.page-head .stage::after { height: 6px; }
.stage .lawn-svg, .stage .uncut-ground, .stage .tall-grass, .stage canvas {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none;
}
.stage .mower { position: absolute; left: 0; top: 0; transform-origin: 50% 97.78%; will-change: transform; }
.tall-grass .sway { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 3.4s ease-in-out infinite alternate; }
.tall-grass .sway.b { animation-duration: 4.1s; animation-delay: -1.2s; }
.tall-grass .sway.c { animation-duration: 2.9s; animation-delay: -2s; }
@keyframes sway { from { transform: skewX(-2.5deg); } to { transform: skewX(2.5deg); } }
@media (max-width: 880px) {
  .hero-copy { padding-top: 3.25rem; }
  .hero .btn { min-width: 230px; }
  .stage { --stage-h: 230px; --lawn-h: 140px; --mower-w: 150px; margin-top: -10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tall-grass .sway { animation: none; }
}

/* Inner page heading: freshly cut strip, mower parked */
.page-head {
  color: var(--white);
  background: var(--twill), linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 55%, #1a3766 100%);
}
.page-head .wrap { padding: 4.25rem 0 2rem; }
.page-head h1 { color: var(--white); margin-bottom: .35em; }
.page-head p { color: var(--on-navy); max-width: 36em; margin: 0; font-size: 1.12rem; }
.page-head .stage { --stage-h: 120px; --lawn-h: 66px; --mower-w: 124px; margin-top: 0; }
.page-head .stage .treeline { height: 26px; background-size: 640px 26px; }
@media (max-width: 880px) { .page-head .stage { --stage-h: 100px; --lawn-h: 56px; --mower-w: 100px; } }

/* ---------- Sections ---------- */
.section { padding: 7rem 0; }
.section-mist { background: var(--mist); }
.lead { font-size: 1.18rem; line-height: 1.6; color: var(--muted); max-width: 34em; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 1.75rem; } .section { padding: 5rem 0; } }
.prose { max-width: 37em; }
.prose p { color: #26303f; }

.intro { display: grid; grid-template-columns: 4fr 8fr; gap: 5rem; align-items: center; }
.intro-badge { width: 100%; max-width: 300px; filter: drop-shadow(0 16px 26px rgba(12, 29, 57, .22)); }
.intro .statement { margin-bottom: 1.75rem; color: var(--navy); }
.statement { font-stretch: 112%; font-weight: 600; font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.28; letter-spacing: -0.012em; color: var(--navy); margin: 0; }
@media (max-width: 880px) { .intro { grid-template-columns: 1fr; gap: 2rem; } .intro-badge { max-width: 170px; } }

.record-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 5rem; }
.record-strip div { border-top: 2px solid var(--navy); padding-top: 1.25rem; }
.record-strip strong { display: block; font-stretch: 115%; font-weight: 700; font-size: 1.12rem; color: var(--navy); margin-bottom: .25rem; }
.record-strip span { color: var(--muted); font-size: .96rem; }
@media (max-width: 760px) { .record-strip { grid-template-columns: 1fr; gap: 1.75rem; margin-top: 3.5rem; } }

/* Service rows */
.service-list { list-style: none; margin: 3.25rem 0 0; padding: 0; border-top: 2px solid var(--navy); }
.service-list li { display: grid; grid-template-columns: 5fr 7fr; gap: 5rem; padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
.service-list h3 { margin: 0; font-size: 1.3rem; }
.service-list p { margin: 0; color: var(--muted); max-width: 34em; }
@media (max-width: 760px) { .service-list li { grid-template-columns: 1fr; gap: .4rem; } }

/* Plans */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3.25rem; border-top: 2px solid var(--navy); }
.plan { padding: 2.1rem 2.25rem 0 0; }
.plan + .plan { padding-left: 2.25rem; border-left: 1px solid var(--line); }
.plan h3 { font-size: 1.45rem; margin-bottom: .45rem; }
.plan p { color: var(--muted); margin: 0; }
.plan .perk { color: var(--navy); font-weight: 650; margin-top: 1.1rem; display: flex; gap: .55rem; align-items: center; }
.perk::before, .est-perk::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3 6.9 7.4.6-5.6 4.9 1.7 7.3L12 17.7l-6.5 3.8 1.7-7.3L1.6 9.3 9 8.7z' fill='%23b9965b'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 880px) {
  .plan-grid { grid-template-columns: 1fr; }
  .plan, .plan + .plan { padding: 1.6rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Brothers */
.brothers { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.brother { padding: 0 3rem 0 0; }
.brother + .brother { padding: 0 0 0 3rem; border-left: 1px solid var(--line); }
.nameplate {
  display: inline-block;
  background: #15181d;
  color: var(--white);
  font-stretch: 125%;
  font-weight: 650;
  font-size: .82rem;
  letter-spacing: .16em;
  padding: .45rem 1rem .4rem 1.16rem;
  box-shadow: inset 0 0 0 3px #15181d, inset 0 0 0 4px rgba(255,255,255,.55);
  margin-bottom: 1.4rem;
}
.brother h2 { margin-bottom: .15em; }
.brother .role { color: var(--muted); margin-bottom: 2rem; }
.record { margin: 0; border-top: 2px solid var(--navy); }
.record div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.record dt { font-weight: 650; color: var(--navy); }
.record dd { margin: 0; color: #26303f; }
@media (max-width: 880px) {
  .brothers { grid-template-columns: 1fr; gap: 3.5rem; }
  .brother, .brother + .brother { padding: 0; border-left: 0; }
}
@media (max-width: 480px) { .record div { grid-template-columns: 1fr; gap: .1rem; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 3.25rem; }
.values h3 { font-size: 1.35rem; padding-top: 1.2rem; border-top: 2px solid var(--navy); }
.values p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; gap: 2.25rem; } }

/* CTA */
.cta { background: var(--navy) var(--twill); color: var(--white); padding: 5.5rem 0; box-shadow: inset 0 2px 0 var(--red); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta h2 { color: var(--white); margin: 0 0 .35rem; }
.cta p { margin: 0; color: var(--on-navy); }

/* ---------- Estimate + contact ---------- */
.estimate-layout { display: grid; grid-template-columns: 1fr 380px; gap: 4.5rem; align-items: start; }
@media (max-width: 1000px) { .estimate-layout { grid-template-columns: 1fr; gap: 3rem; } }

fieldset { border: 0; padding: 0; margin: 0 0 3.25rem; min-width: 0; }
legend { font-stretch: 120%; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.012em; color: var(--navy); padding: 0 0 .9rem; width: 100%; border-bottom: 2px solid var(--navy); margin-bottom: 1.6rem; }
.field { margin-bottom: 1.6rem; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: .55rem; color: var(--navy); }
.hint { font-size: .9rem; color: var(--muted); font-weight: 400; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], textarea {
  width: 100%; font: inherit; padding: .85rem .95rem; border: 1px solid #c9d0db; border-radius: var(--r);
  background: var(--white); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(12, 29, 57, .12); }
textarea { min-height: 120px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .6rem; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.choice span {
  display: block; position: relative; border: 1px solid #c9d0db; border-radius: var(--r);
  padding: .85rem 2.3rem .85rem 1rem; font-weight: 600; line-height: 1.3; background: var(--white);
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.choice span small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; margin-top: .15rem; }
.choice span::after {
  content: ""; position: absolute; right: .9rem; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  border: 1px solid #b3bccb; border-radius: 50%; background: var(--white);
}
.choice input[type="checkbox"] + span::after { border-radius: 1px; }
.choice input:hover + span { border-color: #8f9bb0; }
.choice input:checked + span { border-color: var(--navy); background: #f1f4f9; box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:checked + span::after {
  border-color: var(--navy);
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.choice input:focus-visible + span { outline: 2px solid var(--navy-3); outline-offset: 2px; }
.hidden { display: none !important; }
.hp { position: absolute; left: -5000px; }

.estimate-panel {
  background: var(--navy) var(--twill); color: var(--white);
  padding: 2.1rem; box-shadow: inset 0 3px 0 var(--red);
}
.estimate-panel h2 { color: var(--on-navy); font-size: 1rem; font-stretch: 100%; font-weight: 600; letter-spacing: .01em; margin-bottom: .9rem; }
.est-amount { font-stretch: 122%; font-weight: 700; font-size: 2.9rem; line-height: 1; letter-spacing: -0.025em; color: var(--white); margin-bottom: .6rem; }
.est-sub { color: var(--on-navy); margin-bottom: 1.6rem; font-size: .97rem; }
.est-lines { list-style: none; margin: 0 0 1.4rem; padding: 0; border-top: 1px solid rgba(185, 150, 91, .45); }
.est-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .62rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .94rem; }
.est-lines li span:last-child { color: var(--on-navy-2); }
.est-perk { color: var(--brass-2); font-weight: 650; margin-bottom: 1.4rem; display: flex; gap: .55rem; align-items: flex-start; }
.est-perk::before { margin-top: .3em; }
.est-note { font-size: .85rem; color: var(--on-navy-2); margin: 0; }
.estimate-layout > aside { position: sticky; top: 104px; }
@media (max-width: 1000px) { .estimate-layout > aside { position: static; } }

.call-cards { display: grid; gap: .6rem; margin-top: 1rem; }
.call-cards a {
  display: flex; justify-content: space-between; align-items: center; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; text-decoration: none;
  color: var(--navy); font-weight: 650; font-size: 1.1rem; transition: border-color .2s ease;
}
.call-cards a:hover { border-color: var(--navy); }
.call-cards a span { font-size: .86rem; font-weight: 600; color: var(--red); }
.aside-title { font-size: 1.1rem; margin-top: 2.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep) var(--twill); color: var(--on-navy-2); padding: 5rem 0 2rem; font-size: .95rem; box-shadow: inset 0 2px 0 var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
.site-footer h3 { color: var(--white); font-size: .98rem; font-stretch: 100%; font-weight: 650; letter-spacing: .01em; padding-bottom: .7rem; border-bottom: 1px solid rgba(185, 150, 91, .45); margin-bottom: 1rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer-brand { display: flex; gap: 1.25rem; align-items: flex-start; }
.footer-brand img { width: 62px; flex: none; }
.motto { font-stretch: 118%; font-weight: 650; font-size: 1.12rem; line-height: 1.32; color: var(--white); margin: 0 0 .8rem; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 3.5rem; padding-top: 1.5rem; font-size: .84rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; } }
