/* ==========================================================================
   LAMAREON Lawn Care Services LLC — design system
   Akron, Ohio · Est. October 2002

   Palette logic: the site is built on deep forest black so that photography
   carries the page and every green in the imagery reads as the brand colour.
   Brass is the only accent — used for hairlines, eyebrows and numerals — which
   is what separates "premium landscaping" from "guy with a truck".
   ========================================================================== */

:root {
  /* Surfaces — near-black with a green cast, never pure #000 */
  --ink:        #070D0A;
  --ink-2:      #0B1410;
  --forest:     #0F211A;
  --forest-2:   #143024;

  /* Brand greens */
  --green:      #2F6B4F;
  --green-lit:  #4EA57A;
  --green-glow: rgba(78, 165, 122, 0.35);

  /* Brass — the luxury signal */
  --brass:      #C9A227;
  --brass-lit:  #E7CE7C;
  --brass-dim:  rgba(201, 162, 39, 0.28);

  /* Paper */
  --bone:       #F4F1E8;
  --bone-dim:   #CFCCC2;
  --mute:       #96A29A;
  --line:       rgba(244, 241, 232, 0.10);

  /* Type */
  --display: "Fraunces", "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section: clamp(5rem, 11vw, 10rem);
  --maxw: 1280px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0;
  font-variation-settings: "SOFT" 12, "WONK" 0;
}

::selection { background: var(--brass); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brass-lit);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ------------------------------------------------------------ primitives -- */

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }

/* Small-caps brass eyebrow — appears above every section heading */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-lit);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass));
}
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: linear-gradient(270deg, transparent, var(--brass));
}

.h-display {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
}
.h-section {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
}

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  color: var(--mute);
  max-width: 62ch;
  line-height: 1.75;
}

.rule {
  height: 1px;
  background: linear-gradient(90deg, var(--brass-dim), transparent);
  border: 0;
  margin: 0;
}

/* Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1.05rem 2rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.4s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-brass {
  background: var(--brass);
  color: var(--ink);
  box-shadow: 0 0 0 rgba(201, 162, 39, 0);
}
.btn-brass:hover {
  background: var(--brass-lit);
  box-shadow: 0 12px 40px -12px rgba(201, 162, 39, 0.6);
}

.btn-ghost {
  border-color: rgba(244, 241, 232, 0.25);
  color: var(--bone);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: var(--brass);
  color: var(--brass-lit);
  background: rgba(201, 162, 39, 0.06);
}

/* ------------------------------------------------------------- topbar -- */

.topbar {
  background: var(--forest);
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--bone-dim);
  position: relative;
  z-index: 60;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar strong { color: var(--brass-lit); font-weight: 600; }
.topbar .dot { color: var(--brass); opacity: 0.5; margin-inline: 0.6rem; }
.topbar-right { display: flex; align-items: center; gap: 0.4rem; }

/* ---------------------------------------------------------------- nav -- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.5s var(--ease), border-color 0.5s, backdrop-filter 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(7, 13, 10, 0.86);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 88px;
}

.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand__mark { flex: none; }
.brand__name {
  font-family: var(--display);
  font-size: 1.32rem;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}
.brand__sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.56rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 0.42rem;
  font-weight: 500;
}

.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2.2vw, 2.2rem); }
.nav__links a {
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--bone-dim);
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.3s;
  white-space: nowrap; /* two-word links must never break onto a second line */
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--brass);
  transition: width 0.4s var(--ease);
}
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 1rem; }

.burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.7rem;
  line-height: 0;
}
.burger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--bone);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--ink);
  padding: 8rem var(--gutter) 3rem;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--display);
  font-size: 1.9rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 2rem; }

