.about-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--green);
}

.about-hero-image,
.about-hero-overlay {
  position: absolute;
  inset: 0;
}

.about-hero-image {
  background-size: cover;
  background-position: center;
}

.about-hero-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .68));
}

.about-hero-content {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 56px;
  color: #fff;
}

.about-kicker {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.about-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: .96;
  margin-bottom: 18px;
  max-width: 900px;
}

.about-hero-content > p:last-child {
  max-width: 680px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .88);
}

.about-page-shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
}

.about-article {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gray-dark);
}

.about-article h2,
.about-article h3,
.about-article h4 {
  font-family: "Playfair Display", serif;
  color: var(--green);
  line-height: 1.15;
  margin: 34px 0 14px;
}

.about-article h2:first-child,
.about-article h3:first-child,
.about-article h4:first-child {
  margin-top: 0;
}

.about-article h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.about-article h3 {
  font-size: 2rem;
}

.about-article p,
.about-article ul,
.about-article ol,
.about-article blockquote,
.about-article figure {
  margin-bottom: 20px;
}

.about-article ul,
.about-article ol {
  padding-left: 24px;
}

.about-article li {
  margin-bottom: 8px;
}

.about-article a {
  color: var(--green);
  font-weight: 700;
}

.about-article img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 28px 0;
}

.about-article figure {
  margin: 30px 0;
}

.about-article figcaption {
  font-size: .88rem;
  color: var(--gray-mid);
  margin-top: -14px;
}

.about-article blockquote {
  border-left: 4px solid var(--gold);
  padding: 18px 0 18px 24px;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--green);
}

.about-side {
  position: sticky;
  top: 96px;
}

.about-side-block {
  background: var(--cream);
  border: 1px solid rgba(0, 77, 51, .12);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 14px;
}

.about-side-block span {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.about-side-block strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--green);
  margin-bottom: 12px;
}

.about-side-block p {
  color: var(--gray-dark);
  line-height: 1.65;
}

.about-contact-btn {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.restoration-before-after {
  width: min(1200px, calc(100% - 48px));
  margin: -30px auto 100px;
}

.restoration-before-after-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.restoration-before-after-head h2 {
  margin: 0 0 14px;
  color: var(--green);
  font-family: "Playfair Display", serif;
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  line-height: 1.05;
}

.restoration-before-after-head p:last-child {
  margin: 0;
  color: var(--gray-dark);
  font-size: 1.02rem;
  line-height: 1.75;
}

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

.restoration-work-card {
  overflow: hidden;
  border: 1px solid rgba(0, 77, 51, .12);
  border-radius: 8px;
  background: var(--warm-white);
  box-shadow: 0 18px 46px rgba(43, 40, 32, .08);
}

.restoration-work-compare {
  --position: 50%;
  position: relative;
  height: clamp(260px, 24vw, 360px);
  background: var(--warm-white);
  overflow: hidden;
  isolation: isolate;
}

.restoration-compare-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.restoration-compare-after {
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
  z-index: 2;
}

.restoration-compare-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.restoration-compare-before img {
  filter: saturate(.88) contrast(.96);
}

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

.restoration-compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  z-index: 4;
  width: 0;
  transform: translateX(-1px);
  pointer-events: none;
}

.restoration-compare-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 0 0 1px rgba(0, 77, 51, .22), 0 0 20px rgba(0, 0, 0, .22);
}

.restoration-compare-handle span {
  position: absolute;
  top: 50%;
  left: 1px;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, .95);
  border-radius: 50%;
  background: rgba(0, 77, 51, .92);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .24);
  transform: translate(-50%, -50%);
}

.restoration-compare-handle span::before,
.restoration-compare-handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

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

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

.restoration-compare-image span {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  background: rgba(39, 35, 31, .82);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.restoration-compare-after span {
  left: auto;
  right: 18px;
  background: rgba(0, 77, 51, .9);
}

.restoration-work-copy {
  padding: 22px 24px 24px;
}

.restoration-work-copy h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  line-height: 1.14;
}

.restoration-work-copy p {
  margin: 0;
  color: var(--gray-dark);
  line-height: 1.65;
}

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

@media (max-width: 860px) {
  .about-page-shell {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 48px 0 72px;
  }

  .about-side {
    position: static;
  }

  .restoration-before-after {
    margin-top: -28px;
    margin-bottom: 72px;
  }

}

@media (max-width: 640px) {
  .about-hero {
    min-height: 360px;
  }

  .about-hero-content,
  .about-page-shell,
  .restoration-before-after {
    width: min(100% - 32px, 1200px);
  }

  .restoration-before-after {
    margin-top: -36px;
  }

  .restoration-work-compare {
    height: 330px;
  }
    
  .restoration-work-grid {
    grid-template-columns: 1fr;
  }
  
  .restoration-compare-image span {
    top: 14px;
    left: 14px;
  }

  .restoration-compare-after span {
    left: auto;
    right: 14px;
  }

  .restoration-compare-handle span {
    width: 40px;
    height: 40px;
  }

  .restoration-work-copy {
    padding: 18px;
  }
}
