:root {
  --gold-bright: #e2bf76;
  --gold-deep: #9b712d;
  --ink: #060708;
  --glass: rgba(16, 17, 19, .76);
}

body {
  background:
    radial-gradient(circle at 10% 5%, rgba(198, 161, 91, .07), transparent 24%),
    linear-gradient(180deg, #050607 0%, #0a0b0d 45%, #060708 100%);
  color: #f7f4ed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .12;
  background-image:
    repeating-linear-gradient(115deg, transparent 0 38px, rgba(255, 255, 255, .018) 39px 40px),
    repeating-linear-gradient(25deg, transparent 0 62px, rgba(198, 161, 91, .012) 63px 64px);
}

.nav {
  top: 12px;
  z-index: 20;
  border-color: rgba(255, 255, 255, .1);
  background: rgba(7, 8, 9, .76);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .42);
  backdrop-filter: blur(24px) saturate(130%);
}

.brand img {
  filter: drop-shadow(0 0 18px rgba(198, 161, 91, .24));
}

.nav nav a {
  position: relative;
  letter-spacing: .05em;
}

.nav nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--gold-bright);
  transition: right .25s ease;
}

.nav nav a:hover::after {
  right: 0;
}

.button {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 223, 154, .28);
  background: linear-gradient(115deg, #a87c31 0%, #e1bd72 48%, #b48639 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .28), 0 10px 28px rgba(164, 116, 35, .14);
}

.button::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -45%;
  width: 30%;
  height: 340%;
  transform: rotate(24deg);
  background: rgba(255, 255, 255, .28);
  transition: left .5s ease;
}

.button:hover::after {
  left: 125%;
}

