/* Everglades Dock and Lift: site styles
   JJ's green and black, from the logo and the van wrap: black and charcoal
   grounds, the logo greens (#2F9746 for actions and accents on black, #005D31 for green text on light). Archivo (self-hosted,
   variable width) in wide bold capitals for display, white line drawings.
   The home hero is the sizing-sheet option: the boat on its lift on ink.
   Components read theme variables; .black, .light and .ink switch them. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/fonts/archivo-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/fonts/archivo-latin-italic.woff2") format("woff2");
}

:root {
  /* palette */
  --black: #111411;
  --black-2: #0a0c0a;
  --black-3: #1c211d;
  --ink: #080a08;
  --paper: #f3f4f0;
  --white: #ffffff;
  --green: #2f9746;
  --green-hover: #3cb258;
  --green-ink: #005d31;

  /* theme variables: the whole site is dark, like the home page (black, charcoal, logo green) */
  --bg: var(--ink);
  --fg: #f3f4f0;
  --muted: #a3aba4;
  --rule: rgba(255, 255, 255, 0.14);
  --raised: #121612;
  --fill: #161a17;
  --signal: var(--green);
  --hover-text: var(--green-hover);
  --water: rgba(47, 151, 70, 0.08);
  --btn-bg: var(--green);
  --btn-fg: var(--black-2);
  --btn-hover: var(--green-hover);
  --quiet-border: rgba(255, 255, 255, 0.55);
  --quiet-hover: rgba(255, 255, 255, 0.08);

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: var(--font);
  --wide: 125%;
  --semi-wide: 112%;

  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-md: 1.25rem;
  --text-lg: clamp(1.2rem, 1.08rem + 0.5vw, 1.4rem);
  --text-h2: clamp(1.7rem, 1.2rem + 1.9vw, 2.75rem);
  --text-h1: clamp(2.1rem, 1.2rem + 3.6vw, 4.25rem);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --header-h: 84px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 180ms;

  color-scheme: dark;
}

.black {
  --bg: var(--black);
  --fg: #ffffff;
  --muted: #b2b9b3;
  --rule: rgba(255, 255, 255, 0.18);
  --raised: var(--black-2);
  --fill: var(--black-2);
  --signal: var(--green);
  --hover-text: var(--green);
  --water: rgba(47, 151, 70, 0.08);
  --quiet-border: rgba(255, 255, 255, 0.55);
  --quiet-hover: rgba(255, 255, 255, 0.08);
  --btn-bg: var(--green); --btn-fg: var(--black-2); --btn-hover: var(--green-hover);
  color-scheme: dark;
}

.ink {
  --bg: var(--ink);
  --fg: #ffffff;
  --muted: #a3aba4;
  --rule: rgba(255, 255, 255, 0.14);
  --raised: #161a17;
  --fill: #161a17;
  --signal: var(--green);
  --hover-text: var(--green);
  --quiet-border: rgba(255, 255, 255, 0.5);
  --quiet-hover: rgba(255, 255, 255, 0.08);
  --btn-bg: var(--green); --btn-fg: var(--black-2); --btn-hover: var(--green-hover);
  color-scheme: dark;
}

/* .light now means the charcoal step, so sections still alternate */
.light {
  --bg: var(--black);
  --raised: #161a17;
  --fill: #1a1f1b;
}

@media (min-width: 900px) {
  :root { --text-base: 1.125rem; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }

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

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--white); color: var(--black); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

/* ---------- type ---------- */

h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }

.display, h2, .h2 {
  font-family: var(--display);
  font-stretch: var(--wide);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.display { font-size: var(--text-h1); line-height: 0.98; }
h2, .h2 { font-size: var(--text-h2); line-height: 1.02; }

h3, .h3 {
  font-family: var(--display);
  font-stretch: var(--semi-wide);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.2;
}

.label {
  font-family: var(--font); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em;
}

.rule-short { width: 88px; height: 1px; background: currentColor; opacity: 0.55; border: 0; margin: 0; }

p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.lede { font-size: var(--text-lg); line-height: 1.5; max-width: 48ch; font-weight: 400; }
.muted { color: var(--muted); }
.small { font-size: var(--text-sm); line-height: 1.5; }
.license { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- buttons ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border-radius: 0; border: 1px solid transparent;
  font: inherit; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--fast) ease, border-color var(--fast) ease, color var(--fast) ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-hover); }

