.db-home {
  --db-home-black: #0b0b0c;
  --db-home-panel: #151515;
  --db-home-ivory: #f5efe3;
  --db-home-muted: #b7b0a5;
  --db-home-gold: #c89a4b;
  --db-home-red: #7b2028;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  color: var(--db-home-ivory);
  background: var(--db-home-black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

/* Blocksy removes the header from the document flow when transparency is active. */
#header:has(> [data-transparent]) + #main .db-home {
  padding-top: 182px;
}

.db-home *,
.db-home *::before,
.db-home *::after {
  box-sizing: border-box;
}

.db-home img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.db-home a {
  color: inherit;
}

.db-home a:focus-visible {
  outline: 3px solid var(--db-home-gold);
  outline-offset: 4px;
}

.db-home-wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.db-home-hero {
  display: grid;
  min-height: min(760px, calc(100vh - 80px));
  align-items: center;
  padding: clamp(54px, 8vw, 104px) 0;
  border-bottom: 1px solid rgb(245 239 227 / 12%);
}

.db-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}

.db-home-eyebrow {
  margin: 0 0 14px;
  color: var(--db-home-gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.db-home h1,
.db-home h2,
.db-home h3 {
  color: var(--db-home-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.db-home h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3rem, 4.8vw, 4.75rem);
  line-height: 0.96;
}

.db-home-lead {
  max-width: 640px;
  margin: 25px 0 0;
  color: var(--db-home-muted);
  font-size: 1.08rem;
}

.db-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.db-home-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid rgb(245 239 227 / 30%);
  color: var(--db-home-ivory);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.db-home-button:hover {
  border-color: var(--db-home-gold);
  transform: translateY(-2px);
}

.db-home a.db-home-button--primary {
  border-color: var(--db-home-gold);
  color: var(--db-home-black);
  background: var(--db-home-gold);
}

.db-home-hero-media {
  position: relative;
  height: clamp(500px, 45vw, 620px);
  margin: 0;
  overflow: hidden;
  box-shadow: 0 34px 90px rgb(0 0 0 / 45%);
}

.db-home-hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgb(0 0 0 / 58%));
  content: "";
  pointer-events: none;
}

.db-home-hero-media figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  padding: 7px 11px;
  border: 1px solid rgb(245 239 227 / 35%);
  color: #fff;
  background: rgb(11 11 12 / 88%);
  font-size: 0.78rem;
  font-weight: 750;
}

.db-home-proofs {
  border-bottom: 1px solid rgb(245 239 227 / 12%);
  background: #101011;
}

.db-home-proof-grid,
.db-home-reassurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.db-home-proof,
.db-home-reassurance article {
  min-width: 0;
  padding: 26px 30px;
  border-left: 1px solid rgb(245 239 227 / 12%);
}

.db-home-proof:last-child,
.db-home-reassurance article:last-child {
  border-right: 1px solid rgb(245 239 227 / 12%);
}

.db-home-proof strong,
.db-home-reassurance strong {
  display: block;
  margin-bottom: 5px;
  color: var(--db-home-ivory);
}

.db-home-proof span,
.db-home-reassurance span {
  color: var(--db-home-muted);
  font-size: 0.88rem;
}

.db-home-paths,
.db-home-products,
.db-home-gallery,
.db-home-steps {
  padding: clamp(78px, 10vw, 126px) 0;
}

.db-home-products,
.db-home-steps {
  background: #101011;
}

.db-home-section-head {
  max-width: 850px;
  margin-bottom: 42px;
}

.db-home-section-head h2,
.db-home-closing h2 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1.02;
}

.db-home-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.db-home-path {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgb(245 239 227 / 16%);
  background: var(--db-home-panel);
}

.db-home-path::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 18%, rgb(8 8 9 / 96%) 88%);
  content: "";
}

.db-home-path > img {
  position: absolute;
  inset: 0;
}

.db-home-path > div {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(26px, 4vw, 42px);
}

