:root {
  --ink: #17222c;
  --muted: #5b6472;
  --bg: #ffffff;
  --bg-tint: #f4f7fb;
  --sage-tint: #edf4ee;
  --border: #e2e6ec;
  --primary: #128a4a;
  --primary-dark: #0b6236;
  --primary-tint: #dff3e6;
  --cta: #128a4a;
  --cta-dark: #0b6236;
  --dark: #131c25;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(20, 30, 45, 0.06), 0 8px 24px rgba(20, 30, 45, 0.07);
  --font-heading: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.6em;
}

.section--dark .eyebrow,
.section--primary .eyebrow,
.hero .eyebrow {
  color: #8fd1ac;
}

p { margin: 0 0 1em; }

a {
  color: var(--primary);
}

ul {
  padding-left: 1.2em;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- layout shells ---------- */

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}
.page--wide {
  max-width: 1240px;
}

.section {
  padding: 3.5rem 1.5rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-inner > :last-child { margin-bottom: 0; }
.page > .cta-banner:first-child { margin-top: 0.5rem; }

.section--tint { background: var(--bg-tint); }
.section--sage { background: var(--sage-tint); }
.section--primary {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(55% 60% at 88% 8%, rgba(255, 255, 255, 0.14) 0%, transparent 60%),
    radial-gradient(50% 50% at 6% 96%, rgba(255, 255, 255, 0.1) 0%, transparent 62%),
    var(--primary);
}
.section--primary h2, .section--primary .section-head p { color: #fff; }
.section--dark { background: var(--dark); color: #fff; }
.section--dark h2, .section--dark .section-head p { color: #fff; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75em 1.5em;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  line-height: 1.4;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.link-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn:hover .link-arrow {
  transform: translateX(3px);
}

.btn--sm {
  padding: 0.55em 1.1em;
  font-size: 0.88rem;
}

.btn--primary {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  background: var(--cta-dark);
  border-color: var(--cta-dark);
  color: #fff;
}

.btn--secondary {
  background: var(--bg-tint);
  border-color: var(--border);
  color: var(--ink);
}

.btn--secondary:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: var(--ink);
}

.btn--ghost {
  background: #ffffff;
  border-color: var(--border);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(20, 30, 45, 0.04);
}

.btn--ghost:hover {
  background: var(--bg-tint);
  border-color: #cbd5e1;
  color: var(--primary);
}

/* On dark / primary / hero surfaces */
.hero .btn--ghost,
.cta-banner .btn--ghost,
.section--primary .btn--ghost,
.section--dark .btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(4px);
}

.hero .btn--ghost:hover,
.cta-banner .btn--ghost:hover,
.section--primary .btn--ghost:hover,
.section--dark .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
  color: #fff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cta-banner .btn-group {
  justify-content: center;
}
/* ---------- header ---------- */

#nav-toggle { display: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 3rem);
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-desktop a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 3px;
  transition: color 0.15s ease;
}

.nav-desktop a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-desktop a[aria-current="page"] {
  color: var(--primary);
}

.nav-desktop a:hover {
  color: var(--primary);
}

.nav-desktop a:hover::before,
.nav-desktop a[aria-current="page"]::before {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown > a::after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0.6;
  margin-bottom: 2px;
}

.nav-dropdown__panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 40;
}

.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__panel a {
  padding: 0.55rem 0.75rem !important;
  border-radius: var(--radius-sm);
  font-weight: 500;
  white-space: nowrap;
  border-bottom: none !important;
  color: var(--ink);
  text-decoration: none;
}

.nav-dropdown__panel a:hover {
  background: var(--bg-tint);
  color: var(--primary);
}

.nav-dropdown__all {
  border-top: 1px solid var(--border) !important;
  margin-top: 0.35rem;
  padding-top: 0.7rem !important;
  color: var(--primary);
  font-weight: 600;
}

.nav-more-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.nav-more-trigger:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.nav-dropdown:hover .nav-more-trigger,
.nav-dropdown:focus-within .nav-more-trigger {
  color: var(--primary);
  border-color: var(--primary);
}

.nav-dropdown--more .nav-dropdown__panel {
  left: auto;
  right: 0;
  transform: translateY(6px);
  min-width: 190px;
}

