/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
/* Hard Hat Construction, LLC. Generated by tools/wp-build-css.mjs. Do not hand-edit on the server.
   Order: 1 bricks-reset.css, 2 site.css in source order, 3 gravity-forms.css (WP only). */

/* Undo the Bricks defaults the static site never had. Load FIRST in the child theme.
   Bricks 2.x puts its own CSS in a cascade layer, so these plain rules win over it. :where() keeps their
   specificity at zero, so every rule from the site itself (Tailwind, child-theme.css, the global classes)
   still wins over them. Each value is "revert": the element goes back to the browser default, which is
   what the static page had (a <section> is a block, a <span> stays inline). */

/* Bricks ships html { font-size: 62.5% }, which shrinks every rem-based size to 62.5%. */
html { font-size: 100%; }

:where(.brxe-block, .brxe-div, .brxe-container, .brxe-section, .brxe-text-basic, .brxe-heading, .brxe-image) {
  display: revert;
  flex-direction: revert;
  flex-wrap: revert;
  align-items: revert;
  align-self: revert;
  justify-content: revert;
  width: revert;
  max-width: revert;
}

/* Bricks wraps page content in #brx-content; the static page's equivalent is a plain <main>.
   Bricks gives it flex: 1, position: relative and width: 100% (all in @layer bricks). */
:where(#brx-content) { display: block; flex: revert; position: revert; width: revert; }

/* Bricks sets * { border-color: var(--bricks-border-color) } (#dddedf); the browser default is currentColor. */
:where(*) { border-color: currentColor; }

/* Bricks: svg:not([width]) { min-width: 1em } and svg:not([height]) { min-height: 1em } grew the 14px icons to 16px. */
:where(svg) { min-width: revert; min-height: revert; }

/* Bricks: :where(a) { color: currentcolor; text-decoration: none } and button { text-align: start }.
   The static site relies on the browser defaults wherever site.css sets nothing. */
:where(a) { color: revert; text-decoration: revert; }
:where(button) { text-align: revert; }

/* Bricks: blockquote { font-family: georgia; font-size: 1.3em; margin: 15px 0; padding-left: 30px; border-left: 4px solid;
   position: relative } (in @layer bricks). The static site uses the browser defaults plus its own classes. */
:where(blockquote) { font-family: revert; font-size: revert; margin: revert; padding: revert; border-left-style: revert; border-left-width: revert; position: revert; }

/* Bricks: .gallery { display: flex; flex-flow: row wrap; margin: 0 -10px } (for WP galleries).
   The projects grid uses the class name .gallery; site.css sets its display, so only margin and flow are reverted. */
/* This rule is NOT in a layer (specificity 0,1,0), so :where() loses; a plain class rule loaded later wins. */
.gallery { margin-left: 0; margin-right: 0; flex-flow: revert; }

/* Bricks: figcaption { color: var(--bricks-text-light); font-size: .9em; margin: 1em 0; text-align: center } (@layer bricks).
   The static site's figcaptions (owner quote, related-service cards) use the browser defaults plus their own classes. */
:where(figcaption) { color: revert; font-size: revert; margin: revert; text-align: revert; }

/* ---- site.css ---- */
/* Hard Hat Construction, LLC: site CSS (source). tools/stamp.mjs inlines this into every page's
   <style id="site-css"> block. Layout and motion modeled on swordroof.com, rebuilt in Hard Hat's brand. */

@font-face { font-family: "Archivo"; src: url("https://hardhat-staging.mystagingwebsite.com/wp-content/uploads/2026/11/archivo-latin-standard-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("https://hardhat-staging.mystagingwebsite.com/wp-content/uploads/2026/11/archivo-latin-standard-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("https://hardhat-staging.mystagingwebsite.com/wp-content/uploads/2026/11/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #16191d;          /* charcoal: headings, dark bands, footer */
  --ink-2: #1f2429;        /* dark band surface */
  --charcoal: #2b2f34;     /* body text */
  --muted: #5b6168;        /* secondary text on light */
  --paper: #f6f1e8;        /* warm desert paper */
  --white: #ffffff;
  --line: #e6dfd2;         /* hairlines on light */
  --amber: #f2a01c;        /* hard hat amber: buttons, marks, numbers */
  --amber-deep: #d98a0b;
  --clay: #9b4a12;         /* links on light: 6.2:1 on white, 5.5:1 on paper */
  --on-dark: #f6f1e8;
  --on-dark-muted: rgba(246, 241, 232, .72);

  --f-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "Hanken Grotesk", Helvetica, Arial, sans-serif;

  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  --shadow-base: 0 1px 2px rgba(22, 25, 29, .06), 0 6px 16px -6px rgba(22, 25, 29, .10);
  --shadow-raised: 0 2px 4px rgba(22, 25, 29, .05), 0 14px 30px -12px rgba(22, 25, 29, .18), 0 34px 60px -30px rgba(155, 74, 18, .20);
  --shadow-float: 0 4px 8px rgba(22, 25, 29, .06), 0 24px 48px -16px rgba(22, 25, 29, .30), 0 60px 90px -40px rgba(155, 74, 18, .30);

  --wrap: 1160px;
  --gutter: 20px;
  --sec-y: clamp(72px, 9vw, 120px);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 150px; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.65; color: var(--charcoal); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay); text-underline-offset: 3px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); font-weight: 680; font-stretch: 88%; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7.4vw, 6rem); line-height: .96; letter-spacing: -.035em; }
h2 { font-size: clamp(2.25rem, 4.3vw, 3.6rem); line-height: 1.02; }
h3 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -.015em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 8px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: transform .45s var(--spring), background-color .2s linear, box-shadow .3s linear; }
.btn svg { width: 18px; height: 18px; transition: transform .45s var(--spring); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(242, 160, 28, .75); }
.btn-amber:hover { background: #f7ae35; }
.btn-ghost { color: var(--white); border: 1.5px solid rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); box-shadow: 0 12px 26px -12px rgba(22, 25, 29, .7); }
.btn-ink:hover { background: #262b31; }
.btn-line { color: var(--ink); border: 1.5px solid var(--ink); }
.btn-line:hover { background: rgba(22, 25, 29, .08); }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: .95rem; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--clay); text-decoration: none; }
.arrow-link svg { width: 16px; height: 16px; transition: transform .45s var(--spring); }
.arrow-link:hover svg { transform: translateX(4px); }
.arrow-link:hover { text-decoration: underline; }

