/* Build Force Remodeling — home remodeling, Woodland Hills and the San Fernando Valley
   Design system: Minimalism & Swiss style, palette: Build Force forest green, lime, sage cream, grey,
   DM Sans. Mobile first: base rules are the phone; min-width queries add the wider layouts.
   Text may be enlarged by the phone's font setting, so nothing is forced onto one line. */

/* Self-hosted fonts (latin subset): no third-party request before first paint */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/dm-sans.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/outfit.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ---------- tokens ---------- */
:root {
  /* palette: forest green #004939, lime #B5CF36, sage cream #F5F7F0, grey #CFD6C8 */
  --color-background: #F5F7F0;        /* sage cream */
  --color-card: #FFFFFF;
  --color-foreground: #1F2A26;        /* green-black */
  --color-muted: #E8EDDF;
  --color-muted-foreground: #5C5C5C;
  --color-primary: #8C8C8C;           /* input borders (3:1 on white) */
  --color-secondary: #CACACA;
  --color-accent: #B5CF36;            /* lime: calls to action */
  --color-accent-hover: #B5CF36;     /* same lime; hover is shown by the shadow */
  --color-on-accent: #00392C;
  --color-accent-soft: rgb(181 207 54 / 0.18);   /* #B5CF36 tint */
  --color-accent-strong: #799E05;     /* icons on light grounds (decorative) */
  --color-border: #CFD6C8;            /* grey-green */
  --color-destructive: #DC2626;
  --color-success: #15803D;
  --color-ink: #004939;               /* the dark chapter: forest green */
  --color-on-ink: #F5F7F0;
  --color-on-ink-muted: #CFDDD5;

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Outfit", "DM Sans", system-ui, sans-serif;   /* titles */

  --text-sm: 0.875rem;
  --text-base: 0.875rem;             /* phone: 14px body, 16px from 48em */
  --text-lg: 0.9375rem;
  --leading: 1.35;
  --text-xl: 1.25rem;
  --text-h3: 1.0625rem;
  --text-h2: 1.4375rem;
  --text-h1: 1.75rem;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: 36px;                   /* each side of a section: 72px between sections on phones */
  --head-gap: var(--space-5);
  --max: 1200px;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgb(31 42 38 / 0.08);
  --shadow-md: 0 8px 24px -8px rgb(31 42 38 / 0.22);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 150ms;
  --t: 220ms;
  --t-slow: 420ms;
  --bar-h: 64px;
}
@media (min-width: 48em) {
  :root {
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --leading: 1.6;
    --text-h3: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
    --text-h2: clamp(1.75rem, 1.25rem + 2.2vw, 3rem);
    --text-h1: clamp(2.5rem, 1.4rem + 3.6vw, 4rem);
    --section: clamp(44px, 4.5vw, 64px);   /* 88-128px between sections on wider screens */
    --head-gap: var(--space-6);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--color-background); color: var(--color-foreground); font-family: var(--font); font-size: var(--text-base); line-height: var(--leading); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--color-muted); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
main, .foot { overflow-x: clip; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--color-foreground); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--color-accent-soft); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--space-4); top: -60px; z-index: 60; padding: var(--space-3) var(--space-4); background: var(--color-card); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.skip:focus { top: var(--space-2); }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico--tile { width: 36px; height: 36px; padding: 8px; border-radius: var(--radius-sm); background: var(--color-accent); color: var(--color-foreground); }

.h2 { font-family: var(--font-display); font-size: var(--text-h2); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.h3 { display: flex; align-items: center; gap: var(--space-3); font-family: var(--font-display); font-size: var(--text-h3); font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 10px 20px; border: 1.5px solid transparent; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color var(--t) ease, border-color var(--t) ease, color var(--t) ease, box-shadow var(--t) ease, transform var(--t-fast) var(--ease); }
.btn:active { transform: scale(0.98); }
.btn--lg { min-height: 52px; padding: 12px 24px; font-size: 1rem; }
@media (min-width: 48em) { .btn--lg { min-height: 56px; font-size: var(--text-lg); } }
.btn--block { width: 100%; }
.btn--accent { background: var(--color-accent); color: var(--color-on-accent); }
.btn--outline { border-color: var(--color-foreground); color: var(--color-foreground); background: transparent; }
.btn--ghost { color: var(--color-foreground); background: transparent; }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: var(--color-accent-hover); box-shadow: var(--shadow-md); }
  .btn--outline:hover { background: var(--color-foreground); color: var(--color-card); }
  .btn--ghost:hover { background: var(--color-muted); }
}
.btn .ico, .link-arrow .ico { transition: transform var(--t) var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn--accent:hover .ico, .link-arrow:hover .ico { transform: translateX(3px); } }
.link-arrow { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-card); color: var(--color-foreground); transition: background-color var(--t) ease, border-color var(--t) ease; }
@media (hover: hover) and (pointer: fine) { .iconbtn:hover { border-color: var(--color-foreground); } }
.iconbtn:disabled { opacity: 0.4; cursor: default; }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 30; background: rgb(245 247 240 / 0.94); border-bottom: 1px solid var(--color-border); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.bar__inner { display: flex; align-items: center; gap: var(--space-2); max-width: var(--max); min-height: var(--bar-h); margin-inline: auto; padding: var(--space-2) var(--gutter); }
.bar__brand { display: grid; min-width: 0; margin-right: auto; text-decoration: none; line-height: 1.2; }
/* image logo: shrinks with the space left beside the call and menu buttons, never wider than its column */
.bar__logo { display: block; background: none; width: auto; height: 42px; max-width: 100%; }
@media (min-width: 64em) { .bar__logo { height: 48px; } }
.bar__nav { display: none; }
.bar__phone { min-width: 44px; min-height: 44px; padding: 10px; }
.bar__phone span { display: none; }
.bar__quote { display: none; }
.bar__menu { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--color-foreground); }
.bar__menu[aria-expanded="true"] { background: var(--color-muted); }
.bar__nav.is-open { display: grid; position: absolute; top: 100%; left: 0; right: 0; padding: var(--space-2) var(--gutter) var(--space-4); background: var(--color-card); border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.bar__nav.is-open a { display: flex; align-items: center; min-height: 48px; font-size: var(--text-lg); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--color-border); }
.bar__nav.is-open a:last-child { border-bottom: 0; }
.bar__progress { height: 2px; }
.bar__progress span { display: block; height: 100%; width: 100%; background: var(--color-accent); transform: scaleX(0); transform-origin: 0 50%; }
@media (min-width: 48em) {
  .bar__phone { padding: 10px 14px; }
  .bar__phone span { display: inline; }
  .bar__quote { display: inline-flex; }
}
@media (min-width: 64em) {
  .bar__nav, .bar__nav.is-open { display: flex; position: static; gap: var(--space-1); padding: 0; margin-right: var(--space-3); background: none; border: 0; box-shadow: none; }
  .bar__nav a, .bar__nav.is-open a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--radius-sm); font-size: var(--text-base); font-weight: 500; text-decoration: none; color: var(--color-muted-foreground); transition: color var(--t) ease, background-color var(--t) ease; }
  .bar__nav a:hover { color: var(--color-foreground); background: var(--color-muted); }
  .bar__menu { display: none; }
}