.nav-dropdown--more:hover .nav-dropdown__panel,
.nav-dropdown--more:focus-within .nav-dropdown__panel {
  transform: translateY(0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-phone {
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
}

.nav-burger {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
}

.nav-burger:hover { color: var(--primary); }
.nav-burger .icon-close { display: none; }
#nav-toggle:checked ~ .site-header .nav-burger .icon-open { display: none; }
#nav-toggle:checked ~ .site-header .nav-burger .icon-close { display: block; }

/* Nav starts collapsed by default (safe, never overflows). JS in _layout.html
   removes .nav-collapsed once it confirms the expanded nav actually fits. */
.site-header.nav-collapsed .nav-desktop,
.site-header.nav-collapsed .header-phone,
.site-header.nav-collapsed .header-actions .nav-dropdown--more {
  display: none;
}

.site-header.nav-collapsed .nav-burger {
  display: flex;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  position: sticky;
  top: 65px;
  z-index: 25;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 0.5rem 1.5rem 1.25rem;
}

.nav-mobile a {
  padding: 0.85rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.nav-mobile a.active {
  color: var(--primary);
}

#nav-toggle:checked ~ .nav-mobile { display: flex; }

.nav-mobile__submenu summary {
  padding: 0.85rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-mobile__submenu summary::-webkit-details-marker { display: none; }
.nav-mobile__submenu summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.nav-mobile__submenu[open] summary::after { content: "\2212"; }
.nav-mobile__submenu summary.active { color: var(--primary); }

.nav-mobile__submenu a {
  display: block;
  padding: 0.65rem 0 0.65rem 1rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  color: #fff;
  min-height: clamp(520px, 76vh, 760px);
  display: flex;
  align-items: center;
  padding: clamp(4rem, 10vh, 6rem) 1.5rem clamp(6.5rem, 13vh, 8.5rem);
  background:
    linear-gradient(90deg, rgba(9, 14, 11, 0.76) 0%, rgba(9, 14, 11, 0.5) 42%, rgba(9, 14, 11, 0.1) 68%, rgba(9, 14, 11, 0) 85%),
    var(--hero-image, none) center/cover no-repeat;
  background-color: var(--dark);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero-copy {
  max-width: 560px;
}

.hero-copy .eyebrow {
  color: #8fd1ac;
}

.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  line-height: 1.08;
  margin-bottom: 0.4em;
}

.hero-copy .hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34em;
  margin-bottom: 1.75rem;
}

@media (max-width: 640px) {
  .hero {
    padding-bottom: clamp(7rem, 18vh, 9rem);
  }
  .hero-copy {
    max-width: 100%;
  }
}

.badge-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0;
}

.badge-list--center {
  justify-content: center;
}

.badge-list li {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(2px);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45em 0.9em;
  border-radius: 999px;
}

.hero .btn { margin-top: 0.5rem; margin-right: 0.6rem; }

.area-tags {
  list-style: none;
  padding: 0;
  margin: 2rem 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.area-tags li {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5em 1em;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.area-tags li:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: var(--sage-tint);
}

/* ---------- trust strip (overlaps hero bottom edge) ---------- */

.trust-strip-wrap {
  max-width: 1100px;
  margin: clamp(-4.5rem, -7vh, -3rem) auto 0;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.trust-strip {
  display: flex;
  flex-wrap: nowrap;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(20, 30, 45, 0.05), 0 20px 48px rgba(20, 30, 45, 0.14);
}

.trust-strip__item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
  cursor: default;
}

.trust-strip__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--border);
}

.trust-strip__icon {
  display: flex;
  color: var(--primary);
}

.trust-strip__label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.3;
}

.trust-strip__stars {
  color: #f59e0b;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

/* Desktop-only interaction: gated behind real hover support so it never
   triggers a stuck/sticky state on touch devices. */
@media (hover: hover) and (pointer: fine) {
  .trust-strip__item {
    transition: background 0.2s ease;
  }
  .trust-strip__item:hover {
    background: var(--sage-tint);
  }
  .trust-strip__icon {
    transition: transform 0.2s ease, color 0.2s ease;
  }
  .trust-strip__item:hover .trust-strip__icon {
    transform: translateY(-2px);
    color: var(--primary-dark);
  }
}

/* Below this, the shared white bar breaks into its own compact 2-column
   grid of individual cards (5th item spanning full width) instead of a
   horizontally scrolling strip -- nothing should ever be partially
   clipped off-screen on mobile. */
@media (max-width: 760px) {
  .trust-strip-wrap {
    margin-top: -1.5rem;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .trust-strip__item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 1px 2px rgba(20, 30, 45, 0.05);
    padding: 0.9rem 0.75rem;
    gap: 0.35rem;
  }

  .trust-strip__item:active {
    background: var(--sage-tint);
  }

  .trust-strip__item:not(:last-child)::after {
    content: none;
  }

  .trust-strip__item:last-child {
    grid-column: 1 / -1;
  }

  .trust-strip__icon svg {
    width: 26px;
    height: 26px;
  }

  .trust-strip__label {
    font-size: 0.95rem;
  }

  .trust-strip__stars {
    font-size: 1rem;
  }
}

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

.section-head {
  text-align: center;
  max-width: 40em;
  margin: 0 auto 2rem;
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  text-align: left;
  max-width: none;
  margin: 0 0 3rem;
}

.section-head--split h2 {
  margin: 0;
}

.section-head--split .section-head__aside {
  max-width: 28em;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 760px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
}

.featured-grid--after {
  margin: 1.75rem 0 0;
}

.featured-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(20, 30, 45, 0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(20, 30, 45, 0.12);
  border-color: #cbd5e1;
}

.featured-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0f172a;
}