/* ---------- texture ---------- */
.grain { position: relative; isolation: isolate; }
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.glow-dark { background:
  radial-gradient(60% 55% at 88% 0%, rgba(242, 160, 28, .20), transparent 70%),
  radial-gradient(45% 50% at 0% 100%, rgba(155, 74, 18, .28), transparent 70%),
  radial-gradient(50% 60% at 45% 55%, rgba(58, 65, 73, .55), transparent 75%),
  var(--ink); color: var(--on-dark); }

/* photo frame with amber corner brackets */
.frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-float); background: var(--ink); }
.frame::before, .frame::after { content: ""; position: absolute; top: 14px; width: 22px; height: 22px; z-index: 3; border-top: 2px solid var(--amber); pointer-events: none; }
.frame::before { left: 14px; border-left: 2px solid var(--amber); }
.frame::after { right: 14px; border-right: 2px solid var(--amber); }
.frame figure { margin: 0; position: absolute; inset: 0; opacity: 0; transition: opacity .8s linear; }
.frame figure.on { opacity: 1; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-cap { margin-top: 18px; font-size: .95rem; color: var(--muted); }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: transform .5s var(--ease-out); }
.topbar { background: var(--amber); color: var(--ink); text-align: center; font-size: .86rem; font-weight: 700; line-height: 1.3; padding: 9px var(--gutter); }
.nav-wrap { padding: 10px var(--gutter) 0; }
.nav { position: relative; max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 28px; min-height: 84px; padding: 10px 16px 10px 20px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-base); transition: box-shadow .4s linear; }
.site-header.is-stuck { transform: translateY(-6px); }
.site-header.menu-open { transform: none; }
.site-header.is-stuck .nav { box-shadow: var(--shadow-raised); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; }
.brand-t { display: flex; flex-direction: column; line-height: 1; }
.brand-1 { font-family: var(--f-head); font-weight: 800; font-stretch: 80%; font-size: 1.45rem; letter-spacing: -.01em; color: var(--ink); text-transform: uppercase; }
.brand-2 { font-family: var(--f-head); font-weight: 600; font-stretch: 85%; font-size: .78rem; letter-spacing: .06em; color: var(--clay); text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 1rem; text-decoration: none; transition: background-color .2s linear; }
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links button[aria-expanded="true"] { background: var(--paper); }
.nav-links button svg { width: 14px; height: 14px; transition: transform .35s var(--ease-out); }
.nav-links button[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; }
.nav-phone svg { width: 16px; height: 16px; color: var(--clay); }
.nav-phone:hover { color: var(--clay); }

.mega, .drop { position: absolute; top: calc(100% + 14px); left: -12px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-float); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s linear, transform .4s var(--ease-out), visibility 0s .2s; }
.mega.open, .drop.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s linear, transform .4s var(--ease-out); }
.mega::before, .drop::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
/* Services mega menu: spans the whole nav bar. Left: three service columns. Right: an ink photo panel that
   shows the hovered (or focused) service's job photo (site.js swaps #megaImg from each link's data-img). */
.nav-links > li.has-mega { position: static; }
.mega { left: 0; right: 0; top: calc(100% + 10px); padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 12px; border-radius: 16px; }
.mega::before { top: -12px; height: 12px; }
.mega-cols { display: grid; grid-template-columns: 1.2fr 1.05fr .85fr; gap: 0 30px; padding: 20px 10px 14px 20px; }
.mega-h { font-family: var(--f-head); font-weight: 700; font-stretch: 88%; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--clay); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mega-col a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .98rem; line-height: 1.3; text-decoration: none; white-space: nowrap; transition: color .2s linear; }
.mega-col a::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.mega-col a::after { content: ""; flex: none; width: 15px; height: 15px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 10h12M11 5l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 10h12M11 5l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat; opacity: 0; transform: translateX(-8px); transition: opacity .2s linear, transform .45s var(--spring); }
.mega-col a:hover, .mega-col a:focus-visible, .mega-col a.is-on { color: var(--clay); }
.mega-col a:hover::before, .mega-col a:focus-visible::before, .mega-col a.is-on::before { transform: scaleX(1); }
.mega-col a:hover::after, .mega-col a:focus-visible::after, .mega-col a.is-on::after { opacity: 1; transform: none; }
.mega-col a:focus-visible { outline: none; }
.mega-col a:active { color: var(--ink); }
.mega-col a.mega-all { margin-top: 18px; border-bottom: 0; color: var(--clay); font-weight: 700; justify-content: flex-start; }
.mega-col a.mega-all::before { display: none; }
.mega-col a.mega-all::after { opacity: 1; transform: none; }
.mega-col a.mega-all:hover::after { transform: translateX(4px); }
.mega.open .mega-col > * { animation: megaRise .5s var(--ease-out) both; }
.mega.open .mega-col:nth-child(2) > * { animation-delay: .04s; }
.mega.open .mega-col:nth-child(3) > * { animation-delay: .08s; }
@keyframes megaRise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mega-feature { display: flex; flex-direction: column; gap: 12px; padding: 10px; border-radius: 12px; background: var(--ink); color: var(--on-dark); }
.mf-media { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--ink-2); }
.mf-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s linear, transform 1.2s var(--ease-out); }
.mf-media img.is-swapping { opacity: 0; transform: scale(1.03); }
.mf-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 25, 29, .78), rgba(22, 25, 29, 0) 55%); pointer-events: none; }
.mf-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-family: var(--f-head); font-weight: 700; font-stretch: 88%; font-size: 1.3rem; line-height: 1.15; color: var(--white); }
.mf-cap::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 10px; background: var(--amber); }
.mf-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 2px 6px 4px; }
.mf-phone { color: var(--white); font-weight: 700; text-decoration: none; transition: color .2s linear; }
.mf-phone:hover { color: var(--amber); }
.mf-phone:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.drop a { display: block; padding: 7px 0; color: var(--charcoal); text-decoration: none; font-weight: 500; transition: color .2s linear, transform .35s var(--ease-out); }
.drop a:hover { color: var(--clay); transform: translateX(3px); }
.drop { width: 200px; padding: 14px 22px; }

.m-call, .menu-btn { display: none; width: 46px; height: 46px; border-radius: 10px; align-items: center; justify-content: center; }
.m-call { background: var(--amber); color: var(--ink); margin-left: auto; }
.menu-btn { background: var(--paper); color: var(--ink); }
.m-call svg, .menu-btn svg { width: 22px; height: 22px; }
.menu-btn path { stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }

.mobile-panel { position: fixed; inset: 0; z-index: -1; background: var(--paper); padding: 150px 24px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s linear, transform .5s var(--ease-out), visibility 0s .25s; }
.mobile-panel.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s linear, transform .5s var(--ease-out); }
.mp-h { font-family: var(--f-head); font-weight: 700; font-stretch: 88%; font-size: 1rem; color: var(--clay); margin: 26px 0 6px; text-transform: uppercase; letter-spacing: .06em; }
.mobile-panel a { display: block; padding: 10px 0; font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-panel .btn { margin-top: 28px; width: 100%; border-bottom: 0; color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(100svh, 880px); display: flex; align-items: center; padding: 190px 0 150px; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -3; margin: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; animation: drift 26s ease-in-out infinite alternate; transform-origin: 60% 40%; }
.hero-tint { position: absolute; inset: 0; z-index: -2; background: var(--ink); mix-blend-mode: multiply; opacity: .55; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22, 25, 29, .88) 0%, rgba(22, 25, 29, .55) 45%, rgba(22, 25, 29, .05) 85%), linear-gradient(0deg, rgba(22, 25, 29, .55), transparent 40%); }
.hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 72px; z-index: 2; background: var(--paper); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: var(--white); max-width: 11ch; }
.hero h1 em { font-style: italic; color: var(--amber); font-weight: 640; }
.hero-line { display: block; }
.hero-sub { margin-top: 26px; max-width: 30em; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.55; color: rgba(255, 255, 255, .9); }
.hero-ctas { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
/* license line: one component on every service page hero (Jason, 2026-11-10) */
.hero-license { margin-top: 24px; display: flex; align-items: center; gap: 12px; font-size: .95rem; font-weight: 600; letter-spacing: .01em; color: rgba(255, 255, 255, .85); text-wrap: balance; }
.hero-license::before { content: ""; flex: none; width: 22px; height: 2px; background: var(--amber); }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.js .hero .hero-line, .js .hero-sub, .js .hero-ctas { animation: rise .9s var(--ease-out) both; }
.js .hero .hero-line:nth-child(2) { animation-delay: .08s; }
.js .hero .hero-line:nth-child(3) { animation-delay: .16s; }
.js .hero-sub { animation-delay: .3s; }
.js .hero-ctas { animation-delay: .42s; }
.js .hero-license { animation: rise .9s var(--ease-out) .52s both; }

/* ---------- section scaffolding ---------- */
.sec { padding: var(--sec-y) 0; }
.sec-white { background: var(--white); }
.sec-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px 64px; align-items: end; margin-bottom: 48px; }
.sec-head p { font-size: 1.12rem; color: var(--charcoal); max-width: 30em; }
.sec-head--stack { grid-template-columns: 1fr; }

/* ---------- approach: scroll-linked steps with a sticky photo ---------- */
.approach { padding: clamp(60px, 7vw, 100px) 0 var(--sec-y); }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.approach-intro { margin-top: 22px; font-size: 1.15rem; max-width: 28em; }
.fp-steps { margin-top: 44px; }
.fp-step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 0 18px; padding-bottom: 34px; }
.fp-step::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 6px; width: 2px; background: var(--line); }
.fp-step:last-child::before { display: none; }
.fp-step::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 6px; width: 2px; background: var(--ink); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease-out); }
.fp-step.done::after { transform: scaleY(1); }
.fp-step:last-child::after { display: none; }
.fp-num { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; font-size: 1rem; color: var(--muted); border: 2px solid var(--line); background: var(--paper); transition: background-color .3s linear, border-color .3s linear, color .3s linear, transform .5s var(--spring), box-shadow .3s linear; }
.fp-body { padding-top: 4px; transition: opacity .4s linear; }
.fp-body h3 { font-size: 1.45rem; }
.fp-body p { margin-top: 8px; }
.js .fp-step .fp-body { opacity: .42; }
.fp-step.done .fp-num { background: var(--ink); border-color: var(--ink); color: var(--white); }
.fp-step.on .fp-num { background: var(--amber); border-color: var(--amber); color: var(--ink); transform: scale(1.08); box-shadow: 0 10px 22px -8px rgba(242, 160, 28, .8); }
.js .fp-step.done .fp-body, .js .fp-step.on .fp-body { opacity: 1; }
.approach-stage { position: sticky; top: 150px; }
.approach-stage .frame { aspect-ratio: 5 / 4; }
.callout { margin-top: 18px; padding: 4px 0 4px 24px; border-left: 3px solid var(--amber); font-family: var(--f-head); font-style: italic; font-weight: 500; font-stretch: 92%; font-size: 1.45rem; line-height: 1.35; color: var(--ink); max-width: 24em; }

/* ---------- services: filter + cards ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; font-size: .95rem; transition: background-color .2s linear, color .2s linear, border-color .2s linear, transform .45s var(--spring), box-shadow .3s linear; }
.filter:hover { border-color: var(--ink); transform: translateY(-1px); }
.filter:active { transform: scale(.97); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: 0 10px 22px -10px rgba(22, 25, 29, .8); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.scard--lg { grid-column: span 2; }
.scard--lg .scard-img { aspect-ratio: 16 / 9; }
.scard--lg .scard-body { padding: 26px 30px 30px; }
.scard--lg .scard-body h3 { font-size: 1.95rem; }
.scard:not(.scard--lg) .scard-body h3 { font-size: 1.35rem; }
.svc-grid .scard--row { grid-column: 1 / -1; flex-direction: row; }
.svc-grid .scard--row .scard-img { flex: 0 0 min(36%, 420px); aspect-ratio: auto; min-height: 220px; }
.svc-grid .scard--row .scard-body { justify-content: center; }
.svc-grid .scard--row .scard-body .arrow-link { margin-top: 0; }
.scard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.scard-tags li { padding: 5px 12px; border-radius: 999px; background: var(--paper); font-size: .86rem; font-weight: 600; color: var(--ink); }
.scard { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-base); border: 1px solid #efe9de; transition: transform .55s var(--spring), box-shadow .4s linear; }
.scard:hover { transform: translateY(-5px); box-shadow: var(--shadow-raised); }
.scard.hide { display: none; }
.scard.pop { animation: rise .6s var(--ease-out) both; animation-delay: var(--pd, 0s); }
.scard-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.scard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.scard:hover .scard-img img { transform: scale(1.05); }
.scard-img::after { content: ""; position: absolute; left: 24px; bottom: 0; width: 34px; height: 3px; background: var(--amber); }
.scard-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.scard-body h3 { font-size: 1.5rem; }
.scard-body p { margin-top: 10px; font-size: .97rem; line-height: 1.6; color: var(--muted); }
.scard-body .arrow-link { margin-top: auto; padding-top: 20px; }
/* the whole card is the link: the Learn more link stretches over the card */
.scard { position: relative; cursor: pointer; }
.scard .arrow-link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.scard .arrow-link:focus-visible { outline: none; }
.scard:focus-within { outline: 3px solid var(--amber); outline-offset: 3px; }
.scard:hover .arrow-link { text-decoration: underline; }
.scard:hover .arrow-link svg { transform: translateX(4px); }
.scard:active { transform: translateY(-2px) scale(.99); }
.svc-more { margin-top: 36px; }

