:root {
  --blue: #c99638;
  --blue-dark: #8d651f;
  --blue-deep: #11100c;
  --aqua: #f1d37a;
  --sun: #f8d56b;
  --leaf: #4f7a44;
  --ink: #16120b;
  --muted: #6f685c;
  --line: #e5dccb;
  --wash: #f8f4ea;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(17, 16, 12, 0.16);
  --shadow-soft: 0 12px 30px rgba(17, 16, 12, 0.1);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

main,
.section,
.split-section,
.trust-band,
.metrics-band,
.cta-section {
  overflow-x: clip;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--sun), var(--blue), var(--aqua));
  transform: scaleX(0);
  transform-origin: left center;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue-deep);
  border-radius: var(--radius);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 232, 239, 0.8);
  backdrop-filter: blur(14px);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.98);
}

.nav-wrap {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img,
.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: var(--radius);
}

.brand strong,
.footer-brand strong {
  display: block;
  color: var(--blue-deep);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.15rem;
  line-height: 1;
}

.brand small,
.footer-brand small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 20px;
}

.primary-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--blue);
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
  color: var(--white);
  background: var(--blue-deep);
  border: 1px solid var(--blue-deep);
  border-radius: var(--radius);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(17, 16, 12, 0.18);
}

.nav-phone svg,
.button svg,
.trust-item svg,
.check-list svg,
.mobile-action-bar svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.3;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--blue-deep);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--blue-deep);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
  transform: scale(1.08) translateY(var(--hero-shift, 0));
  animation: heroImageSettle 900ms cubic-bezier(0.19, 1, 0.22, 1) 80ms both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(17, 16, 12, 0.92) 0%, rgba(17, 16, 12, 0.74) 44%, rgba(17, 16, 12, 0.34) 100%),
    linear-gradient(0deg, rgba(17, 16, 12, 0.72), rgba(17, 16, 12, 0.05) 36%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.58fr);
  gap: 58px;
  align-items: center;
  padding: 62px 0 50px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.79rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta-section .eyebrow {
  color: var(--sun);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 640px;
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 3.35rem;
  font-weight: 700;
  line-height: 1.12;
}

.split-word {
  display: inline-block;
  opacity: 1;
  transform: translateY(0);
}

.title-ready .split-word {
  animation: wordRise 520ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
  animation-delay: var(--word-delay);
}

h2 {
  color: var(--blue-deep);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
}

h3 {
  color: var(--blue-deep);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.24rem;
  font-weight: 700;
}

.hero-text {
  max-width: 590px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.06rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  position: relative;
  overflow: hidden;
}

.button-primary::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -35%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: rotate(18deg) translateX(-180%);
  transition: transform 680ms cubic-bezier(0.19, 1, 0.22, 1);
}

.button-primary:hover::after,
.button-primary:focus-visible::after {
  transform: rotate(18deg) translateX(520%);
}

.button-primary,
.button-submit {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(201, 150, 56, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible,
.button-submit:hover,
.button-submit:focus-visible {
  background: var(--blue-dark);
}

.button-light {
  color: var(--blue-deep);
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
  margin: 28px 0 0;
}

.hero-proof div {
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  transform: translateY(0);
  transition: transform 220ms ease, background 220ms ease;
}

.hero-proof div:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}

.hero-proof dt {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
}

.hero-proof dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.83rem;
  font-weight: 600;
}

.quote-card {
  position: relative;
  max-width: 450px;
  justify-self: end;
  padding: 22px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(241, 211, 122, 0.2), transparent 34%, rgba(248, 213, 107, 0.2));
  opacity: 0;
  transition: opacity 650ms ease;
}

.quote-card.is-visible::before {
  opacity: 1;
}

.quote-card-heading h2 {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.16;
}

.quote-card-heading p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 16px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--blue-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

.quote-card .quote-form label,
.quote-card .button-submit,
.quote-card .form-note {
  opacity: 0;
  transform: translateY(14px);
}

.quote-card.is-visible .quote-form label,
.quote-card.is-visible .button-submit,
.quote-card.is-visible .form-note {
  animation: fieldRise 520ms ease forwards;
}

.quote-card.is-visible .quote-form label:nth-of-type(1) {
  animation-delay: 140ms;
}

.quote-card.is-visible .quote-form label:nth-of-type(2) {
  animation-delay: 210ms;
}

