/* ============================================================
   KMA Carpentry & Contracting — Global Stylesheet
   FQDN: kma.digitaldisconnections.com
   ============================================================ */

/* --- CSS Custom Properties (Design System) --- */
:root {
  /* Color palette */
  --color-primary: #1a1a2e;
  --color-primary-light: #25254a;
  --color-accent: #c55200;
  --color-accent-hover: #a04000;
  --color-accent-light: #d35400;
  --color-light: #f5f0eb;
  --color-dark: #0d0d1a;
  --color-white: #ffffff;
  --color-gray-100: #f8f7f5;
  --color-gray-200: #e8e4de;
  --color-gray-500: #6b6560;
  --color-gray-700: #3a3733;

  /* Typography */
  --font-heading: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;

  /* Borders & shadows */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(13, 13, 26, 0.08);
  --shadow-md: 0 4px 12px rgba(13, 13, 26, 0.1);
  --shadow-lg: 0 8px 30px rgba(13, 13, 26, 0.12);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* --- Font Faces --- */
@font-face {
  font-family: 'Inter Tight';
  src: url('fonts/InterTight.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- Reset / Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-accent);
  transition: color var(--transition-fast);
}

a:hover,
a:focus-visible {
  color: var(--color-accent-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p + p {
  margin-top: var(--space-md);
}

/* --- Skip Navigation Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--color-accent);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
}

.skip-link:focus {
  top: var(--space-md);
}

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base);
}

.site-nav--top {
  background-color: transparent;
  box-shadow: none;
}

.site-nav--scrolled {
  background-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--color-white);
}

.nav-logo img {
  height: 56px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-white);
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast),
              border-color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--color-white);
  border-bottom-color: var(--color-accent);
}

.nav-links a[aria-current="page"] {
  color: var(--color-white);
  border-bottom-color: var(--color-accent);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base),
              opacity var(--transition-fast);
}

.nav-toggle span + span {
  margin-top: 6px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- Page Sections --- */
.page-section {
  padding: var(--space-3xl) var(--space-xl);
}

.page-section--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.page-section--dark h2,
.page-section--dark h3 {
  color: var(--color-white);
}

.page-section--light {
  background-color: var(--color-light);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal,
.about-hero .reveal,
.gallery-category.reveal {
  opacity: 1;
  transform: none;
}

/* --- CTA Button --- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-fast);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 50%, #0a0a18 100%);
  color: var(--color-white);
  overflow: hidden;
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-xl) var(--space-2xl);
  text-align: left;
}

.hero--project {
  background:
    linear-gradient(90deg, rgba(13, 13, 26, 0.92) 0%, rgba(13, 13, 26, 0.74) 42%, rgba(13, 13, 26, 0.28) 100%),
    url('images/porch-roofs/697111654_122192700302425744_1877263078239598422-display.webp') center / cover no-repeat,
    var(--color-primary);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 13, 26, 0.1), rgba(13, 13, 26, 0.42)),
    radial-gradient(ellipse 70% 50% at 22% 42%, rgba(197, 82, 0, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  width: 100%;
}

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

.hero-kicker {
  color: var(--color-accent-light);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

.hero-inner h1 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.hero-sub {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin: 0 0 var(--space-2xl);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: flex-start;
}

.btn--lg {
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  list-style: none;
  margin-top: var(--space-xl);
}

.hero-trust li,
.hero-service-strip a {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-md);
  background: rgba(13, 13, 26, 0.52);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.55rem 0.8rem;
}

.hero-service-strip {
  position: relative;
  z-index: 1;
  width: min(calc(100% - (var(--space-xl) * 2)), var(--max-width));
  margin-top: var(--space-3xl);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.hero-service-strip a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.hero-service-strip a:hover,
.hero-service-strip a:focus-visible {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--color-gray-500);
  margin-top: var(--space-md);
}

/* --- Service Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base),
              transform var(--transition-base);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  color: var(--color-accent);
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
}

.card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  background: var(--color-gray-200);
}

.card-title {
  margin-bottom: var(--space-sm);
}

.card-desc {
  color: var(--color-gray-500);
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
}

.card-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: gap var(--transition-fast);
}

.card-link:hover {
  gap: var(--space-sm);
  color: var(--color-accent-hover);
}

.card-link span {
  transition: transform var(--transition-fast);
}

.card-link:hover span {
  transform: translateX(3px);
}

/* --- Value Props --- */
.vp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.vp-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.vp-card h3 {
  margin-bottom: var(--space-xs);
}

.vp-card p {
  color: var(--color-gray-500);
  font-size: 0.9375rem;
}

.vp-icon {
  color: var(--color-accent);
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-md);
  flex-shrink: 0;
}

.vp-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-accent) 0%, #d35400 100%);
  color: var(--color-white);
  padding: var(--space-4xl) var(--space-xl);
  text-align: center;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-banner p {
  font-size: 1.125rem;
  margin-bottom: var(--space-2xl);
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner a {
  color: var(--color-white);
  text-decoration: underline;
  font-weight: 600;
}

.cta-banner .btn--primary {
  background-color: var(--color-white);
  color: var(--color-accent);
}

.cta-banner .btn--primary:hover {
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--color-accent-hover);
}

/* --- About Page --- */
.about-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 70%, #0a0a18 100%);
  color: var(--color-white);
  padding: calc(var(--nav-height) + var(--space-4xl)) var(--space-xl) var(--space-3xl);
  text-align: center;
}

.about-hero h1 {
  color: var(--color-white);
}

.about-story {
  max-width: 780px;
  margin: 0 auto;
}

.about-story p {
  font-size: 1.0625rem;
  color: var(--color-gray-700);
  margin-bottom: var(--space-lg);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
}

.credential-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.credential-card svg {
  color: var(--color-accent);
  width: 40px;
  height: 40px;
}

.credential-card h3 {
  font-size: 1.0625rem;
}

.credential-card p {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  margin: 0;
}

.reviews-teaser {
  text-align: center;
  background: var(--color-light);
  padding: var(--space-3xl) var(--space-xl);
  border-radius: var(--radius-lg);
}

.reviews-teaser p {
  font-size: 1.125rem;
  color: var(--color-gray-700);
  margin-bottom: var(--space-md);
}

.reviews-teaser a {
  font-weight: 600;
}

/* --- Service Detail Sections --- */
.service-detail {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
}

.service-detail--reverse {
  flex-direction: row-reverse;
}

.service-detail__media {
  flex: 0 0 45%;
  min-width: 0;
}

.service-detail__text {
  flex: 1;
  min-width: 0;
}

.service-detail__desc {
  font-size: 1.0625rem;
  color: var(--color-gray-700);
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
  line-height: 1.65;
}

.service-detail__features {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.service-detail__features li {
  padding-left: var(--space-xl);
  position: relative;
  font-size: 0.9375rem;
  color: var(--color-gray-700);
  line-height: 1.5;
}

.service-detail__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  background-color: var(--color-accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

.service-detail__placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-gray-200) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-500);
  overflow: hidden;
}

.service-detail__placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.4;
}

