/* =========================================================
   Artificial Turf Palmetto Bay — "The Yard Plan"
   The site is drawn like a landscape plan: plan paper ground,
   hairline grid, dimension lines with end ticks, keynote
   numbers in mono, and a drawing title block for a footer.
   Only two saturated colours: plan green (fills) and
   surveyor orange (every call to action).
   Plain CSS, no build step.
   ========================================================= */

/* shortcut: Google Fonts via @import (one extra round trip). Self-host both faces before the renting contractor goes live. */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

:root {
  /* plan paper */
  --paper:        #ecefe6;
  --paper-hi:     #f4f6ef;
  --paper-lo:     #e1e5d9;
  --paper-deep:   #d3d8ca;

  /* drawn lines */
  --rule:         #e0e4d9;   /* hairline grid, light enough that text over it still passes */
  --rule-strong:  #a8af9e;   /* dimension lines, borders */

  /* ink */
  --ink:          #1f2a24;   /* 13.1:1 on paper */
  --ink-soft:     #46524a;   /* 7.1:1 on paper */
  --ink-faint:    #576259;   /* 5.4:1 on paper, 4.9:1 on paper-lo and on a grid line */

  /* plan green: fills, the lawn itself */
  --plan:         #2f5d3f;   /* 6.6:1 on paper */
  --plan-hi:      #3d7a52;
  --plan-lo:      #1e3f2a;

  /* surveyor orange: every CTA, every measurement that matters */
  --survey:       #b8431a;   /* button fills: 5.5:1 against white */
  --survey-text:  #9c3814;   /* orange as TEXT: 6.0:1 on paper, 5.5:1 on paper-lo */
  --survey-on-dark: #e9a07f; /* orange as text on plan-lo: 5.5:1 */
  --survey-hi:    #d4541f;
  --survey-lo:    #8f3312;

  --night:        #14201a;   /* title block, hero ground */
  --night-soft:   #1d2d24;

  /* legacy aliases so shared elements (chat widget) resolve */
  --brand: var(--plan); --brand-dark: var(--night); --line: var(--rule-strong);
  --bg: var(--paper); --bg-alt: var(--paper-lo); --bg-dark: var(--night);
  --surface: var(--paper); --text: var(--ink); --muted: var(--ink-soft);
  --border: var(--rule-strong); --accent: var(--plan); --cta: var(--survey);

  --max: 1180px;
  --radius: 2px;
  --grid: 24px;              /* plan paper module */
  --font-head: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[id] { scroll-margin-top: 88px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  /* plan paper: hairline grid, heavier line every fifth module */
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px),
    linear-gradient(rgba(140,150,130,.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,150,130,.26) 1px, transparent 1px);
  background-size: var(--grid) var(--grid), var(--grid) var(--grid),
                   calc(var(--grid) * 5) calc(var(--grid) * 5), calc(var(--grid) * 5) calc(var(--grid) * 5);
  background-position: -1px -1px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--survey-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--survey-lo); }