/* --------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  min-height: min(94svh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: -88px;
  padding-top: 88px;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 28s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,13,10,0.72) 0%, rgba(7,13,10,0.25) 32%, rgba(7,13,10,0.86) 78%, var(--ink) 100%),
    radial-gradient(ellipse 70% 55% at 22% 70%, rgba(7,13,10,0.6), transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.hero h1 {
  font-size: clamp(2.9rem, 7.6vw, 6.6rem);
  max-width: 15ch;
  margin-bottom: 1.6rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--brass-lit);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.hero__lede { max-width: 54ch; margin-bottom: 2.6rem; color: var(--bone-dim); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Stat rail beneath the hero */
.statrail {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15,33,26,0.7), rgba(7,13,10,0.7));
}
.statrail .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 2.2rem 1.4rem;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat__n {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  color: var(--brass-lit);
  line-height: 1;
  display: block;
}
.stat__l {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 0.7rem;
  display: block;
}

/* --------------------------------------------------------- about split -- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}
/* Brass frame offset behind the photo */
.split__media::before {
  content: "";
  position: absolute;
  inset: 1.6rem -1.6rem -1.6rem 1.6rem;
  border: 1px solid var(--brass-dim);
  border-radius: 2px;
  z-index: -1;
}

.signature {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--bone);
  border-left: 1px solid var(--brass);
  padding-left: 1.4rem;
  margin: 2.2rem 0 0;
  line-height: 1.45;
}
.signature cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 1rem;
}

/* ----------------------------------------------------------- services -- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.svc {
  background: var(--ink-2);
  padding: 2.6rem 2.2rem;
  position: relative;
  overflow: hidden;
  transition: background-color 0.5s var(--ease);
  min-height: 100%;
}
.svc__bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease), transform 1.2s var(--ease);
  transform: scale(1.08);
  z-index: 0;
}
.svc__bg img { width: 100%; height: 100%; object-fit: cover; }
.svc__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,13,10,0.86), rgba(7,13,10,0.94));
}
.svc:hover .svc__bg { opacity: 1; transform: scale(1); }
/* Lift the copy above the hover image WITHOUT re-positioning .svc__bg itself —
   a blanket `.svc > *` rule overrides its absolute positioning, drops the image
   back into flow and pushes the card content down by the image's height. */
.svc > *:not(.svc__bg) { position: relative; z-index: 1; }

.svc__n {
  font-family: var(--display);
  font-size: 0.86rem;
  letter-spacing: 0.2em;
  color: var(--brass);
  display: block;
  margin-bottom: 1.5rem;
}
.svc h3 {
  font-size: 1.55rem;
  margin-bottom: 0.9rem;
  transition: color 0.4s;
}
.svc:hover h3 { color: var(--brass-lit); }
.svc p { color: var(--mute); font-size: 0.94rem; margin: 0 0 1.4rem; }
.svc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.84rem;
  color: var(--bone-dim);
}
.svc li {
  padding-left: 1.15rem;
  position: relative;
  margin-bottom: 0.4rem;
}
.svc li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 5px; height: 1px;
  background: var(--brass);
}

/* ------------------------------------------------------------ process -- */

.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 2.4rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--display);
  font-size: 3.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--brass-dim);
  opacity: 0.9;
}
.step h3 { font-size: 1.28rem; margin-bottom: 0.6rem; padding-top: 1.6rem; }
.step p { color: var(--mute); font-size: 0.92rem; margin: 0; }

/* ------------------------------------------------------------ gallery -- */

/* The tile sequence (2x2, 1,1,1,1, 2x2, 1,1,1,1, 2x1, 2x1) is chosen so 12
   figures fill 4 columns x 5 rows exactly — 20 cells, 20 units of tile. Change
   the count or the order and the grid grows holes, which is what the previous
   arrangement did. `dense` is a safety net, not the mechanism. */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(148px, 14.5vw, 212px);
  grid-auto-flow: dense;
  gap: 1rem;
}
.gallery figure { height: 100%; }
.g-2x2 { grid-column: span 2; grid-row: span 2; }
.g-2x1 { grid-column: span 2; }
.gallery figure {
  margin: 0;
  overflow: hidden;
  position: relative;
  border-radius: 2px;
  background: var(--forest);
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s;
  filter: saturate(0.94);
}
.gallery figure:hover img { transform: scale(1.06); filter: saturate(1.1); }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.4rem 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  background: linear-gradient(0deg, rgba(7,13,10,0.9), transparent);
  transform: translateY(6px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s;
}
.gallery figure:hover figcaption { transform: translateY(0); opacity: 1; }