.service-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--color-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 18px 36px rgba(13, 13, 26, 0.16),
    -10px 10px 0 rgba(110, 84, 53, 0.14),
    10px -10px 0 rgba(197, 82, 0, 0.12);
}

.service-carousel__track,
.service-carousel__slide,
.service-carousel__slide a {
  width: 100%;
  height: 100%;
}

.service-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.service-carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.service-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-carousel__slide--thumbnail {
  background:
    linear-gradient(rgba(13, 13, 26, 0.1), rgba(13, 13, 26, 0.22)),
    var(--color-gray-200);
}

.service-carousel__slide--thumbnail a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}

.service-carousel__slide--thumbnail img {
  width: min(68%, 260px);
  height: auto;
  aspect-ratio: 1 / 1;
  border: 6px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.service-carousel__slide figcaption {
  position: absolute;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: rgba(13, 13, 26, 0.78);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}

.service-carousel__control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  border: none;
  border-radius: 50%;
  background: rgba(13, 13, 26, 0.76);
  color: var(--color-white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--transition-fast),
              transform var(--transition-fast);
}

.service-carousel__control:hover,
.service-carousel__control:focus-visible {
  background: var(--color-accent);
  transform: translateY(-50%) scale(1.04);
}

.service-carousel__control--prev {
  left: var(--space-md);
}

.service-carousel__control--next {
  right: var(--space-md);
}

