/* G1 Gunther — simplified, image-led HOME structure. */

.home-restructured [hidden] {
  display: none !important;
}

.home-restructured .hero-legacy {
  display: none !important;
}

.home-restructured .hero-showcase {
  min-height: calc(100svh - var(--header-height));
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #020202;
}

.home-restructured .hero-showcase::before,
.home-restructured .hero-showcase::after {
  display: none;
}

.home-restructured .hero-showcase .hero-showcase-slider {
  position: relative;
  width: 100%;
  min-height: calc(100svh - var(--header-height));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  outline: none;
  background: #020202;
  box-shadow: none;
}

.home-restructured .hero-showcase .console-viewport {
  width: 100%;
  height: calc(100svh - var(--header-height)) !important;
  min-height: 680px;
  overflow: hidden;
}

.home-restructured .hero-showcase .console-track {
  display: flex;
  width: 100%;
  height: 100% !important;
  align-items: stretch;
  transition: transform 0.9s cubic-bezier(.65, 0, .35, 1);
  will-change: transform;
}

.home-restructured .hero-showcase .console-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100% !important;
  min-height: 680px;
  padding: 0;
  overflow: hidden;
}

.home-slide-frame {
  --slide-image: url("../images/home/slider-01.webp");
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100%;
  min-height: 680px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2,2,2,.97) 0%, rgba(2,2,2,.88) 36%, rgba(2,2,2,.34) 66%, rgba(2,2,2,.22) 100%),
    var(--slide-image),
    radial-gradient(circle at 76% 43%, rgba(213,166,46,.16), transparent 28rem),
    linear-gradient(135deg, #020202 0%, #0a0906 58%, #020202 100%);
  background-position: center;
  background-size: cover;
}

.home-slide-alarm .home-slide-frame {
  --slide-image: url("../images/home/slider-01.webp");
}

.home-slide-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .48;
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(245,211,109,.16) 7% 7.08%, transparent 7.08% 93%, rgba(245,211,109,.13) 93% 93.08%, transparent 93.08%),
    linear-gradient(180deg, transparent 0 14%, rgba(255,255,255,.035) 14% 14.08%, transparent 14.08% 86%, rgba(255,255,255,.025) 86% 86.08%, transparent 86.08%);
}

.home-slide-cameras .home-slide-frame {
  --slide-image: url("../images/home/slider-02.webp");
}

.home-slide-shades .home-slide-frame {
  --slide-image: url("../images/home/slider-shades.jpg");
}

.home-slide-audio .home-slide-frame {
  --slide-image: url("../images/home/slider-audio-video.jpg");
}

.home-slide-network .home-slide-frame {
  --slide-image: url("../images/home/slider-05.webp");
}

.home-slide-automation .home-slide-frame {
  --slide-image: url("../images/home/slider-06.webp");
}

.home-slide-tv .home-slide-frame {
  --slide-image: url("../images/home/slider-tv-mounting.jpg");
}

.home-slide-lighting .home-slide-frame {
  --slide-image: url("../images/home/slider-smart-lighting.jpg");
}

.home-slide-visual {
  position: absolute;
  top: 50%;
  right: clamp(5%, 9vw, 12%);
  width: min(46vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(213,166,46,.15);
  border-radius: 50%;
  opacity: .30;
  transform: translateY(-50%);
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  box-shadow: inset 0 0 90px rgba(213,166,46,.045);
}

.home-slide-visual::before,
.home-slide-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(213,166,46,.19);
  border-radius: 50%;
}

.home-slide-visual::before {
  inset: 13%;
}

.home-slide-visual::after {
  inset: 29%;
  border-color: rgba(245,211,109,.27);
  box-shadow: 0 0 54px rgba(213,166,46,.08);
}

.visual-orbit {
  position: absolute;
  inset: 39%;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245,211,109,.48);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(2,2,2,.90);
  box-shadow: 0 0 36px rgba(213,166,46,.12);
}

.visual-orbit span {
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  font-weight: 850;
  letter-spacing: -.05em;
}