/* ---------- hero: the kitchen is the background ---------- */
.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: calc(92svh - var(--bar-h)); overflow: hidden; background: var(--color-ink); color: var(--color-on-ink); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: 0; transition: opacity 1200ms ease; background: none; }
.hero__media img.is-on { opacity: 1; }
/* shade over the photo, darkest where the text sits, so white type stays readable on any of the four kitchens */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(0 36 28 / 0.9) 0%, rgb(0 36 28 / 0.72) 45%, rgb(0 36 28 / 0.3) 80%, rgb(0 36 28 / 0.2) 100%); }
.hero__copy { display: grid; gap: var(--space-4); width: 100%; max-width: var(--max); margin-inline: auto; padding: var(--space-9) var(--gutter) var(--space-6); }
.hero__title { font-family: var(--font-display); font-size: var(--text-h1); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; color: #FFFFFF; }
.hero__lead { font-size: var(--text-lg); color: #E4ECE4; max-width: 34rem; }
.hero__actions { display: grid; gap: var(--space-2); margin-top: var(--space-1); }
.hero .btn--outline { border-color: rgb(245 247 240 / 0.85); color: var(--color-on-ink); }
.hero :focus-visible { outline-color: var(--color-on-ink); }
@media (hover: hover) and (pointer: fine) { .hero .btn--outline:hover { background: var(--color-on-ink); color: var(--color-foreground); } }
.facts { display: grid; gap: var(--space-2); color: var(--color-foreground); }
.facts li { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-base); font-weight: 500; line-height: 1.35; }
.facts .ico { color: var(--color-accent-strong); }
.facts a { text-underline-offset: 3px; }
.hero .facts { color: var(--color-on-ink); }
.hero .facts .ico { color: var(--color-accent); }
@media (min-width: 30em) {
  .hero__actions { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
}
@media (min-width: 64em) {
  .hero { align-items: center; min-height: min(calc(100svh - var(--bar-h)), 860px); }
  .hero::before { background: linear-gradient(90deg, rgb(0 36 28 / 0.88) 0%, rgb(0 36 28 / 0.72) 38%, rgb(0 36 28 / 0.25) 70%, rgb(0 36 28 / 0.1) 100%); }
  .hero__copy { padding-block: var(--space-9); }
  .hero__copy > * { max-width: 38rem; }
  .hero__title { max-width: 12.5em; }   /* two lines: "Modern Kitchen Remodeling / in Los Angeles" */
  .hero__actions { display: flex; flex-wrap: wrap; }
  .hero .facts { padding-top: var(--space-5); border-top: 1px solid rgb(245 247 240 / 0.22); }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section--card { background: var(--color-card); }
.section__head { display: grid; gap: var(--space-2); max-width: 44rem; margin-bottom: var(--head-gap); }
.section__head--row { max-width: none; grid-template-columns: minmax(0, 1fr); align-items: end; }
.section__head--row > div:first-child { display: grid; gap: var(--space-3); max-width: 44rem; }
.section__intro { font-size: var(--text-lg); color: var(--color-muted-foreground); text-wrap: pretty; }
.section__note { margin-top: var(--space-6); color: var(--color-muted-foreground); }
.section__note a { color: var(--color-foreground); font-weight: 600; text-underline-offset: 3px; }
.section__more { margin-top: var(--space-6); justify-self: start; }
.panel__cta { justify-self: start; }
@media (min-width: 48em) {
  .section__head--row { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-6); }
}

/* ---------- layout picker ---------- */
.seg { display: flex; flex-wrap: wrap; gap: var(--space-1); padding: var(--space-1); margin-bottom: var(--space-5); background: var(--color-muted); border-radius: var(--radius); }
.seg button { flex: 1 0 auto; min-height: 44px; padding: 8px 10px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--color-muted-foreground); font-weight: 600; transition: background-color var(--t) ease, color var(--t) ease, box-shadow var(--t) ease; }
.seg button[aria-selected="true"] { background: var(--color-card); color: var(--color-foreground); box-shadow: var(--shadow-sm); }
@media (hover: hover) and (pointer: fine) { .seg button:not([aria-selected="true"]):hover { color: var(--color-foreground); } }
.panel { display: grid; gap: var(--space-5); }
.panel + .panel { margin-top: var(--space-7); }
.js .panel + .panel { margin-top: 0; }
.panel__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.panel__body { display: grid; gap: var(--space-4); align-content: start; }
.specs { display: grid; gap: var(--space-3); }
.specs div { padding: var(--space-3) var(--space-4); background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); }
.specs dt { display: flex; align-items: center; gap: 8px; font-size: var(--text-lg); font-weight: 600; line-height: 1.3; color: var(--color-foreground); }
.specs dt::before { content: ""; flex: none; width: 4px; height: 1em; border-radius: 2px; background: var(--color-accent); }
.specs dd { margin-top: 2px; line-height: var(--leading); }
.panel.is-entering .panel__img, .panel.is-entering .panel__body { animation: fade-up var(--t-slow) var(--ease); }
@media (min-width: 40em) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) {
  .seg { display: inline-flex; }
  .seg button { flex: none; padding-inline: 20px; }
  .panel { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--space-7); align-items: start; }
  .panel__img { aspect-ratio: 4 / 3.2; }
  .specs { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- services ---------- */
.cards { display: grid; gap: var(--space-4); }
.card { display: flex; flex-direction: column; overflow: hidden; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-lg); transition: transform var(--t) var(--ease), box-shadow var(--t) ease; }
.card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { display: grid; gap: var(--space-2); padding: var(--space-4); }
@media (min-width: 48em) { .card__body { gap: var(--space-3); padding: var(--space-5); } }
.card__body p { color: var(--color-muted-foreground); }
.card--cta { justify-content: center; background: var(--color-ink); color: var(--color-on-ink); border-color: var(--color-ink); }
.card--cta .card__body { gap: var(--space-4); justify-items: start; padding: var(--space-6); }
.card--cta .card__body p { color: var(--color-on-ink-muted); }
.card--cta :focus-visible { outline-color: var(--color-on-ink); }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); } }
@media (min-width: 40em) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- process ---------- */
.steps { display: grid; gap: var(--space-6); }
.step { display: grid; gap: var(--space-2); align-content: start; }
.step__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: var(--space-2); }
.step__num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--color-accent); color: var(--color-on-accent); font-weight: 600; }
.step p { color: var(--color-muted-foreground); }
@media (min-width: 48em) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); } }
@media (min-width: 64em) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); } }

/* ---------- gallery ---------- */
.gallery { display: flex; gap: var(--space-4); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 86%; display: grid; gap: var(--space-3); align-content: start; scroll-snap-align: start; }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery__nav { display: flex; align-items: center; gap: var(--space-3); }
.gallery__count { min-width: 3.5em; text-align: center; font-variant-numeric: tabular-nums; color: var(--color-muted-foreground); }
@media (min-width: 48em) { .shot { flex-basis: 62%; } }
@media (min-width: 64em) {
  .gallery { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-5); margin: 0; padding: 0; overflow: visible; }
  .shot:first-child { grid-row: span 2; grid-template-rows: minmax(0, 1fr); }
  .shot:first-child img { aspect-ratio: auto; height: 100%; }
  .gallery__nav { display: none !important; }
}

/* ---------- areas ---------- */
.areas { display: grid; gap: var(--space-4); }
.area { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-4); background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.area .h3 .ico { color: var(--color-accent-strong); }
.area ul { display: grid; }
.area li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px var(--space-4); padding-block: var(--space-2); border-top: 1px solid var(--color-border); line-height: 1.35; }
.area li:first-child { border-top: 0; padding-top: 0; }
.area li span { font-weight: 500; }
.area li small { font-size: var(--text-sm); color: var(--color-muted-foreground); text-align: right; }
/* phones: city names only; the house types appear from tablet width up */
.wide-only, .area li small { display: none; }
@media (min-width: 48em) { .wide-only { display: inline; } .area li small { display: inline; } }
@media (min-width: 48em) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); } }

/* ---------- faq ---------- */
.faq { display: grid; gap: var(--space-6); }
.faq__side { display: grid; gap: var(--space-4); align-content: start; }
.facts--stack { margin-top: var(--space-2); }
.accordion { border-top: 1px solid var(--color-border); }
.accordion details { border-bottom: 1px solid var(--color-border); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 52px; padding: var(--space-3) 0; font-size: var(--text-lg); font-weight: 500; line-height: 1.35; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .ico { color: var(--color-muted-foreground); transition: transform var(--t) var(--ease); }
.accordion details[open] summary .ico { transform: rotate(180deg); }
.accordion details p { padding: 0 0 var(--space-4); color: var(--color-muted-foreground); max-width: 60ch; }
.accordion a { color: var(--color-foreground); font-weight: 600; }
@media (min-width: 64em) { .faq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); } .faq__side { position: sticky; top: calc(var(--bar-h) + 32px); } }

/* ---------- quote ---------- */
.quote { padding-block: var(--section); background: var(--color-ink); color: var(--color-on-ink); }
.quote :focus-visible { outline-color: var(--color-on-ink); }
.quote__grid { display: grid; gap: var(--space-6); }
.quote__side { display: grid; gap: var(--space-4); align-content: start; }
.quote__lead { font-size: var(--text-lg); color: var(--color-on-ink-muted); max-width: 32rem; }
.quote__img { display: none; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.facts--dark { color: var(--color-on-ink); }
.facts--dark .ico { color: var(--color-accent); }
.facts--dark a { color: var(--color-on-ink); }
.form { display: grid; gap: var(--space-4); padding: var(--space-4); background: var(--color-card); color: var(--color-foreground); border-radius: var(--radius-lg); }
.form :focus-visible { outline-color: var(--color-foreground); }
.field { display: grid; gap: 6px; }
.field label, .choices legend { font-size: var(--text-sm); font-weight: 600; }
.req { font-weight: 400; color: var(--color-muted-foreground); }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 10px 12px; background: var(--color-card); border: 1px solid var(--color-primary); border-radius: var(--radius-sm); font-size: max(16px, 1rem); color: var(--color-foreground); transition: border-color var(--t) ease, box-shadow var(--t) ease; }
.form textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--color-foreground); box-shadow: 0 0 0 3px var(--color-accent-soft), 0 0 0 4px var(--color-accent); }
.form [aria-invalid="true"] { border-color: var(--color-destructive); box-shadow: 0 0 0 1px var(--color-destructive); }
.field__err { font-size: var(--text-sm); color: var(--color-destructive); }
.more { border: 1px solid var(--color-border); border-radius: var(--radius); }
.more summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 52px; padding: var(--space-3) var(--space-4); font-weight: 600; cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary .ico { margin-left: auto; color: var(--color-muted-foreground); transition: transform var(--t) var(--ease); }
.more[open] summary .ico { transform: rotate(180deg); }
.more__body { display: grid; gap: var(--space-4); padding: 0 var(--space-4) var(--space-4); }
.choices { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); margin: 0; padding: 0; border: 0; }
.choices legend { margin-bottom: var(--space-2); padding: 0; }
.choices label { position: relative; display: block; cursor: pointer; }
.choices input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; opacity: 0; cursor: pointer; }
.choices span { display: flex; align-items: center; min-height: 48px; height: 100%; padding: 8px 12px; border: 1px solid var(--color-primary); border-radius: var(--radius-sm); line-height: 1.25; transition: background-color var(--t) ease, color var(--t) ease, border-color var(--t) ease; }
.choices input:checked + span { background: var(--color-foreground); border-color: var(--color-foreground); color: var(--color-card); }
.choices input:focus-visible + span { box-shadow: 0 0 0 3px var(--color-accent-soft), 0 0 0 4px var(--color-accent); }
.field-row { display: grid; gap: var(--space-4); }
.form__status { font-weight: 500; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--color-success); }
.form__status.is-err { color: var(--color-destructive); }
.form__note { font-size: var(--text-sm); color: var(--color-muted-foreground); }
[data-send][aria-busy="true"] { opacity: 0.7; cursor: progress; }
@media (min-width: 30em) { .form { padding: var(--space-6); } }
@media (min-width: 64em) { .field-row, .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) {
  .quote__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); align-items: start; }
  .quote__img { display: block; }
}