.btn-quiet { border-color: var(--quiet-border); color: var(--fg); }
.btn-quiet:hover { border-color: var(--fg); background: var(--quiet-hover); }

.text-link {
  font-weight: 600; text-decoration: underline; text-decoration-color: var(--signal);
  text-decoration-thickness: 1px; text-underline-offset: 0.3em;
}
.black .text-link, .ink .text-link, .page-hero .text-link { text-decoration-color: var(--green); }
.text-link:hover { color: var(--hover-text); }

.more {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
}
.more:hover { color: var(--hover-text); }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  --fg: #ffffff; --muted: rgba(255, 255, 255, 0.78); --rule: rgba(255, 255, 255, 0.16);
  --btn-bg: var(--green); --btn-fg: var(--black-2); --btn-hover: var(--green-hover);
  background: var(--ink);
  color: var(--fg);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: var(--header-h); }

.wordmark { display: inline-block; flex: none; line-height: 0; padding-block: 8px; }
.wordmark img { width: auto; height: 52px; }
@media (max-width: 420px) { .wordmark img { height: 44px; } }

.nav { display: none; gap: 30px; margin-inline: auto; }
.nav a {
  white-space: nowrap; text-decoration: none; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); padding: 10px 0; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); border-bottom-color: currentColor; }

.header-actions { display: none; align-items: center; gap: 22px; }
.header-phone { white-space: nowrap; text-decoration: none; font-weight: 500; font-size: 0.95rem; letter-spacing: 0.06em; padding: 12px 0; }
.header-phone:hover { color: var(--green); }
.header-actions .btn { min-height: 42px; padding: 0 18px; font-size: 0.72rem; }

.menu-toggle {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: none; border: 1px solid var(--rule); color: var(--fg); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-menu { display: none; border-top: 1px solid var(--rule); padding: 8px var(--gutter) 24px; background: var(--ink); }
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 15px 0; border-bottom: 1px solid var(--rule); text-decoration: none;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}

@media (min-width: 1280px) {
  .nav, .header-actions { display: flex; }
  .menu-toggle, .mobile-menu, .mobile-menu.open { display: none; }
}

/* ---------- sections ---------- */

.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.light, .raised, .black, .ink { background: var(--bg); color: var(--fg); }
.raised { background: var(--raised); }
.rule-top { border-top: 1px solid var(--rule); }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head > * { margin: 0; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 7fr 5fr; align-items: end; gap: 48px; }
}

.centered { text-align: center; display: grid; justify-items: center; gap: 22px; }
.centered p { margin: 0; }

/* Home: the small header logo waits until the hero logo scrolls away. */
.home .site-header .wordmark { visibility: hidden; opacity: 0; transition: opacity 250ms ease, visibility 0s linear 250ms; }
.home.logo-away .site-header .wordmark { visibility: visible; opacity: 1; transition: opacity 250ms ease; }

/* ---------- drawings ---------- */

.drawing { margin: 0; position: relative; color: var(--fg); }
.drawing svg { width: 100%; height: auto; overflow: visible; }
.drawing figcaption { margin-top: 14px; font-size: var(--text-sm); color: var(--muted); display: grid; gap: 2px; max-width: 70ch; }
.drawing figcaption .tide-reading { color: var(--fg); font-weight: 500; font-size: 0.975rem; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); margin-right: 8px; vertical-align: 1px; }

