/* ==========================================================================
   Electric Industry — a PURCHASED theme (shown for credibility, not for
   sale). Built for and licensed to Aurum Recovery (aurumrecovery.com), an
   electronics recycler and ITAD company; recreated here from Adam's pasted
   pen (skewed rotating-sheen CTA button, verbatim) with a theme-kit built
   around it in the same idiom. One single-screen, left-justified two-column
   layout: the headline (badge + h1 + h2, left) sits beside a glass card
   (border + backdrop-blur, right) holding the description, tags, and
   actions — the rotating-sheen button skin lives on "Inquire about a
   build". A near-transparent looping Vimeo background sits behind all
   content, above the navy gradient.
   ========================================================================== */

:root {
  --yellow: #FEC60E;
  --yellow-soft: #FDDA63;
  --yellow-deep: #D99A1C;
  --ink: #070C20;
  --navy-1: #070D25;
  --navy-2: #0B1C43;
  --paper: #EDEFF6;
}

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

html {
  /* dark base under everything — overscroll/pre-paint must never flash white */
  background: var(--navy-1);
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--navy-1) 0%, var(--navy-2) 100%);
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--paper);
  overflow-x: hidden;
  overflow-x: clip;
}

/* --- Ambient background video — near-transparent, behind all content --- */
.background-video {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.background-video.hsr-fadeIn {
  animation: bg-video-fade-in 1.8s ease-out .2s forwards;
}

@keyframes bg-video-fade-in {
  to { opacity: .1; }
}

.background-overlay {
  position: absolute;
  inset: 0;
  background: var(--navy-1);
}

.background-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 cover */
  min-height: 100vh;
  min-width: 177.78vh; /* 16:9 cover */
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* --- Purchased ribbon --- */
.purchased-banner {
  position: fixed;
  top: 28px;
  right: -60px;
  z-index: 10;
  transform: rotate(45deg);
  background: linear-gradient(180deg, #fdda63 0%, #f2b544 50%, #d99a1c 100%);
  color: rgba(0,0,0,.75);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: .15em;
  padding: 6px 70px;
  box-shadow: 0 2px 8px rgba(0,0,0,.5);
  text-transform: uppercase;
}

/* --- Yellow button --- */
.yellowbutton {
  width: fit-content;
  height: fit-content;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  font-weight: bold;
  color: black;
  text-decoration: none;
  transform: skewX(-15deg);
  background: transparent;
  overflow: hidden;
  border: none;
  padding: 15px 70px;
}

/* Inner plate: yellow gradient + near-black border, inset 5px so the
   ::after sheet shows through as a thin ring around it */
.yellowbutton::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: calc(100% - 5px);
  height: calc(100% - 5px);
  background: linear-gradient(90deg,
    rgba(186, 145, 13, 1) 0%,
    rgba(253, 197, 19, 1) 14%,
    var(--yellow) 100%);
  border: 3px solid var(--ink);
}

/* Oversized rotating sheet: mostly yellow with a transparent band.
   Where the band passes, the page background shows through the ring —
   that's the line traveling around the border. */
.yellowbutton::after {
  content: '';
  position: absolute;
  z-index: -2;
  width: 250%;
  height: 250%;
  background-position: 0 0;
  background: linear-gradient(90deg,
    rgba(253, 197, 19, 1) 0%,
    rgba(253, 197, 19, 1) 30%,
    rgba(253, 197, 19, 0) 40%,
    rgba(253, 197, 19, 0) 60%,
    rgba(253, 197, 19, 1) 70%,
    rgba(253, 197, 19, 1) 100%);
  animation: button 20s infinite;
}

@keyframes button {
  0%   { transform: rotate(-20deg)  translate(-100px, 50px); }
  33%  { transform: rotate(120deg)  translate(200px, 100px); }
  66%  { transform: rotate(-100deg) translate(100px, 0px); }
  100% { transform: rotate(-20deg)  translate(-100px, 50px); }
}

/* Anti-skew the content */
.yellowbutton .btn-inner {
  transform: skewX(15deg);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1;
  padding-top: 3px; /* Bebas optical baseline nudge */
}

.yellowbutton .btn-inner svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* --- Kit: hero text, glass card, tags, buttons — one left-justified
   two-column screen instead of a separate centered hero above it --- */
.kit {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  min-height: 100svh;
  margin: 0 auto;
  padding: 6rem 1.25rem;
}

.kit_intro {
  flex: 1 1 320px;
  text-align: left;
}

.badge {
  margin: 0 0 1.25rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(237, 239, 246, .8);
  border: 1px solid rgba(254, 198, 14, .4);
  border-radius: 999px;
  padding: .35rem 1rem;
  background: rgba(0, 0, 0, .25);
  display: inline-block;
}

.kit_intro h1 {
  margin: 0;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400; /* Bebas only ships 400; browsers fake-bold otherwise */
  font-size: min(76px, 9vw);
  letter-spacing: .05em;
  line-height: 1;
  text-transform: uppercase;
}

.kit_intro h2 {
  margin: 12px 0 0;
  color: var(--yellow);
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: min(20px, 4vw);
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* glass description plate */
.theme_card {
  position: relative;
  flex: 2 1 420px;
  max-width: 640px;
  width: 100%;
  border-radius: 16px;
  border: 5px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
}

.theme_card_inner {
  padding: 1.75rem 1.75rem 1.5rem;
  text-align: left;
}

.theme_card_inner p {
  margin: 0 0 1em;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(237, 239, 246, .9);
}

.theme_card_inner p:last-of-type {
  margin-bottom: 0;
}

.theme_tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0;
  margin: 1.35rem 0 0;
}

.theme_tags li {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 3px;
  color: var(--yellow-soft);
  border: 1px solid rgba(254, 198, 14, .35);
  background: rgba(254, 198, 14, .08);
}

/* --- Buttons --- */
.theme_actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.btn-electric {
  display: inline-block;
  transform: skewX(-15deg);
  padding: 13px 30px;
  border-radius: 2px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--yellow);
  background: var(--yellow);
  color: var(--ink);
  transition: transform .2s ease-in-out, background .2s ease-in-out, color .2s ease-in-out;
}

.btn-electric:hover,
.btn-electric:focus-visible {
  transform: skewX(-15deg) scale(1.04);
}

.btn-electric--ghost {
  background: transparent;
  color: var(--yellow-soft);
}

.btn-electric--ghost:hover,
.btn-electric--ghost:focus-visible {
  background: rgba(254, 198, 14, .12);
}

.btn-electric:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

/* --- "See it live" — the purchased-theme link to the client site --- */
.see_live {
  position: fixed;
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(237, 239, 246, .7);
  text-decoration: none;
  border-bottom: 1px solid rgba(254, 198, 14, .35);
  padding-bottom: 3px;
  transition: color .2s ease-in-out, border-color .2s ease-in-out;
}

.see_live:hover,
.see_live:focus-visible {
  color: var(--yellow-soft);
  border-color: var(--yellow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .background-video { display: none; }
  .yellowbutton::after { animation: none; }
  .btn-electric { transition: none; }
}

@media (max-width: 700px) {
  .yellowbutton {
    padding: 13px 40px;
  }

  .see_live {
    font-size: 11px;
    max-width: calc(100vw - 2rem);
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