/* ---------- faint decoration: drawn behind the content, never read by assistive tech ---------- */
.deco { position: relative; isolation: isolate; overflow: clip; }
.deco::before, .deco::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
/* layouts: drafting grid fading out from the top right, with a barely-there kitchen photo under it */
.deco--kitchen::before { inset: 0; background-image: linear-gradient(rgb(31 42 38 / 0.07) 1px, transparent 1px), linear-gradient(90deg, rgb(31 42 38 / 0.07) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(ellipse 75% 65% at 100% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse 75% 65% at 100% 0%, #000, transparent 75%); }
.deco--kitchen::after { z-index: -2; inset: 0; background: url("../img/kitchen-galley-768.webp") right top / cover no-repeat; opacity: 0.16; -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 75%); mask-image: linear-gradient(to bottom, #000 10%, transparent 75%); }
/* services: a field of gold dots in the top corner */
.deco--dots::before { top: 0; right: 0; width: min(420px, 70%); height: 300px; background: radial-gradient(rgb(181 207 54 / 0.85) 1.3px, transparent 1.8px) 0 0 / 20px 20px; -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 70%); }
/* process: the AG emblem as a large watermark */
.deco--emblem::before { top: 20px; right: -90px; width: 300px; aspect-ratio: 1; background: url("../brand/emblem.svg") center / contain no-repeat; opacity: 0.05; }
/* areas: a barely-there Los Angeles hillside kitchen behind the cards */
.deco--view::before { inset: 0; background: url("../img/hero-home-exterior-768.webp") center / cover no-repeat; opacity: 0.16; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 75%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 75%, transparent); }
/* questions: a line drawing of a kitchen along the bottom */
.deco--sketch::before { right: -24px; bottom: -8px; width: min(560px, 105%); aspect-ratio: 1100 / 573; background: url("../img/deco-elevation.webp") right bottom / contain no-repeat; opacity: 0.1; }
/* quote: warm gold light and a fine grid on the dark ground */
.deco--glow::before { inset: 0; background: radial-gradient(36rem 26rem at 0% 0%, rgb(181 207 54 / 0.16), transparent 70%), radial-gradient(30rem 22rem at 100% 100%, rgb(181 207 54 / 0.08), transparent 70%); }
.deco--glow::after { inset: 0; background-image: linear-gradient(rgb(245 247 240 / 0.05) 1px, transparent 1px), linear-gradient(90deg, rgb(245 247 240 / 0.05) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(160deg, #000, transparent 60%); mask-image: linear-gradient(160deg, #000, transparent 60%); }
@media (min-width: 64em) {
  .deco--kitchen::after { left: 35%; background-image: url("../img/kitchen-galley-768.webp"); -webkit-mask-image: linear-gradient(to right, transparent, #000 40%), linear-gradient(to bottom, #000 30%, transparent 90%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 40%), linear-gradient(to bottom, #000 30%, transparent 90%); mask-composite: intersect; }
  .deco--view::before { background-image: url("../img/hero-home-exterior-768.webp"); }
  .deco--emblem::before { top: 50%; right: -140px; width: 560px; translate: 0 -50%; }
  .deco--sketch::before { right: auto; left: max(0px, calc((100vw - var(--max)) / 2)); width: 520px; bottom: 0; background-position: left bottom; }
}

/* ---------- footer ---------- */
.foot { padding: var(--space-8) 0 calc(var(--space-9) + env(safe-area-inset-bottom)); background: var(--color-ink); color: var(--color-on-ink-muted); border-top: 1px solid rgb(245 247 240 / 0.1); }
.foot :focus-visible { outline-color: var(--color-on-ink); }
.foot__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); }
.foot__grid > div { display: grid; gap: 0; align-content: start; }
.foot__brand { grid-column: 1 / -1; }
.foot__name img { display: block; background: none; width: 180px; max-width: 100%; height: auto; }
.foot__head { margin-bottom: var(--space-1); font-weight: 600; color: var(--color-on-ink); }
.foot__brand { gap: var(--space-3) !important; }
.foot__grid span { display: inline-flex; align-items: center; min-height: 40px; }
.foot a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.foot a[aria-current="page"] { color: var(--color-on-ink); }
.foot a:hover { color: var(--color-on-ink); text-decoration: underline; text-underline-offset: 3px; }
/* bottom bar: copyright on one side, legal pages on the other; stacked on phones */
.foot__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-5); margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid rgb(245 247 240 / 0.12); font-size: var(--text-sm); }
.foot__legal nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
@media (min-width: 48em) { .foot { padding-bottom: var(--space-7); } .foot__grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } .foot__brand { grid-column: auto; } }

/* ---------- privacy policy and terms pages ---------- */
.legal { padding-block: var(--section) calc(var(--section) + var(--space-5)); }
.legal__back { margin-bottom: var(--space-4); color: var(--color-muted-foreground); }
.legal__back .ico { width: 18px; height: 18px; }
.legal__head { display: grid; gap: var(--space-2); max-width: 44rem; margin-bottom: var(--head-gap); }
.legal__head .h1 { font-family: var(--font-display); font-size: var(--text-h2); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
.legal__date { color: var(--color-muted-foreground); }
.legal__grid { display: grid; gap: var(--space-6); }
.legal__toc { display: none; }
.prose { display: grid; gap: var(--space-3); max-width: 44rem; padding: var(--space-5) var(--space-4); background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.prose h2 { margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--color-border); font-family: var(--font-display); font-size: var(--text-h3); font-weight: 500; line-height: 1.3; scroll-margin-top: calc(var(--bar-h) + 16px); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose ul { display: grid; gap: var(--space-2); padding-left: 1.25em; list-style: disc; }
.prose li::marker { color: var(--color-accent); }
.prose a { font-weight: 500; text-underline-offset: 3px; }
.prose strong { font-weight: 600; }
@media (min-width: 48em) { .prose { padding: var(--space-7) var(--space-7); } }
@media (min-width: 64em) {
  .legal__grid { grid-template-columns: 15rem minmax(0, 44rem); gap: var(--space-8); align-items: start; }
  .legal__toc { display: grid; gap: var(--space-1); position: sticky; top: calc(var(--bar-h) + 32px); }
  .legal__toc p { margin-bottom: var(--space-2); font-weight: 600; }
  .legal__toc a { display: flex; align-items: center; min-height: 40px; color: var(--color-muted-foreground); text-decoration: none; }
  .legal__toc a:hover { color: var(--color-foreground); text-decoration: underline; text-underline-offset: 3px; }
}

/* ---------- phone dock ---------- */
.dock { position: fixed; inset: auto 0 0; z-index: 25; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-2); padding: var(--space-2) var(--gutter) calc(var(--space-2) + env(safe-area-inset-bottom)); background: var(--color-card); border-top: 1px solid var(--color-border); box-shadow: 0 -8px 24px -12px rgb(31 42 38 / 0.25); transition: transform var(--t-slow) var(--ease); }
.dock .btn { padding-inline: 16px; white-space: nowrap; }
/* set by script only when both labels cannot fit: Call keeps its icon so "Request a Quote" stays on one line */
.dock.is-tight .dock__call { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dock.is-tight .btn { padding-inline: 12px; }
.dock.is-managed:not(.is-shown) { transform: translateY(110%); }
@media (min-width: 48em) { .dock { display: none; } }

/* ---------- modern details ---------- */
/* section label pills */
.pill { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 5px 12px 5px 10px; border-radius: 999px; background: var(--color-accent); color: var(--color-foreground); font-size: 0.8125rem; font-weight: 600; line-height: 1.2; }
.pill .ico { width: 14px; height: 14px; stroke-width: 2; }
.quote .pill { background: rgb(181 207 54 / 0.16); color: var(--color-accent); }
.faq__side .pill { margin-bottom: calc(var(--space-2) * -1); }

/* moving ribbon of service areas */
.ticker { display: flex; overflow: hidden; padding: 14px 0; background: var(--color-ink); color: var(--color-on-ink); border-top: 1px solid rgb(245 247 240 / 0.08); }
.ticker__track { display: flex; flex: none; gap: 28px; padding-right: 28px; margin: 0; font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
.ticker__track li { display: inline-flex; align-items: center; gap: 28px; }
.ticker__track li::after { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--color-accent); }
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: ticker 55s linear infinite; }
  .ticker:hover .ticker__track { animation-play-state: paused; }
}
@keyframes ticker { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker { justify-content: center; }
  .ticker__track { flex-wrap: wrap; justify-content: center; white-space: normal; padding-inline: var(--gutter); row-gap: 8px; }
  .ticker__track[aria-hidden] { display: none; }
}

/* hero trust points on frosted glass */
.hero .facts { padding: var(--space-3) var(--space-4); background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.16); border-radius: var(--radius); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
@media (min-width: 64em) {
  .hero .facts { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); width: fit-content; max-width: none; padding: var(--space-3) var(--space-5); border-top: 1px solid rgb(255 255 255 / 0.16); }
}

/* services: photos zoom gently under the pointer; on desktop a bento grid */
.card__img { transition: transform 700ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .card:hover .card__img { transform: scale(1.04); } }
@media (min-width: 64em) {
  .cards > .card:first-child { grid-column: span 2; flex-direction: row; }
  .cards > .card:first-child .card__img { width: 58%; aspect-ratio: auto; height: 100%; min-height: 100%; }
  .cards > .card:first-child .card__body { align-content: center; padding: var(--space-6); }
  .cards > .card--cta { grid-column: 1 / -1; }
  .cards > .card--cta .card__body { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-6); }
  .cards > .card--cta .card__body .h3 { grid-column: 1; }
  .cards > .card--cta .card__body p { grid-column: 1; }
  .cards > .card--cta .card__body .btn { grid-column: 2; grid-row: 1 / span 2; }
}