:focus-visible { outline: 3px solid var(--survey); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.015em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.3rem); }
h3 { font-size: 1.22rem; font-weight: 700; }
h4 { font-size: 1rem; }
p + p { margin-top: 1.05em; }
strong { font-weight: 700; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.muted { color: var(--ink-soft); font-size: .95rem; }
.lead { font-size: 1.17rem; color: var(--ink-soft); }

/* ---------------------------------------------------------- panel: the sheet laid on the paper */
.sheet {
  background: var(--paper-hi);
  border: 1px solid var(--rule-strong);
  box-shadow: 3px 3px 0 var(--paper-deep);
}

/* ---------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper-hi); border-bottom: 1px solid var(--rule-strong); }
.nav { max-width: var(--max); margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 22px; min-height: 68px; }
.nav__logo { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; letter-spacing: -.02em; flex: 0 0 auto; }
/* logomark = favicon, reused: a measured corner bracket with a centre tick,
   paper on a surveyor-orange square. Same artwork as favicon.svg. */
.nav__logo::before {
  content: ""; width: 30px; height: 30px; flex: 0 0 auto;
  background-color: var(--survey); border-radius: var(--radius);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%23f4f0e6' stroke-width='2.6' stroke-linecap='square'%3E%3Cpath d='M7 12V7h5'/%3E%3Cpath d='M25 20v5h-5'/%3E%3Cpath d='M16 13v6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 30px 30px; background-repeat: no-repeat;
}
.nav__logo strong { font-weight: 800; }
.nav__links { list-style: none; display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav__links a { color: var(--ink); text-decoration: none; font-size: .935rem; font-weight: 600; }
.nav__links a:hover { color: var(--survey); }
.nav__call { font-family: var(--font-mono); font-weight: 600; font-size: .9rem !important; letter-spacing: -.02em; color: var(--survey-text) !important; white-space: nowrap; }
.nav__end { display: none; align-items: center; gap: 14px; margin-left: auto; }
.nav__toggle { background: none; border: 1px solid var(--rule-strong); border-radius: var(--radius); width: 42px; height: 38px; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.nav__toggle svg { width: 21px; height: 21px; }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: 100%; left: -14px; min-width: 285px; background: var(--paper-hi); border: 1px solid var(--rule-strong); box-shadow: 4px 4px 0 var(--paper-deep); list-style: none; padding: 7px 0; opacity: 0; visibility: hidden; transition: opacity .15s; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; }
.dropdown a { display: block; padding: 9px 18px; font-weight: 500; font-size: .92rem; }
.dropdown a:hover { background: var(--paper-lo); }

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: -.01em;
  padding: 14px 26px; border: 1px solid var(--survey-lo); border-radius: var(--radius);
  background: var(--survey); color: #fff; text-decoration: none; cursor: pointer;
  box-shadow: 2px 2px 0 var(--survey-lo); transition: transform .12s var(--ease-out), box-shadow .12s var(--ease-out), background .12s;
}
.btn:hover { background: var(--survey-hi); color: #fff; transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--survey-lo); }
.btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--survey-lo); }
.btn--lg { padding: 17px 30px; font-size: 1.07rem; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: 2px 2px 0 var(--rule-strong); }
.btn--ghost:hover { background: var(--ink); color: var(--paper-hi); }

/* ---------------------------------------------------------- dimension rule: the signature heading device */
.dim { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.dim__no { font-family: var(--font-mono); font-size: .8rem; font-weight: 600; color: var(--survey-text); letter-spacing: .06em; flex: 0 0 auto; }
.dim__line { flex: 1 1 auto; height: 9px; border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule-strong); border-right: 1px solid var(--rule-strong); }
.dim__label { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-faint); flex: 0 0 auto; }