/* ---------- process: auto-advancing stepper ---------- */
.process { padding: var(--sec-y) 0; }
.process h2 { color: var(--white); max-width: 15ch; }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-top: 56px; position: relative; z-index: 2; }
.process .wrap { position: relative; z-index: 2; }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; width: 100%; text-align: left; padding: 22px 0; border-top: 1px solid rgba(246, 241, 232, .16); color: var(--on-dark); }
.steps li:last-child .step { border-bottom: 1px solid rgba(246, 241, 232, .16); }
.step-bar { position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.step.on .step-bar { animation: fill 7s linear forwards; }
.stepper.paused .step-bar { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.step-n { font-family: var(--f-head); font-style: italic; font-weight: 600; font-size: 1.7rem; line-height: 1.1; color: var(--amber); }
.step-t { font-family: var(--f-head); font-weight: 650; font-stretch: 88%; font-size: 1.6rem; line-height: 1.15; letter-spacing: -.015em; color: var(--white); opacity: .55; transition: opacity .3s linear; }
.step:hover .step-t, .step.on .step-t { opacity: 1; }
.step-d { grid-column: 2; display: none; margin-top: 12px; color: var(--on-dark-muted); font-size: 1.02rem; line-height: 1.65; max-width: 30em; }
.step.on .step-d { display: block; animation: rise .6s var(--ease-out) both; }
.pstage .frame { aspect-ratio: 5 / 4; }
.process-link { margin-top: 30px; color: var(--amber); }
.process-link:hover { color: #f7b84d; }

/* ---------- answers: accordion + dark card ---------- */
.answers-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.answers h2 { margin-bottom: 36px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; text-align: left; padding: 24px 0; }
.faq-q span:first-child { font-family: var(--f-head); font-weight: 650; font-stretch: 88%; font-size: 1.55rem; line-height: 1.2; letter-spacing: -.015em; color: var(--ink); }
.faq-ico { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); transition: background-color .25s linear, transform .5s var(--spring); }
.faq-ico svg { width: 16px; height: 16px; transition: transform .5s var(--spring); }
.faq-q:hover .faq-ico { transform: scale(1.08); }
.faq-q[aria-expanded="true"] .faq-ico { background: var(--amber); }
.faq-q[aria-expanded="true"] .faq-ico svg { transform: rotate(45deg); }
.faq-a { padding: 0 60px 26px 0; }
.faq-a[hidden] { display: none; }
.faq-a:not([hidden]) { animation: rise .55s var(--ease-out) both; }
.faq-a p + p { margin-top: 12px; }
.side-card { position: relative; overflow: hidden; border-radius: 20px; padding: 40px; box-shadow: var(--shadow-float); }
.side-card h3 { color: var(--white); font-size: 2rem; line-height: 1.08; position: relative; z-index: 2; }
.side-card p { margin-top: 16px; color: var(--on-dark-muted); position: relative; z-index: 2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; position: relative; z-index: 2; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(246, 241, 232, .25); font-size: .92rem; font-weight: 600; color: var(--on-dark); }
.side-card .arrow-link { margin-top: 28px; color: var(--amber); position: relative; z-index: 2; }
/* owner quote on About (JR McWillie, 2026-11-10) */
.owner h2 + .lede { margin-top: 28px; }
.owner .lede ~ p { margin-top: 16px; font-size: 1.1rem; max-width: 34em; }
.story-copy p + p { margin-top: 16px; }
.owner .lede + p { margin-top: 24px; font-size: 1.1rem; max-width: 34em; }
.owner-quote { margin: 0; }
.owner-quote blockquote { margin: 0; position: relative; z-index: 2; }
.owner-quote blockquote p { margin: 0; color: var(--white); font-family: var(--f-head); font-style: italic; font-weight: 560; font-stretch: 92%; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.25; letter-spacing: -.01em; }
.owner-quote blockquote p::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: 22px; background: var(--amber); }
.owner-quote figcaption { margin-top: 22px; position: relative; z-index: 2; color: var(--on-dark-muted); font-size: .95rem; font-weight: 600; }
.side-mark { width: 54px; height: 54px; border-radius: 12px; background: var(--white); padding: 6px; margin-bottom: 26px; position: relative; z-index: 2; }

/* ---------- reviews (static stand-in for the WP Social Ninja widget) ---------- */
.mention-h { font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.mentions { display: flex; flex-wrap: wrap; gap: 8px; }
.mentions li { padding: 9px 16px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-base); font-weight: 600; font-size: .95rem; color: var(--ink); }
.rv-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 40px 4px 24px; margin: 0 -4px; scrollbar-width: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-card { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 50px 28px 30px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-base); transition: transform .5s var(--spring), box-shadow .4s linear; }
.rv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.rv-avatar { position: absolute; top: -32px; left: 50%; margin-left: -32px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--amber); font-family: var(--f-head); font-weight: 700; font-size: 1.6rem; border: 4px solid var(--paper); }
.rv-name { font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.rv-text { margin: 14px 0 0; color: var(--charcoal); font-size: 1rem; line-height: 1.65; }
.rv-text::before { content: "\201C"; display: block; font-family: var(--f-head); font-size: 3rem; line-height: .6; color: var(--amber); margin-bottom: 10px; }
.rv-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.rv-nav[hidden] { display: none; }
.rv-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--ink); box-shadow: var(--shadow-base); transition: transform .45s var(--spring), background-color .2s linear; }
.rv-btn:hover { transform: scale(1.08); background: var(--amber); }
.rv-btn:active { transform: scale(.95); }
.rv-btn svg { width: 18px; height: 18px; }
.rv-dots { display: flex; gap: 8px; }
.rv-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: .22; transition: transform .3s var(--spring), opacity .2s linear; }
.rv-dots button[aria-current="true"] { opacity: 1; transform: scale(1.3); background: var(--clay); }