/* gallery captions on frosted chips over the photo */
.shot { position: relative; }

/* ---------- motion ---------- */
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes slow-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  /* hero: copy arrives in reading order; the photo settles with a slow zoom */
  .js .hero__copy > * { animation: hero-rise 700ms var(--ease) both; }
  .js .hero__copy > :nth-child(2) { animation-delay: 90ms; }
  .js .hero__copy > :nth-child(3) { animation-delay: 180ms; }
  .js .hero__copy > :nth-child(4) { animation-delay: 270ms; }
  .hero__media img.is-on { animation: slow-zoom 9s var(--ease) both; }
  /* pictures fade in as they finish loading (class set by script, so without it nothing is hidden) */
  .img-fade img.is-pending { opacity: 0; }
  .img-fade img.is-loaded { opacity: 1; transition: opacity 600ms ease; }
  /* scrolling: each part rises into place once */
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  /* off, not just short: a 1ms transition still animates every property change, font size included */
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Build Force additions ---------- */
/* eight services: the closing card takes the full row so the grid ends square */
@media (min-width: 64em) { .cards--services > .card--cta { grid-column: 1 / -1; } }
/* six photographs: a second block mirrors the first */
@media (min-width: 64em) {
  .gallery--six { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .gallery--six .shot:nth-child(4) { grid-column: 2; grid-row: 3 / span 2; grid-template-rows: minmax(0, 1fr); }
  .gallery--six .shot:nth-child(4) img { aspect-ratio: auto; height: 100%; }
  .gallery--six .shot:nth-child(5) { grid-column: 1; grid-row: 3; }
  .gallery--six .shot:nth-child(6) { grid-column: 1; grid-row: 4; }
  .gallery--six .shot:nth-child(5) img, .gallery--six .shot:nth-child(6) img { aspect-ratio: 16 / 7; }
}
.shot figcaption { font-size: var(--text-sm); color: var(--color-muted-foreground); }
/* team portraits */
.card__img--portrait { aspect-ratio: 1; object-position: 50% 25%; }
.roles { display: grid; gap: var(--space-3); }
.roles dt { font-weight: 600; color: var(--color-on-ink); }
.roles dd { color: var(--color-on-ink-muted); }
@media (min-width: 48em) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-6); } }
@media (min-width: 64em) { .card--team .card__body { grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); align-items: start; } .card--team .card__body .roles { grid-column: 2; grid-row: 1 / span 3; } }
/* testimonials */
.quotes { display: grid; gap: var(--space-4); }
.quote-card { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-5); background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.quote-card .stars { display: flex; gap: 2px; color: var(--color-accent); }
.quote-card .stars .ico { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { font-size: var(--text-lg); line-height: 1.5; }
.quote-card figcaption { display: grid; margin-top: auto; padding-top: var(--space-2); }
.quote-card figcaption b { font-weight: 600; }
.quote-card figcaption span { font-size: var(--text-sm); color: var(--color-muted-foreground); }
@media (min-width: 40em) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); } }

/* team: one row per person, portrait and words side by side, Collin mirrored */
.people { display: grid; gap: var(--space-7); }
.person { display: grid; gap: var(--space-5); align-items: center; }
.person__img { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius-lg); }
.person__body { display: grid; gap: var(--space-3); min-width: 0; }
.person__role { color: var(--color-muted-foreground); font-weight: 500; }
.person__body p:not(.person__role) { max-width: 62ch; }
.cards--roles { margin-top: var(--space-7); }
@media (min-width: 48em) {
  .person { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-7); }
  .person__img { max-width: none; }
  .person--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .person--flip .person__img { grid-column: 2; grid-row: 1; }
  .person--flip .person__body { grid-column: 1; grid-row: 1; }
}
@media (min-width: 64em) { .people { gap: var(--space-8); } }
/* the project team: the team photo on top, the four roles on a dark band beneath it */
.crew { margin-top: var(--space-8); overflow: hidden; border-radius: var(--radius-lg); background: var(--color-ink); color: var(--color-on-ink); }
.crew__photo { position: relative; margin: 0; }
.crew__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 35%; }
.crew__photo figcaption { position: absolute; left: var(--space-5); bottom: var(--space-4); padding: 6px 12px; border-radius: 999px; background: rgb(0 36 28 / 0.72); color: var(--color-on-ink); font-size: var(--text-sm); }
.crew__body { display: grid; gap: var(--space-6); padding: var(--space-6) var(--space-5); }
.crew__head { display: grid; gap: var(--space-3); align-content: start; justify-items: start; }
.crew__title { font-family: var(--font-display); font-size: var(--text-h2); font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.crew__head p { color: var(--color-on-ink-muted); }
.crew__head .btn { margin-top: var(--space-2); }
.crew__roles { display: grid; gap: var(--space-5); }
.crew__roles div { display: grid; gap: var(--space-1); padding-top: var(--space-4); border-top: 1px solid rgb(245 247 240 / 0.16); }
.crew__roles dt { display: flex; align-items: center; gap: var(--space-2); font-weight: 600; font-size: var(--text-lg); }
.crew__roles dt .ico { color: var(--color-accent); }
.crew__roles dd { color: var(--color-on-ink-muted); }
.crew :focus-visible { outline-color: var(--color-on-ink); }
@media (min-width: 48em) {
  .crew__photo img { aspect-ratio: 21 / 9; }
  .crew__roles { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-6); }
  .crew__body { padding: var(--space-7); }
}
@media (min-width: 64em) {
  .crew__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); column-gap: var(--space-8); }
}

/* the estimate panel shows the whole team photo at its own proportions, nothing cropped */
.quote__img { aspect-ratio: 875 / 520; object-position: 50% 40%; }

/* footer: four equal columns from tablet width up */
@media (min-width: 48em) { .foot__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.foot__grid a { overflow-wrap: anywhere; }

/* areas: every city in one card, no grouping */
.section__intro--line { max-width: none; }
.cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2) var(--space-5); padding: var(--space-5); background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.cities li { display: flex; align-items: center; gap: var(--space-2); min-height: 40px; font-weight: 500; }
.cities .ico { width: 18px; height: 18px; color: var(--color-accent-strong); }
@media (min-width: 48em) { .cities { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: var(--space-6); } }
@media (min-width: 64em) { .cities { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: var(--space-6) var(--space-7); } }

/* commitments: four equal cards */
.promise-cards { display: grid; gap: var(--space-4); }
.promise { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-5); background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-lg); transition: transform var(--t) var(--ease), box-shadow var(--t) ease; }
.promise p { color: var(--color-muted-foreground); }
@media (hover: hover) and (pointer: fine) { .promise:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); } }
@media (min-width: 40em) { .promise-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .promise-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); } .promise { padding: var(--space-6) var(--space-5); } }

/* areas heading: label, title and intro on one line where the width allows */
@media (min-width: 48em) {
  .section__head--inline { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--space-5); row-gap: var(--space-2); max-width: none; }
  .section__head--inline .section__intro { margin: 0; }
}

/* team photo shown whole at its own proportions, sign to shoes, at every width */
.crew__photo img { aspect-ratio: 875 / 520 !important; object-position: 50% 50%; }

/* team names: larger and bold */
.person__body .h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.person__role { font-size: var(--text-lg); }

/* gold frame around the team portraits */
.person__img { padding: 6px; border: 3px solid var(--color-accent); background: var(--color-background); }

/* areas heading: the intro sits at the right end of the line */
@media (min-width: 48em) { .section__head--inline .section__intro { margin-left: auto; text-align: right; } }

/* job titles under the team names: bold */
.person__role { font-weight: 700; color: var(--color-foreground); }