.quote-card.is-visible .quote-form label:nth-of-type(3) {
  animation-delay: 280ms;
}

.quote-card.is-visible .quote-form label:nth-of-type(4) {
  animation-delay: 350ms;
}

.quote-card.is-visible .quote-form label:nth-of-type(5) {
  animation-delay: 420ms;
}

.quote-card.is-visible .quote-form label:nth-of-type(6) {
  animation-delay: 490ms;
}

.quote-card.is-visible .button-submit {
  animation-delay: 560ms;
}

.quote-card.is-visible .form-note {
  animation-delay: 630ms;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: var(--ink);
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(201, 150, 56, 0.13);
}

.quote-form .full,
.form-note,
.hidden-field {
  grid-column: 1 / -1;
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.button-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.form-note a {
  color: var(--blue-dark);
  font-weight: 900;
}

.form-note.success {
  padding: 12px;
  color: #0e5132;
  background: #e9f9ef;
  border: 1px solid #b9e6c5;
  border-radius: var(--radius);
}

.form-note.error {
  padding: 12px;
  color: #6e160f;
  background: #fff0ed;
  border: 1px solid #f0b2a8;
  border-radius: var(--radius);
}

.trust-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.trust-item {
  position: relative;
  overflow: hidden;
  min-height: 136px;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  align-content: center;
  padding: 24px;
  background: var(--white);
}

.trust-item::after {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sun));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 620ms cubic-bezier(0.19, 1, 0.22, 1);
}

.trust-item.is-visible::after {
  transform: scaleX(1);
}

.trust-item svg {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--blue);
  background: var(--wash);
  border-radius: var(--radius);
}

.trust-item strong {
  display: block;
  color: var(--blue-deep);
  font-size: 1rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.service-card,
.review-card,
.work-item,
.compare-card,
.thank-you-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.service-card {
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

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

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.08) translateX(-18px);
  transition: transform 860ms cubic-bezier(0.19, 1, 0.22, 1);
}

.service-card.is-visible img {
  transform: scale(1) translateX(0);
}

.service-body {
  position: relative;
  padding: 28px 20px 22px;
}

.service-icon {
  position: absolute;
  top: -25px;
  left: 18px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--blue-deep);
  background: var(--sun);
  border: 4px solid var(--white);
  border-radius: var(--radius);
  transform: scale(0.78) rotate(-12deg);
  transition: transform 560ms cubic-bezier(0.19, 1, 0.22, 1);
}

.service-card.is-visible .service-icon {
  transform: scale(1) rotate(0deg);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-body p {
  min-height: 112px;
  margin: 12px 0 18px;
  color: var(--muted);
}

.service-body a,
.work-item figcaption span {
  color: var(--blue-dark);
  font-weight: 900;
}

.metrics-band {
  position: relative;
  overflow: hidden;
  padding: 34px 0;
  background:
    linear-gradient(90deg, rgba(17, 16, 12, 0.94), rgba(141, 101, 31, 0.86)),
    url("assets/entry-after.jpg") center / cover;
}

.metrics-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 213, 107, 0.18), transparent 38%),
    linear-gradient(270deg, rgba(241, 211, 122, 0.18), transparent 42%);
}

.metrics-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  position: relative;
  overflow: hidden;
  min-height: 142px;
  display: grid;
  align-content: center;
  padding: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.metric-card::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  height: 3px;
  background: linear-gradient(90deg, var(--sun), var(--aqua));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 680ms cubic-bezier(0.19, 1, 0.22, 1) 260ms;
}

.metric-card.is-visible::after {
  transform: scaleX(1);
}

.metric-card strong {
  display: block;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 3rem;
  line-height: 1;
}

.metric-card p {
  margin: 10px 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.split-section {
  padding: 92px 0;
  color: var(--white);
  background: var(--blue-deep);
}

.split-grid,
.about-grid,
.area-grid,
.faq-grid,
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 54px;
  align-items: center;
}

.compare-copy h2,
.cta-section h2 {
  color: var(--white);
}

.compare-copy p:not(.eyebrow),
.cta-section p {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.check-list svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--sun);
}

.compare-card {
  padding: 12px;
  transform-origin: center right;
}

.compare-frame {
  --split: 50%;
  position: relative;
  aspect-ratio: 1200 / 500;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blue-deep);
}

.compare-layer {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.compare-before {
  background-image: url("assets/hero-driveway-before.jpg");
}

.compare-after-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 0 0 var(--split));
}