.featured-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-card:hover .featured-card__media img {
  transform: scale(1.04);
}

.featured-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
}

.featured-card__body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(20, 30, 45, 0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  box-shadow: 0 10px 28px rgba(20, 30, 45, 0.1);
  transform: translateY(-3px);
  border-color: #cbd5e1;
}

.service-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.05);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.4rem;
}

.service-card h3 {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  line-height: 1.3;
  transition: color 0.15s ease;
}

.service-card:hover h3 {
  color: var(--primary);
}

.service-card p {
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
}

.service-card__link .link-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.service-card:hover .service-card__link,
.featured-card:hover .service-card__link {
  color: var(--primary-dark);
}

.service-card:hover .service-card__link .link-arrow,
.featured-card:hover .service-card__link .link-arrow {
  transform: translateX(3px);
}
.service-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.service-page__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-page__body h1 {
  margin-bottom: 0.5rem;
}

@media (max-width: 760px) {
  .service-page {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.service-crumb {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 1.75rem 2rem;
  margin-top: 3rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(20, 30, 45, 0.04);
}

.service-crumb__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.4em;
}

.service-crumb__intro p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.service-crumb__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.service-crumb__list a {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.service-crumb__list a:hover {
  color: var(--primary);
}

@media (max-width: 640px) {
  .service-crumb {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }
}

/* ---------- reviews ---------- */

.review-grid {
  column-count: 3;
  column-gap: 1.5rem;
}

@media (max-width: 960px) {
  .review-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .review-grid {
    column-count: 1;
  }
}

.review-grid .review-card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  height: auto;
}

.review-track {
  position: relative;
  overflow-x: clip;
}

.review-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.review-nav {
  flex-shrink: 0;
  width: 2.85rem;
  height: 2.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.review-nav:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
  transform: translateY(-1px);
}

.review-scroller {
  --visible: 1;
  --gap: 1.25rem;
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1.25rem;
  padding: 0.25rem 1.25rem 0.5rem;
  margin: 0 -1.25rem;
  scrollbar-width: none;
}

.review-scroller::-webkit-scrollbar {
  display: none;
}

.review-scroller__item {
  display: flex;
  flex: 0 0 calc((100% - (var(--visible) - 1) * var(--gap)) / var(--visible));
  scroll-snap-align: start;
}

@media (min-width: 560px) {
  .review-scroller { --visible: 2; }
}

@media (min-width: 900px) {
  .review-scroller { --visible: 3; }
}

@media (min-width: 1240px) {
  .review-scroller { --visible: 4; }
}


.review-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 1px 3px rgba(20, 30, 45, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.review-card:hover {
  box-shadow: 0 4px 12px rgba(20, 30, 45, 0.08);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.review-card__author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.review-card__name {
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
  line-height: 1.25;
  color: var(--ink);
}

.review-card__source {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.2;
}

.review-card__stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 0.12em;
  margin: 0 0 0.75rem;
  line-height: 1;
}

.review-card__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
  white-space: pre-line;
  margin: 0;
}

.review-scroller .review-card {
  height: 100%;
}

.review-scroller .review-card__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}

.review-scroller .review-card__response {
  display: none;
}
.review-card__response {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  background: var(--bg-tint);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.875rem;
}

.review-card__response-title {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--primary-dark);
  margin: 0 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.review-card__response-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.section--primary .review-card,
.section--dark .review-card {
  color: var(--ink);
}

.review-single {
  max-width: 640px;
  margin: 0 auto;
}

.review-cards-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.review-cards-featured .review-card {
  padding: 1.75rem;
}

.review-card__label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.review-cards-featured .review-card__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}

.rating-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.rating-badge .review-card__stars,
.rating-badge span[aria-hidden] {
  color: #f59e0b;
  letter-spacing: 0.12em;
}

@media (max-width: 900px) {
  .review-cards-featured {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .review-cards-featured {
    grid-template-columns: 1fr;
  }
}

/* ---------- finished-work showcase ---------- */

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 0;
}

.showcase-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg);
}