/* ---------------------------------------------------------- hero */
.hero { position: relative; background: var(--night); color: var(--paper-hi); overflow: hidden; border-bottom: 1px solid var(--rule-strong); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(244,240,230,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(244,240,230,.07) 1px, transparent 1px);
  background-size: var(--grid) var(--grid);
  pointer-events: none;
}
.hero__photo { position: absolute; inset: 0; background: var(--night) var(--hero, none) center right / cover no-repeat; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,32,26,.94) 0%, rgba(20,32,26,.86) 34%, rgba(20,32,26,.52) 62%, rgba(20,32,26,.95) 100%); }
.hero__in { position: relative; max-width: var(--max); margin: 0 auto; padding: 68px 28px 74px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 46px; align-items: start; }
.hero h1 { color: var(--paper-hi); text-shadow: 0 2px 14px rgba(0,0,0,.42); max-width: 15ch; }
.hero__sub { margin-top: 20px; font-size: 1.19rem; color: #e4e0d2; max-width: 42ch; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hero__btns { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 13px; }
.hero .btn--ghost { color: var(--paper-hi); border-color: var(--paper-hi); box-shadow: 2px 2px 0 rgba(244,240,230,.3); }
.hero .btn--ghost:hover { background: var(--paper-hi); color: var(--ink); }
.hero__stats { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid rgba(244,240,230,.26); max-width: 460px; }
.hero__stat { padding: 13px 19px; border-right: 1px solid rgba(244,240,230,.26); border-bottom: 1px solid rgba(244,240,230,.26); }
.hero__stat:nth-child(2n) { border-right: 0; }
.hero__stat:nth-last-child(-n+2) { border-bottom: 0; }
.hero__stat b { display: block; font-family: var(--font-mono); font-size: 1.1rem; font-weight: 600; color: var(--paper-hi); }
.hero__stat span { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: #b9b5a6; }

/* the drawn site plan in the home hero's right column */
.hero__plan { color: var(--paper-hi); }
.hero__plan svg { width: 100%; height: auto; display: block; }
.hero__plan { padding-right: 6px; }
.hp-t { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; fill: currentColor; opacity: .62; }
.hp-on { opacity: .9; }
.hp-k { font-family: var(--font-mono); font-size: 12px; font-weight: 600; fill: var(--survey-on-dark); letter-spacing: .06em; }
.hp-pool { fill: #2b4f5e; stroke: currentColor; stroke-width: 1.2; opacity: .75; }
.hp-turf rect { fill: var(--plan); stroke: var(--plan-hi); stroke-width: 1.5; }
.hp-turf .hp-turf-in { fill: none; stroke: rgba(244,246,239,.28); stroke-width: 1; }
.hp-dim { fill: var(--survey-on-dark); stroke: var(--survey-on-dark); stroke-width: 1; }
.hp-dim text { font-family: var(--font-mono); font-size: 11px; font-weight: 600; stroke: none; }
.hp-n { fill: currentColor; opacity: .7; }
.hp-n text { font-family: var(--font-mono); font-size: 10px; font-weight: 600; stroke: none; }
.hp-scale { stroke: currentColor; stroke-width: 1; fill: currentColor; opacity: .55; }
.hp-scale text { font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; stroke: none; }
.hp-tree { color: var(--plan-hi); }

/* inner-page hero: shorter, no photo */
.hero--inner .hero__in { grid-template-columns: 1fr; padding: 52px 28px 56px; max-width: 880px; }
.hero--inner h1 { max-width: 26ch; }

/* ---------------------------------------------------------- sections */
.sec { padding: 68px 0; border-bottom: 1px solid var(--rule); }
.sec--alt { background: var(--paper-lo); }
/* the 58ch measure belongs to running text only; tables, the estimator, the HOA
   route and the card grids use the full column. */
.sec__body > p, .sec__body > ul, .sec__body > h3, .sec__body > .muted { max-width: 58ch; }
/* an h3 inside a section body opens a new block, so it needs more air above it
   than below, or it reads as a caption on the paragraph before it. */
.sec__body h3 { margin-top: 2.1em; margin-bottom: .55em; }
.sec__body > :first-child { margin-top: 0; }
.sec__body ul { margin: 18px 0 0; padding-left: 0; list-style: none; }
.sec__body li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.sec__body li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 11px; height: 11px; border: 1px solid var(--plan); background: var(--plan-hi); transform: rotate(45deg); }

/* keynote cards: numbered like plan callouts */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 0; margin-top: 30px; border: 1px solid var(--rule-strong); background: var(--paper-hi); }
.card { padding: 26px 24px 28px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); counter-increment: keynote; }
.card__no { font-family: var(--font-mono); font-size: .78rem; font-weight: 600; color: var(--survey-text); letter-spacing: .08em; display: block; margin-bottom: 9px; }
.card h3 { margin-bottom: 8px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--survey); text-decoration: underline; }
.card p { font-size: .97rem; color: var(--ink-soft); }