.dw-line { fill: none; stroke: currentColor; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.dw-thin { fill: none; stroke: currentColor; stroke-width: 0.8; opacity: 0.5; vector-effect: non-scaling-stroke; }
.dw-hidden { fill: none; stroke: currentColor; stroke-width: 0.8; stroke-dasharray: 4 4; opacity: 0.45; vector-effect: non-scaling-stroke; }
.dw-fill { fill: var(--fill); stroke: currentColor; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.dw-water { fill: var(--water); }
.dw-waterline { fill: none; stroke: var(--signal); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.dw-ripple { fill: none; stroke: var(--signal); stroke-width: 0.8; opacity: 0.3; vector-effect: non-scaling-stroke; }
.dw-label { fill: var(--fg); opacity: 0.85; font-family: var(--font); font-size: 15px; letter-spacing: 0.02em; }
.dw-label-strong { opacity: 1; font-weight: 600; }
.dw-leader { fill: none; stroke: currentColor; stroke-width: 0.7; opacity: 0.5; vector-effect: non-scaling-stroke; }
.dw-num-bg { fill: var(--fg); }
.dw-num { fill: var(--bg); font-family: var(--font); font-size: 13px; font-weight: 600; }
.dw-soil { fill: currentColor; opacity: 0.05; }
.dw-gap { fill: var(--bg); stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.dw-hull { fill: rgba(255, 255, 255, 0.06); stroke: currentColor; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.dw-deck { fill: rgba(243, 244, 240, 0.92); stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.dw-shadow { fill: rgba(0, 0, 0, 0.38); }
.dw-glass { fill: rgba(47, 151, 70, 0.12); stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
@media (max-width: 639px) { .dw-callouts { display: none; } }
.mini .dw-callouts { display: none; }

.waterline-group { transition: transform 1.8s var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .waterline-group { transition: none; } }

/* ---------- the lineup (white drawings on charcoal) ---------- */

.lineup-intro { margin-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.lineup { display: grid; gap: clamp(3rem, 2rem + 3vw, 4.5rem); }
@media (min-width: 900px) { .lineup { grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: end; } }
.lineup-item { display: grid; gap: 18px; justify-items: center; text-align: center; align-content: end; text-decoration: none; }
.lineup-item > * { margin: 0; }
.lineup-item .drawing { width: 100%; max-width: 400px; }
.lineup-item h3 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); font-stretch: var(--wide); font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
.lineup-item p { color: var(--muted); max-width: 34ch; }
.lineup-item:hover h3 { color: var(--hover-text); }
.lineup-feature { margin-top: clamp(4rem, 3rem + 4vw, 7rem); padding-top: clamp(3rem, 2rem + 3vw, 5rem); border-top: 1px solid var(--rule); display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
@media (min-width: 1000px) { .lineup-feature { grid-template-columns: 5fr 7fr; } }
.lineup-feature .intro { display: grid; gap: 18px; align-content: start; }
.lineup-feature .intro > * { margin: 0; }

/* ---------- row lists (services, towns) ---------- */

.lanes { display: grid; gap: clamp(3rem, 2rem + 3vw, 4rem); }
@media (min-width: 960px) { .lanes { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 2rem + 4vw, 6rem); } }

.lane-head { display: grid; gap: 8px; padding-bottom: 20px; }
.lane-head p { color: var(--muted); margin: 0; }
.lane-head h3, .lane-head .h3 { text-transform: uppercase; letter-spacing: 0; font-stretch: var(--wide); font-weight: 700; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem); }

.row-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.row-list a {
  display: grid; grid-template-columns: 1fr 24px; gap: 4px 20px; align-items: center;
  padding: 22px 0; border-top: 1px solid var(--rule); text-decoration: none;
}
.row-list .name { font-family: var(--display); font-stretch: var(--semi-wide); font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); font-weight: 600; transition: color var(--fast) ease; }
.row-list .desc { grid-column: 1; color: var(--muted); font-size: 0.975rem; line-height: 1.5; }
.row-list .chev { grid-column: 2; grid-row: 1 / span 2; width: 18px; height: 18px; color: var(--muted); transition: transform var(--fast) ease, color var(--fast) ease; }
.row-list a:hover .name, .row-list a:focus-visible .name { color: var(--hover-text); }
.row-list a:hover .chev { transform: translateX(4px); color: var(--hover-text); }
.row-list .row { display: grid; gap: 4px; padding: 22px 0; border-top: 1px solid var(--rule); }

/* ---------- full-bleed water bands ---------- */

.band {
  position: relative; isolation: isolate; overflow: hidden; color: #ffffff; background: var(--black-2);
  padding-block: clamp(6rem, 4rem + 8vw, 11rem);
  --fg: #ffffff; --muted: rgba(255, 255, 255, 0.84); --rule: rgba(255, 255, 255, 0.25);
  --quiet-border: rgba(255, 255, 255, 0.7); --quiet-hover: rgba(255, 255, 255, 0.1);
  --signal: var(--green); --hover-text: var(--green);
  --btn-bg: var(--green); --btn-fg: var(--black-2); --btn-hover: var(--green-hover);
}
/* Band backdrops: AI-generated scenery (decorative, not job photos). */
.band { background: var(--black-2) center / cover no-repeat; }
.band-night { background-image: url("/img/band-night-1200.webp"); }
.band-dawn { background-image: url("/img/band-dawn-1200.webp"); background-position: center 40%; }
@media (min-width: 1000px) {
  .band-night { background-image: url("/img/band-night-2400.webp"); }
  .band-dawn { background-image: url("/img/band-dawn-2400.webp"); }
}
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 70% 80% at 50% 55%, rgba(8, 10, 8, 0.72) 0%, rgba(8, 10, 8, 0.45) 60%, rgba(8, 10, 8, 0.3) 100%); }
.band:has(.cta-band)::after { background: linear-gradient(90deg, rgba(8, 10, 8, 0.85) 0%, rgba(8, 10, 8, 0.62) 50%, rgba(8, 10, 8, 0.6) 100%); }
.band .display, .band h2 { text-shadow: 0 2px 26px rgba(8, 10, 8, 0.4); }

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

.steps { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 4px 16px; padding: 26px 0; border-top: 1px solid var(--rule); }
.steps li::before {
  content: counter(step, decimal-leading-zero); grid-row: 1 / span 2;
  font-family: var(--display); font-stretch: var(--wide); font-size: 2.1rem; font-weight: 700; line-height: 1; color: var(--signal);
}
.black .steps li::before, .ink .steps li::before, .page-hero .steps li::before, .band .steps li::before { color: var(--green); }
.steps h3 { font-size: var(--text-md); }
.steps p { color: var(--muted); font-size: 1rem; margin: 0; }
@media (min-width: 1100px) { .steps-4 { grid-template-columns: repeat(4, 1fr); column-gap: 36px; } }

/* ---------- owner ---------- */

.owner-summary { margin-bottom: 28px; }

.facts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.facts li { padding: 14px 0 0 22px; position: relative; border-top: 1px solid var(--rule); }
.facts li::before { content: ""; position: absolute; left: 0; top: calc(14px + 0.8em); width: 10px; height: 1px; background: var(--green); }

/* ---------- service area chart ---------- */

.area-grid { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); align-items: start; }
@media (min-width: 960px) { .area-grid { grid-template-columns: 5fr 6fr; } }
.chart { margin: 0; color: var(--fg); }
.chart svg { width: 100%; height: auto; max-height: 640px; }
.chart .grat { stroke: var(--rule); stroke-width: 1; }
.chart .grat-label { fill: var(--muted); font-family: var(--font); font-size: 11px; letter-spacing: 0.06em; }
.chart .pt { fill: var(--signal); }
.chart .town { fill: var(--fg); font-family: var(--display); font-stretch: 112%; font-size: 14px; font-weight: 700; }
.chart .town-sub { fill: var(--muted); font-family: var(--font); font-size: 11.5px; }
.chart .focus-ring { fill: none; stroke: var(--signal); stroke-width: 1; opacity: 0.8; }
.chart figcaption { font-size: var(--text-sm); color: var(--muted); margin-top: 8px; }
.town-list .juris { color: var(--muted); font-size: 0.95rem; }
.area-title { margin-bottom: 18px; }
.area-intro { margin-bottom: 28px; }

/* ---------- CTA band ---------- */

.cta-band { display: grid; gap: 28px; }
.band:has(.cta-band) { padding-block: clamp(7rem, 5rem + 10vw, 13rem); }
.band .cta-phone { font-size: clamp(2.2rem, 1.2rem + 3.2vw, 4.2rem); }
.cta-band > * { min-width: 0; }
@media (min-width: 960px) { .cta-band { grid-template-columns: 7fr 5fr; align-items: end; } }
.cta-band p { margin: 0 0 22px; }
.cta-phone { font-family: var(--display); font-stretch: var(--wide); font-size: clamp(2rem, 1.2rem + 3.2vw, 3.75rem); font-weight: 700; letter-spacing: -0.01em; text-decoration: none; display: inline-block; line-height: 1; white-space: nowrap; }
.cta-phone:hover { color: var(--hover-text); }
.intro .cta-phone { font-size: clamp(1.9rem, 1.3rem + 1.9vw, 2.8rem); }

/* ---------- inner pages: each opens on a scene, like the home page ----------
   The backdrop is AI-generated, decorative scenery (never shown as JJ's work).
   Pages pick one with a scene-* class on .page-hero; site.js drifts .scene-plate
   slower than the page. Without a scene class the header is plain charcoal. */

.crumbs { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 32px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: 0.6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }

.page-hero {
  --bg: var(--black); --fg: #ffffff; --muted: #b2b9b3; --rule: rgba(255, 255, 255, 0.18);
  --raised: var(--black-2); --fill: var(--black-2); --signal: var(--green); --hover-text: var(--green-hover);
  --water: rgba(47, 151, 70, 0.08); --quiet-border: rgba(255, 255, 255, 0.55); --quiet-hover: rgba(255, 255, 255, 0.08);
  --btn-bg: var(--green); --btn-fg: var(--black-2); --btn-hover: var(--green-hover);
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--bg); color: var(--fg); color-scheme: dark;
  padding-block: clamp(0.5rem, 0.25rem + 1vw, 1.5rem) clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
}
.scene-plate { position: absolute; inset: -14% 0; z-index: -2; background: var(--scene-sm) 50% 55% / cover no-repeat; will-change: transform; }
@media (min-width: 1000px) { .scene-plate { background-image: var(--scene-lg); } }
.page-hero:has(.scene-plate)::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 10, 8, 0.94) 0%, rgba(8, 10, 8, 0.82) 38%, rgba(8, 10, 8, 0.55) 70%, rgba(8, 10, 8, 0.4) 100%),
    linear-gradient(180deg, rgba(8, 10, 8, 0.5) 0%, rgba(8, 10, 8, 0) 30%, rgba(8, 10, 8, 0) 70%, rgba(8, 10, 8, 0.95) 100%);
}
@media (max-width: 999px) {
  .page-hero:has(.scene-plate)::after { background: linear-gradient(180deg, rgba(8, 10, 8, 0.9) 0%, rgba(8, 10, 8, 0.82) 55%, rgba(8, 10, 8, 0.6) 80%, rgba(8, 10, 8, 0.95) 100%); }
}
.scene-mangrove { --scene-sm: url("/img/mangrove-dusk-1200.webp"); --scene-lg: url("/img/mangrove-dusk-2400.webp"); }
.scene-bay { --scene-sm: url("/img/bay-blue-1200.webp"); --scene-lg: url("/img/bay-blue-2400.webp"); }
.scene-canal { --scene-sm: url("/img/hero-canal-1200.webp"); --scene-lg: url("/img/hero-canal-2400.webp"); }
.scene-night { --scene-sm: url("/img/band-night-1200.webp"); --scene-lg: url("/img/band-night-2400.webp"); }

