/* BuildPro Idaho — Idaho Sky theme.
   Colours: navy #1E3550, barn red #A63A2B, slate #4A5561, cool white #F4F6F8, ink #161D27. Font: Inter. */

:root {
  --navy: #1e3550;
  --navy-700: #2f445d;
  --navy-900: #0a121c;
  --ink: #161d27;
  --slate: #4a5561;
  --cool: #f4f6f8;
  --cool-2: #e6e8e9;
  --tint: #d0d4da;
  --red: #a63a2b;
  --red-dark: #8c3024;
  --pink: #dbafa9;
  --white: #fff;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --page-pad: 2.5rem;
  --container: 80rem;
  --section-pad: 7rem;
  --gap-section: 4.5rem;
  --radius: 10px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --nav-h: 5.5rem;
  --shadow-card: 0 16px 40px rgb(0 0 0 / 0.18);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@media (max-width: 991px) {
  :root { --page-pad: 2rem; --section-pad: 5rem; --gap-section: 3.5rem; }
}
@media (max-width: 479px) {
  :root { --page-pad: 1.25rem; --section-pad: 4rem; --gap-section: 2.75rem; --nav-h: 4.75rem; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cool);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--white); padding: .75rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 1.25em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

/* ---------- Type ---------- */
.h1, .h2, .h3, .h4, .h5, h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--heading, var(--navy-900));
  text-wrap: balance;
}
.h1 { font-size: clamp(2.75rem, 5.4vw, 4.75rem); line-height: 1.04; }
.h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
.h3 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.15; }
.h4 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.01em; }
.h5 { font-size: 1.125rem; line-height: 1.3; letter-spacing: 0; }
.tagline {
  display: inline-block;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent, var(--red));
}
.lead { font-size: 1.25rem; line-height: 1.55; }
.muted { color: var(--muted, var(--slate)); }
.small { font-size: .9375rem; }
.center { text-align: center; margin-inline: auto; }
.measure { max-width: 40rem; }
.measure-sm { max-width: 32rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--page-pad) * 2); margin-inline: auto; padding-inline: var(--page-pad); }
.section { padding-block: var(--section-pad); position: relative; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 1.75rem; }
.section-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: var(--gap-section); }
.section-head.center { align-items: center; text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 991px) {
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
}
@media (max-width: 479px) { .grid-4 { grid-template-columns: 1fr; } }