/* ---------- service area ---------- */
.areas-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.home-base { position: relative; overflow: hidden; border-radius: 20px; padding: 40px; background: var(--white); box-shadow: var(--shadow-raised); }
.home-base .contour { position: absolute; right: -120px; bottom: -130px; width: 360px; height: 360px; color: var(--amber); opacity: .3; pointer-events: none; }
.home-base > :not(.contour) { position: relative; z-index: 1; }
.label { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); }
.home-base h3 { font-size: 2.6rem; margin-top: 10px; }
.home-base p { margin-top: 14px; max-width: 26em; }
.home-base .btn { margin-top: 28px; }
.towns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.town { display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 24px; border-radius: 16px; background: var(--white); border: 1px solid #efe9de; box-shadow: var(--shadow-base); transition: transform .55s var(--spring), box-shadow .4s linear; }
.town:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.town h3 { font-size: 1.6rem; }
.town p { margin-top: 4px; font-size: .95rem; color: var(--muted); }

/* ---------- closing call to action ---------- */
.cta { position: relative; isolation: isolate; text-align: center; padding: clamp(120px, 12vw, 170px) 0 clamp(80px, 9vw, 120px); background:
  radial-gradient(55% 70% at 85% 10%, rgba(255, 214, 140, .55), transparent 70%),
  radial-gradient(50% 70% at 10% 100%, rgba(217, 138, 11, .55), transparent 70%), var(--amber); color: var(--ink); }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 72px; z-index: 2; background: var(--white); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 0, 0 100%); }
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { max-width: 16ch; margin: 0 auto; }
.cta p { margin: 20px auto 0; max-width: 34em; font-size: 1.15rem; }
.cta-btns { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- service pages ---------- */
.hero--page { min-height: min(86svh, 760px); }
.hero--page h1 { max-width: 14ch; }
/* hero without a photo (pages still waiting on real job photos) */
.hero--plain { min-height: min(70svh, 640px); background:
  radial-gradient(55% 70% at 92% 8%, rgba(242, 160, 28, .26), transparent 70%),
  radial-gradient(45% 60% at 0% 100%, rgba(155, 74, 18, .34), transparent 70%),
  radial-gradient(60% 70% at 55% 45%, rgba(58, 65, 73, .6), transparent 75%), var(--ink); }
.hero-lines { position: absolute; z-index: 0; right: max(var(--gutter), calc(50% - 620px)); bottom: 72px; width: clamp(260px, 38vw, 560px); height: auto; opacity: .22; pointer-events: none; }
.sub-lines { position: relative; z-index: 2; display: block; width: 78%; height: auto; margin: auto auto 0; opacity: .3; }
/* process column card when a page has no job photos */
.stage-card { position: relative; overflow: hidden; border-radius: 20px; padding: 40px; box-shadow: var(--shadow-float); }
.stage-card h3 { color: var(--white); font-size: 2rem; line-height: 1.08; position: relative; z-index: 2; }
.stage-card p, .stage-card ul { position: relative; z-index: 2; }
.stage-card p { margin-top: 16px; color: var(--on-dark-muted); }
.stage-card .btn { margin-top: 28px; position: relative; z-index: 2; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .75); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--amber); }
.crumbs a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.crumbs a:hover { color: var(--amber); text-decoration: underline; }
.js .hero .crumbs { animation: rise .9s var(--ease-out) both; }

/* intro: big statement + scope columns */
.intro-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px 72px; align-items: start; }
.intro h2 + .lede { margin-top: 28px; }
.lede { font-family: var(--f-head); font-weight: 560; font-stretch: 92%; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.22; letter-spacing: -.015em; color: var(--ink); }
.lede + p { margin-top: 24px; font-size: 1.1rem; max-width: 34em; }
.scope { display: grid; gap: 16px; }
.scope-card { padding: 26px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid #efe9de; box-shadow: var(--shadow-base); }
.scope-card h3 { font-size: 1.35rem; }
.scope-card ul { margin-top: 14px; display: grid; gap: 8px; }
.scope-card li { position: relative; padding-left: 22px; }
.scope-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--amber); }

/* sub-services: one feature card + four */
.sub-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.sub-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: var(--radius); border: 1px solid #efe9de; transition: transform .55s var(--spring), box-shadow .4s linear; }
.sub-card:not(.glow-dark) { background: var(--paper); }
.sub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.sub-n { font-family: var(--f-head); font-style: italic; font-weight: 600; font-size: 1.05rem; color: var(--clay); }
.sub-card h3 { margin-top: 18px; font-size: 1.5rem; }
.sub-card p { margin-top: 10px; font-size: .98rem; color: var(--muted); }
.sub-card--lead { grid-row: span 2; overflow: hidden; padding: 0; box-shadow: var(--shadow-float); border: 0; }
.sub-card--lead .sub-copy { position: relative; z-index: 2; padding: 34px 32px 30px; }
.sub-card--lead .sub-n { color: var(--amber); }
.sub-card--lead h3 { color: var(--white); font-size: 2rem; }
.sub-card--lead p { color: var(--on-dark-muted); font-size: 1.02rem; }
.sub-card--lead .sub-img { position: relative; margin: auto 0 0; aspect-ratio: 16 / 10; overflow: hidden; z-index: 2; }
.sub-card--lead .sub-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.sub-card--lead:hover .sub-img img { transform: scale(1.04); }
.sub-card--lead .sub-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(22, 25, 29, .5), transparent 40%); }

/* signs: sticky heading, numbered hairline list */
.signs-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px 80px; align-items: start; }
.signs-head { position: sticky; top: 160px; }
.signs-head p { margin-top: 20px; font-size: 1.1rem; max-width: 26em; }
.signs-head .btn { margin-top: 30px; }
.signs { counter-reset: sign; border-top: 1px solid var(--line); }
.signs li { counter-increment: sign; display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.signs li::before { content: counter(sign, decimal-leading-zero); grid-row: span 2; font-family: var(--f-head); font-weight: 700; font-size: 1rem; color: var(--clay); padding-top: 5px; }
.signs h3 { font-size: 1.4rem; }
.signs p { color: var(--muted); }

/* roof systems: dark editorial index */
.systems { padding: var(--sec-y) 0; }
.systems .wrap { position: relative; z-index: 2; }
.systems h2 { color: var(--white); max-width: 14ch; }
.systems .sec-head p { color: var(--on-dark-muted); }
.sys-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; border-top: 1px solid rgba(246, 241, 232, .16); }
.sys { position: relative; padding: 26px 0 26px 0; border-bottom: 1px solid rgba(246, 241, 232, .16); }
.sys::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.sys:hover::before { transform: scaleX(1); }
.sys h3 { color: var(--white); font-size: 1.55rem; }
.sys p { margin-top: 8px; color: var(--on-dark-muted); font-size: 1rem; max-width: 30em; }
.sys-note { margin-top: 32px; color: var(--on-dark-muted); font-size: .98rem; }