.service-carousel__dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: calc(var(--space-md) + 3.1rem);
  display: flex;
  gap: var(--space-xs);
  transform: translateX(-50%);
}

.service-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(13, 13, 26, 0.45);
  cursor: pointer;
}

.service-carousel__dot[aria-current="true"] {
  background: var(--color-white);
  border-color: var(--color-white);
}

.service-carousel--single .service-carousel__slide {
  opacity: 1;
  pointer-events: auto;
}

/* --- Reviews Section --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.review-card__stat {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.review-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.review-card p {
  color: var(--color-gray-500);
  font-size: 0.9375rem;
  margin: 0;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: var(--space-2xl);
}

/* Service detail mobile */
@media (max-width: 767px) {
  .service-detail,
  .service-detail--reverse {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .service-detail__media {
    flex: none;
    width: 100%;
    order: -1;
  }

  .service-detail__placeholder {
    aspect-ratio: 3 / 2;
  }

  .service-carousel {
    aspect-ratio: 3 / 2;
  }

  .service-carousel__slide figcaption {
    left: var(--space-sm);
    right: var(--space-sm);
    bottom: var(--space-sm);
    font-size: 0.875rem;
  }

  .service-carousel__control {
    width: 38px;
    height: 38px;
  }

  .service-carousel__control--prev {
    left: var(--space-sm);
  }

  .service-carousel__control--next {
    right: var(--space-sm);
  }

  .service-carousel__dots {
    bottom: calc(var(--space-sm) + 3rem);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Footer --- */
.site-footer {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
  font-size: 0.9375rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-2xl);
}

.footer-info h3 {
  font-size: 1.125rem;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer-info p {
  margin: 0;
  line-height: 1.7;
}

.footer-info a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-info a:hover {
  color: var(--color-accent);
}

.footer-credit {
  max-width: var(--max-width);
  margin: var(--space-2xl) auto 0;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-credit a:hover {
  color: var(--color-accent);
}

/* --- Gallery Grid --- */
.gallery-hero .hero-kicker {
  color: var(--color-accent-light);
  margin-left: auto;
  margin-right: auto;
}

.gallery-hero__lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.125rem;
  line-height: 1.6;
  margin: var(--space-md) auto 0;
  max-width: 680px;
}

.gallery-browser {
  background: var(--color-gray-100);
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .gallery-browser {
    overflow-x: hidden;
  }
}

.gallery-categories {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xl);
}

.gallery-category {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: start;
}

.gallery-category__rail {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
  padding-top: var(--space-sm);
}

.gallery-category__eyebrow {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}

.gallery-category__rail h3 {
  margin-bottom: var(--space-md);
}

.gallery-category__rail p {
  color: var(--color-gray-700);
  line-height: 1.65;
  margin-bottom: var(--space-lg);
}

.gallery-category__rail a {
  color: var(--color-accent-hover);
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
}

.gallery-stack {
  --deck-card-width: min(70%, 560px);
  --deck-card-top: clamp(18px, 4vw, 52px);
  --deck-card-left: 50%;
  --deck-card-lift: 0px;
  position: relative;
  min-height: clamp(430px, 44vw, 600px);
  overflow: visible;
  padding: clamp(14px, 2vw, 24px);
  isolation: isolate;
}

.gallery-stack--compact {
  --deck-card-width: min(72%, 520px);
  min-height: clamp(360px, 38vw, 500px);
}

.gallery-item {
  --deck-x: -50%;
  --deck-y: 0px;
  --deck-rotate: 0deg;
  --deck-z: 1;
  position: absolute;
  top: var(--deck-card-top);
  left: var(--deck-card-left);
  z-index: var(--deck-z);
  width: var(--deck-card-width);
  overflow: visible;
  border-radius: var(--radius-md);
  background: var(--color-gray-200);
  box-shadow: 0 14px 28px rgba(13, 13, 26, 0.13);
  isolation: isolate;
  transform: translate(var(--deck-x), calc(var(--deck-y) + var(--deck-card-lift))) rotate(var(--deck-rotate));
  transform-origin: 50% 88%;
}

.gallery-item::before,
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 24px rgba(13, 13, 26, 0.08);
}

.gallery-item::before {
  transform: rotate(-2.4deg) translate(-7px, 8px);
}

.gallery-item::after {
  transform: rotate(2deg) translate(8px, -7px);
}

.gallery-item--feature {
  --deck-card-lift: -6px;
}

.gallery-link {
  display: block;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border-radius: inherit;
  cursor: pointer;
  transform-origin: 50% 90%;
}

.gallery-link:focus-visible {
  outline: 4px solid var(--color-accent);
  outline-offset: 5px;
}

.gallery-link img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform var(--transition-slow);
}