.visual-node {
  position: absolute;
  z-index: 3;
  min-width: 112px;
  padding: 11px 14px;
  border: 1px solid rgba(213,166,46,.25);
  border-radius: 999px;
  color: rgba(243,243,242,.78);
  background: rgba(4,4,4,.82);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 14px 38px rgba(0,0,0,.32);
}

.visual-node::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 12px rgba(245,211,109,.72);
}

.visual-node.node-a { top: 18%; left: -3%; }
.visual-node.node-b { top: 44%; right: -5%; }
.visual-node.node-c { bottom: 13%; left: 8%; }

.home-slide-copy {
  position: relative;
  z-index: 4;
  display: flex;
  min-height: calc(100svh - var(--header-height));
  padding-top: clamp(80px, 13vh, 150px);
  padding-bottom: clamp(116px, 16vh, 170px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.home-slide-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.home-slide-kicker::before {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.home-slide-copy h1,
.home-slide-copy h2 {
  max-width: 820px;
  margin: 0;
  color: #f5f5f3;
  font-size: clamp(3.7rem, 7vw, 7.35rem);
  font-weight: 720;
  line-height: .86;
  letter-spacing: -.065em;
  text-wrap: balance;
  text-shadow: 0 24px 70px rgba(0,0,0,.56);
}

.home-slide-copy h1 span,
.home-slide-copy h2 span {
  color: var(--gold-light);
}

.home-slide-copy h2.home-slide-title-compact {
  font-size: clamp(3.45rem, 6.25vw, 6.6rem);
}

.home-slide-copy p {
  margin-top: 30px;
  color: rgba(217,218,222,.70);
  font-size: clamp(.78rem, 1.2vw, .98rem);
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.home-showcase-slide .home-slide-copy > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .62s ease,
    transform .78s cubic-bezier(.22, 1, .36, 1);
}

.home-showcase-slide.is-active .home-slide-copy > * {
  opacity: 1;
  transform: translateY(0);
}

.home-showcase-slide.is-active .home-slide-copy > :nth-child(2) {
  transition-delay: .09s;
}

.home-showcase-slide.is-active .home-slide-copy > :nth-child(3) {
  transition-delay: .17s;
}

.home-restructured .hero-showcase .console-controls {
  position: absolute;
  right: clamp(18px, 4vw, 68px);
  bottom: clamp(22px, 4vw, 46px);
  left: auto;
  z-index: 10;
  display: grid;
  width: auto;
  grid-template-columns: 46px auto auto 46px;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(213,166,46,.16);
  border-radius: 999px;
  background: rgba(2,2,2,.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.home-restructured .hero-showcase .console-arrow {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  border-color: rgba(213,166,46,.25);
  font-size: 1.4rem;
}

.home-restructured .hero-showcase .console-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.home-restructured .hero-showcase .console-dot {
  width: 30px;
  height: 3px;
}

.home-restructured .hero-showcase .console-count {
  min-width: 54px;
  color: rgba(217,218,222,.58);
  font-size: .72rem;
  letter-spacing: .08em;
  white-space: nowrap;
}

.home-restructured #process,
.home-restructured #projects,
.home-restructured #contact {
  padding: clamp(92px, 11vw, 150px) 0;
}

.home-restructured #process .section-head,
.home-restructured #projects .section-head {
  max-width: 880px;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.home-restructured #process .section-head h2,
.home-restructured #projects .section-head h2 {
  max-width: 820px;
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.home-restructured .process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.home-restructured .process-step {
  min-height: 170px;
  padding: 24px 0 0;
  overflow: visible;
  border: 0;
  border-top: 1px solid rgba(213,166,46,.28);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-restructured .process-step::after {
  display: none;
}

.home-restructured .process-step strong {
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 28px;
  border: 0;
  color: var(--gold-light);
  background: none;
  font-size: .72rem;
  letter-spacing: .16em;
}

.home-restructured .process-step h3 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.home-restructured .process-step p {
  max-width: 220px;
  font-size: .93rem;
  line-height: 1.65;
}

.home-restructured .projects-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-restructured .project-card {
  position: relative;
  min-height: clamp(360px, 37vw, 540px);
  border-color: rgba(213,166,46,.14);
  border-radius: 24px;
  background: #070707;
}

.home-restructured .project-card:hover {
  transform: translateY(-4px);
}

.home-restructured .project-visual {
  position: absolute;
  inset: 0;
  min-height: 100%;
  background-color: #080808;
  background-image:
    linear-gradient(180deg, rgba(2,2,2,.03) 28%, rgba(2,2,2,.26) 64%, rgba(2,2,2,.90) 100%),
    url("../images/projects/security-cameras/01.jpg");
  background-position: center;
  background-size: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}

.home-restructured .project-visual::before {
  inset: 0;
  border: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(213,166,46,.08), transparent 42%);
  transform: none;
}

.home-restructured .project-visual::after {
  content: none;
}

.home-restructured .project-card:hover .project-visual {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.home-restructured .project-card[data-category="wifi"] .project-visual {
  background-image:
    linear-gradient(180deg, rgba(2,2,2,.03) 28%, rgba(2,2,2,.26) 64%, rgba(2,2,2,.90) 100%),
    url("../images/projects/network-wifi/03.jpg");
}

.home-restructured .project-card[data-category="audio"] .project-visual {
  background-image:
    linear-gradient(180deg, rgba(2,2,2,.03) 28%, rgba(2,2,2,.26) 64%, rgba(2,2,2,.90) 100%),
    url("../images/projects/audio-video/04.jpg");
}

.home-restructured .project-card[data-category="automation"] .project-visual {
  background-image:
    linear-gradient(180deg, rgba(2,2,2,.03) 28%, rgba(2,2,2,.26) 64%, rgba(2,2,2,.90) 100%),
    url("../images/projects/smart-automation/02.jpg");
}

.home-restructured .project-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: clamp(24px, 4vw, 42px);
  background: linear-gradient(180deg, transparent, rgba(2,2,2,.96));
}

.home-restructured .project-body h3 {
  max-width: 460px;
  margin: 12px 0 0;
  font-size: clamp(1.55rem, 2.8vw, 2.65rem);
  letter-spacing: -.035em;
}

.home-restructured .brands-section {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(213,166,46,.10);
  background:
    radial-gradient(circle at 50% 0%, rgba(213,166,46,.08), transparent 38rem),
    #050505;
}

.home-restructured .brands-heading {
  margin-bottom: clamp(26px, 4vw, 46px);
}

.home-restructured .home-brand-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.home-restructured .home-brand-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(213,166,46,.13);
  border-radius: 18px;
  background: rgba(255,255,255,.018);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.home-restructured .home-brand-card:hover {
  border-color: rgba(245,211,109,.38);
  background: rgba(213,166,46,.045);
  transform: translateY(-4px);
}

.home-restructured .home-brand-logo {
  display: grid;
  place-items: center;
  height: 88px;
  padding: 18px 14px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(145deg, #f7f7f4, #d9d9d4);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.home-restructured .home-brand-logo img {
  display: block;
  width: 100%;
  max-width: 132px;
  height: 100%;
  object-fit: contain;
  filter: saturate(.82) contrast(1.02);
  transition: transform .3s ease, filter .3s ease;
}

.home-restructured .home-brand-card:hover img {
  filter: saturate(1) contrast(1.03);
  transform: scale(1.035);
}

.home-restructured .home-brand-card > span {
  display: block;
  padding: 12px 4px 4px;
  color: rgba(230,233,238,.72);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.home-restructured #contact {
  border-top: 1px solid rgba(213,166,46,.08);
}

.home-restructured .contact-panel {
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(30px, 6vw, 80px);
  padding: clamp(28px, 5vw, 68px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0 0, rgba(213,166,46,.10), transparent 28rem),
    linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}

.home-restructured .contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.home-restructured .contact-info h2 {
  max-width: 520px;
  font-size: clamp(2.8rem, 5.2vw, 5.3rem);
  line-height: .94;
  letter-spacing: -.055em;
}

.home-restructured .contact-info .section-lead {
  max-width: 400px;
  margin-top: 20px;
}

.home-restructured .contact-list {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.home-restructured .quote-form {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(213,166,46,.14);
  border-radius: 22px;
  background: rgba(2,2,2,.58);
}

@media (max-width: 980px) {
  .home-restructured .home-slide-visual {
    right: -8%;
    width: min(68vw, 600px);
    opacity: .18;
  }

  .home-restructured .home-slide-frame {
    background:
      linear-gradient(90deg, rgba(2,2,2,.97), rgba(2,2,2,.77) 58%, rgba(2,2,2,.50)),
      var(--slide-image),
      radial-gradient(circle at 76% 43%, rgba(213,166,46,.13), transparent 28rem),
      #020202;
    background-position: 68% center;
    background-size: cover;
  }

  .home-restructured .home-slide-network .home-slide-frame {
    background-position: 58% center;
  }

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

  .home-restructured .home-brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-restructured .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .home-restructured .hero-showcase,
  .home-restructured .hero-showcase .hero-showcase-slider,
  .home-restructured .hero-showcase .console-viewport,
  .home-restructured .hero-showcase .console-slide,
  .home-restructured .home-slide-frame {
    min-height: calc(100svh - var(--header-height));
  }

  .home-restructured .hero-showcase .console-viewport {
    height: calc(100svh - var(--header-height)) !important;
  }

  .home-restructured .home-slide-copy {
    min-height: calc(100svh - var(--header-height));
    padding-top: 72px;
    padding-bottom: 128px;
  }

  .home-restructured .home-slide-copy h1,
  .home-restructured .home-slide-copy h2 {
    max-width: 94%;
    font-size: clamp(2.8rem, 13.5vw, 4.45rem);
    line-height: .9;
  }

  .home-restructured .home-slide-copy h2.home-slide-title-compact {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .home-restructured .home-slide-copy p {
    max-width: 90%;
    line-height: 1.7;
  }

  .home-restructured .home-slide-visual {
    top: 49%;
    right: -46%;
    width: 115vw;
    opacity: .12;
  }

  .home-restructured .visual-node {
    min-width: 92px;
    padding: 9px 11px;
    font-size: .58rem;
  }

  .home-restructured .hero-showcase .console-controls {
    right: 50%;
    bottom: 20px;
    grid-template-columns: 38px auto auto 38px;
    gap: 5px;
    padding: 7px;
    transform: translateX(50%);
  }

  .home-restructured .hero-showcase .console-arrow {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  .home-restructured .hero-showcase .console-dot {
    width: 14px;
  }

  .home-restructured .hero-showcase .console-dots { gap: 4px; }
  .home-restructured .hero-showcase .console-count { min-width: 42px; font-size: .64rem; }

  .home-restructured #process,
  .home-restructured #projects,
  .home-restructured #brands,
  .home-restructured #contact {
    padding: 84px 0;
  }

  .home-restructured .process-grid,
  .home-restructured .projects-grid {
    grid-template-columns: 1fr;
  }

  .home-restructured .process-step {
    min-height: 145px;
  }

  .home-restructured .project-card {
    min-height: 420px;
  }

  .home-restructured .home-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-restructured .home-brand-logo {
    height: 82px;
    padding: 16px 12px;
  }

  .home-restructured .contact-panel {
    padding: 24px 16px;
  }

  .home-restructured .contact-info {
    padding: 12px 8px 22px;
  }
}

/* V12 brand wordmarks: balanced 4 × 4 layout. */
.home-restructured .brand-wordmark-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-restructured .brand-wordmark-grid .home-brand-card {
  min-height: 112px;
  padding: 22px 14px;
}

@media (max-width: 760px) {
  .home-restructured .brand-wordmark-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-restructured .hero-showcase .console-track {
    transition: none;
  }
}