/* Colour schemes */
.s-light { background: var(--cool); --heading: var(--navy-900); --muted: var(--slate); }
.s-white { background: var(--white); --heading: var(--navy-900); --muted: var(--slate); }
.s-tint { background: var(--tint); --heading: var(--navy-900); --muted: #3a4450; }
.s-dark { background: var(--navy); color: var(--white); --heading: var(--white); --muted: rgb(255 255 255 / .75); --accent: var(--pink); }
.s-red { background: var(--red); color: var(--white); --heading: var(--white); --muted: rgb(255 255 255 / .85); --accent: var(--white); }

/* ---------- Buttons ---------- */
.btn, .btn-ghost, .btn-outline, .btn-outline-red, .btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3.25rem;
  padding: .875rem 1.75rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn { background: var(--red); color: var(--white); }
.btn:hover { background: var(--red-dark); }
.btn-ghost { color: var(--white); border-color: rgb(255 255 255 / .4); background: transparent; }
.btn-ghost:hover { border-color: var(--white); background: rgb(255 255 255 / .08); }
.btn-outline { color: var(--navy-900); border-color: rgb(22 29 39 / .25); background: transparent; }
.btn-outline:hover { border-color: var(--navy); }
.btn-outline-red { color: var(--red); border: 1.5px solid var(--red); background: var(--white); }
.btn-outline-red:hover { background: #fbf1ef; }
.btn-sm { min-height: 2.75rem; padding: .625rem 1.25rem; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn .icon, .btn-ghost .icon, .btn-outline .icon, .btn-outline-red .icon { font-size: 1.2rem; }
/* White pill with a red arrow circle (hero CTA from the Figma design) */
.btn-white {
  background: var(--white);
  color: var(--navy);
  padding: .5rem .5rem .5rem 1.75rem;
  gap: 1.5rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .9375rem;
}
.btn-white:hover .arrow-circle { transform: rotate(45deg); }
.arrow-circle {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  flex: none;
  transition: transform .25s;
}
.arrow-circle .icon { font-size: 1.25rem; }
.arrow-circle.is-white { background: var(--white); color: var(--red); }
.btn-link {
  display: inline-flex; align-items: center; gap: .25rem;
  font-weight: 600; text-decoration: none; color: var(--heading, var(--navy));
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px; width: fit-content;
}
.btn-link:hover { color: var(--red); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row.center { justify-content: center; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--white); }
.logo-mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius); background: var(--red); color: var(--white); flex: none; }
.logo-mark svg { width: 1.375rem; height: 1.375rem; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-weight: 700; font-size: 1.1875rem; letter-spacing: .02em; text-transform: uppercase; }
.logo-sub { font-weight: 600; font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; opacity: .72; margin-top: .25rem; }

/* ---------- Navbar (floating glass bar) ---------- */
.nav { position: fixed; inset: 1.5rem 0 auto; z-index: 50; padding-inline: calc(var(--page-pad) + 1.5rem); pointer-events: none; }
.nav-bar {
  pointer-events: auto;
  max-width: calc(var(--container) - 3rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem .5rem .5rem 1.5rem;
  border-radius: 999px;
  background: rgb(22 29 39 / .28);
  border: 1px solid rgb(255 255 255 / .22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color .3s;
}
.nav.is-scrolled .nav-bar { background: rgb(30 53 80 / .94); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-links {
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--white);
  border-radius: 999px;
  padding: .3125rem .3125rem .3125rem 1.5rem;
}
.nav-link {
  display: inline-flex; align-items: center; gap: .125rem;
  padding: .5rem 0; border: 0; background: none; cursor: pointer;
  font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.nav-link:hover { color: var(--red); }
.nav-link .icon { font-size: 1.125rem; transition: transform .2s; }
.nav-links .btn-outline-red { min-height: 2.375rem; padding: .375rem .9rem; font-size: .9375rem; }
.nav-actions > .btn-sm { min-height: 3rem; }
.nav-dropdown { position: relative; }
.nav-dropdown[data-open] .nav-link .icon { transform: rotate(180deg); }
.nav-panel {
  position: absolute; top: calc(100% + 1.25rem); left: -1rem;
  width: 16rem; padding: .5rem;
  background: var(--white); border-radius: 16px; box-shadow: 0 20px 48px rgb(0 0 0 / .2);
  display: none;
}
.nav-dropdown[data-open] .nav-panel { display: block; }
.nav-panel::before { content: ""; position: absolute; inset: -1.5rem 0 auto; height: 1.5rem; }
.nav-panel a { display: flex; flex-direction: column; padding: .75rem 1rem; border-radius: 10px; text-decoration: none; color: var(--ink); }
.nav-panel a:hover { background: var(--cool); }
.nav-panel strong { font-weight: 600; font-size: .9375rem; }
.nav-panel span { font-size: .8125rem; color: var(--slate); }
.nav-menu-btn { display: none; }
.nav-menu-btn {
  width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 0;
  background: var(--white); color: var(--ink); cursor: pointer;
  place-items: center;
}

/* Mobile menu sheet */
.mobile-menu {
  pointer-events: auto;
  position: fixed; inset: 0; z-index: 60;
  background: var(--white); color: var(--ink);
  display: flex; flex-direction: column;
  padding: 1.25rem 1.25rem 1.75rem;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu .logo { color: var(--ink); }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid rgb(22 29 39 / .1); }
.mobile-menu-close { width: 2.75rem; height: 2.75rem; border: 0; border-radius: 999px; background: var(--cool); display: grid; place-items: center; cursor: pointer; }
.mobile-menu-body { flex: 1; }
.mobile-menu-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.125rem 0; border-bottom: 1px solid rgb(22 29 39 / .1);
  font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; list-style: none;
}
.mobile-menu-row::-webkit-details-marker { display: none; }
.mobile-menu-group[open] > summary .icon { transform: rotate(180deg); }
.mobile-menu-sub { background: var(--cool); border-radius: 14px; padding: .375rem; margin: .75rem 0; }
.mobile-menu-sub a { display: flex; align-items: center; justify-content: space-between; padding: .75rem .875rem; border-radius: 10px; text-decoration: none; }
.mobile-menu-sub strong { display: block; font-size: 1rem; }
.mobile-menu-sub small { display: block; font-size: .8125rem; color: var(--slate); }
.mobile-menu-sub .icon { color: var(--red); font-size: 1.1rem; }
.mobile-menu-ctas { display: grid; gap: .625rem; padding-top: 1.5rem; }
body.menu-open { overflow: hidden; }

@media (max-width: 991px) {
  .nav { inset: .75rem 0 auto; padding-inline: .75rem; }
  .nav-bar { padding: .375rem .375rem .375rem .875rem; gap: .375rem; }
  .nav-actions { display: none; }
  .nav-menu-btn { display: grid; }
  .logo-mark { width: 2.25rem; height: 2.25rem; }
  .logo-name { font-size: 1rem; }
  .logo-sub { font-size: .5625rem; }
}

/* ---------- Mobile call bar (dark glass, big buttons) ---------- */
.call-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
    position: fixed; inset: auto 0 0; z-index: 40;
    padding: .75rem 1rem calc(1rem + env(safe-area-inset-bottom));
    background: rgb(10 18 28 / .88); border-top: 1px solid rgb(255 255 255 / .1);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgb(10 18 28 / .25);
    /* Hidden until the visitor scrolls (site.js adds .is-visible), then slides up. */
    transform: translateY(110%); opacity: 0; pointer-events: none;
    transition: transform .35s ease, opacity .35s ease;
  }
  .call-bar.is-visible { transform: none; opacity: 1; pointer-events: auto; }
  .call-bar a {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 3.5rem; border-radius: .625rem; font-weight: 700; font-size: 1.125rem; line-height: 1; text-decoration: none;
  }
  .call-bar .icon { font-size: 1.375rem; }
  .call-bar-call { background: var(--red); border: 1px solid var(--red); color: var(--white); }
  .call-bar-quote { border: 1.5px solid rgb(255 255 255 / .85); color: var(--white); }
}

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-700); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-portrait { aspect-ratio: 4 / 5; }
.ratio-landscape { aspect-ratio: 3 / 2; }
.ratio-wide { aspect-ratio: 16 / 9; }