.gallery-item--thumbnail .gallery-link img {
  aspect-ratio: 4 / 3;
}

.gallery-link:hover img,
.gallery-link:focus-visible img {
  transform: scale(1.06);
}

.gallery-view-button {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.8rem;
  background: rgba(13, 13, 26, 0.84);
  color: var(--color-white);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(13, 13, 26, 0.24);
  transition:
    background-color var(--transition-fast),
    opacity var(--transition-fast),
    visibility var(--transition-fast),
    transform var(--transition-fast);
}

.gallery-stack--advance .gallery-item:not(.gallery-item--stack-active) .gallery-link,
.gallery-stack--advance .gallery-item:not(.gallery-item--stack-active) .gallery-view-button {
  pointer-events: none;
}

.gallery-stack--advance .gallery-item:not(.gallery-item--stack-active) .gallery-view-button {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
}

.gallery-stack--advance .gallery-item--deep-stack .gallery-link {
  opacity: 0;
}

.gallery-view-button:hover,
.gallery-view-button:focus-visible {
  background: var(--color-accent);
  outline: 3px solid var(--color-white);
  outline-offset: 2px;
  transform: translateY(-2px);
}

.gallery-item:nth-child(1) {
  --deck-x: -50%;
  --deck-y: 0px;
  --deck-rotate: -1.75deg;
  --deck-z: 8;
}

.gallery-item:nth-child(2) {
  --deck-x: -49%;
  --deck-y: 9px;
  --deck-rotate: 1.5deg;
  --deck-z: 7;
}

.gallery-item:nth-child(3) {
  --deck-x: -51%;
  --deck-y: 18px;
  --deck-rotate: -2.75deg;
  --deck-z: 6;
}

.gallery-item:nth-child(4) {
  --deck-x: -48.5%;
  --deck-y: 27px;
  --deck-rotate: 2.4deg;
  --deck-z: 5;
}

.gallery-item:nth-child(5) {
  --deck-x: -52%;
  --deck-y: 36px;
  --deck-rotate: -1deg;
  --deck-z: 4;
}

.gallery-item:nth-child(6) {
  --deck-x: -49.5%;
  --deck-y: 45px;
  --deck-rotate: 2deg;
  --deck-z: 3;
}

.gallery-item:nth-child(7) {
  --deck-x: -51%;
  --deck-y: 54px;
  --deck-rotate: -1.5deg;
  --deck-z: 2;
}

.gallery-item:nth-child(8) {
  --deck-x: -50%;
  --deck-y: 62px;
  --deck-rotate: 1deg;
  --deck-z: 1;
}

.gallery-item:nth-child(9) {
  --deck-x: -50%;
  --deck-y: 62px;
  --deck-rotate: 1deg;
  --deck-z: 1;
}

.gallery-item:nth-child(10) {
  --deck-x: -50%;
  --deck-y: 62px;
  --deck-rotate: 1deg;
  --deck-z: 1;
}

.gallery-item:nth-child(11) {
  --deck-x: -50%;
  --deck-y: 62px;
  --deck-rotate: 1deg;
  --deck-z: 1;
}

.gallery-stack--advance .gallery-item {
  transition:
    transform var(--transition-slow),
    box-shadow var(--transition-slow);
}

.gallery-item:focus-within,
.gallery-item:hover {
  --deck-card-lift: -12px;
  z-index: var(--deck-z);
  box-shadow: 0 20px 40px rgba(13, 13, 26, 0.22);
}

.gallery-item--stack-active {
  --deck-card-lift: -10px;
  z-index: var(--deck-z);
  box-shadow: 0 18px 34px rgba(13, 13, 26, 0.18);
}

.gallery-item--stack-active .gallery-link {
  animation: galleryStackFlip 760ms ease both;
}

.gallery-item--exiting .gallery-link {
  animation: galleryStackExit 520ms ease both;
}