/* --------------------------------------------------------- comparison -- */

.compare {
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.compare__head, .compare__row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
}
.compare__head {
  background: var(--forest);
  border-bottom: 1px solid var(--line);
}
.compare__head > * {
  padding: 1.4rem 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.compare__head .us { color: var(--brass-lit); background: rgba(201,162,39,0.07); }
.compare__head .them { color: var(--mute); }
.compare__row { border-bottom: 1px solid var(--line); }
.compare__row:last-child { border-bottom: 0; }
.compare__row > * {
  padding: 1.15rem 1.5rem;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
}
.compare__row .label { color: var(--bone-dim); }
.compare__row .us { background: rgba(201,162,39,0.045); color: var(--bone); }
.compare__row .them { color: var(--mute); }
.tick { color: var(--green-lit); margin-right: 0.55rem; flex: none; }
.cross { color: rgba(244,241,232,0.28); margin-right: 0.55rem; flex: none; }

/* ------------------------------------------------------------- areas -- */

.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.5rem;
}
.area {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  font-size: 0.82rem;
  color: var(--bone-dim);
  transition: border-color 0.4s, color 0.4s, background-color 0.4s;
}
.area:hover {
  border-color: var(--brass-dim);
  color: var(--brass-lit);
  background: rgba(201,162,39,0.05);
}

/* ------------------------------------------------------ testimonials -- */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.quote {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2.4rem 2rem;
  background: linear-gradient(160deg, rgba(20,48,36,0.4), transparent);
  display: flex;
  flex-direction: column;
}
.quote__stars { color: var(--brass); letter-spacing: 0.25em; font-size: 0.85rem; margin-bottom: 1.3rem; }
.quote p {
  font-family: var(--display);
  font-size: 1.16rem;
  line-height: 1.55;
  color: var(--bone);
  margin: 0 0 1.6rem;
  flex: 1;
}
.quote cite {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ------------------------------------------------------------- quote -- */

.quoteform {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.field { margin-bottom: 1.4rem; }
/* Direct child only — the checkbox <label>s nested inside .checks must not
   inherit the uppercase micro-label treatment meant for field captions. */
.field > label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.6rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(244, 241, 232, 0.035);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.95rem 1.1rem;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.35s, background-color 0.35s;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: rgba(201, 162, 39, 0.05);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(150,162,154,0.55); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brass) 50%), linear-gradient(135deg, var(--brass) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--forest); color: var(--bone); }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.87rem;
  color: var(--bone-dim);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
.check:hover { border-color: rgba(201,162,39,0.4); color: var(--bone); }
/* Native checkboxes render as opaque white squares on a dark surface, which
   reads as broken. Draw our own box with a brass check. */
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 17px; height: 17px;
  flex: none;
  margin: 0;
  border: 1px solid rgba(244, 241, 232, 0.28);
  border-radius: 2px;
  background: transparent;
  display: grid;
  place-content: center;
  transition: border-color 0.25s, background-color 0.25s;
}
.check input::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--brass);
  transform: scale(0);
  transition: transform 0.2s var(--ease);
  clip-path: polygon(14% 46%, 0 60%, 39% 100%, 100% 22%, 86% 10%, 38% 71%);
}
.check input:checked { border-color: var(--brass); background: rgba(201, 162, 39, 0.12); }
.check input:checked::before { transform: scale(1); }
.check:has(input:checked) {
  border-color: var(--brass);
  background: rgba(201,162,39,0.07);
  color: var(--bone);
}

.formnote { font-size: 0.78rem; color: var(--mute); margin-top: 1.2rem; }