/* ---------- Home hero (Figma) ---------- */
.home-hero { padding: 1.5rem 1.5rem 0; background: var(--cool); }
.home-hero-card {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(56rem, calc(100svh - 3rem));
  border-radius: var(--radius-xl);
  background: var(--ink);
  display: flex; align-items: flex-end;
  padding: 8rem 4rem 4rem;
  color: var(--white);
}
.home-hero-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.home-hero-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(22 29 39 / .42) 0%, rgb(22 29 39 / .08) 45%, rgb(22 29 39 / 0) 70%),
    linear-gradient(180deg, rgb(22 29 39 / .22) 0%, rgb(22 29 39 / 0) 18%, rgb(22 29 39 / 0) 62%, rgb(22 29 39 / .4) 100%);
}
.home-hero-inner { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.home-hero-copy { display: flex; flex-direction: column; gap: 1.5rem; max-width: 52rem; }
.hero-title { margin: 0; color: var(--white); text-shadow: 0 2px 16px rgb(0 0 0 / .25); }
.hero-title .line-1 { display: block; font-size: clamp(2.75rem, 5.3vw, 4.75rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.015em; text-transform: uppercase; }
.hero-title .line-2 { display: block; margin-top: .25rem; font-size: clamp(2.5rem, 4.7vw, 4.25rem); line-height: 1; font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.01em; }
.hero-title .line-2 b { font-weight: 700; }
.hero-title.is-dark { color: var(--heading); text-shadow: none; }
/* Longer first line (Shops): smaller so it stays on one line. */
.hero-title.is-long .line-1 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.hero-title.is-long .line-2 { font-size: clamp(1.9rem, 3.3vw, 3.1rem); }
/* Hero entrance: the photo settles in, each headline line rises out of a mask,
   then the copy, button and 3D builder card follow. */
@keyframes hero-in { from { opacity: 0; transform: translateY(1.5rem); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hero-line { from { transform: translateY(110%); } to { transform: none; } }
@keyframes hero-settle { from { transform: scale(1.14); } to { transform: none; } }
@keyframes hero-card-in { from { opacity: 0; transform: translateX(3rem); } to { opacity: 1; transform: none; } }
@keyframes nav-in { from { opacity: 0; transform: translateY(-1.25rem); } to { opacity: 1; transform: none; } }
.page-home .nav-bar { animation: nav-in 1.6s var(--ease-out) .6s both; }
.home-hero-card > img { inset: -6% 0 auto; height: 112%; animation: hero-settle 4s var(--ease-out) both; }
.home-hero-copy .hero-title > span { clip-path: inset(-1em -1em -.25em -1em); }
.home-hero-copy .hero-title .line-in { display: inline-block; animation: hero-line 1.8s var(--ease-out) both; }
.home-hero-copy .hero-title .line-1 .line-in { animation-delay: .3s; }
.home-hero-copy .hero-title .line-2 .line-in { animation-delay: .65s; }
.home-hero-copy > .lead, .home-hero-copy > div, .hero-builder-mobile { animation: hero-in 1.6s var(--ease-out) both; }
.home-hero-copy > .lead { animation-delay: 1.1s; }
.home-hero-copy > div { animation-delay: 1.45s; }
.hero-builder-mobile { animation-delay: 1.8s; }
.hero-builder-wrap { animation: hero-card-in 1.8s var(--ease-out) 1.8s both; }
.home-hero-copy p { max-width: 37.5rem; color: rgb(255 255 255 / .94); text-shadow: 0 1px 10px rgb(0 0 0 / .3); }
.builder-card {
  display: flex; align-items: center; gap: .875rem;
  width: 22rem; flex: none;
  padding: .625rem .75rem .625rem .625rem;
  background: rgb(255 255 255 / .97); color: var(--ink);
  border-radius: 16px; box-shadow: var(--shadow-card);
  text-decoration: none;
}
.builder-card-tile { display: grid; place-items: center; width: 4.25rem; height: 4.25rem; border-radius: 11px; background: var(--navy); color: var(--white); flex: none; }
.builder-card-tile .icon { font-size: 2.125rem; font-variation-settings: "wght" 300; }
.builder-card-text { display: flex; flex-direction: column; gap: .125rem; min-width: 0; }
.builder-card-text .tagline { font-size: .625rem; }
.builder-card-text strong { font-size: .9375rem; line-height: 1.25; }
.builder-card-text span:last-child { font-size: .75rem; line-height: 1.4; color: var(--slate); }
.builder-card .arrow-circle { background: var(--navy); width: 2.25rem; height: 2.25rem; margin-left: auto; }
.builder-card:hover .arrow-circle { background: var(--red); }

@media (max-width: 991px) {
  .home-hero { padding: .75rem .75rem 0; }
  .home-hero-card { min-height: 0; height: auto; padding: 22rem 1.5rem 1.5rem; border-radius: 22px; }
  .home-hero-card::before { background: linear-gradient(180deg, rgb(22 29 39 / .3) 0%, rgb(22 29 39 / 0) 18%, rgb(22 29 39 / 0) 32%, rgb(22 29 39 / .5) 58%, rgb(22 29 39 / .82) 100%); }
  .home-hero-card > img { object-position: 66% center; }
  .home-hero-inner { flex-direction: column; align-items: stretch; }
  .home-hero-copy .btn-white { justify-content: space-between; }
  .hero-builder-wrap { display: none; }
}
.hero-builder-mobile { display: none; }
@media (max-width: 991px) {
  .hero-builder-mobile { display: block; padding: 1rem .75rem 0; background: var(--cool); }
  .hero-builder-mobile .builder-card {
    width: 100%; background: var(--white);
    box-shadow: 2px 2px 18px -2px #81afe5;
    border: 1px solid var(--ink);
  }
}

/* ---------- Stats row ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 4.5rem 1rem; }
.stat { display: flex; flex-direction: column; align-items: center; gap: .625rem; text-align: center; padding-inline: 1.5rem; }
.stat + .stat { border-left: 1px solid rgb(22 29 39 / .14); }
.stat-value { font-size: clamp(2.75rem, 4.4vw, 4rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; color: var(--ink); }
.stat p { font-size: .9375rem; line-height: 1.45; color: var(--slate); max-width: 15rem; }
@media (max-width: 767px) {
  .stats { grid-template-columns: 1fr 1fr; row-gap: 2.25rem; padding-block: 3rem .5rem; }
  .stat { padding-inline: .5rem; }
  .stat + .stat { border-left: 0; }
  .stat-value { font-size: 2.75rem; }
  .stat p { font-size: .8125rem; }
}

/* ---------- Service cards (Figma: What we build) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc-card { display: flex; flex-direction: column; gap: 1rem; text-decoration: none; color: inherit; }
.svc-photo {
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
  aspect-ratio: 421 / 520; padding: .75rem; border-radius: var(--radius-lg); background: var(--navy-700);
}
.svc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc-card:hover .svc-photo img { transform: scale(1.04); }
.svc-panel { position: relative; width: 100%; padding: 1.25rem; border-radius: 14px; background: var(--navy); color: var(--white); }
.svc-panel h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; text-transform: none; color: var(--white); }
.svc-panel p { margin-top: .5rem; font-size: .9375rem; line-height: 1.45; color: rgb(255 255 255 / .82); }
.svc-title { display: flex; align-items: center; gap: .75rem; }
.svc-title span:first-child { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase; color: var(--ink); line-height: 1.15; }
.svc-arrow { font-size: 2.25rem; color: var(--navy); transition: transform .25s ease; }
.svc-card:hover .svc-arrow, .svc-card:focus-visible .svc-arrow { transform: translate(.25rem, -.25rem) scale(1.3); }
@media (max-width: 991px) {
  .svc-grid { grid-template-columns: 1fr; gap: 2.25rem; max-width: 34rem; margin-inline: auto; }
  .svc-photo { aspect-ratio: 350 / 440; }
  .svc-title span:first-child { font-size: 1.5rem; }
}

/* ---------- Icon list ---------- */
.icon-list { display: grid; gap: .875rem; }
.icon-list li { display: flex; gap: .75rem; align-items: flex-start; }
.icon-list .icon { color: var(--accent, var(--red)); font-size: 1.375rem; margin-top: .125rem; }


/* ---------- Numbered points with a photo (home "Why BuildPro", steps partial) ---------- */
.points-lead { max-width: 47.5rem; font-size: 1.25rem; line-height: 1.55; }
.points { display: grid; margin: 0; padding: 0; list-style: none; }
.point { display: grid; grid-template-columns: minmax(0, 27.875rem) minmax(0, 28.125rem); justify-content: space-between; align-items: center; column-gap: 5rem; padding: 2.5rem 0 4.125rem; }
.point:first-child { padding-top: 0; }
.point + .point { border-top: 1px solid rgb(22 29 39 / .25); }
.point-body { display: grid; justify-items: start; gap: 1.125rem; }
.point-num { font-size: clamp(4rem, 8vw, 7rem); font-weight: 700; line-height: .8; letter-spacing: -0.05em; color: var(--heading); font-variant-numeric: tabular-nums; }
.point-title { margin: 0; font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.01em; }
.point-body p { margin: 0; font-size: 1.125rem; line-height: 1.6; color: var(--muted); }
.point-photo { overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 3 / 2; background: var(--navy-700); }
.point-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 991px) { .point { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
@media (max-width: 767px) {
  .point { grid-template-columns: 1fr; row-gap: 1.75rem; padding: 2.5rem 0; }
  .point:first-child { padding-top: 0; }
  .point:last-child { padding-bottom: 0; }
  .point-photo { order: -1; }
  .point-num { font-size: 4rem; }
  .point-title { font-size: 1.25rem; }
  .point-body p { font-size: 1rem; }
}

/* "Ready to see what's possible?" button cards */
.choice-block { display: grid; gap: 1.25rem; margin-top: var(--gap-section); }
.choice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.choice-card { display: flex; align-items: center; gap: 1rem; padding: .75rem 1rem .75rem .75rem; border-radius: 16px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 0 12px 32px rgb(0 0 0 / .12); }
.choice-card-tile { display: grid; place-items: center; width: 4rem; height: 4rem; flex: none; border-radius: 12px; background: var(--navy); color: var(--white); }
.choice-card-tile .icon { font-size: 1.875rem; font-variation-settings: "wght" 300; }
.choice-card-text { display: grid; gap: .125rem; min-width: 0; }
.choice-card-text strong { font-size: 1rem; font-weight: 600; line-height: 1.25; }
.choice-card-text span { font-size: .8125rem; line-height: 1.4; color: var(--slate); }
.choice-card .arrow-circle { margin-left: auto; }
.choice-card:hover .arrow-circle { transform: rotate(45deg); }
@media (max-width: 767px) { .choice-cards { grid-template-columns: 1fr; } }

/* ---------- Recent builds panel (Figma) ---------- */
.builds-wrap { padding-block: var(--section-pad); }
.flows-into-next { padding-bottom: 3rem; }
.flows-into-next + .builds-wrap { padding-top: 0; }
.builds-panel { background: var(--navy); color: var(--white); border-radius: var(--radius-xl); padding: 3.5rem; --heading: var(--white); --accent: var(--pink); }
.builds-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2.5rem; margin-bottom: 2.5rem; }
.builds-head p { max-width: 21rem; color: rgb(255 255 255 / .75); font-size: 1rem; }
.slider-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3rem) / 3); gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: start; }
.project-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem;
  aspect-ratio: 384 / 460; padding: 1.375rem; border-radius: 18px;
  background: var(--navy-700); color: var(--white); text-decoration: none;
}
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.project-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(22 29 39 / 0) 40%, rgb(22 29 39 / .88) 100%); }
.project-card:hover img { transform: scale(1.04); }
.project-tag { align-self: flex-start; padding: .3rem .625rem; border-radius: 999px; background: var(--red); font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project-card h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; text-transform: none; color: var(--white); }
.project-loc { display: flex; align-items: center; gap: .375rem; font-size: .875rem; color: rgb(255 255 255 / .85); }
.project-loc .icon { font-size: 1rem; }
.builds-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; }
.btn-quote-pill { padding: .5rem .5rem .5rem 1.625rem; gap: 1rem; }
.btn-quote-pill .arrow-circle { width: 2.5rem; height: 2.5rem; }
.slider-arrows { display: flex; gap: .625rem; }
.slider-arrow {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgb(255 255 255 / .35); background: transparent; color: var(--white);
}
.slider-arrow.is-next { background: var(--white); color: var(--navy); border-color: var(--white); }
.slider-arrow:disabled { opacity: .35; cursor: default; }
@media (max-width: 991px) {
  .builds-panel { padding: 2rem 1.25rem; border-radius: 22px; }
  .builds-head { flex-direction: column; align-items: flex-start; gap: .875rem; margin-bottom: 1.75rem; }
  .slider-track { grid-auto-columns: 78%; gap: .875rem; }
  .builds-foot { flex-direction: column; align-items: stretch; gap: 1.25rem; margin-top: 1.5rem; }
  .builds-foot .btn-row { flex-direction: column; }
  .builds-foot .btn-row > * { width: 100%; }
  .btn-quote-pill { justify-content: space-between; }
  .slider-arrows { order: -1; }
}

