/* ============================================================
   Pivtech Electrical — Coming Soon
   Dark, electric-gold-on-black. Space Grotesk. Square/modular.
   Palette mirrors CLAUDE.md design tokens.
   ============================================================ */

:root {
  --gold: #FBBA0A;
  --gold-deep: #D99A00;
  --black: #000000;
  --charcoal: #121417;
  --white: #FFFFFF;
  --off-white: #F6F6F4;
  --muted: #9A9A9A;
  --overlay: rgba(0, 0, 0, 0.66);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--black);
  color: var(--white);
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Background photo + overlays ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
}
.bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.25) contrast(1.05) brightness(0.85);
}
.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.60) 45%, rgba(0,0,0,0.88) 100%),
    var(--overlay);
}
/* electric gold glow bleeding up from the lower-left */
.bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 12% 88%, rgba(251,186,10,0.20) 0%, rgba(251,186,10,0) 60%),
    radial-gradient(45% 40% at 92% 6%, rgba(251,186,10,0.10) 0%, rgba(251,186,10,0) 60%);
  pointer-events: none;
}

/* ---------- Layout ---------- */
.wrap {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 24px 32px;
  min-height: 100vh;
  min-height: 100svh; /* fills the viewport so the footer sits below the fold */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}

/* ---------- Brand / logo ---------- */
.brand {
  display: flex;
  justify-content: center;
  animation: fade-down 0.8s ease both;
}
.logo {
  width: clamp(220px, 34vw, 340px);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.55));
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  animation: fade-up 0.9s ease 0.1s both;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.headline {
  margin: 0 0 22px;
  font-size: clamp(2.1rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.headline .hl {
  color: var(--gold);
  position: relative;
  white-space: nowrap;
}
.headline .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.12em;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  opacity: 0.35;
}
.lead {
  margin: 0 auto;
  max-width: 620px;
  color: #d8d8d8;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
}
.lead strong { color: var(--white); }

/* ---------- Service chips ---------- */
.chips {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.chips li {
  border: 1px solid rgba(251,186,10,0.45);
  color: var(--off-white);
  background: rgba(18,20,23,0.55);
  backdrop-filter: blur(4px);
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */
.foot {
  flex-shrink: 0;
  text-align: center;
  padding: 22px 24px 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.55);
  color: var(--muted);
  font-size: 0.8rem;
}
.foot p { margin: 4px 0; }
.foot strong { color: var(--off-white); }
.foot-contact a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.foot-contact a:hover { text-decoration: underline; }

/* ---------- Motion ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-down {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .wrap { padding: 36px 18px 28px; gap: 32px; }
}
@media (max-width: 480px) {
  .headline .hl { white-space: normal; }
  .chips li { font-size: 0.72rem; padding: 7px 11px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