.showcase-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.showcase-item:hover img {
  transform: scale(1.04);
}

.showcase-item figcaption {
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

/* ---------- masonry project gallery ---------- */

/* 4 cols x 3 rows = 12 cells, and the six items' spans sum to exactly 12
   (item 1 = 2x3 = 6, items 2-5 = 1x1 = 4, item 6 = 2x1 = 2), so the
   composition always tessellates into a clean rectangle with no leftover
   cell. Placement is explicit (not auto-flow) so that stays true at every
   width. aspect-ratio sizes the rows as a proportion of the container
   instead of a fixed pixel height, so it scales responsively. */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  aspect-ratio: 16 / 10;
  gap: 1.25rem;
}

.masonry-item {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0f172a;
  cursor: pointer;
}

.masonry-item--1 { grid-column: 1 / 3; grid-row: 1 / 4; }
.masonry-item--2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.masonry-item--3 { grid-column: 4 / 5; grid-row: 1 / 2; }
.masonry-item--4 { grid-column: 3 / 4; grid-row: 2 / 3; }
.masonry-item--5 { grid-column: 4 / 5; grid-row: 2 / 3; }
.masonry-item--6 { grid-column: 3 / 5; grid-row: 3 / 4; }

.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.masonry-item:hover img {
  transform: scale(1.05);
}

.masonry-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 15, 12, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.masonry-item:hover::after {
  opacity: 1;
}

.masonry-item__label {
  position: absolute;
  left: 1rem;
  bottom: 0.85rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1;
}

.masonry-item:hover .masonry-item__label {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet: simpler 2x4 rectangle (2 + 1 + 1 + 1 + 1 + 2 = 8 cells = 2 cols x 4
   rows exactly), still explicit placement, no orphan cell. */
@media (max-width: 900px) {
  .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    aspect-ratio: 3 / 4;
  }
  .masonry-item--1 { grid-column: 1 / 3; grid-row: 1 / 2; }
  .masonry-item--2 { grid-column: 1 / 2; grid-row: 2 / 3; }
  .masonry-item--3 { grid-column: 2 / 3; grid-row: 2 / 3; }
  .masonry-item--4 { grid-column: 1 / 2; grid-row: 3 / 4; }
  .masonry-item--5 { grid-column: 2 / 3; grid-row: 3 / 4; }
  .masonry-item--6 { grid-column: 1 / 3; grid-row: 4 / 5; }
}

/* Mobile: single column, each photo keeps a normal, useful aspect ratio
   rather than being squeezed to fit a mosaic cell. */
@media (max-width: 560px) {
  .masonry-grid {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
  }
  .masonry-item--1,
  .masonry-item--2,
  .masonry-item--3,
  .masonry-item--4,
  .masonry-item--5,
  .masonry-item--6 {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
}

/* ---------- before/after project showcase ---------- */

.page--gallery {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

.gallery-item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: #0f172a;
  cursor: pointer;
  overflow: hidden;
}

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 2rem 0 3.5rem;
}

.showcase-project:not(:first-child) {
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.showcase-project__meta {
  margin: 0 0 1.1rem;
}

.showcase-project__index {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 0.3rem;
}

.showcase-project__category {
  margin: 0;
  font-size: 1.35rem;
  color: var(--ink);
}

.showcase-images {
  display: flex;
  gap: 1.25rem;
}

.showcase-images__pane {
  flex: 1 1 0;
  min-width: 0;
}

@media (hover: hover) and (pointer: fine) {
  .showcase-images__pane {
    transition: flex-grow 0.28s ease;
  }
  .showcase-images__pane:hover {
    flex-grow: 1.35;
  }
}

.showcase-images__label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  transition: color 0.2s ease;
}

.showcase-images__label--before {
  color: var(--muted);
}

.showcase-images__label--after {
  color: var(--primary);
}

.showcase-images__pane:hover .showcase-images__label--after {
  color: var(--primary-dark);
}

.showcase-images__frame {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0f172a;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.showcase-images__frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.showcase-images__pane:hover .showcase-images__frame img {
  transform: scale(1.015);
}

@media (max-width: 640px) {
  .showcase-images {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ---------- interactive before/after slider ---------- */

.ba-slider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 900px) {
  .ba-slider-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .ba-slider-grid { grid-template-columns: 1fr; }
}

.ba-slider {
  margin: 0;
}

.ba-slider__frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0f172a;
  box-shadow: var(--shadow);
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
}

.ba-slider__frame:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.ba-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

.ba-slider__img--before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-slider__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.15);
}

.ba-slider__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.3);
}

.ba-slider__tag {
  position: absolute;
  top: 14px;
  padding: 0.3em 0.85em;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 1;
}

