.live-home {
  width: 100%;
  max-width: none;
  margin: 0;
  height: calc(100svh - 44px) !important;
  min-height: 660px !important;
  display: grid !important;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  place-items: stretch;
  overflow: hidden;
  background: #080a08;
  color: #fff;
}

.live-panel {
  width: 100%;
  height: 100%;
  position: relative;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-bottom: 2px solid rgba(255, 255, 255, .94);
}

.live-panel:last-child { border-bottom: 0; }
.live-panel--homes { background-image: url("./projects/garber-hero-homes-clean-v1.webp"); }
.live-panel--kitchens { background-image: url("./projects/garber-hero-kitchens-clean-v1.webp"); }
.live-panel--craft { background-image: url("./projects/garber-hero-craft-clean-v1.webp"); }

.live-panel__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 7, 5, .89) 0%, rgba(4, 7, 5, .67) 15%, rgba(4, 7, 5, .12) 34%, rgba(4, 7, 5, .02) 68%, rgba(4, 7, 5, .24) 100%),
    linear-gradient(0deg, rgba(3, 5, 4, .24), transparent 55%);
  pointer-events: none;
}

.live-panel--kitchens .live-panel__shade {
  background: linear-gradient(90deg, rgba(88, 75, 62, .88) 0%, rgba(88, 75, 62, .78) 18%, rgba(88, 75, 62, .24) 31%, rgba(10, 10, 8, .03) 67%, rgba(10, 10, 8, .20) 100%);
}

.live-panel--craft .live-panel__shade {
  background:
    linear-gradient(90deg, rgba(3, 6, 4, .92) 0%, rgba(3, 6, 4, .70) 17%, rgba(3, 6, 4, .10) 35%, rgba(3, 6, 4, .03) 70%, rgba(3, 6, 4, .21) 100%),
    linear-gradient(0deg, rgba(3, 5, 4, .26), transparent 55%);
}

.live-header {
  position: absolute;
  z-index: 3;
  top: 0;
  left: clamp(28px, 4vw, 62px);
  right: clamp(28px, 3.2vw, 50px);
  height: clamp(62px, 8vh, 78px);
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  column-gap: 22px;
}

.live-brand-lockup {
  justify-self: start;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(7px, .8vh, 10px);
  padding-top: clamp(12px, 1.7vh, 17px);
}

.live-brand {
  font-family: var(--display);
  font-size: clamp(36px, 3.1vw, 48px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: .01em;
}

.live-tagline {
  margin: 0;
  color: #fff;
  font-size: clamp(6px, .64vw, 10px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .26em;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-tagline span { padding: 0 .32em; }

.live-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.1vw, 34px);
}

.live-nav a,
.live-nav button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 7px;
  border: 1px solid transparent;
  background: transparent;
  color: #fff;
  font: 500 clamp(7px, .66vw, 10px)/1 var(--body);
  letter-spacing: .30em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  opacity: 1;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.live-nav a:hover,
.live-nav a:focus-visible,
.live-nav button:hover,
.live-nav button:focus-visible {
  border-color: #fff;
  outline: 0;
}

.live-cta {
  width: max-content;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .95);
  background: rgba(8, 10, 8, .13);
  color: #fff;
  font: 500 clamp(7px, .62vw, 10px)/1 var(--body);
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  opacity: 1;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.live-cta:hover,
.live-cta:focus-visible {
  border-color: #fff;
  background: #fff;
  color: #111511;
  outline: 0;
}

.live-cta--start {
  justify-self: end;
  min-width: clamp(135px, 10.5vw, 164px);
  padding-inline: 16px;
}

.live-copy {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 4vw, 62px);
  top: auto;
  bottom: clamp(14px, 1.8vh, 20px);
  width: min(350px, 30vw);
  transform: none;
}

.live-copy > p {
  margin: 0 0 clamp(7px, .9vh, 10px);
  color: #fff;
  font-size: clamp(7px, .70vw, 11px);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: .25em;
  text-transform: uppercase;
  opacity: 1;
}

.live-panel--homes .live-copy > p,
.live-panel--craft .live-copy > p {
  white-space: nowrap;
}