/* detail blocks: one topic per row */
.details { border-top: 1px solid var(--line); }
.detail { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px 72px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.detail h3 { font-size: clamp(1.7rem, 2.4vw, 2.15rem); }
.detail-body p + p { margin-top: 14px; }
.detail-body ul { margin-top: 16px; display: grid; gap: 8px; }
.detail-body li { position: relative; padding-left: 22px; }
.detail-body li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--amber); }

.svc-process .approach-grid { margin-top: 56px; }

/* sub-service card link, and the image-free card tile */
.sub-card .sub-link { margin-top: auto; padding-top: 18px; }
.sub-card--lead .sub-link { color: var(--amber); }
.sub-card--lead .sub-link:hover { color: #f7b84d; }
.scard-img--mark { display: grid; place-items: center; }
.scard-img--mark img { position: relative; z-index: 2; width: 72px; height: 72px; object-fit: contain; opacity: .85; }
.scard:hover .scard-img--mark img { transform: scale(1.06); }

/* related services: four compact cards */
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* floating estimate bar */
.sticky-cta { position: fixed; left: 50%; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 24px; border-radius: 14px; background: var(--ink); color: var(--white); box-shadow: var(--shadow-float); transform: translate(-50%, 140%); opacity: 0; transition: transform .6s var(--ease-out), opacity .3s linear; }
.sticky-cta.show { transform: translate(-50%, 0); opacity: 1; }
.sticky-cta p { font-family: var(--f-head); font-weight: 650; font-stretch: 88%; font-size: 1.15rem; white-space: nowrap; }
.sticky-cta .btns { display: flex; gap: 8px; }
.sticky-cta .s-call { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 8px; color: var(--white); font-weight: 700; text-decoration: none; border: 1.5px solid rgba(255, 255, 255, .3); transition: background-color .2s linear, transform .45s var(--spring); }
.sticky-cta .s-call:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.sticky-cta .s-call:active { transform: scale(.98); }
.sticky-cta .s-call svg { width: 16px; height: 16px; color: var(--amber); }

/* ---------- services hub: one row per service ---------- */
.hub-list { display: grid; gap: 22px; }
.hub-row { position: relative; display: grid; grid-template-columns: 5fr 7fr; background: var(--white); border-radius: 20px; overflow: hidden; border: 1px solid #efe9de; box-shadow: var(--shadow-base); transition: transform .55s var(--spring), box-shadow .4s linear; }
.hub-row:nth-child(even) { grid-template-columns: 7fr 5fr; }
.hub-row:nth-child(even) .hub-img { order: 2; }
.hub-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.hub-row:focus-within { outline: 3px solid var(--amber); outline-offset: 3px; }
.hub-img { position: relative; min-height: 300px; overflow: hidden; background: var(--ink); }
.hub-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.hub-row:hover .hub-img img { transform: scale(1.04); }
.hub-body { display: flex; flex-direction: column; padding: 38px 40px; }
.hub-body h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-top: 12px; }
.hub-body > p { margin-top: 14px; color: var(--muted); max-width: 36em; }
.hub-body .scard-tags { margin-top: 18px; }
.hub-subs { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px; position: relative; z-index: 3; }
.hub-subs a { font-weight: 600; font-size: .95rem; }
.hub-body .arrow-link { margin-top: auto; padding-top: 22px; }
.hub-row .hub-main::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.hub-row .hub-main:focus-visible { outline: none; }
.hub-row:hover .hub-main { text-decoration: underline; }
.hub-row:hover .hub-main svg { transform: translateX(4px); }

/* ---------- forms (visual only in the draft; MANUAL: forms plugin in Bricks) ---------- */
.form-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px 64px; align-items: start; }
.form-card { padding: 40px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow-float); }
.form-card h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.form-card > p { margin-top: 10px; color: var(--muted); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; min-height: 50px; transition: border-color .2s linear, background-color .2s linear, box-shadow .3s linear; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cfc5b3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); background: var(--white); box-shadow: 0 0 0 4px rgba(242, 160, 28, .22); }
.form-card .btn { margin-top: 26px; }
.form-note { margin-top: 14px; font-size: .92rem; color: var(--muted); }
.info-card { padding: 34px; border-radius: 20px; }
.form-grid > .info-card { position: sticky; top: 150px; }
.info-card h3 { color: var(--white); font-size: 1.7rem; position: relative; z-index: 2; }
.info-card > :not(h3) { position: relative; z-index: 2; }
.info-list { margin-top: 18px; display: grid; gap: 14px; }
.info-list li { padding-bottom: 14px; border-bottom: 1px solid rgba(246, 241, 232, .14); color: var(--on-dark-muted); }
.info-list li:last-child { border-bottom: 0; }
.info-list .k { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 4px; }
.info-list a { color: var(--white); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.info-list a:hover { color: var(--amber); }
.next-steps { counter-reset: nx; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.next-steps li { counter-increment: nx; padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid #efe9de; box-shadow: var(--shadow-base); }
.next-steps li::before { content: counter(nx, decimal-leading-zero); display: block; font-family: var(--f-head); font-style: italic; font-weight: 600; color: var(--clay); margin-bottom: 14px; }
.next-steps h3 { font-size: 1.35rem; }
.next-steps p { margin-top: 8px; color: var(--muted); }

/* ---------- projects gallery + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.g-item { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow-base); transition: transform .55s var(--spring), box-shadow .4s linear; }
.g-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22, 25, 29, .7), transparent 45%); opacity: .85; transition: opacity .3s linear; }
.g-item span { position: absolute; left: 18px; bottom: 14px; right: 18px; z-index: 2; color: var(--white); font-weight: 700; font-size: .95rem; text-align: left; }
.g-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.g-item:hover img { transform: scale(1.05); }
.g-item:active { transform: scale(.99); }
.g-item.hide { display: none; }
.g-item.pop { animation: rise .6s var(--ease-out) both; animation-delay: var(--pd, 0s); }
.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 16px; background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow-float); overflow: hidden; }
.lightbox::backdrop { background: rgba(14, 16, 19, .82); }
.lightbox[open] { animation: rise .45s var(--ease-out) both; }
.lb-img { display: block; width: 100%; max-height: calc(92vh - 70px); object-fit: contain; background: #0e1013; }
.lb-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; }
.lb-cap { flex: 1; font-weight: 600; }
.lb-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: rgba(255, 255, 255, .08); transition: background-color .2s linear, transform .45s var(--spring); }
.lb-btn:hover { background: var(--amber); color: var(--ink); transform: scale(1.06); }
.lb-btn:active { transform: scale(.95); }
.lb-btn svg { width: 18px; height: 18px; }
.photo-note { margin-top: 28px; color: var(--muted); }

/* ---------- small utility pages ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-top: 44px; }
.legal h2:first-of-type { margin-top: 28px; }
.legal p { margin-top: 12px; }
.legal-date { color: var(--muted); font-size: .95rem; }
/* GAP: a visible open item waiting on Bryan or the client. Must be gone before launch. */
.gap { background: #fff1c9; color: #6b3b00; padding: 1px 6px; border-radius: 4px; outline: 1px dashed #d98a0b; font-weight: 600; }
.town { position: relative; }
.stretch { color: inherit; text-decoration: none; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.town:hover .stretch { color: var(--clay); text-decoration: underline; }
.town:focus-within { outline: 3px solid var(--amber); outline-offset: 3px; }
.stretch:focus-visible { outline: none; }
figure.scard { margin: 0; cursor: default; }
.hero--short { min-height: 0; padding: 200px 0 140px; }
.links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 80px 0 34px; font-size: .98rem; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.f-logo { display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--white); border-radius: 14px; text-decoration: none; }
.f-logo img { width: 52px; height: 52px; }
.f-about { margin-top: 24px; max-width: 26em; }
.f-h { font-family: var(--f-head); font-weight: 650; font-stretch: 88%; font-size: 1.25rem; color: var(--white); margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; text-wrap: balance; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s linear; }
.site-footer a:hover { color: var(--amber); }
.f-phone { color: var(--white) !important; font-weight: 700; }
.f-bottom { margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(246, 241, 232, .14); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .9rem; }

/* ---------- scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s linear, transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- phone bottom bar: Call · menu · Get an Estimate (phones only) ---------- */
.m-bar { display: none; }
@media (max-width: 767px) {
  .m-call, .menu-btn, .sticky-cta { display: none !important; }
  /* Phones: the header scrolls away with the page (the bottom bar stays); it pins again while the menu is open. */
  html { scroll-padding-top: 24px; }
  .site-header { position: absolute; }
  .site-header.is-stuck { transform: none; }
  .site-header.menu-open { position: fixed; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mobile-panel { padding-bottom: calc(130px + env(safe-area-inset-bottom)); }
  .m-bar { display: grid; grid-template-columns: 1fr 96px 1fr; align-items: end; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    height: calc(76px + env(safe-area-inset-bottom)); padding: 0 8px env(safe-area-inset-bottom); background: var(--ink); color: var(--on-dark);
    box-shadow: 0 -1px 0 rgba(246, 241, 232, .08), 0 -12px 30px -14px rgba(22, 25, 29, .45); }
  .m-bar-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; height: 76px; color: var(--on-dark);
    text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: .95rem; letter-spacing: .01em; border-radius: 12px;
    transition: transform .4s var(--spring), opacity .2s linear; }
  .m-bar-link svg { width: 26px; height: 26px; color: var(--amber); }
  .m-bar-link:hover { opacity: .85; }
  .m-bar-link:active { transform: scale(.94); }
  .m-bar-link:focus-visible, .m-bar-menu:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
  .m-bar-menu { justify-self: center; align-self: start; width: 84px; height: 84px; margin-top: -30px; border-radius: 50%; border: 6px solid var(--ink);
    background: var(--amber); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0;
    box-shadow: 0 0 0 2px rgba(242, 160, 28, .35), 0 10px 24px -8px rgba(0, 0, 0, .5); transition: transform .45s var(--spring); }
  .m-bar-menu svg { width: 30px; height: 30px; }
  .m-bar-menu path { stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; fill: none; }
  .m-bar-menu:hover { transform: translateY(-2px); }
  .m-bar-menu:active { transform: scale(.93); }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) { .m-bar-link, .m-bar-menu { transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .mega { grid-template-columns: minmax(0, 1fr) 270px; }
  .mega-cols { gap: 0 22px; padding-left: 14px; }
  .mega-col a { white-space: normal; }
  .mf-cta { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .mega.open .mega-col > * { animation: none; }
  .mf-media img, .mega-col a::before, .mega-col a::after { transition: none; }
}
@media (max-width: 1100px) {
  .nav-links > li > a, .nav-links > li > button { padding: 10px 8px; }
  .nav { gap: 16px; }
}
@media (max-width: 1023px) {
  .nav-links, .nav-cta { display: none; }
  .m-call, .menu-btn { display: inline-flex; }
  .m-call { margin-left: auto; }
  .nav { min-height: 70px; padding: 10px 12px 10px 14px; gap: 10px; }
  .sec-head, .approach-grid, .process-grid, .answers-grid, .areas-grid { grid-template-columns: 1fr; }
  .sec-head { gap: 18px; }
  .approach-stage, .pstage { position: relative; top: 0; order: -1; }
  .process-grid { margin-top: 36px; gap: 28px; }
  .approach-grid { gap: 36px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .scard--lg { grid-column: span 1; }
  .rv-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 160px 0 130px; }
  .intro-grid, .signs-grid, .detail { grid-template-columns: 1fr; }
  .signs-head { position: static; }
  .sub-grid { grid-template-columns: 1fr 1fr; }
  .sub-card--lead { grid-column: 1 / -1; grid-row: auto; }
  .sys-list { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
  .detail { gap: 14px; padding: 34px 0; }
  .hub-row, .hub-row:nth-child(even) { grid-template-columns: 1fr; }
  .hub-row:nth-child(even) .hub-img { order: 0; }
  .hub-img { min-height: 0; aspect-ratio: 16 / 9; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid > .info-card { position: static; }
  .next-steps, .links-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  body { font-size: 16px; }
  .topbar { font-size: .78rem; padding: 7px 14px; }
  .nav-wrap { padding: 8px 12px 0; }
  .brand img { width: 38px; height: 38px; }
  .brand-1 { font-size: 1.2rem; }
  .brand-2 { font-size: .68rem; }
  .hero { min-height: 0; padding: 150px 0 110px; align-items: flex-end; }
  .hero-shade { background: linear-gradient(0deg, rgba(22, 25, 29, .9) 0%, rgba(22, 25, 29, .55) 60%, rgba(22, 25, 29, .35) 100%); }
  .hero::before, .cta::before { height: 36px; }
  .hero-ctas .btn { width: 100%; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 28px; padding: 4px var(--gutter) 10px; scrollbar-width: none; }
  .filter { flex-shrink: 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid .scard--row { flex-direction: column; }
  .svc-grid .scard--row .scard-img { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .scard--lg .scard-body { padding: 22px 24px 26px; }
  .scard--lg .scard-body h3 { font-size: 1.6rem; }
  .rv-track { grid-auto-columns: 86%; }
  .towns { grid-template-columns: 1fr 1fr; }
  .town { min-height: 110px; padding: 18px; }
  .town h3 { font-size: 1.3rem; }
  .home-base, .side-card, .stage-card { padding: 28px; }
  .hero-lines { width: 220px; right: -30px; bottom: 36px; opacity: .14; }
  .home-base h3 { font-size: 2.1rem; }
  .faq-q span:first-child { font-size: 1.3rem; }
  .faq-a { padding-right: 0; }
  .f-grid { grid-template-columns: 1fr; }
  .cta-btns .btn { width: 100%; }
  .hero--page { min-height: 0; }
  .crumbs ol { margin-bottom: 18px; font-size: .86rem; }
  .sub-grid { grid-template-columns: 1fr; }
  .sub-card--lead h3 { font-size: 1.7rem; }
  .sub-card--lead .sub-copy { padding: 28px 24px 24px; }
  .scope-card { padding: 22px 22px; }
  .rel-grid { grid-template-columns: 1fr; gap: 14px; }
  .rel-grid .scard { flex-direction: row; }
  .rel-grid .scard-img { flex: 0 0 36%; aspect-ratio: auto; }
  .rel-grid .scard-img::after { left: 14px; }
  .rel-grid .scard-body { padding: 16px 18px 18px; }
  .rel-grid .scard-body h3 { font-size: 1.2rem; }
  .rel-grid .scard-body p { font-size: .92rem; margin-top: 6px; }
  .rel-grid .scard-body .arrow-link { padding-top: 10px; }
  .lede { font-size: 1.4rem; }
  .signs li { grid-template-columns: 38px 1fr; }
  .sub-lines { width: 52%; margin-top: 8px; }
  .hub-body { padding: 26px 24px 28px; }
  .form-card, .info-card { padding: 26px 22px; }
  .fields { grid-template-columns: 1fr; }
  .next-steps, .links-grid { grid-template-columns: 1fr; }
  .gallery { gap: 10px; }
  .g-item:nth-child(6n+1) { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .g-item span { left: 12px; bottom: 10px; font-size: .85rem; }
  .hero--short { padding: 150px 0 100px; }
  .sticky-cta { left: 10px; right: 10px; bottom: 10px; gap: 10px; padding: 8px 8px 8px 16px; transform: translateY(140%); }
  .sticky-cta.show { transform: none; }
  .sticky-cta p { font-size: 1rem; white-space: normal; line-height: 1.15; }
  .sticky-cta .s-call span { display: none; }
  .sticky-cta .btn { min-height: 46px; padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .hero-media img { animation: none; }
  .js .hero .hero-line, .js .hero-sub, .js .hero-ctas, .js .hero-license, .scard.pop, .step.on .step-d, .faq-a:not([hidden]) { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .step.on .step-bar { animation: none; transform: scaleX(1); }
  .frame figure { transition: none; }
  .js .hero .crumbs { animation: none; }
  .sticky-cta { transition: opacity .2s linear; }
  .g-item.pop, .lightbox[open] { animation: none; }
}

/* ---- gravity-forms.css (WordPress only) ----------------------------------------------------------
   Gravity Forms' own CSS is OFF on this site (option rg_gforms_disable_css = 1), so these rules map its
   markup onto the static form's look (site.css: .form-card, .fields, .field, .btn, .btn-amber).
   Forms 1 (Estimate Request) and 2 (Contact) carry cssClass "hh-form"; each field carries "field"
   (and "field--full"), so site.css's .field rules already style labels and inputs.
   Bricks wraps the shortcode in the Rich Text element .hh-gform. */

/* Things Gravity Forms' CSS used to hide. The required text is hidden visually; inputs keep aria-required. */
.hh-gform .gform_heading,
.hh-gform .gfield_required,
.hh-gform .gform_validation_container,
.hh-gform .gform_hidden,
.hh-gform .gform_ajax_spinner { display: none !important; }

/* = .fields */
.hh-gform .gform_fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.hh-gform .gfield--width-full, .hh-gform .field--full { grid-column: 1 / -1; }
.hh-gform .gfield.field--full { grid-column: 1 / -1; }
.hh-gform .gfield:not(.field--full) { grid-column: auto; }

/* Static inputs are flex children of .field and stretch; here they sit inside .ginput_container. */
.hh-gform .ginput_container input,
.hh-gform .ginput_container select,
.hh-gform .ginput_container textarea { display: block; width: 100%; box-sizing: border-box; }
.hh-gform .ginput_container textarea { height: 130px; }

/* Bricks defaults the static page does not have: label { margin-bottom: 5px }, select { appearance: none; line-height: inherit } */
.hh-gform label { margin-bottom: 0; }
.hh-gform select { appearance: auto; -webkit-appearance: auto; line-height: normal; }

/* Validation (static has none visible; keep Gravity Forms' messages readable) */
.hh-gform .gfield_validation_message, .hh-gform .validation_message { margin-top: 6px; font-size: .9rem; color: #b42318; }
.hh-gform .gform_validation_errors { margin-top: 20px; padding: 12px 14px; border-radius: 10px; background: #fdecea; color: #b42318; font-size: .95rem; }
.hh-gform .gfield_error input, .hh-gform .gfield_error select, .hh-gform .gfield_error textarea { border-color: #b42318; }
/* The summary heading is an h2 inside .form-card; keep it body-sized, not the card's display heading. */
.hh-gform .gform_validation_errors h2, .hh-gform .gform_submission_error { margin: 0 0 6px; font-family: var(--f-body); font-size: 1rem; font-weight: 700; font-stretch: normal; line-height: 1.4; letter-spacing: 0; color: #b42318; }
.hh-gform .gform_validation_errors ol { margin: 0; padding-left: 18px; }
.hh-gform .gform_validation_errors a { color: inherit; }

/* = .form-card .btn.btn-amber, arrow drawn with a mask so it takes currentColor */
.hh-gform .gform_footer { margin-top: 26px; }
.hh-gform .gform_button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 8px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  background: var(--amber); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(242, 160, 28, .75);
  transition: transform .45s var(--spring), background-color .2s linear, box-shadow .3s linear; }
.hh-gform .gform_button::after { content: ""; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 10h12M11 5l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 10h12M11 5l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .45s var(--spring); }
.hh-gform .gform_button:hover { transform: translateY(-2px); background: #f7ae35; }
.hh-gform .gform_button:hover::after { transform: translateX(3px); }
.hh-gform .gform_button:active { transform: translateY(0) scale(.98); }
.hh-gform .gform_button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

@media (max-width: 639px) {
  .hh-gform .gform_fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hh-gform .gform_button, .hh-gform .gform_button::after { transition: none; }
}