@keyframes galleryStackFlip {
  0% {
    transform: translateY(0) rotateY(0deg);
  }
  45% {
    transform: translateY(-12px) rotateY(-8deg);
  }
  100% {
    transform: translateY(0) rotateY(0deg);
  }
}

@keyframes galleryStackExit {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg);
    opacity: 1;
  }
  48% {
    transform: translateX(128%) translateY(-28px) rotate(8deg);
    opacity: 0.85;
  }
  100% {
    transform: translateX(0) translateY(0) rotate(0deg);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-stack--advance .gallery-item,
  .gallery-link img {
    transition: none;
  }

  .gallery-item--stack-active .gallery-link {
    animation: none;
  }

  .gallery-item--exiting .gallery-link {
    animation: none;
  }
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base),
              visibility var(--transition-base);
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 26, 0.94);
}

.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox__caption {
  margin-top: var(--space-md);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  text-align: center;
  max-width: 600px;
}

.lightbox__counter {
  margin-top: var(--space-xs);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  font-family: var(--font-heading);
}

.lightbox__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--color-white);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--color-white);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.lightbox__prev {
  left: var(--space-lg);
}

.lightbox__next {
  right: var(--space-lg);
}

@media (max-width: 1023px) {
  .gallery-category {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .gallery-category__rail {
    position: static;
    max-width: 680px;
  }

  .gallery-stack {
    --deck-card-width: min(76%, 560px);
    min-height: clamp(400px, 66vw, 620px);
  }
}

@media (max-width: 639px) {
  .gallery-stack,
  .gallery-stack--compact {
    --deck-card-width: min(78%, 330px);
    --deck-card-top: 14px;
    min-height: 360px;
    padding-inline: 8px;
  }

  .gallery-stack:has(.gallery-item:nth-child(5)) {
    min-height: 390px;
  }

  .gallery-stack:has(.gallery-item:nth-child(9)) {
    min-height: 410px;
  }

  .gallery-stack--compact {
    min-height: 360px;
  }

  .gallery-item:nth-child(1) {
    --deck-x: -50%;
    --deck-y: 0px;
  }

  .gallery-item:nth-child(2) {
    --deck-x: -48.5%;
    --deck-y: 8px;
  }

  .gallery-item:nth-child(3) {
    --deck-x: -51.5%;
    --deck-y: 16px;
  }

  .gallery-item:nth-child(4) {
    --deck-x: -49%;
    --deck-y: 24px;
  }

  .gallery-item:nth-child(5) {
    --deck-x: -52%;
    --deck-y: 32px;
  }

  .gallery-item:nth-child(6) {
    --deck-x: -50%;
    --deck-y: 40px;
  }

  .gallery-item:nth-child(7) {
    --deck-x: -50%;
    --deck-y: 40px;
  }

  .gallery-item:nth-child(8) {
    --deck-x: -50%;
    --deck-y: 40px;
  }

  .gallery-item:nth-child(9) {
    --deck-x: -50%;
    --deck-y: 40px;
  }

  .gallery-item:nth-child(10) {
    --deck-x: -50%;
    --deck-y: 40px;
  }

  .gallery-item:nth-child(11) {
    --deck-x: -50%;
    --deck-y: 40px;
  }

  .lightbox__close {
    top: var(--space-md);
    right: var(--space-md);
  }

  .lightbox__prev {
    left: var(--space-sm);
  }

  .lightbox__next {
    right: var(--space-sm);
  }

  .lightbox__nav {
    width: 40px;
    height: 40px;
  }
}

/* --- Mobile Overlay Nav --- */
@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    z-index: 999;
  }

  .nav-links--open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.375rem;
  }

  .nav-inner {
    padding: 0 var(--space-lg);
  }

  .nav-logo img {
    height: 48px;
  }

  .page-section {
    padding: var(--space-2xl) var(--space-lg);
  }

  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-lg) var(--space-xl);
  }

  .hero--project {
    background:
      linear-gradient(180deg, rgba(13, 13, 26, 0.9) 0%, rgba(13, 13, 26, 0.66) 58%, rgba(13, 13, 26, 0.82) 100%),
      url('images/porch-roofs/697111654_122192700302425744_1877263078239598422-display.webp') center / cover no-repeat,
      var(--color-primary);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-trust {
    flex-direction: column;
  }

  .hero-service-strip {
    width: calc(100% - (var(--space-lg) * 2));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: var(--space-xl);
  }

  .card-grid,
  .vp-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: var(--space-3xl) var(--space-lg);
  }

  .about-hero {
    padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-lg) var(--space-2xl);
  }

  .credential-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Contact Page --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-heading {
  margin-bottom: var(--space-lg);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.contact-method {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact-method__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  background: rgba(197, 82, 0, 0.08);
  border-radius: var(--radius-md);
}

.contact-method__icon svg {
  width: 22px;
  height: 22px;
}

.contact-method h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-xs);
}