.live-copy h1,
.live-copy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(34px, 3.45vw, 55px);
  font-style: normal;
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.025em;
}

.live-rule {
  width: 34px;
  height: 1px;
  display: block;
  margin: clamp(8px, 1vh, 11px) 0;
  background: #fff;
}

.live-caption {
  position: absolute;
  z-index: 2;
  right: clamp(28px, 3.2vw, 50px);
  bottom: clamp(13px, 1.8vh, 20px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  margin: 0;
  color: #fff;
  font-size: clamp(7px, .62vw, 10px);
  line-height: 1;
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: 1;
}

.live-caption strong { font-weight: 500; }

@media (max-width: 900px) {
  .live-home {
    height: calc(100svh - 44px) !important;
    min-height: 660px !important;
  }

  .live-header {
    left: 22px;
    right: 22px;
    height: 62px;
    grid-template-columns: 1fr auto;
  }

  .live-brand-lockup { gap: 7px; padding-top: 11px; }
  .live-brand { font-size: clamp(29px, 5.5vw, 38px); letter-spacing: 0; }
  .live-tagline { font-size: 8px; }
  .live-nav { display: none; }
  .live-cta--start { min-width: 132px; min-height: 44px; font-size: 9px; }
  .live-copy { left: 22px; bottom: 14px; width: min(360px, 56vw); }
  .live-copy h1,
  .live-copy h2 { font-size: clamp(36px, 6.5vw, 56px); }
  .live-caption { right: 22px; }
}

@media (max-width: 620px) {
  .live-home {
    height: calc(100svh - 50px) !important;
    min-height: 650px !important;
  }

  .live-panel--homes { background-position: 54% center; }
  .live-panel--kitchens { background-position: 58% center; }
  .live-panel--craft { background-position: 52% center; }

  .live-panel__shade,
  .live-panel--craft .live-panel__shade {
    background: linear-gradient(90deg, rgba(3, 6, 4, .88) 0%, rgba(3, 6, 4, .59) 42%, rgba(3, 6, 4, .06) 79%);
  }

  .live-panel--kitchens .live-panel__shade {
    background: linear-gradient(90deg, rgba(84, 72, 60, .88) 0%, rgba(84, 72, 60, .63) 45%, rgba(20, 16, 12, .07) 82%);
  }

  .live-header { left: 14px; right: 14px; height: 56px; }
  .live-brand-lockup { gap: 5px; padding-top: 9px; }
  .live-brand { font-size: 28px; letter-spacing: 0; }
  .live-tagline { font-size: 8px; line-height: 1.25; letter-spacing: .12em; }
  .live-cta--start { min-width: 118px; min-height: 44px; padding: 0 11px; font-size: 9px; letter-spacing: .12em; }

  .live-copy,
  .live-panel--homes .live-copy {
    left: 14px;
    top: auto;
    bottom: 10px;
    width: 60vw;
    transform: none;
  }

  .live-copy > p {
    margin-bottom: 4px;
    font-size: 9px;
    line-height: 1.35;
    letter-spacing: .20em;
  }

  .live-copy h1,
  .live-copy h2 {
    font-size: clamp(26px, 7.8vw, 37px);
    line-height: .92;
  }

  .live-rule { width: 23px; margin: 6px 0; }

  .live-cta {
    min-height: 44px;
    padding: 0 12px;
    gap: 7px;
    font-size: 9px;
    letter-spacing: .12em;
  }

  .live-caption {
    right: 13px;
    bottom: 9px;
    gap: 4px;
    font-size: 8px;
    letter-spacing: .14em;
  }

  .live-caption span { display: none; }
}

@media (max-height: 730px) and (min-width: 621px) {
  .live-home { min-height: 600px !important; }
  .live-copy h1,
  .live-copy h2 { font-size: clamp(32px, 3.45vw, 46px); }
  .live-copy > p { font-size: 7px; }
  .live-cta { min-height: 30px; }
  .live-copy { bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .live-nav a,
  .live-nav button,
  .live-cta { transition: none; }
}