/* ---------- Services dropdown in the header ---------- */
.navdrop { position: relative; }
.navdrop__btn { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; min-height: 48px; padding: 0; border: 0; border-bottom: 1px solid var(--color-border); background: none; font: inherit; font-size: var(--text-lg); font-weight: 500; color: inherit; cursor: pointer; }
.navdrop__btn .ico { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.navdrop__btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
.navdrop__menu { display: none; padding: var(--space-1) 0 var(--space-2) var(--space-4); }
.navdrop__btn[aria-expanded="true"] + .navdrop__menu { display: grid; }
.bar__nav.is-open .navdrop__menu a { min-height: 44px; font-size: var(--text-base); color: var(--color-muted-foreground); }
.navdrop__all a { font-weight: 600; color: var(--color-foreground) !important; }
@media (min-width: 64em) {
  .navdrop__btn { width: auto; min-height: 44px; padding: 0 10px 0 12px; border: 0; border-radius: var(--radius-sm); font-size: var(--text-base); color: var(--color-muted-foreground); transition: color var(--t) ease, background-color var(--t) ease; }
  .navdrop__btn:hover, .navdrop:hover .navdrop__btn { color: var(--color-foreground); background: var(--color-muted); }
  .navdrop__menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; min-width: 260px; padding: var(--space-2); background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-md); }
  .navdrop:hover .navdrop__menu, .navdrop:focus-within .navdrop__menu, .navdrop__btn[aria-expanded="true"] + .navdrop__menu { display: grid; }
  .navdrop__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
  .bar__nav .navdrop__menu a { display: flex; width: 100%; padding: 0 12px; color: var(--color-foreground); white-space: nowrap; }
  .navdrop__all { margin-top: var(--space-1); padding-top: var(--space-1); border-top: 1px solid var(--color-border); }
}

/* service cards: the whole card opens its page */
.card { position: relative; }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- closing band: points to the free estimate page ---------- */
.cta-band { padding-block: var(--space-8); background: var(--color-ink); color: var(--color-on-ink); }
.cta-band .pill { background: rgb(181 207 54 / 0.16); color: var(--color-accent); }
.cta-band__in { display: grid; gap: var(--space-5); align-items: center; }
.cta-band__in > div:first-child { display: grid; gap: var(--space-2); }
.cta-band p { color: var(--color-on-ink-muted); }
.cta-band__acts { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.cta-band .btn--outline { border-color: rgb(245 247 240 / 0.85); color: var(--color-on-ink); }
.cta-band :focus-visible { outline-color: var(--color-on-ink); }
@media (hover: hover) and (pointer: fine) { .cta-band .btn--outline:hover { background: var(--color-on-ink); color: var(--color-foreground); } }
@media (min-width: 64em) { .cta-band__in { grid-template-columns: minmax(0, 1fr) auto; } .cta-band { padding-block: var(--space-9); } }

/* ---------- inner pages: a shorter hero ---------- */
.hero--page { min-height: min(62svh, 560px); }
@media (min-width: 48em) { .hero--page { min-height: min(64svh, 600px); } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-3); font-size: var(--text-sm); color: var(--color-on-ink-muted); }
.crumbs a { color: var(--color-on-ink); }

/* service page: what's included, as a checklist */
.checks { display: grid; gap: var(--space-2); }
.checks li { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) var(--space-4); background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); }
.checks .ico { flex: none; margin-top: 2px; color: var(--color-foreground); background: var(--color-accent); border-radius: 999px; padding: 3px; width: 22px; height: 22px; stroke-width: 2.5; }
.panel__body > p { color: var(--color-muted-foreground); }

/* service page: the timeline, three stages side by side */
.stages { display: grid; gap: var(--space-4); }
.stage { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-5); background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.stage ol { display: grid; gap: var(--space-2); }
.stage li { display: flex; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-2); border-top: 1px solid var(--color-border); }
.stage li:first-child { border-top: 0; padding-top: 0; }
.stage li b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stages__total { margin-top: var(--space-5); padding: var(--space-4) var(--space-5); border-radius: var(--radius); background: var(--color-ink); color: var(--color-on-ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); }
.stages__total span { color: var(--color-on-ink-muted); }
@media (min-width: 48em) { .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* estimate page: the form section opens the page */
.quote--page { padding-top: var(--space-8); }
.next-steps { display: grid; gap: var(--space-4); counter-reset: none; }
.next-steps li { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-5); background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.next-steps .ico--tile { margin-bottom: var(--space-1); }
.next-steps p { color: var(--color-muted-foreground); }
@media (min-width: 48em) { .next-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* related services: three equal cards, none stretched */
@media (min-width: 64em) {
  .cards--related > .card:first-child { grid-column: auto; flex-direction: column; }
  .cards--related > .card:first-child .card__img { width: 100%; aspect-ratio: 3 / 2; height: auto; min-height: 0; }
  .cards--related > .card:first-child .card__body { padding: var(--space-5); }
}


/* project tabs: a black bar with white labels; the chosen tab is gold */
.seg { background: var(--color-ink); }
.seg button { color: var(--color-on-ink); }
.seg button[aria-selected="true"] { background: var(--color-accent); color: var(--color-foreground); box-shadow: none; }
.seg button:focus-visible { outline-color: var(--color-on-ink); }
@media (hover: hover) and (pointer: fine) { .seg button:not([aria-selected="true"]):hover { color: var(--color-on-ink); background: rgb(245 247 240 / 0.12); } }

/* service pages: what's included as an even split, the photo as tall as the text beside it */
@media (min-width: 64em) {
  .panel--even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: var(--space-8); }
  .panel--even .panel__img { height: 100%; min-height: 100%; aspect-ratio: auto; object-fit: cover; }
  .panel--even .panel__body { align-content: center; }
}

/* service pages: what's included. Heading and intro side by side, a wide photo, six items in an even grid */
.incl { display: grid; gap: var(--space-6); }
.incl__head { display: grid; gap: var(--space-4); align-items: end; }
.incl__head > div:first-child { display: grid; gap: var(--space-2); }
.incl__intro { display: grid; gap: var(--space-3); color: var(--color-muted-foreground); }
.incl__photo { margin: 0; }
.incl__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }
.incl__grid { display: grid; gap: var(--space-3); }
.incl__grid li { display: flex; align-items: center; gap: var(--space-3); min-height: 72px; padding: var(--space-4) var(--space-5); background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); font-weight: 500; }
.incl__grid .ico { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 999px; background: var(--color-accent); color: var(--color-foreground); stroke-width: 2.5; }
.incl__cta { display: flex; justify-content: center; }
@media (min-width: 48em) {
  .incl__head { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-8); }
  .incl__photo img { aspect-ratio: 21 / 9; }
  .incl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) { .incl__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); } .incl { gap: var(--space-7); } }

/* service pages: smaller section titles */
.page-service .h2 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem); }


/* what's included: label and title on top, the intro under them, then the photo */
.incl__head { grid-template-columns: minmax(0, 1fr) !important; align-items: start; row-gap: var(--space-4); }
.incl__intro { max-width: 72ch; }
/* the intro runs the full width of the section, edge to edge above the photo */
.incl__intro, .incl__intro p, .incl__head .section__intro { max-width: none !important; }

/* "Not sure where to start" card: a quiet photo under a 54% black wash */
.card--cta-photo { background: linear-gradient(rgb(0 0 0 / .54), rgb(0 0 0 / .54)), url("../img/cta-home-768.webp") center / cover, var(--color-ink); }
.card--cta-photo .card__body p { color: rgb(255 255 255 / .82); }

/* Homepage gallery: link to the full gallery page */
.gallery__more { display: flex; justify-content: center; margin-top: var(--space-8); }

/* Gallery page: filter tabs, photo grid, lightbox */
.gfilter { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.gfilter button { font: inherit; font-weight: 600; padding: .6em 1.2em; border-radius: 999px; border: 0; background: var(--color-ink); color: var(--color-on-ink); cursor: pointer; }
.gfilter button.is-on { background: var(--color-accent); color: var(--color-ink); }
.ggrid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.gshot { margin: 0; display: grid; gap: var(--space-2); }
.gshot[hidden] { display: none; }
.gshot__open { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-lg, 12px); overflow: hidden; }
.gshot__open img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease; }
.gshot__open:hover img { transform: scale(1.04); }
.gshot figcaption { font-size: .9rem; color: var(--color-muted-foreground); }
.lightbox { width: min(96vw, 80rem); max-height: 94vh; padding: 0; border: 0; background: transparent !important; box-shadow: none; overflow: visible; }
.lightbox::backdrop { background: rgb(0 0 0 / .88); }
.lightbox img { display: block; width: auto; max-width: 100%; margin-inline: auto; max-height: 84vh; object-fit: contain; border-radius: 8px; }
.lightbox__cap { margin: var(--space-3) 0 0; text-align: center; color: #fff; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; background: var(--color-accent); color: var(--color-ink); cursor: pointer; }
.lightbox__close { top: -3.25rem; right: 0; }
.lightbox__prev { left: .5rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: .5rem; top: 50%; translate: 0 -50%; }

/* Decorative backgrounds wait until their section nears the screen (main.js adds .is-near),
   so the first screen downloads only what it shows */
.js .deco:not(.is-near)::before, .js .deco:not(.is-near)::after { background-image: none !important; }
.js .card--cta-photo:not(.is-near) { background-image: none !important; }

/* call-to-action band buttons: full width and stacked on phones, equal widths side by side above */
.cta-band__acts { display: grid; grid-template-columns: minmax(0, 1fr); }
.cta-band__acts .btn { width: 100%; justify-content: center; }
@media (min-width: 40em) { .cta-band__acts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; justify-content: start; } }