.compare-after {
  width: 100%;
  min-width: 0;
  background-image: url("assets/hero-driveway-after.jpg");
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 4px;
  transform: translateX(-2px);
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6), 0 0 22px rgba(201, 150, 56, 0.8);
}

.compare-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  background: var(--blue);
  border: 3px solid var(--white);
  border-radius: 50%;
  animation: handlePulse 1800ms ease-in-out infinite;
}

.compare-handle span::before,
.compare-handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--white);
  border-left: 2px solid var(--white);
}

.compare-handle span::before {
  left: 11px;
  transform: translateY(-50%) rotate(-45deg);
}

.compare-handle span::after {
  right: 11px;
  transform: translateY(-50%) rotate(135deg);
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.compare-label {
  position: absolute;
  top: 14px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(17, 16, 12, 0.82);
  border-radius: var(--radius);
  font-weight: 900;
}

.compare-label-before {
  left: 14px;
}

.compare-label-after {
  right: 14px;
}

.about-section,
.work-section {
  background: #f7fbfd;
}

.about-image img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-reveal {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.image-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  transform: translateX(0);
  transition: transform 900ms cubic-bezier(0.19, 1, 0.22, 1);
}

.image-reveal img {
  transform: scale(1.08);
  transition: transform 1000ms cubic-bezier(0.19, 1, 0.22, 1);
}

.image-reveal.is-visible::after {
  transform: translateX(105%);
}

.image-reveal.is-visible img {
  transform: scale(1);
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.stat-grid div {
  position: relative;
  overflow: hidden;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat-grid div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 150, 56, 0.14), transparent 62%);
  opacity: 0;
  transition: opacity 550ms ease;
}

.stat-grid.is-visible div::before {
  opacity: 1;
}

.stat-grid strong {
  display: block;
  color: var(--blue);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.stat-grid span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-weight: 800;
}

.area-section {
  background: var(--white);
}

.area-copy p:not(.eyebrow) {
  color: var(--muted);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.area-tags span {
  opacity: 0;
  padding: 8px 11px;
  color: var(--blue-deep);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
  transform: translateY(14px) scale(0.96);
}

.area-tags.is-visible span {
  animation: tagPop 420ms ease forwards;
}

.area-tags.is-visible span:nth-child(1) {
  animation-delay: 40ms;
}

.area-tags.is-visible span:nth-child(2) {
  animation-delay: 80ms;
}

.area-tags.is-visible span:nth-child(3) {
  animation-delay: 120ms;
}

.area-tags.is-visible span:nth-child(4) {
  animation-delay: 160ms;
}

.area-tags.is-visible span:nth-child(5) {
  animation-delay: 200ms;
}

.area-tags.is-visible span:nth-child(6) {
  animation-delay: 240ms;
}

.area-tags.is-visible span:nth-child(7) {
  animation-delay: 280ms;
}

.area-tags.is-visible span:nth-child(8) {
  animation-delay: 320ms;
}

.area-tags.is-visible span:nth-child(9) {
  animation-delay: 360ms;
}

.area-tags.is-visible span:nth-child(10) {
  animation-delay: 400ms;
}

.area-map {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.area-map img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.area-map figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.reviews-section {
  background: var(--blue-deep);
}

.reviews-section h2,
.reviews-section .section-heading p:not(.eyebrow) {
  color: var(--white);
}

.reviews-section .section-heading p:not(.eyebrow) {
  opacity: 0.78;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.review-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

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

.stars {
  color: var(--sun);
  font-size: 1.15rem;
  font-weight: 900;
  transform-origin: left center;
}

.review-card.is-visible .stars {
  animation: starPop 700ms ease both;
}

.review-card p {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.review-card footer {
  display: grid;
  gap: 3px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.review-card strong {
  color: var(--blue-deep);
}

.review-card span {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.work-showcase {
  margin-top: 42px;
}

.work-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.work-progress {
  height: 7px;
  overflow: hidden;
  background: #dcebf2;
  border-radius: 999px;
}

.work-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--aqua), var(--sun));
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 160ms ease;
}

.work-controls {
  display: inline-flex;
  gap: 8px;
}

.work-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--blue-deep);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.work-controls button:hover,
.work-controls button:focus-visible {
  color: var(--white);
  background: var(--blue);
  transform: translateY(-2px);
}

.work-controls svg {
  width: 21px;
  height: 21px;
}

.work-scroll-shell {
  position: relative;
  overflow: hidden;
}

.work-scroll-shell::before,
.work-scroll-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: max(24px, calc((100vw - var(--container)) / 2));
  pointer-events: none;
}

.work-scroll-shell::before {
  left: 0;
  background: linear-gradient(90deg, #f7fbfd, rgba(247, 251, 253, 0));
}

.work-scroll-shell::after {
  right: 0;
  background: linear-gradient(270deg, #f7fbfd, rgba(247, 251, 253, 0));
}

.work-track {
  --side-pad: max(20px, calc((100vw - var(--container)) / 2));
  display: grid;
  grid-auto-columns: clamp(520px, 44vw, 620px);
  grid-auto-flow: column;
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 8px var(--side-pad) 22px;
  scroll-behavior: smooth;
  scroll-padding-inline: var(--side-pad);
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.work-track::-webkit-scrollbar {
  display: none;
}

.work-track:focus-visible {
  outline: 3px solid rgba(201, 150, 56, 0.28);
  outline-offset: -3px;
}

.work-item {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: center;
  transform-origin: center;
  transition: transform 260ms ease, box-shadow 260ms ease, opacity 260ms ease;
}

.work-item.is-current {
  box-shadow: var(--shadow);
}

.work-item.is-current::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 2px solid rgba(201, 150, 56, 0.38);
  border-radius: inherit;
}

.work-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.work-image-frame {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(201, 150, 56, 0.1), transparent 48%),
    #edf6fa;
  border-bottom: 1px solid var(--line);
}

.work-image-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: calc(var(--radius) - 2px);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 420ms ease, transform 420ms ease;
}

.work-item.is-current .work-image-frame::after {
  opacity: 1;
  transform: scale(1);
}

.work-item img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: contain;
  border-radius: calc(var(--radius) - 2px);
  box-shadow: 0 14px 30px rgba(17, 16, 12, 0.12);
  transition: transform 480ms cubic-bezier(0.19, 1, 0.22, 1);
}