/* ---------- Reviews ---------- */
.eyebrow-lined { display: inline-flex; align-items: center; gap: .875rem; font-size: .9375rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.eyebrow-lined::before, .eyebrow-lined::after { content: ""; width: 2.5rem; height: 3px; border-radius: 3px; background: var(--red); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: start; max-width: 62rem; margin-inline: auto; }
.review { display: flex; flex-direction: column; gap: .875rem; padding: 1.5rem; border: 1px solid #e5e7eb; border-radius: 8px; background: var(--white); }
/* Review cards: shadow and hover lift copied from the TechSmart Handyman reviews. */
.review, .tm-card { box-shadow: 0 2px 13px -7px #2151a569; transition: box-shadow .3s, transform .3s; }
.review:hover, .tm-card:hover { box-shadow: 7px 14px 17px -4px #2151a569; transform: translateY(-4px); }
.review-name { font-weight: 600; color: var(--ink); }
.review .stars { color: var(--red); font-size: 1.375rem; line-height: 1; letter-spacing: .12em; }
.review blockquote { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--slate); }
.reviews-foot { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 2.5rem; color: var(--slate); }
.google-badge { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--cool); }
@media (max-width: 991px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .reviews { grid-template-columns: 1fr; }
  .review.hide-mobile { display: none; }
  .reviews-foot { flex-direction: column; gap: .5rem; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid rgb(22 29 39 / .15); }
.faq details { border-bottom: 1px solid rgb(22 29 39 / .15); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.375rem 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.1875rem; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s; color: var(--navy); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding-bottom: 1.5rem; color: var(--muted); max-width: 40rem; }

/* ---------- Feature grid (icon + heading + text) ---------- */
.feature { display: flex; flex-direction: column; gap: 1rem; }
.feature-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 12px; background: rgb(30 53 80 / .08); color: var(--navy); }
.s-dark .feature-icon { background: rgb(255 255 255 / .1); color: var(--white); }
.feature-icon .icon { font-size: 1.75rem; }
.feature p { color: var(--muted); }

/* ---------- Area list ---------- */
.area-list { display: grid; }
.map-section { padding-top: 0; }
.map-frame { overflow: hidden; border-radius: var(--radius-lg); background: var(--cool-2); box-shadow: 0 1px 3px rgb(22 29 39 / .08); }
.map-frame iframe { display: block; width: 100%; height: clamp(22rem, 55vh, 32rem); border: 0; }
/* Treasure Valley service-area map (js/service-map.js), styled after Google Maps */
.service-map { position: relative; background: #f2f1ec; }
.service-map-canvas { height: clamp(24rem, 62vh, 36rem); }
.map-card { position: absolute; top: 10px; left: 10px; max-width: calc(100% - 80px); padding: 10px 14px; border-radius: 2px; background: #fff; box-shadow: rgb(0 0 0 / .3) 0 1px 4px -1px; font: 400 12px/1.45 Roboto, Arial, sans-serif; color: #5f6368; }
.map-card strong { display: block; font-size: 14px; font-weight: 500; color: #202124; }
.map-legend { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; color: #3c4043; }
.map-legend li { display: flex; align-items: center; gap: 8px; }
.map-key { width: 14px; height: 14px; border: 2px solid #1a73e8; background: rgb(26 115 232 / .16); }
.map-key.is-area { border-radius: 3px; }
.map-key.is-bubble { width: 10px; height: 10px; margin-inline: 2px; border-radius: 50%; }
.map-failed { display: none; position: absolute; inset: 0; place-content: center; padding: 2rem; text-align: center; color: var(--slate); }
.service-map.is-failed .map-failed { display: grid; }
.service-map.is-failed .map-card { display: none; }
.service-map .maplibregl-ctrl-group { border-radius: 2px; box-shadow: rgb(0 0 0 / .3) 0 1px 4px -1px; }
.service-map .maplibregl-ctrl-group button { width: 40px; height: 40px; }
.service-map .maplibregl-ctrl-bottom-right .maplibregl-ctrl-group { margin: 0 10px 10px 0; }
.service-map .maplibregl-ctrl-top-right .maplibregl-ctrl-group { margin: 10px 10px 0 0; }
@media (max-width: 479px) { .map-card { padding: 8px 10px; } .map-card > span { display: none; } }
.town-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.town-list li { padding: .45rem .9rem; border: 1px solid rgb(22 29 39 / .15); border-radius: 999px; background: var(--white); font-size: .9375rem; color: var(--ink); }
.area-list a { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid rgb(22 29 39 / .18); text-decoration: none; }
.area-list a:first-child { border-top: 1px solid rgb(22 29 39 / .18); }
.area-list .icon { color: var(--red); font-size: 1.75rem; }
.area-list strong { font-size: 1.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; }
.area-list span.area-go { margin-left: auto; font-weight: 600; font-size: 1rem; display: inline-flex; align-items: center; gap: .25rem; }
.area-list a:hover strong, .area-list a:hover .area-go { color: var(--red); }

/* ---------- Backdrop CTA ---------- */
.cta-backdrop {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: center;
  min-height: clamp(34rem, 88vh, 56rem); color: var(--white); --heading: var(--white); --muted: rgb(255 255 255 / .85);
}
.cta-backdrop > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-backdrop::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(10 18 28 / .55); }
.cta-backdrop .container { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; padding-block: 2rem; }

/* ---------- Page heroes ---------- */
.page-hero { padding: calc(var(--nav-h) + 2.5rem) 1.5rem 0; background: var(--cool); }
.section.below-nav { padding-top: calc(var(--nav-h) + 3rem); }
.page-hero.quote-intro { padding-top: 0; }
.page-hero-card {
  display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden;
  border-radius: var(--radius-xl); background: var(--navy); color: var(--white);
  --heading: var(--white); --accent: var(--pink); --muted: rgb(255 255 255 / .82);
  max-width: calc(var(--container) + 3rem); margin-inline: auto;
}
.page-hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; padding: 4.5rem 4rem; }
.page-hero-copy p { color: var(--muted); }
.page-hero-media { position: relative; min-height: 32rem; }
.page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-card.is-stacked { grid-template-columns: 1fr; text-align: center; }
.page-hero-card.is-stacked .page-hero-copy { align-items: center; padding: 4.5rem 4rem 3.5rem; }
.page-hero-card.is-stacked .page-hero-copy p { max-width: 40rem; }
.page-hero-card.is-stacked .page-hero-media { min-height: 0; aspect-ratio: 21 / 9; margin: 0 1.5rem 1.5rem; border-radius: var(--radius-lg); overflow: hidden; }
.page-hero-card.is-backdrop { position: relative; isolation: isolate; grid-template-columns: 1fr; min-height: 38rem; align-items: end; }
.page-hero-card.is-backdrop > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero-card.is-backdrop::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 18 28 / .78) 0%, rgb(10 18 28 / .4) 55%, rgb(10 18 28 / .15) 100%); }
.page-hero-card.is-backdrop .page-hero-copy { max-width: 46rem; }
.page-hero-card.is-backdrop .btn-ghost { background: var(--white); border-color: var(--white); color: var(--navy); }
.page-hero-card.is-backdrop .btn-ghost:hover { background: var(--cool); border-color: var(--cool); }
.page-hero-card.is-plain { grid-template-columns: 1fr; }
.page-hero-card.is-plain .page-hero-copy { max-width: 52rem; }
@media (max-width: 991px) {
  .page-hero { padding: calc(var(--nav-h) + 1.25rem) .75rem 0; }
  .page-hero-card { grid-template-columns: 1fr; border-radius: 22px; }
  .page-hero-copy { padding: 2.5rem 1.5rem; }
  .page-hero-media { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
  .page-hero-card.is-stacked .page-hero-copy { padding: 2.5rem 1.5rem 2rem; }
  .page-hero-card.is-stacked .page-hero-media { order: 0; aspect-ratio: 4 / 3; margin: 0 .75rem .75rem; }
  .page-hero-card.is-backdrop { min-height: 34rem; }
  .page-hero-card.is-backdrop::before { background: linear-gradient(180deg, rgb(10 18 28 / .25) 0%, rgb(10 18 28 / .85) 100%); }
}

/* ---------- Project page: How we build (Figma) ---------- */
.how-build { display: grid; grid-template-columns: 1fr 30rem; gap: 4rem; align-items: center; }
.framing-art { width: 100%; max-width: 45rem; height: auto; margin-top: 1rem; }
.build-features { display: grid; gap: 1rem; }
.build-feature { display: flex; align-items: center; gap: 1.125rem; padding: .875rem 1.375rem .875rem .875rem; border-radius: 18px; background: var(--navy); color: var(--white); }
.build-feature-tile { display: grid; place-items: center; width: 5.5rem; height: 5.5rem; border-radius: 12px; background: var(--navy-700); flex: none; }
.build-feature-tile svg { width: 2.5rem; height: 2.5rem; }
.build-feature h3 { font-size: 1.125rem; font-weight: 600; text-transform: none; letter-spacing: -0.01em; color: var(--white); }
.build-feature p { margin-top: .375rem; font-size: .875rem; line-height: 1.45; color: rgb(255 255 255 / .75); }
@media (max-width: 991px) {
  .how-build { grid-template-columns: 1fr; gap: 2rem; }
  .build-feature-tile { width: 4.5rem; height: 4.5rem; }
}

/* Project gallery grid */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project-grid .project-card { aspect-ratio: 4 / 5; }
@media (max-width: 991px) { .project-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .project-grid { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card { padding: 2rem; border-radius: var(--radius-lg); background: var(--white); display: flex; flex-direction: column; gap: 1rem; }
.s-white .card, .s-tint .card { background: var(--cool); }
.s-dark .card { background: var(--navy-700); }
.card-link { text-decoration: none; color: inherit; transition: transform .25s; }
.card-link:hover { transform: translateY(-3px); }

/* Blog cards */
.post-card { display: flex; flex-direction: column; gap: 1rem; text-decoration: none; }
.post-card .media { aspect-ratio: 3 / 2; }
.post-meta { font-size: .875rem; color: var(--slate); display: flex; gap: .75rem; }
.post-card:hover h3 { color: var(--red); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-weight: 600; font-size: .9375rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .875rem 1rem; font: inherit; font-size: 1rem;
  border: 1.5px solid rgb(22 29 39 / .25); border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgb(30 53 80 / .15); }
.field small { color: var(--slate); font-size: .8125rem; }
.form-note { font-size: .875rem; color: var(--slate); }
.form-status { padding: 1rem 1.25rem; border-radius: var(--radius); font-weight: 500; }
.form-status.is-ok { background: #e7f3ec; color: #17502f; }
.form-status.is-error { background: #fbeceb; color: var(--red-dark); }
@media (max-width: 599px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Prose ---------- */
.prose { max-width: 46rem; margin-inline: auto; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-size: 1.75rem; margin-top: 2.75rem; }
.prose h3 { font-size: 1.25rem; margin-top: 2rem; text-transform: none; letter-spacing: -0.01em; }
.prose ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .5rem; }
.prose a { color: var(--red); }

/* ---------- Footer ---------- */
.footer { padding-block: 5rem 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr; gap: 3rem; }
.footer-details { display: grid; gap: 1.25rem; margin-top: 2rem; }
.footer-details li { display: flex; gap: .75rem; align-items: flex-start; }
.footer-details .icon { color: var(--pink); }
.footer-details strong { display: block; font-size: 1rem; }
.footer-details a, .footer-details p { color: rgb(255 255 255 / .8); text-decoration: none; font-size: 1rem; }
.footer-details a:hover { color: var(--white); }
.footer-menus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-menus > div { display: flex; flex-direction: column; gap: .75rem; }
.footer-menus a { color: rgb(255 255 255 / .8); text-decoration: none; font-size: 1rem; }
.footer-menus a:hover { color: var(--white); }
.footer-heading { margin: 0 0 .25rem; font-size: 1rem; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--white); }
.footer-cta { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; padding: 1.75rem; border-radius: var(--radius-lg); background: var(--navy-700); }
.footer-cta .btn { margin-top: auto; }
.footer-cta p:not(.footer-heading) { color: rgb(255 255 255 / .8); font-size: 1rem; margin-bottom: .5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgb(255 255 255 / .2); font-size: .9375rem; color: rgb(255 255 255 / .75); }
.footer-bottom a { color: rgb(255 255 255 / .9); }
@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 479px) { .footer-menus { grid-template-columns: 1fr 1fr; } }

/* ---------- Scroll reveals (home page; site.js adds data-reveal, then .is-in as each piece scrolls into view) ---------- */
[data-reveal] {
  transition: opacity 1.4s var(--ease-out), transform 1.7s var(--ease-out), clip-path 1.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal="up"]:not(.is-in) { opacity: 0; transform: translateY(2rem); }
/* A whole block moving as one: each numbered point, and the reviews. */
[data-reveal="rise"]:not(.is-in) { opacity: 0; transform: translateY(4rem); }
[data-reveal="right"]:not(.is-in) { opacity: 0; transform: translateX(2.5rem); }
[data-reveal="fade"]:not(.is-in) { opacity: 0; }
/* Photos: the frame opens from the bottom while the picture eases back from a slight zoom. */
[data-reveal="curtain"]:not(.is-in) { clip-path: inset(100% 0 0 0 round var(--radius-lg)); }
[data-reveal="curtain"].is-in { clip-path: inset(0 round var(--radius-lg)); }
[data-reveal="curtain"] img, [data-reveal="zoom"] > img { transition: transform 2.4s var(--ease-out) var(--reveal-delay, 0s); }
[data-reveal="curtain"]:not(.is-in) img { transform: scale(1.15); }
[data-reveal="zoom"]:not(.is-in) > img { transform: scale(1.1); }

@media (prefers-reduced-motion: reduce) {
  .review:hover, .tm-card:hover { transform: none; }
  .home-hero-copy > *, .home-hero-copy .hero-title .line-in, .hero-builder-wrap, .hero-builder-mobile, .home-hero-card > img, .page-home .nav-bar { animation: none; }
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

ol.steps { list-style: none; margin: 0; padding: 0; }
.review { margin: 0; }
/* About page testimonials (after the PowerPro About page) */
.tm-eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; font-size: .9375rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.tm-eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--red); }
.tm-eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--red); opacity: .5; }
.tm-heading { max-width: 40rem; }
.tm-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; margin-top: 3rem; }
.tm-photo { aspect-ratio: 4 / 5; }
.tm-cards { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 2.5rem; padding-top: 5.5rem; }
.tm-card { position: relative; display: flex; flex-direction: column; gap: 1rem; margin: 0; padding: 2rem 2.25rem; border-radius: 18px; background: var(--white); }
.tm-card::after { content: ""; position: absolute; bottom: -.6rem; left: 2.75rem; width: 1.4rem; height: 1.4rem; background: var(--white); transform: rotate(45deg); }
.tm-card.is-tail-right::after { left: auto; right: 2.75rem; }
.tm-card.is-wide { grid-column: 1 / -1; margin-left: 32%; }
.tm-name-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; }
.tm-name { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.tm-role { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.tm-card blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.7; color: var(--slate); }
.tm-mark { position: absolute; font-size: 7rem; font-weight: 800; font-style: italic; line-height: 1; color: var(--red); }
.tm-mark.is-top { top: -.75rem; right: 1.5rem; }
.tm-mark.is-left { bottom: 3rem; left: 22%; }
@media (max-width: 991px) {
  .tm-grid { grid-template-columns: 1fr; }
  .tm-photo { max-width: 26rem; }
  .tm-cards { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 4.5rem; }
  .tm-card.is-wide { margin-left: 0; }
  .tm-mark.is-left { display: none; }
}
.stat-star { margin-left: .08em; font-size: .5em; vertical-align: .7em; }

/* ---------- Page-specific pieces ---------- */
.stats-2 { grid-template-columns: 1fr 1fr; padding: 0; row-gap: 2.5rem; }
.stats-2 .stat { align-items: flex-start; text-align: left; padding: 0; border: 0; }
.stats-2 .stat + .stat { border-left: 0; }
.photo-pending { display: grid; place-content: center; justify-items: center; gap: .75rem; color: rgb(255 255 255 / .75); text-align: center; }
.photo-pending .icon { font-size: 4rem; }
.page-hero-card.is-backdrop.is-centered { justify-items: center; text-align: center; }
.page-hero-card.is-backdrop.is-centered::before { background: rgb(10 18 28 / .55); }
.page-hero-card.is-backdrop.is-centered .page-hero-copy { align-items: center; }
.feature-row { display: flex; gap: 1.25rem; padding: 1.75rem 0; border-bottom: 1px solid rgb(22 29 39 / .15); }
.feature-row:first-child { padding-top: 0; }
.feature-row h3 { margin-bottom: .5rem; }
.split-card { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 1.5rem; border-radius: var(--radius-xl); background: var(--white); }
.split-card .media { aspect-ratio: 1; }
.split-card > .stack-lg { padding-right: 2.5rem; }
.builder-embed { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 5rem 2rem; text-align: center; border-radius: var(--radius-xl); background: var(--white); border: 2px dashed rgb(30 53 80 / .25); }
.builder-embed .builder-card-tile { width: 5rem; height: 5rem; margin-bottom: .5rem; }
.post-meta .project-tag { color: var(--white); }
.muted a { color: inherit; }
@media (max-width: 991px) {
  .split-card { grid-template-columns: 1fr; gap: 2rem; padding: .75rem .75rem 2rem; }
  .split-card > .stack-lg { padding: 0 1rem; }
}

/* Page-hero headings run longer than the home hero, so they sit a step smaller. */
.page-hero .h1 { font-size: clamp(2.25rem, 4.2vw, 3.75rem); line-height: 1.06; overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 479px) {
  .page-hero .h1 { font-size: 2rem; }
  .h2 { font-size: 1.875rem; }
}

/* Only the home hero sits under a see-through bar; inner pages get the solid bar. */
body:not(.page-home) .nav-bar { background: rgb(30 53 80 / .96); }

/* Projects page: rendered framing image and photo tiles on the build feature cards. */
img.framing-art { display: block; margin-top: .5rem; }
.build-feature-tile.is-photo { width: 7rem; height: 7rem; overflow: hidden; background: var(--cool-2); }
.build-feature-tile.is-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 991px) { .build-feature-tile.is-photo { width: 5.5rem; height: 5.5rem; } }

/* ---------- Phone navbar ---------- */
/* A full-width white bar instead of the floating pill. Last in the file so it beats the
   per-page navbar colors above. */
@media (max-width: 767px) {
  .nav { inset: 0 0 auto; padding-inline: 0; }
  .nav .nav-bar, .nav.is-scrolled .nav-bar, body:not(.page-home) .nav-bar {
    max-width: none; border-radius: 0; border: 0; border-bottom: 1px solid rgb(22 29 39 / .08);
    padding: .625rem .75rem .625rem 1rem;
    background: var(--white); box-shadow: 0 2px 14px rgb(22 29 39 / .08);
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .nav .logo { color: var(--ink); }
  .nav-menu-btn { background: var(--cool); }
}
