/* ============================================================
   ELECTRIC MEDIA GROUP — SHARED STYLESHEET
   Bold / dark / big-type agency system
   ============================================================ */

/* ─── RESET & ROOT ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--pink); color: #fff; }

/* ─── DESIGN TOKENS ─── */
:root {
  /* Brand gradient from logo (purple → pink → coral) */
  --purple:  #6B3A8C;
  --pink:    #C94B8A;
  --coral:   #E8705A;
  --grad:    linear-gradient(135deg, #8B4DB8 0%, #E0529C 55%, #FF8266 100%);
  --grad-deep: linear-gradient(135deg, #6B3A8C 0%, #C94B8A 55%, #E8705A 100%);

  /* Dark foundation */
  --bg:      #0A0A0F;
  --bg-2:    #101018;
  --panel:   #14141E;
  --line:    rgba(255,255,255,0.08);
  --text:    #F5F4F6;
  --muted:   rgba(245,244,246,0.55);
  --faint:   rgba(245,244,246,0.30);
  --white:   #FFFFFF;
  --black:   #0A0A0F;

  /* Typography */
  --display: 'Archivo', sans-serif;
  --sans:    'DM Sans', sans-serif;
}

/* ─── TYPE UTILITIES ─── */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.outline {
  -webkit-text-stroke: 2px var(--text);
  color: transparent;
}
.outline-grad {
  -webkit-text-stroke: 2px transparent;
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.9;
}

/* Massive display type */
.mega {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1.display-h1, .display-h1 {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(64px, 11vw, 190px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: var(--text);
}
h2.section-heading, .section-heading {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(44px, 6.5vw, 110px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--text);
}
h3.card-heading, .card-heading {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 115%;
  text-transform: uppercase;
  font-size: clamp(20px, 2.2vw, 30px);
  color: var(--text);
}
.section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 24px;
  display: block;
}

/* ─── GRAIN OVERLAY ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

/* ─── NAVIGATION ─── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 108px;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-nav.scrolled {
  background: rgba(10,10,15,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 108px;
  gap: 32px;
}
.nav-logo img { display: block; filter: brightness(0) invert(1); }
.logo-fallback {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: auto;
  margin-right: 28px;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--grad);
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 115%;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s, background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  border: none;
  padding: 18px 42px;
  border-radius: 60px;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 17px 40px;
  border-radius: 60px;
}
.btn-outline:hover { border-color: var(--text); background: var(--text); color: var(--black); }
.btn-nav {
  background: var(--text);
  color: var(--black);
  border: none;
  padding: 12px 26px;
  border-radius: 60px;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 115%;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.btn-nav:hover { background: var(--pink); color: #fff; }

/* ─── MARQUEE STRIP ─── */
.marquee-strip {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  background: var(--bg);
}
.marquee-strip .track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-strip span {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1;
  white-space: nowrap;
  padding-right: 28px;
  color: var(--text);
}
.marquee-strip span.ghost {
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.55);
  color: transparent;
}
.marquee-strip span .dot { color: var(--pink); -webkit-text-stroke: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── REVEAL ON SCROLL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ─── SECTION LAYOUT ─── */
section { padding: 110px 5%; }
@media (max-width: 768px) { section { padding: 80px 5%; } }

/* ─── STYLED LIST ─── */
.styled-list { margin-top: 16px; }
.styled-list li {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}
.styled-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  background: var(--grad);
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 90px 5% 40px;
  overflow: hidden;
}
.footer-mega {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(48px, 10vw, 170px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 64px;
}
.footer-mega a { display: inline-block; transition: opacity 0.2s; }
.footer-mega a:hover .grad-hover {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-logo img { filter: brightness(0) invert(1); opacity: 0.95; }
.logo-fallback-footer {
  font-family: var(--display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--text);
}
.footer-tagline {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--faint);
  margin-top: 14px;
  line-height: 1.65;
  max-width: 280px;
}
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--pink); }
.footer-social { display: flex; gap: 12px; align-items: flex-start; }
.social-icon {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-icon:hover { background: var(--grad); border-color: transparent; color: #fff; }
.footer-bottom {
  padding-top: 32px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── RESPONSIVE NAV ─── */
@media (max-width: 960px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 108px; left: 0; right: 0;
    background: rgba(10,10,15,0.97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 5%;
    gap: 26px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 99;
    margin: 0;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links a { font-size: 16px; }
  .btn-nav { display: none; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 14px 22px; }
  .outline, .marquee-strip span.ghost { -webkit-text-stroke-width: 1px; }
}