/* Sections fade up as they arrive. Gated on .reveal-on (set by site.js), so the page
   is complete without JavaScript and with reduced motion. */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.8s var(--ease-out); }
.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }
.reveal-on svg[data-reveal="draw"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.2s; }
.reveal-on svg[data-reveal="draw"].is-in { clip-path: inset(-10% -10% -10% -10%); }
.reveal-on svg[data-reveal="draw"] text { opacity: 0; transition: opacity 0.6s ease 1.8s; }
.reveal-on svg[data-reveal="draw"].is-in text { opacity: 1; }

.page-hero .display { font-size: clamp(2rem, 1.15rem + 3vw, 3.7rem); max-width: 22ch; margin-top: 22px; }
.page-hero-grid { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); align-items: start; margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
@media (min-width: 1040px) { .page-hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 2rem + 3vw, 6rem); } }
.intro { display: grid; gap: 22px; align-content: start; }
.intro > * { margin: 0; }
.intro p { color: var(--muted); }
.intro p.lede { color: var(--fg); }

.two-col { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); }
@media (min-width: 960px) { .two-col { grid-template-columns: 5fr 7fr; } }
.two-col .col-head { display: grid; gap: 16px; align-content: start; }
.two-col .col-head > * { margin: 0; }
@media (min-width: 960px) { .two-col .col-head { position: sticky; top: calc(var(--header-h) + 32px); } }