/* service pages: the 24 neighborhoods on one scrolling line (pauses on hover; wraps when motion is reduced) */
.cities-line { display: flex; overflow: hidden; padding-block: var(--space-4); background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.cities-line__track { display: flex; flex: none; gap: var(--space-6); padding-right: var(--space-6); margin: 0; white-space: nowrap; }
.cities-line__track li { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 500; }
.cities-line .ico { width: 18px; height: 18px; color: var(--color-accent-strong); }
@media (prefers-reduced-motion: no-preference) {
  .cities-line__track { animation: ticker 60s linear infinite; }
  .cities-line:hover .cities-line__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .cities-line { -webkit-mask-image: none; mask-image: none; padding-inline: var(--space-5); }
  .cities-line__track { flex: 1; flex-wrap: wrap; white-space: normal; row-gap: var(--space-3); }
  .cities-line__track[aria-hidden] { display: none; }
}

/* gallery filters: two rows on phones */
@media (max-width: 39.99em) {
  .gfilter { gap: 6px; }
  .gfilter button { font-size: 0.8125rem; padding: 0.55em 0.95em; }
}

/* header at laptop widths: buttons never wrap; the phone shows as an icon until there's room for the number */
.bar__phone, .bar__quote { white-space: nowrap; }
@media (min-width: 64em) and (max-width: 79.99em) { .bar__phone span { display: none; } .bar__phone { padding: 10px; } .bar__nav a, .navdrop__btn { padding-inline: 10px; } }

/* "Not sure where to start" button stays on one line */
.card--cta .btn { white-space: nowrap; }

/* promises: titles on one line; four columns only when each card is wide enough */
.promise .h3 { font-size: 1.0625rem; }
@media (min-width: 64em) { .promise-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 80em) { .promise-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* homepage cities: one per line on phones, and no name breaks across lines */
.cities li { white-space: nowrap; }
@media (max-width: 39.99em) { .cities { grid-template-columns: minmax(0, 1fr); row-gap: 0; } .cities li { min-height: 36px; } }

/* homepage gallery: keep rooflines and ceilings in frame */
.gallery .shot img { object-position: 50% 15%; }
.gallery--six .shot:nth-child(4) img { object-position: 50% 0; }

/* swipe strips move sideways only: no vertical wobble inside the strip on phones */
.gallery { overflow-y: hidden; overscroll-behavior-y: auto; }

/* promise titles: a touch smaller on phones */
@media (max-width: 39.99em) { .promise .h3 { font-size: 1rem; } }

/* project tabs on phones: a tidy 2 x 2 grid, slightly smaller text */
@media (max-width: 39.99em) {
  .seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg button { min-width: 0; font-size: clamp(0.75rem, 3.6vw, 0.875rem); line-height: 1.2; padding-inline: 6px; white-space: normal; text-wrap: balance; overflow-wrap: anywhere; }
}

/* footer on phones: contact spans the full width so the email stays whole; Explore and License share the next row */
@media (max-width: 47.99em) {
  .foot__grid > div:nth-child(2) { grid-column: 1 / -1; }
  .foot__grid a { overflow-wrap: normal; }
}

/* homepage title: the second line in gold */
.hero__title--home { max-width: 16em; }
.hero__accent { display: block; color: var(--color-accent); }

/* ---------- Build Force: logo lockup, reviews with photos, rating platforms ---------- */
.bar__logo { height: 36px; }
@media (min-width: 64em) { .bar__logo { height: 44px; } }
.foot__name img { width: 150px; }
.stars--sm { display: inline-flex; gap: 1px; color: var(--color-accent); vertical-align: -2px; }
.stars--sm .ico { width: 15px; height: 15px; fill: currentColor; stroke: currentColor; }
.hero-rated li { gap: 8px; }
.quote-card figcaption { grid-template-columns: 48px 1fr; column-gap: var(--space-3); align-items: center; }
.quote-card figcaption img { grid-row: span 2; width: 48px; height: 48px; border-radius: 999px; object-fit: cover; }
.platforms { display: grid; align-content: center; gap: var(--space-3); padding: var(--space-5); background: var(--color-ink); color: var(--color-on-ink); border-radius: var(--radius-lg); }
.platforms__title { font-family: var(--font-display); font-size: var(--text-h3); font-weight: 500; }
.platforms ul { display: grid; gap: var(--space-2); }
.platforms li { display: flex; justify-content: space-between; align-items: center; padding: var(--space-3) var(--space-4); background: rgb(245 247 240 / 0.08); border-radius: var(--radius); }
.platforms li b { font-weight: 600; }
@media (min-width: 40em) and (max-width: 63.99em) { .platforms { grid-column: 1 / -1; } }

/* ---------- process: six step cards, all open, equal height ---------- */
.pcards { display: grid; gap: var(--space-4); }
@media (min-width: 40em) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); } }
.pcard { display: flex; flex-direction: column; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--t) var(--ease), box-shadow var(--t) ease, border-color var(--t) ease; }
.pcard__media { position: relative; display: block; overflow: hidden; }
.pcard__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 600ms var(--ease); }
.pcard__num { position: absolute; left: var(--space-4); bottom: var(--space-4); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--color-accent); color: var(--color-on-accent); font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; }
.pcard__body { display: grid; gap: var(--space-2); align-content: start; flex: 1; padding: var(--space-5); }
.pcard__title { font-family: var(--font-display); font-size: var(--text-h3); font-weight: 500; color: var(--color-foreground); }
.pcard__sum { color: var(--color-muted-foreground); font-size: var(--text-sm); margin-top: -4px; }
.pcard__text { color: var(--color-foreground); }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-accent); }
  .pcard:hover .pcard__img { transform: scale(1.05); }
}

/* ---------- quick free-consultation form (replaces the project picker) ---------- */
.qs { display: grid; gap: var(--space-7); }
@media (min-width: 64em) { .qs { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); align-items: start; } }
.qs__intro { display: grid; gap: var(--space-4); align-content: start; }
.qs__perks { display: grid; gap: var(--space-3); margin: var(--space-2) 0; }
.qs__perks li { display: flex; gap: var(--space-3); align-items: center; }
.qs__perks b { font-weight: 600; }
.qs__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.qs__form { border: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.qs__group { display: grid; gap: var(--space-2); margin: 0; padding: 0; border: 0; min-width: 0; }
.qs__group legend { padding: 0; font-size: var(--text-sm); font-weight: 600; }
.qs__group legend span { font-weight: 400; color: var(--color-muted-foreground); margin-left: 4px; }
.qs__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-2); }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-card); font-size: var(--text-sm); font-weight: 500; transition: background var(--t) ease, color var(--t) ease, border-color var(--t) ease; }
.chip input:checked + span { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-on-ink); }
.chip input:focus-visible + span { outline: 3px solid var(--color-accent-strong); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .chip:hover span { border-color: var(--color-ink); } }
.qs__form .btn { justify-content: center; }
.qs__title { margin-bottom: var(--space-1); }
.qs__perks .ico { stroke-width: 3; }

/* footer, wide screens: the four columns spread across the full width (brand left, Visit flush right), email on one line */
@media (min-width: 64em) {
  .foot__grid { grid-template-columns: minmax(0, 17rem) auto auto auto; justify-content: space-between; column-gap: var(--space-7); }
  .foot__grid a[href^="mailto:"] { white-space: nowrap; overflow-wrap: normal; }
}

/* consultation photo: on wide screens it fills the column so its bottom lines up with the form */
.qs__img { aspect-ratio: 4 / 5; object-position: 50% 35%; }
@media (min-width: 64em) {
  .qs { align-items: stretch; }
  .qs__intro { grid-template-rows: auto auto auto 1fr; }
  .qs__form { align-content: start; }
  .qs__img { aspect-ratio: auto; height: 100%; min-height: 260px; contain: size; }
}
.field__opt { font-weight: 400; color: var(--color-muted-foreground); }

/* phone numbers: green, bold, linked (lime on the dark footer) */
a.tel { color: var(--color-ink); font-weight: 700; white-space: nowrap; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a.tel:hover { text-decoration-thickness: 2px; }
.bar__phone.tel { text-decoration: none; }
.foot a.tel { color: var(--color-accent); }

/* reviews: two quotes side by side */
@media (min-width: 40em) { .quotes--two { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; } }

/* estimate page */
.quote a.tel, .facts--dark a.tel { color: var(--color-accent); }
.quote--page .h2 { color: var(--color-on-ink); }
.quote--page .quote__img { border-radius: var(--radius-lg); }
.choices input:checked + span { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-on-ink); }
.quotes--two .quote-card { display: flex; flex-direction: column; } .quotes--two .quote-card figcaption { margin-top: auto; }
.section--page { padding-top: var(--space-8); }

