/* Button presentation retained from the supplied Darke hero. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  transition:
    transform 0.22s,
    box-shadow 0.22s,
    background 0.22s;
  overflow: hidden;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px #0004;
}
.button:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  pointer-events: none;
  opacity: 0;
  background: conic-gradient(
    from var(--spark-angle),
    transparent 0deg 270deg,
    #ffc95a 300deg,
    #fffbea 322deg,
    transparent 345deg
  );
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.button:hover:after,
.button:focus-visible:after {
  animation: cta-pulse 1s ease-out;
}
/* Extracted from the supplied Darke Electrical hero. */
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --content-max: 1280px;
  --page-gutter: clamp(24px, 4vw, 64px);
  --copy-left: max(var(--page-gutter), calc((100vw - var(--content-max)) / 2));
  --logo-edge: 6.667px;
  --gold: #ffce57;
  --cream: #fff5df;
  --ink: #081321;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font:
    400 16px/1.6 Manrope,
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
p {
  margin: 0;
}
img {
  max-width: 100%;
}
.hero {
  position: relative;
  min-height: 780px;
  height: min(940px, 100svh);
  isolation: isolate;
  overflow: hidden;
}
.scene {
  position: absolute;
  width: max(1100px, 100%);
  height: 100%;
  right: 0;
  top: 0;
  z-index: -3;
}
.scene picture,
.house {
  display: block;
  width: 100%;
  height: 100%;
}
.house {
  object-fit: cover;
  object-position: center;
}
.lit-scene {
  position: absolute;
  inset: 0;
}
.lighting-ready .lit-scene {
  display: none;
}
.lighting {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.light-zone {
  opacity: 1;
  transition: opacity 1.25s var(--ease);
  transition-delay: var(--light-delay);
}
.lights-off .light-zone {
  opacity: 0;
  transition-delay: 0s;
  transition-duration: 0.7s;
}
.shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      #07111be8 0%,
      #07111bbd 26%,
      #07111b35 51%,
      transparent 76%
    ),
    linear-gradient(
      0deg,
      #081321 0%,
      transparent 22%,
      transparent 85%,
      #08132140
    );
}
.primary {
  color: #171a1c;
  background: var(--gold);
  box-shadow:
    inset 0 1px #fff8,
    0 4px 14px #0002;
}
.secondary {
  color: #fff;
  background: #08132128;
  border-color: #fff9;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px #fff1;
}
@property --spark-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.hero-copy {
  pointer-events: none;
  position: absolute;
  left: var(--copy-left);
  top: 50%;
  transform: translateY(-41%);
  max-width: 510px;
}
.hero-copy h1,
.hero-copy p,
.hero-copy a {
  pointer-events: auto;
}
h1 {
  font-family: "Barlow Condensed", Manrope, Arial, sans-serif;
  font-size: clamp(60px, 5.6vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow: 0 3px 22px #0003;
}
.hero-detail {
  margin-top: 27px;
  max-width: 390px;
}
.gold-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 18px;
}
.location {
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.description {
  margin-top: 15px;
  color: #e4e7eb;
  font-size: 16px;
  max-width: 355px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 27px;
}
.hero-actions .button {
  width: 184px;
  min-height: 52px;
}
.switch-wrap {
  position: absolute;
  width: 33px;
  height: 51px;
  transform: translate(-50%, -50%);
  visibility: hidden;
  z-index: 2;
}
.switch-wrap.is-positioned {
  visibility: visible;
}
.switch-wrap > span {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  color: #fff7df;
  text-shadow: 0 1px 5px #000;
  white-space: nowrap;
  background: #08132166;
  padding: 3px 8px;
  border-radius: 5px;
}
.light-switch {
  position: relative;
  width: 33px;
  height: 51px;
  padding: 8px;
  border: 1px solid #b5a78d;
  border-radius: 3px;
  background: linear-gradient(120deg, #b9b1a0, #615f55 48%, #858475);
  box-shadow:
    2px 3px 8px #0009,
    inset 1px 1px 1px #eee7;
  touch-action: manipulation;
}
.light-switch:after {
  content: "";
  position: absolute;
  inset: -10px;
}
.screw {
  position: absolute;
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  background: #534e43;
  border-radius: 50%;
  box-shadow: inset 0 1px #ddd8;
}
.screw:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 1px;
  width: 3px;
  border-top: 1px solid #27251f;
  transform: rotate(30deg);
}
.screw.top {
  top: 3px;
}
.screw.bottom {
  bottom: 3px;
}
.rocker {
  display: block;
  height: 100%;
  background: linear-gradient(#333932, #121916);
  border: 1px solid #191f1b;
  border-radius: 2px;
  box-shadow:
    inset 0 3px 5px #0008,
    0 1px 1px #fff6;
  transform: perspective(80px) rotateX(-13deg);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.rocker > span {
  display: block;
  width: 5px;
  height: 2px;
  margin: 5px auto;
  background: var(--gold);
  box-shadow: 0 0 5px #ffcc5c;
}
.lights-off .rocker {
  transform: perspective(80px) rotateX(13deg);
}
.lights-off .rocker > span {
  background: #6a6251;
  box-shadow: none;
}
.trust-mobile {
  display: none;
}
.trust-strip {
  display: flex;
  position: relative;
  z-index: 1;
  justify-content: center;
  align-items: center;
  gap: clamp(30px, 6vw, 100px);
  min-height: 92px;
  margin-top: -92px;
  padding: 18px 5vw;
  background: transparent;
  border-top: 1px solid #ffffff15;
  font-size: 14px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-item img {
  width: 46px;
  height: 44px;
  object-fit: contain;
}
.trust-item:not(:first-child):before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 9px #ffcd5760;
  flex-shrink: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.js.ready .reveal {
  opacity: 1;
  transform: none;
}
.js .hero-detail {
  transition-delay: 0.12s;
}
.js .hero-actions {
  transition-delay: 0.24s;
}
@keyframes cta-pulse {
  0% {
    opacity: 0;
    --spark-angle: 0deg;
  }
  15% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    --spark-angle: 360deg;
  }
}
@media (min-width: 1600px) {
  .scene {
    width: 100%;
  }
}
@media (min-width: 1001px) and (max-height: 820px) {
  .hero-copy {
    top: 46%;
  }
  h1 {
    font-size: clamp(60px, 5.6vw, 76px);
  }
}
@media (max-width: 1000px) and (min-width: 701px) {
  :root {
    --logo-edge: 5.556px;
  }
  .hero-copy {
    max-width: 410px;
  }
  h1 {
    font-size: 66px;
  }
  .scene {
    right: -130px;
  }
  .trust-strip {
    gap: 25px;
    font-size: 12px;
  }
}
@media (max-width: 700px) {
  :root {
    --page-gutter: 24px;
    --logo-edge: 5.37px;
  }
  .hero {
    padding-top: 88.333px;
    height: auto;
    min-height: 0;
    padding-bottom: 29px;
    overflow: hidden;
  }
  .scene {
    width: 100%;
    height: auto;
    aspect-ratio: 1.08;
    top: 220px;
    right: 0;
    mask-image: linear-gradient(transparent, black 16%, black 83%, transparent);
  }
  .house {
    object-fit: cover;
    object-position: 71% center;
  }
  .shade {
    background: linear-gradient(
      0deg,
      #081321 0%,
      #081321 9%,
      transparent 36%,
      transparent 62%,
      #08132170 82%,
      #081321 99%
    );
  }
  .hero-copy {
    position: relative;
    inset: auto;
    transform: none;
    max-width: none;
    margin: 26px var(--copy-left) 0;
  }
  h1 {
    font-size: clamp(46px, 12vw, 64px);
    line-height: 1.04;
    max-width: 370px;
  }
  .hero-detail {
    margin-top: calc(100vw / 1.08 - 30px);
    max-width: 100%;
  }
  .gold-line {
    display: none;
  }
  .location {
    font-size: 20px;
    line-height: 1.35;
    max-width: 320px;
  }
  .description {
    text-wrap: pretty;
    font-size: 14px;
    margin-top: 10px;
    max-width: 355px;
  }
  .description span {
    display: block;
  }
  .hero-actions {
    gap: 10px;
    margin-top: 20px;
  }
  .hero-actions .button {
    flex: 1;
    width: 0;
    min-height: 50px;
    padding: 14px 8px;
    font-size: 13px;
  }
  .switch-wrap {
    display: none;
  }
  .trust-strip {
    margin-top: 0;
    min-height: 100px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 18px 16px;
    border-bottom: 1px solid #ffffff20;
  }
  .trust-item {
    position: relative;
    min-width: 0;
    min-height: 58px;
    justify-content: center;
    text-align: center;
    gap: 0;
  }
  .trust-item + .trust-item {
    border-left: 1px solid #ffffff20;
  }
  .trust-item img {
    width: 62px;
    height: 52px;
    object-fit: contain;
  }
  .trust-item:not(:first-child):before,
  .trust-desktop {
    display: none;
  }
  .trust-mobile {
    display: block;
  }
  .trust-metric {
    color: var(--cream);
    font-size: clamp(25px, 7vw, 31px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.035em;
  }
  .trust-metric small {
    display: block;
    margin-top: 7px;
    color: #b6c1cd;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.02em;
  }
}
@media (max-width: 360px) {
  :root {
    --page-gutter: 20px;
  }
  .hero-actions .button {
    font-size: 12px;
  }
  .scene {
    top: 200px;
  }
  .hero-detail {
    margin-top: calc(100vw / 1.08 - 26px);
  }
  .location {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
:root {
  --paper: #f4f0e6;
  --muted-light: #b4c1cc;
  --muted-ink: #52616d;
}
html {
  scroll-padding-top: 110px;
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 85px;
  }
}
/* Preview framing only. The house masks, switch and responsive copy are from Darke. */
html {
  scroll-behavior: auto;
  overflow: hidden;
}
body {
  overflow: hidden;
}
.hero {
  height: 100svh;
  min-height: 0;
}
.demo-brand {
  position: absolute;
  z-index: 3;
  top: 25px;
  left: var(--copy-left);
  width: 155px;
}
.demo-brand img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-copy {
  transform: translateY(-43%);
}
.motion-off *,
.motion-off *::before,
.motion-off *::after {
  animation: none !important;
  transition: none !important;
}
@media (max-width: 700px) {
  .hero {
    height: auto;
    padding-top: 65px;
  }
  .hero-copy {
    transform: none;
  }
  .demo-brand {
    top: 20px;
    width: 135px;
  }
  .switch-wrap {
    display: block;
  }
}