.parts { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.parts li { display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; padding: 20px 0; border-top: 1px solid var(--rule); }
.parts .n {
  grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--fg); color: var(--fg);
  display: grid; place-items: center; font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
}
.parts .n.dash { border-style: dashed; opacity: 0.5; }
.parts strong { font-family: var(--display); font-stretch: var(--semi-wide); font-weight: 600; font-size: 1.15rem; }
.parts .d { color: var(--muted); font-size: 0.975rem; }
.parts-plain li { grid-template-columns: 1fr; }

.signs { list-style: none; margin: 0; padding: 0; display: grid; border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) { .signs { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.signs li { padding: 18px 0 18px 28px; border-top: 1px solid var(--rule); position: relative; }
.signs li::before { content: ""; position: absolute; left: 0; top: 1.6em; width: 12px; height: 1px; background: var(--fg); }

.callout { border-left: 2px solid var(--signal); padding: 4px 0 4px 20px; max-width: 64ch; margin-top: 32px; }
.callout p { margin: 0; }

.faq { border-bottom: 1px solid var(--rule); max-width: 880px; }
.faq details { border-top: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-family: var(--display); font-stretch: var(--semi-wide); font-size: var(--text-md); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -8px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg);
  transition: transform var(--fast) ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq summary:hover { color: var(--hover-text); }
.faq .answer { padding: 0 0 24px; color: var(--muted); }
.faq .answer p { margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips a {
  display: inline-block; padding: 11px 18px; border: 1px solid var(--rule); text-decoration: none;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.chips a:hover { border-color: var(--fg); color: var(--hover-text); }

.area-line { display: grid; gap: 18px; }
@media (min-width: 900px) { .area-line { grid-template-columns: 5fr 7fr; align-items: center; gap: 48px; } }
.area-line > * { margin: 0; }
.area-line .h3 { text-transform: uppercase; font-stretch: var(--wide); font-weight: 700; }

/* The Jobber form brings its own light styling, so it sits on a white panel. */
.form-frame { background: #ffffff; color: #111511; padding: clamp(20px, 1rem + 1.5vw, 32px); min-height: 420px; }
.form-frame .form-title { margin: 0 0 16px; color: #111511; }
.form-frame .text-link { text-decoration-color: var(--green-ink); }
.estimate-grid { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); align-items: start; }
@media (min-width: 1000px) { .estimate-grid { grid-template-columns: 5fr 7fr; } }

.check-cols { display: grid; gap: 36px; }
@media (min-width: 900px) { .check-cols { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.check-cols h3 { margin-bottom: 10px; text-transform: uppercase; font-stretch: var(--wide); font-weight: 700; }
.check-cols .signs { grid-template-columns: 1fr; }

.sheet { margin: 0; border: 1px solid var(--rule); background: var(--raised); }
.sheet-head { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.sheet-head span + span { color: var(--muted); }
.sheet dl { margin: 0; }
.sheet .row { display: grid; grid-template-columns: 112px 1fr; gap: 4px 16px; padding: 16px 20px; border-top: 1px solid var(--rule); }
.sheet dt { font-family: var(--display); font-stretch: var(--semi-wide); font-weight: 600; }
.sheet dd { margin: 0; color: var(--muted); }
.sheet-wrap figcaption { margin-top: 12px; font-size: var(--text-sm); color: var(--muted); }
@media (max-width: 480px) { .sheet .row { grid-template-columns: 1fr; } }

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

.site-footer {
  --bg: var(--ink); --fg: #ffffff; --muted: #a3aba4; --rule: rgba(255, 255, 255, 0.14);
  background: var(--bg); color: var(--fg);
  padding: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) 0 calc(36px + 76px); font-size: 0.95rem;
}
@media (min-width: 1280px) { .site-footer { padding-bottom: 44px; } }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 4fr 2fr 2fr 3fr; gap: 48px; } }
.footer-grid h2 { font-family: var(--font); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; margin-bottom: 16px; color: var(--muted); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a { text-decoration: none; color: #e6e9e6; }
.footer-grid a:hover { color: var(--green); }
.footer-brand .wordmark { margin-bottom: 18px; }
.footer-brand .wordmark img { height: 72px; }
.footer-brand p { color: var(--muted); max-width: 40ch; }
.footer-brand .footer-license { color: var(--fg); font-size: 0.9rem; }
.footer-grid .footer-subhead { margin-top: 24px; }
.footer-legal { margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.04em; }
.footer-legal strong { color: var(--fg); font-weight: 500; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--green); }
.footer-legal .credit { margin-left: auto; }
@media (max-width: 759px) { .footer-legal .credit { margin-left: 0; } }

/* ---------- mobile call bar ---------- */

.call-bar {
  --fg: #ffffff; --quiet-border: rgba(255, 255, 255, 0.55); --quiet-hover: rgba(255, 255, 255, 0.08);
  --btn-bg: var(--green); --btn-fg: var(--black-2); --btn-hover: var(--green-hover);
  position: fixed; inset: auto 0 0 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(14, 17, 15, 0.97); border-top: 1px solid rgba(255, 255, 255, 0.14); color: #ffffff;
}
.call-bar .btn { min-height: 50px; padding: 0 12px; }
@media (min-width: 1280px) { .call-bar { display: none; } }

/* ---------- products we install: maker logos on white plaques, each linking out ---------- */

.brands-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .brands-grid { grid-template-columns: 4fr 8fr; align-items: center; gap: 48px; } }
.brands-head { display: grid; gap: 10px; }
.brands-head > * { margin: 0; }
.brand-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (min-width: 960px) { .brand-list { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); } }
.brand { display: grid; gap: 8px; text-decoration: none; color: var(--fg); }
.brand-plate { display: grid; place-items: center; height: 84px; padding: 14px 16px; background: #ffffff; border: 1px solid transparent; transition: border-color var(--fast) ease; }
.brand-plate img { max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; }
.brand-word { font-family: var(--display); font-stretch: var(--semi-wide); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.02em; color: #111511; text-align: center; line-height: 1.1; }
.brand-name { font-weight: 600; font-size: 0.95rem; }
.brand-what { color: var(--muted); font-size: 0.85rem; line-height: 1.4; }
.brand:hover .brand-plate, .brand:focus-visible .brand-plate { border-color: var(--green); }
.brand:hover .brand-name { color: var(--green-hover); }

/* ---------- JJ's mascot (About page) ---------- */

.mascot { margin: 0; display: grid; justify-items: center; align-self: end; }
.mascot img { width: auto; height: auto; max-height: 560px; filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.55)) drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6)); }
@media (max-width: 1039px) { .mascot img { max-height: 380px; } }
.mascot--404 { justify-items: start; align-self: start; }
.mascot--404 img { filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.55)) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); }
.mascot--404 img { max-height: 240px; }
@media (max-width: 1039px) { .mascot--404 img { max-height: 200px; } }