.work-item:hover img {
  transform: scale(1.018);
}

.work-item figcaption {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--blue-deep);
  background: var(--white);
  border-radius: 0;
  transform: translateY(12px);
  transition: transform 380ms ease;
}

.work-item.is-visible figcaption {
  transform: translateY(0);
}

.work-item figcaption strong,
.work-item figcaption span {
  display: block;
}

.work-item figcaption strong {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.12rem;
}

.work-item figcaption span {
  color: var(--muted);
  font-size: 0.94rem;
  text-align: right;
}

.process-section {
  background: var(--white);
}

.process-copy p:not(.eyebrow) {
  color: var(--muted);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-list li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--sun));
  transition: width 720ms cubic-bezier(0.19, 1, 0.22, 1);
}

.process-list li.is-visible::after {
  width: 100%;
}

.process-list span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--blue-deep);
  background: var(--sun);
  border-radius: var(--radius);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 900;
}

.process-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.faq-section {
  background: #f7fbfd;
}

.faq-grid {
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 110px;
}

.faq-intro p:not(.eyebrow) {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

details:hover {
  transform: translateX(-4px);
  box-shadow: var(--shadow);
}

summary {
  position: relative;
  padding: 18px 48px 18px 18px;
  color: var(--blue-deep);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius);
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.cta-section {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  background:
    linear-gradient(90deg, rgba(17, 16, 12, 0.95), rgba(141, 101, 31, 0.86)),
    url("assets/curb-sidewalk-after.jpg") center / cover;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 38%, rgba(255, 255, 255, 0.12) 45%, transparent 52% 100%);
  transform: translateX(-100%);
}