/* link list */
.linklist { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.wrap > h3 { margin-top: 2.1em; }
.wrap > h2 + h3 { margin-top: 1.1em; }
.linklist a { display: inline-block; padding: 9px 15px; background: var(--paper-hi); border: 1px solid var(--rule-strong); color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 600; }
.linklist a:hover { border-color: var(--survey); color: var(--survey); }

/* steps */
.steps { counter-reset: step; display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--rule-strong); }
.step { counter-increment: step; display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 1.02rem; font-weight: 600; color: var(--survey-text); }
.step h3 { margin-bottom: 5px; }
.step p { color: var(--ink-soft); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule-strong); background: var(--paper-hi); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
th { font-family: var(--font-mono); font-size: .77rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--paper-hi); background: var(--plan-lo); }
td:last-child { font-family: var(--font-mono); font-weight: 500; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { margin-top: 28px; border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 17px 38px 17px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.07rem; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-family: var(--font-mono); font-size: 1.3rem; color: var(--survey-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { padding: 0 38px 18px 0; color: var(--ink-soft); }

/* CTA band */
.cta { background: var(--plan-lo); color: var(--paper-hi); padding: 74px 0; border-bottom: 1px solid var(--rule-strong); }
.cta h2 { color: var(--paper-hi); font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -.025em; max-width: 16ch; }
.cta p { margin-top: 13px; color: #d7d3c4; max-width: 52ch; }
.cta__btns { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 13px; }
.cta .btn--ghost { color: var(--paper-hi); border-color: var(--paper-hi); box-shadow: 2px 2px 0 rgba(244,240,230,.3); }
.cta .btn--ghost:hover { background: var(--paper-hi); color: var(--plan-lo); }

/* split heading */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 38px; align-items: end; }
.split p { color: var(--ink-soft); }

/* ---------------------------------------------------------- the estimator (trust widget) */
.est { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--rule-strong); background: var(--paper-hi); margin-top: 30px; }
.est__controls { padding: 28px 26px; border-right: 1px solid var(--rule-strong); }
.est__out { padding: 28px 26px; background: var(--paper-lo); }
.est__legend { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-faint); margin-bottom: 7px; display: block; }
.est__row { margin-bottom: 24px; }
.est__row:last-child { margin-bottom: 0; }
.est__val { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.est__val small { font-size: .82rem; font-weight: 500; color: var(--ink-soft); margin-left: 4px; }
input[type=range] { width: 100%; margin-top: 11px; accent-color: var(--survey); height: 28px; }
.est__hint { font-size: .86rem; color: var(--ink-faint); margin-top: 7px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.chip { font-family: var(--font-body); font-size: .9rem; font-weight: 600; padding: 9px 14px; background: var(--paper-hi); border: 1px solid var(--rule-strong); border-radius: var(--radius); color: var(--ink); cursor: pointer; }
.chip[aria-pressed=true] { background: var(--plan); border-color: var(--plan-lo); color: #fff; }
/* the plan drawing: a rectangle that resizes, with dimension lines */
.plot { position: relative; height: 188px; margin: 6px 0 20px; display: grid; place-items: center; }
.plot__rect { background: var(--plan-hi); border: 1px solid var(--plan-lo); box-shadow: inset 0 0 0 4px rgba(244,240,230,.22); transition: width .25s var(--ease-out), height .25s var(--ease-out); }
.plot__w, .plot__h { position: absolute; font-family: var(--font-mono); font-size: .76rem; font-weight: 600; color: var(--survey-text); background: var(--paper-lo); padding: 0 5px; }
.plot__w { bottom: 2px; left: 50%; transform: translateX(-50%); }
.plot__h { right: 2px; top: 50%; transform: translateY(-50%); }
.est__range { font-family: var(--font-mono); font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 600; color: var(--plan-lo); letter-spacing: -.02em; }
.est__note { font-size: .88rem; color: var(--ink-soft); margin-top: 12px; }
.est__drivers { list-style: none; margin-top: 16px; font-size: .92rem; }
.est__drivers li { padding-left: 22px; position: relative; margin-bottom: 7px; color: var(--ink-soft); }
.est__drivers li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 9px; height: 9px; border: 1px solid var(--survey); transform: rotate(45deg); }

/* ---------------------------------------------------------- the HOA approval route */
.hoa { border: 1px solid var(--rule-strong); background: var(--paper-hi); margin-top: 30px; padding: 28px 26px; }
.hoa__q { margin-bottom: 20px; }
.hoa__q legend { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.hoa__out { margin-top: 22px; padding: 22px 22px; background: var(--plan-lo); color: var(--paper-hi); border: 1px solid var(--plan-lo); }
.hoa__out h3 { color: var(--paper-hi); margin-bottom: 9px; }
.hoa__out p { color: #d7d3c4; font-size: .98rem; }
.hoa__out ul { list-style: none; margin-top: 13px; font-size: .95rem; }
.hoa__out li { padding-left: 23px; position: relative; margin-bottom: 7px; color: #d7d3c4; }
.hoa__out li::before { content: ""; position: absolute; left: 2px; top: .56em; width: 9px; height: 9px; border: 1px solid var(--survey-hi); background: var(--survey); transform: rotate(45deg); }
.hoa__law { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; color: var(--survey-on-dark); text-transform: uppercase; display: block; margin-bottom: 7px; }

/* ---------------------------------------------------------- form */
.form-card { background: var(--paper-hi); border: 1px solid var(--rule-strong); box-shadow: 4px 4px 0 var(--paper-deep); padding: 26px 24px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-family: var(--font-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 13px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radius);
}
.field input:focus, .field textarea:focus { border-color: var(--survey); outline: 2px solid rgba(184,67,26,.25); outline-offset: 0; }
.form-error { color: var(--survey-lo); font-weight: 600; font-size: .94rem; margin-bottom: 12px; }
.form-card h2 { font-size: 1.4rem; }

/* ---------------------------------------------------------- footer: a drawing title block */
.site-footer { background: var(--night); color: #cfcbbc; padding: 54px 0 0; font-size: .95rem; }
.site-footer a { color: #e4e0d2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 0; border: 1px solid rgba(244,240,230,.24); }
.footer-grid > div { padding: 24px 22px; border-right: 1px solid rgba(244,240,230,.24); }
.footer-grid > div:last-child { border-right: 0; }
.site-footer h4 { font-family: var(--font-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: #9c9789; margin-bottom: 13px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 7px; }
.site-footer p { color: #b5b1a3; }
.titleblock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(244,240,230,.24); border-bottom: 0; }
.titleblock div { padding: 11px 22px; border-right: 1px solid rgba(244,240,230,.24); }
.titleblock div:last-child { border-right: 0; }
.titleblock dt { font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .16em; color: #857f74; }
.titleblock dd { font-family: var(--font-mono); font-size: .74rem; color: #ded9ca; margin-top: 3px; overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid rgba(244,240,230,.24); margin-top: 0; padding: 20px 0 94px; font-family: var(--font-mono); font-size: .8rem; color: #8d8880; letter-spacing: .02em; }

/* ---------------------------------------------------------- sticky phone bar */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; border-top: 1px solid var(--survey-lo); }
.sticky-cta a { flex: 1 1 0; text-align: center; padding: 15px 8px; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; text-decoration: none; }
.sticky-cta__call { background: var(--survey); color: #fff; }
.sticky-cta__est { background: var(--night); color: var(--paper-hi); }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1140px) {
  .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .titleblock div:nth-child(2n) { border-right: 0; }
  .nav__links { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper-hi); border-bottom: 1px solid var(--rule-strong); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; display: none; }
  .nav__links.open { display: flex; }
  .nav__links > li > a { display: block; padding: 12px 28px; }
  .nav__links .nav__call { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; border: 0; box-shadow: none; padding: 0 0 6px 14px; min-width: 0; background: none; }
  .nav__end { display: flex; }
  .hero__in { grid-template-columns: 1fr; gap: 34px; }
  .split { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .est { grid-template-columns: 1fr; }
  .est__controls { border-right: 0; border-bottom: 1px solid var(--rule-strong); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:nth-child(2n) { border-right: 0; }
  .footer-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(244,240,230,.24); }
}
@media (max-width: 700px) {
  :root { --grid: 20px; }
  .wrap, .nav, .hero__in { padding-left: 18px; padding-right: 18px; }
  .sec { padding: 46px 0; }
  .hero__in { padding: 44px 18px 50px; }
  .hero__photo { background-position: center top; background-size: 100% 177.78vw; background-image: var(--hero-m, var(--hero, none)); }
  .hero__photo::after { background: linear-gradient(180deg, rgba(20,32,26,.93) 0%, rgba(20,32,26,.88) 38%, rgba(20,32,26,.52) 64%, rgba(20,32,26,.97) 92%); }
  .cards { grid-template-columns: 1fr; }
  .card { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div { border-right: 0; border-bottom: 1px solid rgba(244,240,230,.24); }
  .footer-grid > div:last-child { border-bottom: 0; }
  .sticky-cta { display: flex; }

}
@media (max-width: 560px) {
  /* "Artificial Turf Palmetto Bay" is a long name. On a phone the header keeps
     the mark, the name and the menu; the sticky bottom bar already carries Call now. */
  .nav__end .nav__call { display: none; }
  .nav { gap: 12px; }
}
@media (max-width: 480px) {
  .nav__logo { font-size: .9rem; }
  .nav__logo::before { width: 26px; height: 26px; }
  .hero__btns .btn { width: 100%; }
}