.ba-slider__tag--before { left: 14px; }
.ba-slider__tag--after { right: 14px; background: var(--cta); }

/* Kept only for keyboard/screen-reader control (focus + arrow keys).
   Dragging is handled by pointer events on .ba-slider__frame below,
   so this stays non-hit-testable and invisible. */
.ba-slider__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  -webkit-appearance: none;
  appearance: none;
}

.ba-slider figcaption {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}

/* ---------- rich page components (about, careers, content) ---------- */

.split-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.split-layout--reversed {
  grid-template-columns: 0.85fr 1.15fr;
}

@media (max-width: 860px) {
  .split-layout,
  .split-layout--reversed {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.feature-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.feature-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.review-badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px rgba(20, 30, 45, 0.06), 0 14px 30px rgba(20, 30, 45, 0.18);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(20, 30, 45, 0.06), 0 20px 38px rgba(20, 30, 45, 0.22);
}

.review-badge__stars {
  color: #f59e0b;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  transition: color 0.2s ease;
}

.review-badge:hover .review-badge__stars {
  color: #fbbf24;
}

.review-badge__count {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  transition: color 0.2s ease;
}

.review-badge:hover .review-badge__count {
  color: var(--primary-dark);
}

.review-badge__label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 560px) {
  .review-badge {
    left: 1rem;
    bottom: 1rem;
    padding: 0.75rem 1rem;
  }
  .review-badge__count {
    font-size: 1.35rem;
  }
}

.feature-media__badge {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px rgba(20, 30, 45, 0.06), 0 14px 30px rgba(20, 30, 45, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-media:hover .feature-media__badge {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(20, 30, 45, 0.06), 0 20px 38px rgba(20, 30, 45, 0.2);
}

.feature-media__badge span:first-child {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  transition: color 0.2s ease;
}

.feature-media:hover .feature-media__badge span:first-child {
  color: var(--primary-dark);
}

.feature-media__badge span:last-child {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .feature-media__badge {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.7rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 3rem 0;
  padding: 1.75rem;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.25rem;
    gap: 1rem;
  }
}

.stat-item {
  text-align: center;
}

.stat-item__num {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-item__label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0 3.5rem;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 1px 3px rgba(20, 30, 45, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  box-shadow: 0 6px 18px rgba(20, 30, 45, 0.08);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--primary-tint);
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--ink);
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- benefit grid ("Why Choose Maki") ---------- */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.benefit-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 960px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .benefit-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.benefit-card:hover {
  box-shadow: 0 12px 28px rgba(20, 30, 45, 0.1);
  border-color: var(--primary);
  background: var(--sage-tint);
}

.benefit-card__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}

.benefit-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--primary-tint);
  color: var(--primary);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.benefit-card:hover .benefit-card__icon {
  background: var(--primary);
  color: #fff;
}

.benefit-card h3 {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink);
  transition: color 0.2s ease;
}

.benefit-card:hover h3 {
  color: var(--primary-dark);
}

.benefit-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

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

.process-steps {
  list-style: none;
  margin: 2.5rem 0 3.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 1.75rem 1.25rem;
  counter-reset: step;
}

.process-step {
  list-style: none;
  position: relative;
  text-align: center;
  padding: 0 0.5rem;
}

@media (min-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 21px;
    left: calc(50% + 32px);
    width: calc(100% - 42px);
    height: 2px;
    background: var(--border);
  }
}

.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
}

.section--dark .process-step__num {
  background: #fff;
  color: var(--primary-dark);
}

.section--dark .process-step:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.18);
}

.section--dark .process-step h3 { color: #fff; }
.section--dark .process-step p { color: rgba(255, 255, 255, 0.72); }

.process-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.process-step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- FAQ accordion ---------- */

.faq {
  max-width: 46rem;
  margin: 2rem auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.2rem 1.25rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: var(--primary);
  background: var(--sage-tint);
  box-shadow: 0 4px 14px rgba(20, 30, 45, 0.06);
}

.faq-item summary {
  padding: 1rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s ease;
}

.faq-item:hover summary {
  color: var(--primary-dark);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 400;
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}
.faq-item:hover summary::after {
  color: var(--primary-dark);
  transform: scale(1.2);
}
.faq-item[open] summary::after { content: "\2212"; }

.faq-item p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

.area-list {
  columns: 3 160px;
  gap: 1.5rem;
  margin: 2rem 0 3rem;
  padding: 0;
  list-style: none;
}

.area-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  break-inside: avoid;
}

.job-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(20, 30, 45, 0.04);
}

.job-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.job-card__header h3 {
  margin: 0;
  font-size: 1.25rem;
}