.hero {
  isolation: isolate;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  min-height: min(900px, calc(100vh - 84px));
  border-bottom: 0;
  background:
    linear-gradient(90deg, #070809 0%, #08090ae8 44%, #08090a55 70%, transparent 100%),
    radial-gradient(circle at 65% 35%, rgba(198, 161, 91, .16), transparent 28%);
}

.hero::before {
  opacity: .13;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: 56%;
  background-image:
    linear-gradient(90deg, #08090a 0%, transparent 40%),
    linear-gradient(0deg, #08090acc 0%, transparent 34%),
    url("og.png");
  background-repeat: no-repeat;
  background-position: center, center, right center;
  background-size: cover, cover, auto 100%;
  filter: saturate(.82) contrast(1.08);
}

.hero-copy,
.hero-card,
.slogan {
  z-index: 1;
}

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

.hero h1 {
  font-family: "Bodoni 72", Didot, Georgia, serif;
  font-size: clamp(4.4rem, 8vw, 8.6rem);
  font-weight: 400;
  line-height: .88;
  text-wrap: balance;
  text-shadow: 0 20px 70px rgba(0, 0, 0, .72);
}

.hero h1 span {
  color: var(--gold-bright);
  -webkit-text-stroke: 0;
  background: linear-gradient(110deg, #9d722c, #efd18c 52%, #a97c31);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero .lead {
  color: #cbc6bc;
  max-width: 570px;
}

.hero-card {
  align-self: end;
  width: min(100%, 370px);
  min-height: 300px;
  margin-bottom: 5vw;
  padding: 30px;
  border-color: rgba(226, 191, 118, .28);
  background: linear-gradient(145deg, rgba(15, 16, 18, .92), rgba(7, 8, 9, .72));
  box-shadow: 0 35px 90px rgba(0, 0, 0, .7);
}

.hero-mark {
  top: 26px;
  left: auto;
  right: 28px;
  width: 92px;
  height: 92px;
  transform: none;
}

.hero-mark img {
  width: 70px;
  height: 70px;
}

.hero-card p {
  max-width: 230px;
}

.eyebrow {
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--gold-bright);
}

.trust {
  position: relative;
  z-index: 3;
  margin-top: -22px;
  border-color: rgba(226, 191, 118, .16);
  background: linear-gradient(120deg, rgba(20, 21, 23, .98), rgba(11, 12, 14, .98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, .34);
}

.trust div {
  position: relative;
  padding-top: 34px;
  padding-bottom: 34px;
}

.trust div::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 5vw;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section {
  position: relative;
}

.section h2,
.seo-hero h1 {
  font-family: "Bodoni 72", Didot, Georgia, serif;
  font-weight: 400;
  line-height: .98;
  text-wrap: balance;
}

.package-grid,
.maintenance-grid {
  gap: 22px;
}

.package-card,
.maintenance-grid article,
.specialty-cards article,
.addon-panel {
  overflow: hidden;
  border-color: rgba(255, 255, 255, .1);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .045), transparent 45%),
    linear-gradient(155deg, #151619, #0b0c0e);
  box-shadow: 0 24px 65px rgba(0, 0, 0, .2);
}

.package-card::before,
.maintenance-grid article::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  opacity: .55;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.package-card,
.maintenance-grid article {
  position: relative;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.package-card:hover,
.maintenance-grid article:hover {
  transform: translateY(-7px);
  border-color: rgba(226, 191, 118, .35);
  box-shadow: 0 35px 80px rgba(0, 0, 0, .4);
}

.package-card.featured,
.maintenance-grid article.featured {
  border-color: rgba(226, 191, 118, .42);
  background:
    radial-gradient(circle at 95% 0, rgba(198, 161, 91, .2), transparent 36%),
    linear-gradient(155deg, #191714, #0c0d0f);
}

.size-picker button {
  min-height: 84px;
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .025);
}

.size-picker button.active {
  border-color: rgba(226, 191, 118, .52);
  background: linear-gradient(135deg, rgba(198, 161, 91, .2), rgba(255, 255, 255, .025));
  box-shadow: inset 0 0 30px rgba(198, 161, 91, .06);
}

.guarantee,
.split,
.service-area,
.quote {
  border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .22);
}

.pre-quote-guarantee {
  background: linear-gradient(110deg, #9d722c, #e1bd72 52%, #a97c31);
  box-shadow: 0 25px 70px rgba(166, 116, 33, .2);
}

.faq-list details {
  border-color: rgba(255, 255, 255, .1);
}

.faq-list summary {
  transition: color .2s ease;
}

.faq-list details[open] summary {
  color: var(--gold-bright);
}

.seo-hero {
  isolation: isolate;
  min-height: 72vh;
  background: linear-gradient(90deg, #070809 0%, #08090ae8 48%, transparent 100%);
}

.seo-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: 58%;
  background:
    linear-gradient(90deg, #08090a 0%, transparent 42%),
    linear-gradient(0deg, #08090acc 0%, transparent 42%),
    url("og.png") right center / auto 100% no-repeat;
  filter: saturate(.75) contrast(1.08);
}

.motion-ready .reveal-target {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.motion-ready .reveal-target.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }

  .hero::after {
    width: 72%;
    opacity: .62;
  }

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

  .hero-card {
    justify-self: end;
    width: min(100%, 420px);
  }
}

@media (max-width: 760px) {
  .nav {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    padding-bottom: 10px;
  }

  .nav nav {
    display: flex;
    order: 3;
    width: 100%;
    gap: 20px;
    overflow-x: auto;
    padding: 9px 2px 2px;
    scrollbar-width: none;
  }

  .nav nav::-webkit-scrollbar {
    display: none;
  }

  .nav nav a {
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
  }

  .hero {
    padding-top: 112px;
  }

  .hero::after,
  .seo-hero::after {
    width: 100%;
    opacity: .38;
    background-position: center, center, 78% center;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 17vw, 5.8rem);
  }

  .hero-card {
    justify-self: stretch;
    margin-bottom: 0;
  }

  .trust {
    margin-top: 18px;
  }

  .section {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .package-card:hover,
  .maintenance-grid article:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