.contact-method__value {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
  word-break: break-word;
}

a.contact-method__value:hover,
a.contact-method__value:focus-visible {
  color: var(--color-accent);
}

.contact-method__value--large {
  font-size: 1.375rem;
}

.contact-method__value--text {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-gray-700);
}

.contact-method__note {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin-top: var(--space-xs);
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-light);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
}

.contact-badge svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* --- Contact Form --- */
.contact-form-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.contact-form__lead {
  color: var(--color-gray-500);
  margin-bottom: var(--space-xl);
  font-size: 0.9375rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.form-required {
  color: var(--color-accent);
}

.form-optional {
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  font-family: var(--font-body);
}

.form-input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-dark);
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: var(--color-gray-500);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(197, 82, 0, 0.15);
}

.form-input--error {
  border-color: #dc3545;
}

.form-input--error:focus {
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  font-size: 0.8125rem;
  color: #dc3545;
  margin-top: var(--space-xs);
  min-height: 0;
}

.form-submit {
  align-self: flex-start;
  margin-top: var(--space-sm);
}

/* Form status messages */
.form-status {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.form-status[hidden] {
  display: none;
}

.form-status--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-status--success svg {
  color: #2e7d32;
  flex-shrink: 0;
}

.form-status--error {
  background: #fbe9e7;
  color: #c62828;
  border: 1px solid #ffccbc;
}

.form-status--error svg {
  color: #c62828;
  flex-shrink: 0;
}

.form-status--error a {
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
}

.form-privacy {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  margin-top: var(--space-sm);
  text-align: center;
  line-height: 1.5;
}

/* Contact mobile */
@media (max-width: 767px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .contact-form-wrap {
    padding: var(--space-xl);
  }

  .form-submit {
    width: 100%;
    text-align: center;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Reviews Page --- */
.review-source-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
}

.review-source-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}

.review-source-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
}

.review-source-card__rating {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin: 0;
}

.review-source-card__meta {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  margin: 0;
}

.review-source-card__meta--body {
  color: var(--color-gray-700);
  font-size: 1rem;
  line-height: 1.6;
}

.review-source-card__action {
  margin-top: auto;
}

.btn--outline-light {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-gray-200);
}

.btn--outline-light:hover,
.btn--outline-light:focus-visible {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.review-stars {
  color: var(--color-accent);
  font-size: 1.125rem;
  letter-spacing: 0;
  line-height: 1;
}

.angi-aggregate {
  display: flex;
  gap: var(--space-3xl);
  justify-content: center;
  margin-bottom: var(--space-3xl);
}

.angi-aggregate__stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.angi-aggregate__stat span {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.angi-aggregate__stat small {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.review-excerpt-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.review-excerpt {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.review-excerpt__body {
  font-size: 0.9375rem;
  color: var(--color-gray-700);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

.review-excerpt__meta {
  border-top: 1px solid var(--color-gray-200);
  padding-top: var(--space-md);
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  line-height: 1.6;
}

.review-excerpt__reviewer {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.875rem;
}

.reviews-source-note {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin-top: var(--space-2xl);
  text-align: center;
}

.review-google-cta {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.review-google-cta h2 {
  margin-bottom: 0;
}

.review-google-cta p {
  color: var(--color-gray-500);
  font-size: 1.0625rem;
  margin: 0;
  max-width: 520px;
}

@media (max-width: 767px) {
  .review-source-grid,
  .review-excerpt-list {
    grid-template-columns: 1fr;
  }

  .angi-aggregate {
    gap: var(--space-xl);
  }

  .angi-aggregate__stat span {
    font-size: 2rem;
  }
}

/* --- Print --- */
@media print {
  .site-nav,
  .nav-toggle,
  .skip-link {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}