.callcard {
  border: 1px solid var(--brass-dim);
  border-radius: 2px;
  padding: 2rem;
  background: linear-gradient(160deg, rgba(201,162,39,0.08), transparent 70%);
  margin-top: 2.2rem;
}
.callcard__n {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--brass-lit);
  display: block;
  margin: 0.5rem 0 0.4rem;
  letter-spacing: -0.01em;
}
.callcard p { color: var(--mute); font-size: 0.86rem; margin: 0; }

/* --------------------------------------------------------------- faq -- */

.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.7rem 3rem 1.7rem 0;
  font-family: var(--display);
  font-size: clamp(1.08rem, 1.9vw, 1.4rem);
  position: relative;
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brass-lit); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.5rem; top: 50%;
  width: 11px; height: 11px;
  border-right: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.4s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq details p {
  color: var(--mute);
  margin: 0 0 1.8rem;
  max-width: 76ch;
  font-size: 0.96rem;
}

/* ---------------------------------------------------------- final cta -- */

.finalcta {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.finalcta__media { position: absolute; inset: 0; z-index: 0; }
.finalcta__media img { width: 100%; height: 100%; object-fit: cover; }
.finalcta__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ink), rgba(7,13,10,0.72) 45%, var(--ink));
}
.finalcta .wrap { position: relative; z-index: 1; }
.finalcta h2 { max-width: 18ch; margin-inline: auto; }

/* ------------------------------------------------------------- footer -- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.footer h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.3rem;
  font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.6rem; }
.footer a, .footer p { color: var(--mute); font-size: 0.9rem; }
.footer a { transition: color 0.3s; }
.footer a:hover { color: var(--brass-lit); }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(150,162,154,0.7);
}

/* Sticky mobile call bar */
.callbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  background: rgba(7,13,10,0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--brass-dim);
  padding: 0.7rem;
  gap: 0.7rem;
}
.callbar .btn { flex: 1; padding: 0.9rem 1rem; font-size: 0.74rem; }

/* ------------------------------------------------------------ reveal -- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- responsive -- */

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  /* At 2 columns the same sequence still tiles exactly: each 2x2 takes a full
     pair of rows, the singles pair off, the 2x1s take a row each. */
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  /* Both nav buttons come out below 900px: brand + burger is all that fits at
     390px, and the sticky bottom call bar already carries Call + Estimate. */
  .nav__cta .btn { display: none; }
  .burger { display: block; }
  .nav .wrap { min-height: 72px; gap: 1rem; }
  .brand__name { font-size: 1.15rem; letter-spacing: 0.13em; }
  .hero { margin-top: -72px; padding-top: 72px; }
  .split { grid-template-columns: 1fr; }
  .split__media::before { inset: 1rem -1rem -1rem 1rem; }
  .quoteform { grid-template-columns: 1fr; }
  .statrail .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .compare__head, .compare__row { grid-template-columns: 1.4fr 0.8fr 0.8fr; }
  .compare__row > *, .compare__head > * { padding-inline: 1rem; font-size: 0.85rem; }
  .callbar { display: flex; }
  body { padding-bottom: 70px; }
}

@media (max-width: 620px) {
  .topbar .wrap { justify-content: center; text-align: center; min-height: 38px; }
  .topbar-right { display: none; }
  /* Keep the bar to a single line on a phone — the founding year is repeated
     in the hero eyebrow anyway. */
  .topbar .est { display: none; }
  .topbar { font-size: 0.72rem; }
  .checks { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; gap: 0; }
  /* One column: drop every span and let a uniform aspect ratio set the height,
     so the column reads as an even stack rather than a ragged one. */
  .gallery { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .g-2x2, .g-2x1 { grid-column: auto; grid-row: auto; }
  .gallery figure { aspect-ratio: 4 / 3; height: auto; }
  /* No hover on touch — captions have to be visible by default. */
  .gallery figcaption { opacity: 1; transform: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1; }
}