.job-card__badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 99px;
}

.job-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--ink);
}

.job-card li {
  margin-bottom: 0.4rem;
}

.cta-banner {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 3.5rem 0 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(255, 255, 255, 0.1) 0%, transparent 60%),
    var(--primary);
}

.cta-banner--photo {
  background:
    linear-gradient(180deg, rgba(15, 23, 20, 0.82), rgba(15, 23, 20, 0.72)),
    var(--cta-image, none) center/cover no-repeat;
  background-color: var(--dark);
}

.cta-banner h2 {
  color: #fff;
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 540px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

.phone-link {
  color: #fff;
  text-decoration: underline;
  white-space: nowrap;
}

.cta-banner .btn--primary {
  background: var(--cta);
  color: #fff;
}

.cta-banner .btn--primary:hover {
  background: var(--cta-dark);
}

/* Plain (non-photo) banner is solid green, so the primary button needs to
   flip to white/green-text here or it disappears into the background. */
.cta-banner:not(.cta-banner--photo) .btn--primary {
  background: #fff;
  color: var(--primary-dark);
  border-color: #fff;
}

.cta-banner:not(.cta-banner--photo) .btn--primary:hover {
  background: var(--bg-tint);
  color: var(--primary-dark);
  border-color: var(--bg-tint);
}

/* ---------- asymmetric CTA (final conversion moment) ---------- */

.cta-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  text-align: left;
  padding: 3rem 2.75rem;
}

.cta-split .eyebrow {
  color: #8fd1ac;
}

.cta-split h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin: 0 0 0.6rem;
}

.cta-split__reassurance {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  max-width: 28em;
}

.cta-split__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.1rem;
}

.cta-split__primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  color: var(--primary-dark);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.02rem;
  padding: 1.05rem 1.35rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px rgba(20, 30, 45, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-split__primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(20, 30, 45, 0.22);
  background: var(--bg-tint);
}

.cta-split__primary .link-arrow {
  transition: transform 0.2s ease;
}

.cta-split__primary:hover .link-arrow {
  transform: translateX(4px);
}

.cta-split__secondary {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.cta-split__secondary-label {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}

.cta-split__secondary-value {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.cta-split__secondary-value:hover {
  text-decoration-color: #fff;
}

@media (max-width: 760px) {
  .cta-split {
    grid-template-columns: 1fr;
    padding: 2.25rem 1.5rem;
    gap: 1.75rem;
  }
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox[hidden] { display: none; }

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-media {
  max-width: min(90vw, 1100px);
  max-height: 78vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: #000;
}

.lightbox-caption {
  margin-top: 1rem;
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.24); }

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
  width: 1.4rem;
  height: 1.4rem;
  display: block;
}

.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (max-width: 640px) {
  .lightbox { padding: 1rem; }
  .lightbox-prev { left: 0.35rem; }
  .lightbox-next { right: 0.35rem; }
  .lightbox-close { top: 0.5rem; right: 0.5rem; }
}

/* ---------- estimate page & form ---------- */

.estimate-wrapper {
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow);
}

@media (max-width: 640px) {
  .estimate-wrapper {
    padding: 1.5rem 1.25rem;
  }
}

.estimate-form {
  display: grid;
  gap: 1.15rem;
  width: 100%;
}

.estimate-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 540px) {
  .estimate-form__row {
    grid-template-columns: 1fr;
  }
}

.estimate-form__group {
  display: flex;
  flex-direction: column;
}

.estimate-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35em;
  font-size: 0.88rem;
  color: var(--ink);
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  padding: 0.7em 0.85em;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-tint);
}

.estimate-form textarea {
  min-height: 5.5em;
  resize: vertical;
}

.estimate-form .btn {
  width: 100%;
  padding: 0.85em 1.5em;
  font-size: 1rem;
}
.form-success {
  border-radius: var(--radius);
  background: var(--primary-tint);
  padding: 1.75rem;
  border: 1px solid rgba(30, 86, 54, 0.2);
}

