/* Beal’s Prestige Fencing
   Colors and type come straight from the logo: its deep green and cream, and the
   classic Roman capitals of "PRESTIGE" (Trirong) for headings and small labels. */

:root {
  --green: #005200;         /* logo background: dark sections, buttons on light */
  --green-deep: #003F00;
  --green-ink: #002400;
  --green-2: #0A6411;       /* raised surface on green */
  --cream: #FFFADD;         /* logo lettering: text on green, buttons on green */
  --cream-2: #F3EBC2;
  --pine: var(--green);
  --pine-2: var(--green-2);
  --pine-ink: var(--green-ink);
  --cedar: #B5652B;         /* fence drawings only */
  --cedar-lt: #DDA466;
  --cedar-dk: #7A4119;
  --mist: #FBF8E8;          /* light cream sections */
  --paper: #FFFFFF;
  --ink: #0F1E0F;
  --muted: #545F50;
  --line: #E0DDC6;

  --display: "Trirong", "Times New Roman", Georgia, serif;
  --body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Trirong", "Times New Roman", Georgia, serif; /* small Roman capitals for labels */

  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1200px;
  --radius: 10px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.1; letter-spacing: -0.005em; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
:is(.nav, .hero, .promises, .about, .svc-major, .style-help, .direct-call, .review-cta, .footer, .actionbar, .viewer) :focus-visible { outline-color: var(--cream); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--cream); color: var(--green); font-weight: 700; border-radius: 6px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.35em;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: .5em 1.05em; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: .8em 1.6em; font-size: 1.08rem; }
.btn-flag { background: var(--green); color: var(--cream); }
.btn-flag:hover { background: var(--green-deep); }
:is(.nav, .hero, .about, .style-help, .direct-call, .actionbar, .review-cta) .btn-flag { background: var(--cream); color: var(--green); }
:is(.nav, .hero, .about, .style-help, .direct-call, .actionbar, .review-cta) .btn-flag:hover { background: #fff; }
.btn-ghost { border-color: rgba(255,250,221,.7); color: var(--cream); background: rgba(0,34,0,.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--cream); color: var(--green); border-color: var(--cream); }
.btn-line { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn-line:hover { background: var(--pine); color: var(--cream); }
.btn-line-light { border-color: rgba(255,250,221,.55); color: var(--cream); background: transparent; }
.btn-google { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 18px rgba(0,34,0,.08); }
.btn-google:hover { border-color: var(--ink); }

/* ---------- Top bar ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  color: var(--cream);
  background: var(--green); /* solid logo-green bar; the logo badge blends straight into it */
  box-shadow: 0 1px 0 rgba(255,250,221,.14), 0 6px 22px rgba(0,34,0,.22);
  transition: box-shadow .3s;
}
.nav.is-solid { box-shadow: 0 1px 0 rgba(255,250,221,.14), 0 10px 30px rgba(0,34,0,.3); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 24px; width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { width: 52px; height: 52px; border-radius: 10px; }
.brand-word { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.brand-word b { font-family: var(--display); font-weight: 600; font-size: 1.36rem; letter-spacing: .01em; }
.brand-word span { font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { white-space: nowrap; padding: 8px 12px; border-radius: 6px; text-decoration: none; font-weight: 500; font-size: .98rem; opacity: .92; }
.nav-links a:hover { opacity: 1; background: rgba(255,250,221,.1); }
.nav-links a[aria-current="true"] { opacity: 1; background: rgba(255,250,221,.14); box-shadow: inset 0 -2px 0 var(--cream); }
.nav-links .nav-links-quote { display: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.nav-phone svg { width: 18px; height: 18px; color: var(--cream); }

@media (max-width: 1260px) {
  .nav-phone span { display: none; }
  .nav-phone { width: 44px; height: 44px; justify-content: center; border-radius: 50%; border: 1.5px solid rgba(255,250,221,.4); }
}
@media (max-width: 1100px) {
  /* Tablets and phones: the bar keeps logo + phone, and the section tabs sit in a second row underneath, always visible */
  :root { --bar-h: 64px; --tabs-h: 46px; --nav-h: calc(var(--bar-h) + var(--tabs-h)); }
  .nav-inner { height: var(--bar-h); }
  .nav-links {
    position: absolute; top: var(--bar-h); left: 0; right: 0; height: var(--tabs-h); margin: 0;
    align-items: center; gap: 2px; padding: 0 calc(var(--gutter) - 8px);
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    border-top: 1px solid rgba(255,250,221,.14);
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { flex: none; padding: 7px 11px; font-size: .95rem; }
  .nav-links .nav-links-quote { display: block; margin-left: auto; color: var(--cream); font-weight: 700; }
  .nav-actions .btn { display: none; }
  .nav-actions { margin-left: auto; gap: 8px; }
}
@media (max-width: 560px) {
  :root { --tabs-h: 42px; }
  /* the row scrolls sideways here; fade the right edge so it reads as "more tabs" */
  .nav-links { padding-right: 28px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent); }
  .nav-links a { padding: 6px 9px; font-size: .9rem; }
}
@media (max-width: 400px) {
  .nav-inner { gap: 10px; }
  .nav-actions { gap: 4px; }
  .brand { gap: 8px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-word b { font-size: 1.12rem; }
  .brand-word span { font-size: .6rem; letter-spacing: .14em; }
  .brand-word { font-size: 1.1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 96px;
  color: var(--cream); background: var(--pine-ink);
  overflow: hidden;
}
.hero-media, .hero-shade { position: absolute; inset: 0; z-index: -2; }
.hero-media { top: var(--nav-h); } /* film starts below the solid top bar */
.hero-shade { z-index: -1; }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-video { opacity: 0; transition: opacity .6s ease; }
.hero.is-playing .hero-video { opacity: 1; }
.hero-shade {
  background:
    linear-gradient(180deg, rgba(0,34,0,.35) 0%, rgba(0,34,0,0) 18%),
    linear-gradient(90deg, rgba(0,34,0,.86) 0%, rgba(0,34,0,.62) 34%, rgba(0,34,0,.12) 62%, rgba(0,34,0,0) 75%),
    linear-gradient(0deg, rgba(0,34,0,.55) 0%, rgba(0,34,0,0) 30%);
}
.hero-content { position: relative; }
.hero-eyebrow {
  font: 500 .8rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream); margin-bottom: 22px; text-shadow: 0 1px 2px rgba(0,34,0,.8), 0 0 18px rgba(0,34,0,.7);
}
.hero-title { font-size: clamp(2.6rem, 5.5vw, 6rem); line-height: .98; letter-spacing: -0.02em; }
.hero-line { display: block; }
@media (min-width: 700px) { .hero-line { white-space: nowrap; } }
.hero-line-last { color: var(--cream); }
.string-line { position: relative; display: inline-block; white-space: nowrap; }
/* The string line: stretched under "Craftsmanship." once the fence in the film is finished */
.string-line::after {
  content: ""; position: absolute; left: -.04em; right: -.02em; bottom: -.02em;
  height: max(4px, .075em); border-radius: 2px;
  background: var(--cream);
  box-shadow: 0 0 0 1px rgba(0,34,0,.15);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 1.1s cubic-bezier(.65, 0, .2, 1);
}
.string-line::before { /* the stake at the far end */
  content: ""; position: absolute; right: -.1em; bottom: -.13em; width: max(5px, .09em); height: .3em;
  background: var(--cream); border-radius: 1px; opacity: 0; transform: translateY(6px);
  transition: opacity .3s .95s, transform .3s .95s;
}
.hero.is-strung .string-line::after { transform: scaleX(1); }
.hero.is-strung .string-line::before { opacity: 1; transform: none; }
.hero-sub { text-shadow: 0 1px 14px rgba(0,34,0,.55); margin-top: 26px; max-width: 34rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; color: rgba(255,250,221,.9); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding: 8px 16px 8px 12px;
  border: 1px solid rgba(255,250,221,.45); border-radius: 999px; background: rgba(0,34,0,.4);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--cream); font: 600 .82rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase;
}
.hero-trust svg { width: 20px; height: 20px; flex: none; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero-eyebrow, .js .hero-line, .js .hero-sub, .js .hero-ctas, .js .hero-trust { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero-line:nth-child(1) { animation-delay: .15s; }
  .js .hero-line:nth-child(2) { animation-delay: .3s; }
  .js .hero-line:nth-child(3) { animation-delay: .45s; }
  .js .hero-sub { animation-delay: .6s; }
  .js .hero-ctas { animation-delay: .72s; }
  .js .hero-trust { animation-delay: .84s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (max-width: 699px) {
  .hero { align-items: flex-start; padding: calc(var(--nav-h) + 22px) 0 110px; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0,34,0,.9) 0%, rgba(0,34,0,.78) 38%, rgba(0,34,0,.2) 60%, rgba(0,34,0,0) 70%),
      linear-gradient(0deg, rgba(0,34,0,.35) 0%, rgba(0,34,0,0) 18%);
  }
  .hero-eyebrow { font-size: .7rem; margin-bottom: 14px; }
  .hero-title { font-size: clamp(2.5rem, 12.4vw, 3.4rem); }
  .hero-sub { margin-top: 16px; font-size: 1rem; }
  .hero-ctas { margin-top: 22px; }
  .hero-ctas .btn { flex: 1 1 auto; min-height: 52px; padding-inline: 1.1em; }
}

/* Phones and portrait tablets: instead of cropping a narrow slice of the film to fill the
   whole screen, show the yard zoomed out (a wide 10:9 cut) along the bottom of the hero,
   fading up into the green behind the headline. */
@media (orientation: portrait) and (max-width: 1024px) {
  .hero {
    --film-h: min(90vw, 64svh);
    align-items: flex-start;
    background: var(--green-ink);
    padding-bottom: calc(var(--film-h) * .78);
  }
  .hero-media { top: auto; bottom: 0; height: var(--film-h); }
  .hero-shade {
    background:
      linear-gradient(180deg, var(--green-ink) 0%, var(--green-ink) calc(100% - var(--film-h)), rgba(0,36,0,.6) calc(100% - var(--film-h) * .84), rgba(0,36,0,0) calc(100% - var(--film-h) * .52)),
      linear-gradient(0deg, rgba(0,36,0,.3) 0%, rgba(0,36,0,0) 14%);
  }
}

/* ---------- Promise strip ---------- */
.promises { background: var(--pine); color: rgba(255,250,221,.86); }
.promises-list {
  list-style: none; margin-block: 0; padding: 22px 0;
  display: grid; grid-template-columns: repeat(6, auto); justify-content: space-between; gap: 14px 22px;
}
.promises-list li { position: relative; padding-left: 22px; font-size: .98rem; }
.promises-list li::before { /* a post */
  content: ""; position: absolute; left: 0; top: .2em; width: 8px; height: 1.1em; border-radius: 1px;
  background: var(--cream);
  clip-path: polygon(0 22%, 50% 0, 100% 22%, 100% 100%, 0 100%);
}
.promises-list b { color: var(--cream); font-weight: 700; }
@media (max-width: 1080px) { .promises-list { grid-template-columns: repeat(3, auto); justify-content: start; } }
@media (max-width: 640px) { .promises-list { grid-template-columns: repeat(2, auto); } }
@media (max-width: 480px) { .promises-list { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2, .about h2, .reviews h2, .quote h2 { font-size: clamp(2.05rem, 4.3vw, 3.5rem); text-wrap: balance; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font: 500 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--green);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--green); }
.eyebrow-light { color: var(--cream); }
.eyebrow-light::before { background: var(--cream); }
.lede { margin-top: 18px; font-size: 1.15rem; color: var(--muted); max-width: 40rem; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.svc {
  grid-column: span 2;
  position: relative; padding: 28px 26px 30px;
  background: var(--mist); border-radius: var(--radius);
}
.svc-major { grid-column: span 3; padding: 34px 32px 36px; background: var(--pine); color: var(--cream); }
.svc.svc-major p { color: rgba(255,250,221,.84); }
.svc-ic { width: 44px; height: 44px; color: var(--green); margin-bottom: 18px; }
.svc-major .svc-ic { color: var(--cream); width: 52px; height: 52px; }
.svc h3 { font-size: 1.5rem; margin-bottom: 10px; }
.svc-major h3 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); }
.svc p { color: var(--muted); }
.svc-urgent { background: #FFFBE3; box-shadow: inset 0 0 0 1.5px rgba(0,82,0,.4); }
.svc-urgent .svc-ic { color: var(--green); }
.svc-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--pine); text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc, .svc-major { grid-column: span 1; }
  .svc-urgent { grid-column: span 2; }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc, .svc-major, .svc-urgent { grid-column: auto; }
}

/* ---------- Fence styles (the elevation drawings) ---------- */
.styles { background: var(--mist); }
.style-groups { display: grid; gap: 44px; }
.style-group-title {
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
  font: 500 .8rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.style-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.style-card {
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,34,0,.05), 0 0 0 1px rgba(0,34,0,.06);
  transition: box-shadow .25s, transform .25s;
}
.style-card:hover { box-shadow: 0 0 0 1px rgba(0,34,0,.08), 0 18px 40px -18px rgba(0,34,0,.35); transform: translateY(-2px); }
.elev {
  aspect-ratio: 320 / 170;
  background-color: #F7F8F5;
  background-image:
    linear-gradient(rgba(28,49,39,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,49,39,.06) 1px, transparent 1px);
  background-size: 16px 16px; background-position: -1px -1px;
  border-bottom: 1px solid var(--line);
}
.elev svg { width: 100%; height: 100%; }
.style-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.style-body h4 { font-size: 1.45rem; margin-bottom: 8px; }
.style-body p { color: var(--muted); font-size: 1rem; }
.style-quote {
  margin-top: auto; padding-top: 16px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: .98rem; color: var(--pine); text-decoration: none;
}
.style-quote svg { width: 18px; height: 18px; color: var(--green); transition: transform .2s; }
.style-quote:hover { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.style-quote:hover svg { transform: translateX(3px); }

.style-help { /* full-width banner under all the styles */
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  padding: 28px 32px; border-radius: var(--radius);
  background: var(--pine); color: rgba(255,250,221,.85);
}
.style-help > div { max-width: 44rem; }
.style-help-title { margin-bottom: 6px; font-family: var(--display); font-weight: 500; font-size: 1.7rem; line-height: 1.1; color: var(--cream); }
@media (max-width: 560px) { .style-help { padding: 24px 22px; } .style-help .btn { width: 100%; } }

.ht { display: inline-flex; margin-top: 14px; padding: 3px; gap: 2px; background: var(--mist); border-radius: 999px; align-self: flex-start; }
.ht button {
  min-width: 58px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: 500 .82rem/1 var(--mono); letter-spacing: .04em; color: var(--muted);
}
.ht button[aria-pressed="true"] { background: var(--pine); color: var(--cream); }

.style-grid.style-grid-4 { grid-template-columns: repeat(4, 1fr); }
.style-grid-4 .style-body h4 { font-size: 1.32rem; }
@media (max-width: 1100px) { .style-grid.style-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1000px) { .style-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .style-grid, .style-grid.style-grid-4 { grid-template-columns: 1fr; } }

/* drawing parts (SVG built in main.js) */
.e-ground { stroke: var(--pine); stroke-width: 1.6; }
.e-hatch { stroke: #9AA69F; stroke-width: 1; }
.e-wood { fill: var(--cedar-lt); stroke: var(--cedar-dk); stroke-width: .8; }
.e-wood-2 { fill: #D59858; stroke: var(--cedar-dk); stroke-width: .8; }
.e-wood-back { fill: #A9662F; stroke: var(--cedar-dk); stroke-width: .8; }
.e-post { fill: #C98545; stroke: var(--cedar-dk); stroke-width: .9; }
.e-brace { stroke: var(--cedar-dk); stroke-width: 7.4; stroke-linecap: butt; }
.e-brace-face { stroke: var(--cedar-lt); stroke-width: 5.6; stroke-linecap: butt; }
.e-vinyl { fill: #fff; stroke: #8C958F; stroke-width: 1; }
.e-vinyl-line { stroke: #D6DCD7; stroke-width: 1; }
.e-alu { fill: #1E2522; }
.e-steel { fill: #A3ACA6; stroke: #6E7772; stroke-width: .8; }
.e-mesh { stroke: #7F8983; stroke-width: .75; fill: none; }
.e-slat { fill: #C98545; }
.e-iron-ring { fill: none; stroke: #1E2522; stroke-width: 1.3; }
.e-wire { stroke: #6E7772; stroke-width: 1; }
.e-dim { stroke: var(--green); stroke-width: 1.2; fill: none; }
.e-dim-text { fill: var(--green); font: 600 11px var(--mono); letter-spacing: .02em; }
.e-dim-bg { fill: #F7F8F5; }

/* ---------- About ---------- */
.about { background: var(--pine); color: var(--cream); position: relative; overflow: hidden; }
.about-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about-copy { max-width: 46rem; }
.about-side { display: grid; gap: 18px; justify-items: center; }
.about-logo { width: min(300px, 80%); height: auto; margin: -24px 0 -30px; }
.call-when { width: 100%; }
.call-when { padding: 28px 30px 30px; border-radius: var(--radius); background: var(--pine-2); box-shadow: inset 0 0 0 1px rgba(255,250,221,.08); }
.call-when-title { margin-bottom: 18px; font: 500 .78rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); }
.call-when ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.call-when li { position: relative; padding-left: 26px; font-size: 1.08rem; line-height: 1.45; color: var(--cream); }
.call-when li::before { /* a post */
  content: ""; position: absolute; left: 2px; top: .22em; width: 9px; height: 1.05em; border-radius: 1px;
  background: var(--cream); clip-path: polygon(0 22%, 50% 0, 100% 22%, 100% 100%, 0 100%);
}
.about-copy h2 { margin-bottom: 26px; }
.about-copy p { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: rgba(255,250,221,.86); }
.about-copy p + p { margin-top: 16px; }
.about-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.about-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 9 / 7; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Our work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work-tile {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--mist); cursor: zoom-in;
}
.work-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.work-tile:hover img { transform: scale(1.04); }
.work-tile figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px);
  padding: 7px 12px; border-radius: 6px;
  background: rgba(0,34,0,.78); color: var(--cream); font-weight: 600; font-size: .92rem; line-height: 1.3;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
/* No photo yet: show the style's drawing on graph paper instead */
.work-tile.is-missing { cursor: default; background-color: #F7F8F5;
  background-image: linear-gradient(rgba(28,49,39,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(28,49,39,.06) 1px, transparent 1px);
  background-size: 16px 16px; box-shadow: inset 0 0 0 1px var(--line); }
.work-tile.is-missing img { display: none; }
.work-tile .work-draw { position: absolute; inset: 6% 6% 20%; width: 88%; height: 74%; }
.work-tile.is-missing figcaption { background: var(--pine); }
.work-tile .work-soon { position: absolute; top: 12px; right: 12px; font: 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.work-count { position: absolute; top: 12px; right: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(0,34,0,.72); color: var(--cream); font: 500 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .work-grid { gap: 10px; }
  .work-tile figcaption { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 5px 9px; font-size: .82rem; }
  .work-count { top: 8px; right: 8px; padding: 5px 8px; font-size: .62rem; }
}

.viewer { max-width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 12px; background: var(--pine-ink); color: var(--cream); overflow: hidden; }
.viewer::backdrop { background: rgba(8,14,11,.85); }
.viewer img { max-height: calc(92vh - 56px); max-width: 100%; width: auto; margin-inline: auto; }
.viewer-bar { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; font-weight: 600; }
.viewer-count { font: 500 .8rem/1.4 var(--mono); letter-spacing: .08em; color: rgba(255,250,221,.7); }
.viewer-nav { position: absolute; top: calc(50% - 28px); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(0,34,0,.72); color: var(--cream); cursor: pointer; display: grid; place-items: center; }
.viewer-nav:hover { background: var(--cream); color: var(--green); }
.viewer-nav svg { width: 22px; height: 22px; }
.viewer-prev { left: 10px; }
.viewer-prev svg { transform: scaleX(-1); }
.viewer-next { right: 10px; }
.viewer-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,34,0,.75); color: var(--cream); cursor: pointer; display: grid; place-items: center; }
.viewer-close svg { width: 22px; height: 22px; }

/* ---------- Reviews ---------- */
.reviews { background: var(--mist); }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: 26px; }
.g-badge { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(0,34,0,.06), 0 8px 24px -12px rgba(0,34,0,.25); }
.g-badge-logo { width: 30px; height: 30px; }
.g-badge b { display: block; font-size: .95rem; line-height: 1.2; }
.g-stars { display: inline-flex; gap: 2px; color: #F5B301; }
.g-stars svg { width: 17px; height: 17px; }
.sample-note, .review.is-sample { display: none; }
.show-samples .sample-note { display: inline-block; margin-bottom: 16px; padding: 6px 12px; border: 1.5px dashed var(--green); border-radius: 6px; font: 500 .75rem/1.3 var(--mono); letter-spacing: .06em; color: var(--green); }
.show-samples .review.is-sample { display: flex; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review {
  margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 26px 26px 24px;
  background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(0,34,0,.06);
}
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chip-sample { padding: 4px 9px; border-radius: 4px; background: #FFFBE3; color: var(--green); font: 600 .68rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { font-family: var(--display); font-weight: 400; font-size: 1.22rem; line-height: 1.4; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--pine); color: var(--cream); font-weight: 700; }
.review figcaption b { display: block; line-height: 1.25; }
.review figcaption small { color: var(--muted); font-size: .88rem; }
.review-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  margin-top: 28px; padding: 28px 32px; border-radius: var(--radius); background: var(--pine); color: rgba(255,250,221,.84);
}
.review-cta > div { max-width: 40rem; }
.review-cta h3 { margin-bottom: 6px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--cream); }
@media (max-width: 900px) {
  .review-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84%, 360px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .review { scroll-snap-align: start; }
}
@media (max-width: 560px) { .review-cta { padding: 24px 22px; } .review-cta .btn { width: 100%; } }

/* ---------- Quote ---------- */
.quote-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 34px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 8px; background: #fff;
  font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%231C3127' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #AEB8B0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(0,82,0,.22); }
.field input[aria-invalid="true"] { border-color: #C2361B; }
.field.flash select { animation: flash 1.4s ease; }
@keyframes flash { 0%, 60% { box-shadow: 0 0 0 4px rgba(0,82,0,.3); border-color: var(--green); } 100% { box-shadow: none; } }
.chips { border: 0; padding: 0; margin: 0; flex-direction: row; flex-wrap: wrap; gap: 10px; }
.chips legend { width: 100%; margin-bottom: 7px; padding: 0; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; background: #fff; transition: all .2s; }
.chips input:checked + span { background: var(--pine); border-color: var(--pine); color: var(--cream); }
.chips input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 6px; }
.form-status { flex: 1 1 240px; font-weight: 600; }
.form-status.is-ok { color: #1E6B3A; }
.form-status.is-err { color: #B02E14; }

.quote-direct { display: grid; gap: 14px; position: sticky; top: calc(var(--nav-h) + 20px); }
.direct-card { padding: 22px 24px; border-radius: var(--radius); background: var(--mist); }
.direct-card p { color: var(--muted); }
.direct-label { font: 500 .75rem/1 var(--mono) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--green) !important; margin-bottom: 10px !important; }
.direct-call { background: var(--pine); color: var(--cream); }
.direct-call p { color: rgba(255,250,221,.8); }
.direct-call .direct-label { color: var(--cream) !important; }
.direct-phone { display: block; margin-bottom: 8px; font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 3.2vw, 2.5rem); line-height: 1.05; text-decoration: none; font-variant-numeric: tabular-nums; }
.direct-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.direct-row .btn { flex: 1 1 auto; }
.direct-call .btn-line { border-color: rgba(255,250,221,.55); color: var(--cream); }
.direct-call .btn-line:hover { background: var(--cream); color: var(--green); }
.direct-email { font-weight: 700; font-size: 1.05rem; word-break: break-all; color: var(--pine); }
@media (max-width: 960px) {
  .quote-grid { grid-template-columns: 1fr; }
  .quote-direct { position: static; }
}
@media (max-width: 560px) {
  .quote-form { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.footer { background: var(--green); color: rgba(255,250,221,.78); padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.brand-foot { color: var(--cream); }
.footer-logo { width: 190px; height: auto; margin: -22px 0 -18px -12px; }
.footer-tag { margin-top: 16px; font-family: var(--display); font-size: 1.25rem; line-height: 1.3; color: var(--cream); max-width: 18ch; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--cream); text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 4px; }
.footer-contact a { font-weight: 600; color: var(--cream); }
.footer-contact p { margin-top: 6px; font-size: .95rem; }
.footer-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,250,221,.1); font-size: .88rem; color: rgba(255,250,221,.55); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Phone action bar ---------- */
.actionbar { display: none; }
@media (max-width: 760px) {
  .actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(28,49,39,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 -10px 30px rgba(0,34,0,.25);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .actionbar.is-shown { transform: none; }
  .actionbar .btn { min-height: 50px; padding-inline: .8em; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

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