.cta-section:has(.cta-wrap.is-visible)::before {
  animation: ctaSweep 1100ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-wrap h2 {
  max-width: 720px;
}

.cta-wrap p:not(.eyebrow) {
  max-width: 700px;
  margin: 14px 0 0;
}

.site-footer {
  padding: 58px 0 28px;
  color: rgba(255, 255, 255, 0.74);
  background: #031a2d;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(140px, 0.6fr));
  gap: 30px;
}

.site-footer .footer-brand strong,
.site-footer h2 {
  color: var(--white);
}

.site-footer .footer-brand small {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.site-footer p {
  max-width: 460px;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 8px 0;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--sun);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
}

.mobile-action-bar {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 760ms cubic-bezier(0.19, 1, 0.22, 1),
    transform 760ms cubic-bezier(0.19, 1, 0.22, 1),
    filter 760ms cubic-bezier(0.19, 1, 0.22, 1);
  will-change: opacity, transform;
}

.reveal-left {
  transform: translate3d(-54px, 18px, 0);
}

.reveal-right {
  transform: translate3d(54px, 18px, 0);
}

.reveal-up {
  transform: translate3d(0, 42px, 0);
}

.reveal-card {
  transform: translate3d(0, 46px, 0) scale(0.96);
  filter: blur(8px);
}

.reveal-zoom,
.reveal-pop {
  transform: translate3d(0, 28px, 0) scale(0.92);
  filter: blur(8px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@keyframes heroImageSettle {
  from {
    opacity: 0.4;
    transform: scale(1.14) translateY(-14px);
  }

  to {
    opacity: 1;
    transform: scale(1.08) translateY(var(--hero-shift, 0));
  }
}

@keyframes wordRise {
  0% {
    opacity: 0;
    transform: translateY(36px) rotateX(18deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes fieldRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes handlePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(201, 150, 56, 0.34);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(201, 150, 56, 0);
  }
}

@keyframes tagPop {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes starPop {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }

  65% {
    transform: scale(1.08);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ctaSweep {
  to {
    transform: translateX(100%);
  }
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(17, 16, 12, 0.92), rgba(141, 101, 31, 0.82)),
    url("assets/hero-driveway-after.jpg") center / cover;
}

.thank-you-wrap {
  width: min(100% - 40px, 720px);
}

.thank-you-card {
  padding: 42px;
  text-align: center;
}

.thank-you-card img {
  margin-inline: auto;
  border-radius: var(--radius);
}

.thank-you-card h1 {
  margin-top: 12px;
  color: var(--blue-deep);
  font-size: 2.8rem;
}

.thank-you-card p:not(.eyebrow) {
  color: var(--muted);
}

.thank-you-card .hero-actions {
  justify-content: center;
}

@media (max-width: 1080px) {
  .nav-wrap {
    grid-template-columns: auto auto auto;
  }

  .primary-nav {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: grid;
    gap: 8px;
  }

  .primary-nav a {
    padding: 10px;
  }

  .menu-toggle {
    justify-self: end;
    display: inline-flex;
  }

  .nav-phone {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .about-grid,
  .area-grid,
  .faq-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 64px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.35rem;
  }

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

  .work-track {
    grid-auto-columns: min(78vw, 620px);
  }

  .work-image-frame {
    min-height: 370px;
  }

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

  .review-grid,
  .process-list,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 68px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 54px 0 44px;
    gap: 30px;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(17, 16, 12, 0.94), rgba(17, 16, 12, 0.72));
  }

  h1 {
    font-size: 2.32rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .hero-proof,
  .quote-form,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    display: none;
  }

  .quote-card {
    padding: 20px;
  }

  .section,
  .split-section {
    padding: 66px 0;
  }

  .service-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .work-toolbar {
    grid-template-columns: 1fr;
  }

  .work-controls {
    justify-self: end;
  }

  .work-track {
    --side-pad: 14px;
    grid-auto-columns: calc(100vw - 44px);
    gap: 16px;
    padding-bottom: 18px;
  }

  .work-scroll-shell::before,
  .work-scroll-shell::after {
    width: 18px;
  }

  .work-image-frame {
    min-height: 270px;
    padding: 10px;
  }

  .work-item img {
    max-height: 320px;
  }

  .work-item figcaption {
    display: grid;
    gap: 4px;
    padding: 15px;
  }

  .work-item figcaption span {
    text-align: left;
  }

  .service-body p {
    min-height: 0;
  }

  .compare-frame {
    aspect-ratio: 1 / 0.72;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .cta-wrap,
  .footer-bottom {
    display: grid;
  }

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

  .mobile-action-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .mobile-action-bar a {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--blue-deep);
    font-weight: 900;
  }

  .mobile-action-bar a:first-child {
    color: var(--white);
    background: var(--blue);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .split-word,
  .area-tags span,
  .quote-card .quote-form label,
  .quote-card .button-submit,
  .quote-card .form-note {
    opacity: 1;
    transform: none;
  }

  .hero-media,
  .service-card img,
  .image-reveal img {
    transform: none;
  }

  .image-reveal::after {
    display: none;
  }
}