.form-error {
  color: var(--cta-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}

/* ---------- 404 ---------- */

.not-found {
  text-align: center;
  padding: 4rem 1.5rem;
}

.not-found__code {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.15em 0.55em;
  background: var(--primary-tint);
  color: var(--primary);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  border-radius: var(--radius);
}

.not-found h1 {
  max-width: 24em;
  margin-left: auto;
  margin-right: auto;
}

.not-found p {
  max-width: 32em;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

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

footer {
  background: var(--dark);
  color: #eef2f6;
  padding: 3.5rem 1.5rem 2rem;
}

.footer-main {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 2.5rem;
}

.footer-brand__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  margin: 0 0 0.6rem;
}

.footer-brand__tagline {
  color: #b7c0cb;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
  max-width: 22em;
}

.footer-brand__reviews {
  margin: 0 0 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand__stars {
  display: block;
  color: #f59e0b;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.footer-brand__reviews p {
  margin: 0 0 0.4rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
}

.footer-brand__reviews a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #8fd1ac;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-brand__reviews a:hover {
  color: #b8e6cc;
}

.footer-brand__reviews a:hover .link-arrow {
  transform: translateX(3px);
}

.footer-brand__owner {
  margin: 0;
  color: #8b97a5;
  font-size: 0.85rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col h3 {
  color: #8fd1ac;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.76rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.footer-col a,
.social-link {
  color: #c5cdd7;
  text-decoration: none;
  font-size: 0.92rem;
  width: fit-content;
  transition: color 0.2s ease;
}

.footer-col a:hover,
.social-link:hover {
  color: #8fd1ac;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.social-link svg {
  transition: transform 0.2s ease;
}

.social-link:hover svg {
  transform: scale(1.12);
}

.footer-bottom {
  max-width: 1100px;
  margin: 2.75rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  color: #8b97a5;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #c5cdd7;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #8fd1ac;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
}

/* ---------- service overview extras ---------- */

.featured-card__body p {
  color: var(--muted);
  margin: 0 0 1.1rem;
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 34em;
}

.service-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 760px) {
  .service-link-grid {
    grid-template-columns: 1fr;
  }
}

.service-link-card {
  display: flex;
  align-items: stretch;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(20, 30, 45, 0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.service-link-card:hover {
  box-shadow: 0 10px 28px rgba(20, 30, 45, 0.1);
  transform: translateY(-3px);
  border-color: #cbd5e1;
}

.service-link-card__media {
  flex: 0 0 34%;
  max-width: 200px;
  overflow: hidden;
  background: #0f172a;
}

.service-link-card__media img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-link-card:hover .service-link-card__media img {
  transform: scale(1.05);
}

.service-link-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.2rem 1.35rem;
  min-width: 0;
}

.service-link-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--ink);
  transition: color 0.15s ease;
}

.service-link-card:hover .service-link-card__name {
  color: var(--primary);
}

.service-link-card__summary {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.service-link-card:hover .service-card__link {
  color: var(--primary-dark);
}

.service-link-card:hover .service-card__link .link-arrow {
  transform: translateX(3px);
}

.related-services {
  margin-top: 3.5rem;
}

.related-services__head {
  margin-bottom: 1.5rem;
}

.related-services__head h2 {
  margin: 0;
}

.related-services__all {
  margin: 1.25rem 0 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.related-services__all a,
.section-link a,
.about-link a {
  text-decoration: none;
  font-weight: 700;
}

.related-services__all a:hover .link-arrow,
.section-link a:hover .link-arrow,
.about-link a:hover .link-arrow {
  transform: translateX(3px);
}

/* ---------- service page building blocks ---------- */

.split-layout--flush {
  margin-bottom: 0;
}

.btn-group--center {
  justify-content: center;
  margin-top: 2.5rem;
}

.section-link {
  text-align: center;
  margin: 2rem 0 0;
}

.overview-links {
  margin: 1.5rem 0 0;
  padding: 1rem 1.2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--muted);
}

.section:not(.section--tint) .overview-links {
  background: var(--bg-tint);
}

.overview-links a {
  font-weight: 600;
}

.overview-links--center {
  max-width: 40em;
  margin: 2rem auto 0;
  text-align: center;
  border-left: 1px solid var(--border);
}

.hero-proof {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}


.hero-proof__stars {
  color: #f59e0b;
  letter-spacing: 0.1em;
}

.service-page__body .btn-group {
  margin-top: 0.5rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.65rem 1.5rem;
}

.checklist--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 560px) {
  .checklist--2 {
    grid-template-columns: 1fr;
  }
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.45;
}

.checklist__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary);
}

.feature-media--portrait img {
  aspect-ratio: 4 / 5;
  object-position: 50% 20%;
}

.split-layout .feature-media--portrait {
  max-width: 440px;
  justify-self: center;
  width: 100%;
}

.review-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 760px) {
  .review-pair {
    grid-template-columns: 1fr;
  }
}

.ba-slider-grid--1 {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.ba-slider-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .ba-slider-grid--2 { grid-template-columns: 1fr; }
}

/* Two clearly separate service areas side by side (popcorn / drywall). */
.service-areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

@media (max-width: 860px) {
  .service-areas {
    grid-template-columns: 1fr;
  }
}

