:root {
  color-scheme: dark;
  --black: #050506;
  --surface: #0b0d10;
  --surface-2: #14171c;
  --surface-3: #1f242b;
  --line: #343a43;
  --text: #f5f2ec;
  --muted: #c5c8ce;
  --subtle: #8c929c;
  --red: #d71920;
  --hot-red: #ff2a1f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --radius: 1rem;
  --max-width: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(215, 25, 32, 0.12), transparent 28rem),
    linear-gradient(180deg, var(--surface) 0%, var(--black) 38rem);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  padding-bottom: 6rem;
}

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

a {
  color: var(--text);
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ffffff;
  text-decoration-color: var(--hot-red);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--hot-red);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.55rem, 12vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

h3 {
  font-size: clamp(1.25rem, 4vw, 1.55rem);
}

p {
  color: var(--muted);
}

address {
  font-style: normal;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.narrow {
  max-width: 58rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--text);
  color: var(--black);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(5, 5, 6, 0.94);
  border-bottom: 1px solid rgba(52, 58, 67, 0.82);
  backdrop-filter: blur(16px);
}

.header-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  border: 1px solid rgba(255, 42, 31, 0.75);
  border-radius: 0.75rem;
  background: linear-gradient(145deg, var(--red), #720b10);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.1);
  color: #ffffff;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
}

.brand-copy strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.1;
}

.brand-copy span {
  color: var(--subtle);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--surface-2);
  color: #ffffff;
}

.contact-strip {
  border-top: 1px solid rgba(52, 58, 67, 0.7);
  background: rgba(20, 23, 28, 0.86);
}

.contact-strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  padding-block: 0.6rem;
  color: var(--subtle);
  font-size: 0.92rem;
}

.contact-strip__inner a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #ffffff;
  font-weight: 800;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: clamp(38rem, 72vw, 50rem);
  border-bottom: 1px solid rgba(52, 58, 67, 0.72);
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.96) 0%, rgba(5, 5, 6, 0.88) 48%, rgba(5, 5, 6, 0.28) 55%, rgba(5, 5, 6, 0.2) 100%),
    linear-gradient(0deg, rgba(5, 5, 6, 0.72), rgba(5, 5, 6, 0.08) 45%),
    url("../images/showcase-1280.png");
  background-position: center, center, right center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-block: clamp(3rem, 10vw, 7rem);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 45rem;
}

@supports (background-image: image-set(url("../images/showcase-1280.webp") type("image/webp"))) {
  .hero {
    background-image:
      linear-gradient(90deg, rgba(5, 5, 6, 0.96) 0%, rgba(5, 5, 6, 0.88) 48%, rgba(5, 5, 6, 0.28) 55%, rgba(5, 5, 6, 0.2) 100%),
      linear-gradient(0deg, rgba(5, 5, 6, 0.72), rgba(5, 5, 6, 0.08) 45%),
      image-set(url("../images/showcase-1280.webp") type("image/webp"), url("../images/showcase-1280.png") type("image/png"));
  }
}

.page-hero {
  padding-block: clamp(3rem, 9vw, 6.5rem);
  border-bottom: 1px solid rgba(52, 58, 67, 0.7);
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.12), transparent 34rem),
    linear-gradient(180deg, var(--surface) 0%, var(--black) 100%);
}

.page-hero h1 {
  max-width: 14ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 2rem;
  height: 0.18rem;
  border-radius: 999px;
  background: var(--red);
  content: "";
}