/* about page */
.bar__nav a[aria-current="page"] { color: var(--color-ink); font-weight: 600; }
.ab-hero { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 64em) { .ab-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); } }
.ab-hero__text { display: grid; gap: var(--space-4); align-content: start; }
.ab-lead { font-size: var(--text-xl); line-height: 1.5; color: var(--color-foreground); }
.ab-hero__img, .ab-split__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.ab-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-3); padding-top: var(--space-5); border-top: 1px solid var(--color-border); }
.ab-facts li { display: grid; gap: 4px; align-content: start; }
.ab-facts b { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 600; line-height: 1; color: var(--color-ink); }
.ab-facts span { font-size: var(--text-sm); color: var(--color-muted-foreground); }
.ab-split { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 64em) { .ab-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); } }
.ab-split__text { display: grid; gap: var(--space-4); }
.ab-split__text p { font-size: var(--text-lg); }
.ab-trades { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
@media (min-width: 48em) { .ab-trades { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ab-trades a { display: flex; align-items: center; gap: var(--space-3); height: 100%; padding: var(--space-4); background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); color: var(--color-foreground); font-weight: 600; text-decoration: none; transition: transform var(--t) var(--ease), border-color var(--t) ease, box-shadow var(--t) ease; }
@media (hover: hover) and (pointer: fine) { .ab-trades a:hover { transform: translateY(-3px); border-color: var(--color-accent); box-shadow: var(--shadow-md); } }
.bar__nav > a, .navdrop__btn { white-space: nowrap; }

/* footer on beige: dark green text, full-color logo */
.foot { background: var(--color-background); color: var(--color-muted-foreground); border-top: 1px solid var(--color-border); }
.foot :focus-visible { outline-color: var(--color-ink); }
.foot__head { color: var(--color-ink); }
.foot a { color: var(--color-foreground); }
.foot a[aria-current="page"], .foot a:hover { color: var(--color-ink); }
.foot a.tel { color: var(--color-ink); }
.foot__legal { border-top-color: var(--color-border); }
.foot .wordmark { color: var(--color-ink); }
.foot .wordmark small { color: var(--color-accent-strong); }

/* ---------- motion layer: reveals, image wipes, header, parallax, button shine (all off with reduced motion) ---------- */
.bar { transition: box-shadow var(--t) ease, background-color var(--t) ease; }
.bar.is-scrolled { box-shadow: 0 10px 30px -18px rgb(0 36 28 / 0.35); }
.btn--accent { position: relative; overflow: hidden; isolation: isolate; }
.btn--accent::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.45) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  /* parts rise further and a little slower, staggered within each group */
  .js [data-reveal] { transform: translateY(28px); transition: opacity 700ms var(--ease), transform 800ms var(--ease), clip-path 1000ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  /* photos open like a curtain and settle from a slight zoom */
  .js img[data-reveal], .js .shot[data-reveal], .js .incl__photo[data-reveal], .js .qs__intro[data-reveal] .qs__img { clip-path: inset(0 0 18% 0 round var(--radius-lg)); transform: translateY(28px) scale(1.04); }
  .js img[data-reveal].is-in, .js .shot[data-reveal].is-in, .js .incl__photo[data-reveal].is-in, .js .qs__intro[data-reveal].is-in .qs__img { clip-path: inset(0 0 0 0 round var(--radius-lg)); transform: none; }
  .js .qs__intro[data-reveal] .qs__img { transition: clip-path 1100ms var(--ease) 200ms, transform 1100ms var(--ease) 200ms; }
  /* section tags pop in just after their heading block starts to rise */
  .js [data-reveal] > .pill, .js [data-reveal] > div > .pill { transform: scale(0.6); opacity: 0; transition: transform 500ms cubic-bezier(.34,1.56,.64,1) 250ms, opacity 300ms ease 250ms; }
  .js [data-reveal].is-in > .pill, .js [data-reveal].is-in > div > .pill { transform: none; opacity: 1; }
  /* checkmarks and step numbers pop */
  .js [data-reveal] .qs__perks .ico--tile, .js .pcard[data-reveal] .pcard__num { transform: scale(0); transition: transform 500ms cubic-bezier(.34,1.56,.64,1); }
  .js [data-reveal].is-in .qs__perks li:nth-child(1) .ico--tile { transition-delay: 300ms; }
  .js [data-reveal].is-in .qs__perks li:nth-child(2) .ico--tile { transition-delay: 420ms; }
  .js [data-reveal].is-in .qs__perks li:nth-child(3) .ico--tile { transition-delay: 540ms; }
  .js .pcard[data-reveal].is-in .pcard__num { transition-delay: 450ms; }
  .js [data-reveal].is-in .qs__perks .ico--tile, .js .pcard[data-reveal].is-in .pcard__num { transform: none; }
  /* hero photo drifts slower than the page */
  .hero__media { will-change: transform; }
  /* button shine on hover, and a soft lift */
  .btn { transition: transform var(--t) var(--ease), box-shadow var(--t) ease, background-color var(--t) ease, color var(--t) ease, border-color var(--t) ease; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn--accent:hover { box-shadow: 0 10px 24px -10px rgb(121 158 5 / 0.7); }
  .btn--accent:hover::after { transform: translateX(120%); transition: transform 800ms var(--ease); }
  .promise:hover, .next-steps li:hover, .quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .promise, .next-steps li, .quote-card { transition: transform var(--t) var(--ease), box-shadow var(--t) ease, opacity 700ms var(--ease); }
  .ico--tile { transition: transform 400ms cubic-bezier(.34,1.56,.64,1); }
  .card:hover .ico--tile, .promise:hover .ico--tile, .next-steps li:hover .ico--tile, .ab-trades a:hover .ico--tile { transform: rotate(-8deg) scale(1.12); }
}

/* ---------- motion, stronger: bigger travel, slower easing, side entrances, scaled cards ---------- */
@keyframes hero-rise-strong { from { opacity: 0; transform: translateY(48px); filter: blur(6px); } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero__copy > * { animation: hero-rise-strong 1000ms var(--ease) both; }
  .js .hero__copy > :nth-child(2) { animation-delay: 160ms; }
  .js .hero__copy > :nth-child(3) { animation-delay: 320ms; }
  .js .hero__copy > :nth-child(4) { animation-delay: 480ms; }
  .hero__media img.is-on { animation: slow-zoom 12s var(--ease) both; }
  @keyframes slow-zoom { from { transform: scale(1.18); } to { transform: scale(1); } }

  .js [data-reveal] { transform: translateY(64px); transition: opacity 900ms var(--ease), transform 1100ms var(--ease), clip-path 1300ms var(--ease); transition-delay: calc(var(--i, 0) * 140ms); }
  /* cards and tiles grow in as they rise */
  .js .card[data-reveal], .js .pcard[data-reveal], .js .promise[data-reveal], .js .quote-card[data-reveal], .js .next-steps li[data-reveal] { transform: translateY(64px) scale(0.9); }
  /* two-column layouts: the text slides in from one side, the picture from the other */
  .js .qs__intro[data-reveal], .js .ab-split__text[data-reveal], .js .ab-hero__text[data-reveal], .js .quote__side[data-reveal] { transform: translateX(-80px); }
  .js .qs__form[data-reveal], .js .ab-split__img[data-reveal], .js .ab-hero__img[data-reveal], .js #quote-form[data-reveal] { transform: translateX(80px); }
  /* photos open from a narrow band and settle from a stronger zoom */
  .js img[data-reveal], .js .shot[data-reveal], .js .incl__photo[data-reveal], .js .qs__intro[data-reveal] .qs__img { clip-path: inset(0 0 45% 0 round var(--radius-lg)); }
  .js img[data-reveal]:not(.ab-split__img):not(.ab-hero__img), .js .shot[data-reveal], .js .incl__photo[data-reveal] { transform: translateY(64px) scale(1.12); }
  .js .qs__intro[data-reveal] .qs__img { transform: scale(1.15); }
  .js .incl__grid li[data-reveal] { transform: translateX(-48px); }
  .js .cities[data-reveal], .js .accordion[data-reveal] { transform: translateY(64px); }
  /* everything lands in place */
  .js [data-reveal].is-in, .js .card[data-reveal].is-in, .js .pcard[data-reveal].is-in, .js .promise[data-reveal].is-in, .js .quote-card[data-reveal].is-in, .js .next-steps li[data-reveal].is-in,
  .js .qs__intro[data-reveal].is-in, .js .ab-split__text[data-reveal].is-in, .js .ab-hero__text[data-reveal].is-in, .js .quote__side[data-reveal].is-in,
  .js .qs__form[data-reveal].is-in, .js .ab-split__img[data-reveal].is-in, .js .ab-hero__img[data-reveal].is-in, .js #quote-form[data-reveal].is-in,
  .js img[data-reveal].is-in, .js .shot[data-reveal].is-in, .js .incl__photo[data-reveal].is-in, .js .incl__grid li[data-reveal].is-in, .js .cities[data-reveal].is-in, .js .accordion[data-reveal].is-in { transform: none; }
  .js .qs__intro[data-reveal].is-in .qs__img { transform: none; clip-path: inset(0 0 0 0 round var(--radius-lg)); }
  /* section tags and badges pop harder */
  .js [data-reveal] > .pill, .js [data-reveal] > div > .pill { transform: scale(0.2) rotate(-8deg); transition: transform 700ms cubic-bezier(.34,1.8,.64,1) 300ms, opacity 400ms ease 300ms; }
  .js [data-reveal] .qs__perks .ico--tile, .js .pcard[data-reveal] .pcard__num { transform: scale(0) rotate(-90deg); transition: transform 700ms cubic-bezier(.34,1.8,.64,1); }
  /* the moving strip runs a little faster */
  .ticker__track { animation-duration: 38s; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-4px) scale(1.03); }
  .btn--accent:hover { box-shadow: 0 16px 32px -12px rgb(121 158 5 / 0.85); }
  .card:hover, .pcard:hover, .promise:hover, .next-steps li:hover, .quote-card:hover { transform: translateY(-10px); box-shadow: 0 24px 48px -20px rgb(0 36 28 / 0.35); }
  .card:hover .card__img, .pcard:hover .pcard__img { transform: scale(1.1); }
  .card:hover .ico--tile, .promise:hover .ico--tile, .next-steps li:hover .ico--tile, .ab-trades a:hover .ico--tile { transform: rotate(-12deg) scale(1.25); }
  .ab-trades a:hover { transform: translateY(-6px); }
}

/* ---------- testimonials page: filter chips and a masonry wall of reviews ---------- */
.rv-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-3); }
.rv-chip { min-height: 44px; padding: 8px 18px; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-card); color: var(--color-foreground); font: inherit; font-size: var(--text-sm); font-weight: 600; cursor: pointer; transition: background var(--t) ease, color var(--t) ease, border-color var(--t) ease, transform var(--t) var(--ease); }
.rv-chip[aria-pressed="true"] { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-on-ink); }
.rv-chip:focus-visible { outline: 3px solid var(--color-accent-strong); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .rv-chip:hover { border-color: var(--color-ink); transform: translateY(-2px); } }
.rv-count { margin-bottom: var(--space-5); font-size: var(--text-sm); color: var(--color-muted-foreground); }
.rv-count:empty { display: none; }
.reviews { columns: 1; column-gap: var(--space-4); }
@media (min-width: 40em) { .reviews { columns: 2; } }
@media (min-width: 64em) { .reviews { columns: 3; column-gap: var(--space-5); } }
.review { display: grid; gap: var(--space-4); break-inside: avoid; margin: 0 0 var(--space-4); padding: var(--space-5); background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
@media (min-width: 64em) { .review { margin-bottom: var(--space-5); } }
.review[hidden] { display: none; }
.review blockquote { display: grid; gap: var(--space-3); margin: 0; }
.review blockquote p { line-height: 1.6; }
.review blockquote p:first-child::before { content: "\201C"; display: block; height: 0.55em; margin-bottom: var(--space-2); font-family: var(--font-display); font-size: 3.5rem; line-height: 1; color: var(--color-accent); }
.review figcaption { display: flex; align-items: center; gap: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.review figcaption > span:last-child { display: grid; }
.review figcaption b { font-weight: 600; }
.review figcaption small { font-size: var(--text-sm); color: var(--color-muted-foreground); }
.review__avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 999px; background: var(--color-ink); color: var(--color-accent); font-family: var(--font-display); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .js .reviews[data-ready] .review { animation: rv-in 700ms var(--ease) both; animation-delay: calc(var(--n, 0) * 50ms); }
  @keyframes rv-in { from { opacity: 0; transform: translateY(40px) scale(0.96); } }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .review { transition: transform var(--t) var(--ease), box-shadow var(--t) ease, border-color var(--t) ease; }
  .review:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgb(0 36 28 / 0.35); border-color: var(--color-accent); }
}
.review__stars { display: flex; gap: 3px; color: #F5A300; }
.review__stars .ico { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; }
.review__stars + blockquote p:first-child::before { display: none; }
.review__avatar--yelp { background: none; object-fit: contain; }

.rv-chip { display: inline-flex; align-items: center; gap: 10px; padding-inline: 22px 10px; font-size: 1rem; }
.rv-chip__n { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--color-muted); color: var(--color-foreground); font-size: 0.8125rem; font-weight: 700; }
.rv-chip[aria-pressed="true"] .rv-chip__n { background: var(--color-accent); color: var(--color-on-accent); }
.rv-empty { padding: var(--space-7) var(--space-5); background: var(--color-card); border: 1px dashed var(--color-border); border-radius: var(--radius-lg); text-align: center; color: var(--color-muted-foreground); }
.review__avatar--logo { background: none; object-fit: contain; }
.review__avatar--bbb { background: #005A78; color: #fff; font-size: 0.6875rem; letter-spacing: 0.02em; }
.review__avatar--logo { box-shadow: inset 0 0 0 1px var(--color-border); border-radius: 999px; }

/* icon tiles stay still: no tilt or grow on hover */
.ico--tile, .card:hover .ico--tile, .promise:hover .ico--tile, .next-steps li:hover .ico--tile, .ab-trades a:hover .ico--tile { transform: none !important; transition: none !important; }

/* homepage hero: shorter, so the next section peeks in on the first screen */
.hero:not(.hero--page) { min-height: min(calc(70svh - var(--bar-h) + 100px), 660px); }
.hero:not(.hero--page) .hero__copy { padding-block: var(--space-8) var(--space-6); }
@media (min-width: 48em) {
  .hero:not(.hero--page) { min-height: min(calc(78svh - var(--bar-h) + 100px), 740px); }
  .hero:not(.hero--page) .hero__copy { padding-block: var(--space-8); }
}

/* homepage reviews: platform tabs over a 2x2 grid of equal-height cards */
.reviews--home { columns: auto; display: grid; gap: var(--space-4); }
@media (min-width: 48em) { .reviews--home { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--space-5); } }
.reviews--home .review { display: flex; flex-direction: column; margin: 0; }
.reviews--home .review figcaption { margin-top: auto; }
#reviews .rv-filters { margin-bottom: var(--space-5); }
/* gallery page: chips share the review-tab look */
.gfilter.rv-filters button { padding: 8px 20px; border: 1px solid var(--color-border); background: var(--color-card); color: var(--color-foreground); }
.gfilter.rv-filters button[aria-pressed="true"] { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-on-ink); }
.ggrid { gap: var(--space-5); }
.gshot figcaption { font-size: var(--text-sm); color: var(--color-muted-foreground); }
.rv-chip:not(:has(.rv-chip__n)) { padding-inline: 22px; }