.db-home-path > div > span {
  color: var(--db-home-gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.db-home-path h3 {
  margin: 7px 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.db-home-path p {
  max-width: 520px;
  margin: 0 0 12px;
  color: #cbc4b9;
}

.db-home-path a,
.db-home-text-link,
.db-home-product-buy a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 800;
  text-underline-offset: 5px;
}

.db-home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.db-home-product {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid rgb(245 239 227 / 14%);
  background: var(--db-home-panel);
}

.db-home-product-media {
  display: block;
  aspect-ratio: 1 / 0.76;
  overflow: hidden;
  background: #080808;
}

.db-home-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.db-home-product h3 {
  display: -webkit-box;
  min-height: 2.8em;
  margin: 0;
  overflow: hidden;
  font-size: 1.08rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.db-home-product h3 a {
  text-decoration: none;
}

.db-home-product-facts {
  margin: 12px 0 18px;
  color: var(--db-home-muted);
  font-size: 0.84rem;
}

.db-home-product-buy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}

.db-home-product-price {
  color: var(--db-home-ivory);
  font-weight: 800;
}

.db-home-product-buy a {
  display: inline-flex;
  align-items: center;
}

.db-home-centered {
  margin: 34px 0 0;
  text-align: center;
}

.db-home-text-link {
  display: inline-flex;
  align-items: center;
  color: var(--db-home-gold);
}

.db-home-gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: repeat(2, 290px);
  gap: 14px;
}

.db-home-installation {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--db-home-panel);
}

.db-home-installation:first-child {
  grid-row: 1 / 3;
}

.db-home-installation:nth-child(4) {
  grid-column: 2 / 4;
}

.db-home-installation figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 9px 12px;
  color: #fff;
  background: rgb(11 11 12 / 86%);
  font-size: 0.8rem;
  font-weight: 750;
}

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

.db-home-step-grid article {
  padding: 32px;
  border-top: 2px solid var(--db-home-gold);
  background: var(--db-home-panel);
}

.db-home-step-grid article > span {
  color: var(--db-home-gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.db-home-step-grid h3 {
  margin: 26px 0 8px;
  font-size: 1.45rem;
}

.db-home-step-grid p {
  margin: 0;
  color: var(--db-home-muted);
}

.db-home-reassurance {
  border-block: 1px solid rgb(245 239 227 / 12%);
}

.db-home-closing {
  padding: clamp(74px, 10vw, 120px) 0;
  background: linear-gradient(135deg, rgb(200 154 75 / 16%), rgb(123 32 40 / 13%));
}

.db-home-closing > .db-home-wrap {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 44px;
}

.db-home-closing .db-home-actions {
  flex: 0 0 auto;
}

@media (max-width: 999.98px) {
  #header:has(> [data-transparent]) + #main .db-home {
    padding-top: 120px;
  }
}

@media (max-width: 980px) {
  .db-home-hero-grid,
  .db-home-path-grid {
    grid-template-columns: 1fr;
  }

  .db-home-hero {
    min-height: auto;
  }

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

  .db-home-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 340px);
  }

  .db-home-installation:first-child,
  .db-home-installation:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 689px) {
  .db-home-wrap {
    width: min(100% - 28px, 1180px);
  }

  .db-home-hero {
    padding: 48px 0 64px;
  }

  .db-home h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .db-home-lead {
    margin-top: 18px;
    font-size: 1rem;
  }

  .db-home-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .db-home-hero-media {
    height: 330px;
  }

  .db-home-proof-grid,
  .db-home-reassurance-grid,
  .db-home-product-grid,
  .db-home-step-grid,
  .db-home-gallery-grid {
    grid-template-columns: 1fr;
  }

  .db-home-proof,
  .db-home-reassurance article {
    border-right: 1px solid rgb(245 239 227 / 12%);
    border-bottom: 1px solid rgb(245 239 227 / 12%);
  }

  .db-home-gallery-grid {
    grid-template-rows: none;
  }

  .db-home-installation {
    min-height: 330px;
  }

  .db-home-closing > .db-home-wrap {
    display: block;
  }
}

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

.home #footer .ct-footer-copyright p {
  color: #595959;
}

.home #footer .wp-block-group a,
.home #footer .wp-block-list a {
  align-items: center;
  display: inline-flex;
  min-height: 24px;
}