.service-area {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(20, 30, 45, 0.04);
}

.service-area__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-area__body {
  padding: 1.6rem 1.6rem 1.75rem;
}

.service-area:not(:has(.service-area__media)) {
  border-top: 3px solid var(--primary);
}

.service-area:not(:has(.service-area__media)) .service-area__body {
  padding: 2rem 2rem 2.1rem;
}

.service-area__body h3 {
  font-size: 1.35rem;
  margin: 0 0 0.6rem;
}

.service-area__body > p {
  color: var(--muted);
  margin: 0;
}

/* ---------- photo grid (project photos without a before shot) ---------- */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.photo-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-grid__item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
}

.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-grid__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 15, 12, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.photo-grid__item:hover img {
  transform: scale(1.04);
}

.photo-grid__item:hover::after,
.photo-grid__item:hover .masonry-item__label {
  opacity: 1;
}

.photo-grid__item:hover .masonry-item__label {
  transform: translateY(0);
}

/* Touch screens have no hover, so captions stay visible there. */
@media (hover: none) {
  .photo-grid__item::after,
  .photo-grid__item .masonry-item__label {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .photo-grid,
  .photo-grid--3 {
    grid-template-columns: 1fr;
  }
}

/* ---------- why choose maki ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.why-card:hover {
  box-shadow: 0 12px 28px rgba(20, 30, 45, 0.1);
  border-color: var(--primary);
  background: var(--sage-tint);
}

.why-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-tint);
  color: var(--primary);
  margin-bottom: 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.why-card:hover .why-card__icon {
  background: var(--primary);
  color: #fff;
}

.why-card h3 {
  font-size: 1.08rem;
  margin: 0 0 0.4rem;
}

.why-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- workmanship warranty ---------- */

.warranty-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: stretch;
  margin-top: 2.5rem;
}

.section-inner > .warranty-band:first-child {
  margin-top: 0;
}

.warranty-band--solo {
  grid-template-columns: 1fr;
}

@media (max-width: 860px) {
  .warranty-band {
    grid-template-columns: 1fr;
  }
}

.warranty-band__panel {
  color: #fff;
  border-radius: var(--radius);
  padding: 2.25rem 2.25rem 2rem;
  background:
    radial-gradient(55% 60% at 90% 8%, rgba(255, 255, 255, 0.14) 0%, transparent 60%),
    radial-gradient(50% 50% at 6% 96%, rgba(255, 255, 255, 0.1) 0%, transparent 62%),
    var(--primary);
}

.warranty-band__panel .eyebrow {
  color: #c9ecd7;
}

.warranty-band__panel h2 {
  color: #fff;
  margin: 0 0 0.75rem;
}

.warranty-band__copy {
  margin-bottom: 1.5rem;
}

.warranty-band--solo .warranty-band__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 2.75rem;
}

.warranty-band--solo .warranty-band__copy,
.warranty-band--solo .warranty-band__terms {
  margin: 0;
}

@media (max-width: 760px) {
  .warranty-band--solo .warranty-band__panel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }
}

.warranty-band__terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.warranty-term {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
}

.warranty-term__years {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.warranty-term__label {
  font-weight: 700;
  font-size: 0.95rem;
}

.warranty-term__detail {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.warranty-band__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34em;
}

.warranty-band__review {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.warranty-band__review .review-card {
  padding: 1.75rem;
}

.warranty-note {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 46rem;
  margin: 2rem auto 0;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.warranty-note__icon {
  flex-shrink: 0;
  display: flex;
  color: var(--primary);
}

.warranty-note p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.warranty-note strong {
  color: var(--ink);
}

/* ---------- featured testimonial (commercial) ---------- */

.testimonial-feature {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.testimonial-feature__stars {
  color: #f59e0b;
  letter-spacing: 0.14em;
  margin: 0 0 1rem;
}

.testimonial-feature__quote {
  margin: 0 0 1.25rem;
}

.testimonial-feature__lead {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
  color: #fff;
  margin: 0 0 1.25rem;
}

.testimonial-feature__body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.testimonial-feature figcaption {
  font-weight: 700;
  color: #fff;
}

.testimonial-feature figcaption span {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- review avatars without a photo ---------- */

.review-card__avatar--initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
}

/* ---------- about ---------- */

.lead {
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 500;
}

.split-layout--about {
  margin-bottom: 0;
}

.about-link {
  margin-top: 1.5rem;
}

/* ---------- responsive ---------- */

@media (max-width: 640px) {
  header {
    padding: 0.8rem 1rem;
  }
  .section {
    padding: 2.5rem 1rem;
  }
  .page {
    padding: 1.75rem 1rem 3rem;
  }
}