/* location landing page */
.hero--location .hero__title { max-width: 14em; }
.loc-facts { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-3); color: var(--color-on-ink); font-weight: 500; }
.loc-facts li { display: inline-flex; align-items: center; gap: 8px; }
.loc-facts .ico { width: 22px; height: 22px; padding: 4px; border-radius: 999px; background: var(--color-accent); color: var(--color-on-accent); stroke-width: 3; }
.loc-collage { position: relative; padding-bottom: 18%; }
.loc-collage__a { width: 88%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.loc-collage__b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); border: 6px solid var(--color-background); box-shadow: var(--shadow-md); }
.cities--compact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-2); padding: 0; background: none; border: 0; }
.cities--compact li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--color-card); border: 1px solid var(--color-border); font-size: var(--text-sm); }
.cities--compact .ico { width: 14px; height: 14px; color: var(--color-accent-strong); }
@media (min-width: 64em) { .ab-split--flip > :first-child { order: 0; } .cards--loc { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards--loc > .card:first-child { grid-column: auto; flex-direction: column; } .cards--loc > .card:first-child .card__img { width: 100%; aspect-ratio: 3 / 2; height: auto; min-height: 0; } }
.cities__link { display: inline-flex; align-items: center; gap: inherit; color: var(--color-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* homepage videos: two YouTube players side by side; the player loads only when clicked */
.yt-grid { display: grid; gap: var(--space-5); }
@media (min-width: 48em) { .yt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.yt { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-ink) var(--thumb) center / cover no-repeat; box-shadow: var(--shadow-md); }
.yt::after { content: ""; position: absolute; inset: 0; background: rgb(0 36 28 / 0.25); transition: background var(--t) ease; }
.yt__play { position: relative; z-index: 1; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 999px; background: var(--color-accent); box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.5); transition: transform var(--t) var(--ease); }
.yt__play svg { width: 34px; height: 34px; margin-left: 4px; fill: var(--color-on-accent); }
.yt:focus-visible { outline: 3px solid var(--color-accent-strong); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .yt:hover::after { background: rgb(0 36 28 / 0.1); } .yt:hover .yt__play { transform: scale(1.1); } }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* top bar: license on the left, email on the right */
.topbar { background: var(--color-ink); color: var(--color-on-ink); font-size: var(--text-sm); }
.topbar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px var(--space-4); max-width: var(--max); min-height: 40px; margin-inline: auto; padding: 6px var(--gutter); }
.topbar__lic, .topbar__mail { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.topbar .ico { width: 16px; height: 16px; color: var(--color-accent); flex: none; }
.topbar__mail { color: var(--color-on-ink); text-decoration: none; overflow-wrap: anywhere; }
.topbar__mail:hover { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
.topbar__mail:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
@media (max-width: 30em) { .topbar__in { justify-content: center; text-align: center; } }

/* video testimonials: player with title and city underneath */
.vt { display: grid; gap: var(--space-3); margin: 0; align-content: start; }
.vt figcaption { display: grid; gap: 4px; }
.vt__title { font-family: var(--font-display); font-size: var(--text-h3); font-weight: 500; line-height: 1.25; color: var(--color-foreground); }
.vt__place { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); color: var(--color-muted-foreground); }
.vt__place .ico { width: 16px; height: 16px; color: var(--color-accent-strong); }
.yt-grid { row-gap: var(--space-7); }

.cities--links a { display: inline-flex; align-items: center; gap: 6px; color: var(--color-foreground); text-decoration: none; }
.cities--links li { padding: 0; }
.cities--links a { padding: 6px 12px; }
@media (hover: hover) and (pointer: fine) { .cities--links li:hover { border-color: var(--color-ink); } }
.loc-near { font-weight: 600; margin-top: var(--space-2); }
.cities__link { font-weight: 500; text-decoration: none; color: var(--color-foreground); }
.cities__link:hover { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.cities--links span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; }