.lede {
  max-width: 46rem;
  color: var(--text);
  font-size: clamp(1.12rem, 3vw, 1.35rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.35rem;
}

.button,
.service-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.05rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.button--primary {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(215, 25, 32, 0.32);
}

.button--primary:hover {
  background: var(--hot-red);
  color: #ffffff;
}

.button--secondary {
  border-color: var(--line);
  background: var(--surface-2);
  color: #ffffff;
}

.button--ghost {
  border-color: rgba(197, 200, 206, 0.34);
  color: #ffffff;
}

.section {
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

.section--contrast {
  border-block: 1px solid rgba(52, 58, 67, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 42, 31, 0.06), transparent 32rem),
    var(--surface-2);
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 1.5rem;
}

.card-grid,
.service-grid {
  display: grid;
  gap: 1rem;
}

.card,
.service-card,
.prose-card,
.contact-panel {
  border: 1px solid rgba(197, 200, 206, 0.13);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(31, 36, 43, 0.9), rgba(11, 13, 16, 0.94));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.card,
.service-card,
.prose-card {
  padding: 1.25rem;
}

.card h3,
.service-card h3,
.prose-card h3 {
  color: #ffffff;
}

.card p:last-child,
.service-card p:last-child,
.prose-card p:last-child {
  margin-bottom: 0;
}

.compact-card p {
  overflow-wrap: anywhere;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #ffffff;
  font-weight: 900;
}

.quick-facts {
  display: grid;
  gap: 0.75rem;
  margin: 1.6rem 0 0;
}

.quick-facts div {
  border-left: 3px solid var(--red);
  padding-left: 0.85rem;
}

.quick-facts dt {
  color: var(--subtle);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 0.1rem 0 0;
  color: var(--text);
  font-weight: 800;
}

.split {
  display: grid;
  gap: 1.5rem;
}

.process-list {
  display: grid;
  gap: 0.9rem;
}

.process-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  border: 1px solid rgba(197, 200, 206, 0.13);
  border-radius: var(--radius);
  background: rgba(5, 5, 6, 0.42);
  padding: 1rem;
}

.process-item > span {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  font-weight: 900;
}

.process-item h3,
.process-item p {
  margin-bottom: 0.25rem;
}

.service-card {
  scroll-margin-top: 9rem;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.service-actions a:first-child {
  background: var(--red);
  color: #ffffff;
}

.service-actions a:last-child {
  border-color: var(--line);
  background: var(--surface-2);
  color: #ffffff;
}

.steps {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  border: 1px solid rgba(197, 200, 206, 0.13);
  border-radius: var(--radius);
  background: rgba(5, 5, 6, 0.42);
  padding: 1.25rem 1.25rem 1.25rem 4.4rem;
  counter-increment: steps;
}

.steps li::before {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  content: counter(steps, decimal-leading-zero);
  font-weight: 900;
}

.steps h3,
.steps p {
  margin-bottom: 0.35rem;
}

.contact-panel {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.25rem, 5vw, 2rem);
}

#request-estimate {
  scroll-margin-top: 9rem;
  scroll-margin-bottom: 7rem;
}

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

.checklist li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--muted);
}

.checklist li::before {
  position: absolute;
  top: 0.15rem;
  left: 0;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid var(--red);
  border-radius: 0.25rem;
  content: "";
}

.fine-print {
  color: var(--subtle);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid rgba(52, 58, 67, 0.72);
  background: #030304;
  padding-block: 2.5rem 7rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.site-footer h2 {
  font-size: 1.55rem;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #ffffff;
}

.footer-actions {
  display: grid;
  gap: 0.25rem;
  align-content: start;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(52, 58, 67, 0.72);
  margin-top: 2rem;
  padding-top: 1rem;
}

.footer-bottom p {
  margin: 0;
}

.mobile-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  border-top: 1px solid rgba(197, 200, 206, 0.14);
  background: rgba(5, 5, 6, 0.96);
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.42);
}

.mobile-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.mobile-cta a:first-child {
  border-color: var(--red);
  background: var(--red);
}

@media (min-width: 42rem) {
  .quick-facts,
  .card-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 54rem) {
  body {
    padding-bottom: 0;
  }

  .hero {
    --hero-left-offset: max(1rem, calc((100vw - var(--max-width)) / 2));
  }

  .hero__content {
    width: min(36rem, calc(50vw - var(--hero-left-offset) - 1rem));
    max-width: none;
    margin-inline: var(--hero-left-offset) auto;
  }

  .split,
  .contact-panel {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  }

  .card-grid--three,
  .quick-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .site-footer {
    padding-bottom: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 0.8fr;
  }

  .mobile-cta {
    display: none;
  }
}

@media (min-width: 72rem) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
