/* ===== DESIGN TOKENS ===== */
:root {
  --bg:        #0a0a0d;
  --bg-alt:    #101015;
  --surface:   #16161c;
  --text:      #f2f2f5;
  --text-dim:  #a5a5b0;
  --cyan:      #00E5FF;
  --magenta:   #ff2e9a;
  --border:    rgba(255,255,255,0.08);
  --maxw:      1120px;
  --radius:    14px;
  --shadow:    0 20px 60px rgba(0,0,0,0.5);
}

/* ===== RESET / BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
/* ===== SCROLL REVEALS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(10,10,13,0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  padding: 8px 24px;
}
.header-logo-img {
  height: 38px;
  width: auto;
  /* logo is black artwork -> invert to white for dark theme */
  filter: invert(1);
}
.site-nav {
  display: flex;
  gap: 26px;
}
.site-nav a {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  position: relative;
  transition: color 0.2s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transition: width 0.25s ease;
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { width: 100%; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 110px 20px 70px; /* room for fixed header + bottom breathing space */
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("images/hero.jpg") center / cover no-repeat;
  transform: scale(1.05);
  animation: slowZoom 20s ease-in-out infinite alternate;
}
@keyframes slowZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.15); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,13,0.75) 0%, rgba(10,10,13,0.35) 40%, rgba(10,10,13,0.85) 100%);
}
/* animated smoke/haze layer built purely in CSS */
.hero-smoke {
  position: absolute; inset: -20%;
  background:
    radial-gradient(closest-side, rgba(0,229,255,0.10), transparent 70%) 20% 40% / 60% 60% no-repeat,
    radial-gradient(closest-side, rgba(255,46,154,0.10), transparent 70%) 80% 60% / 55% 55% no-repeat;
  filter: blur(40px);
  animation: drift 18s ease-in-out infinite alternate;
  opacity: 0.9;
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(3%,-2%,0) scale(1.08); }
  100% { transform: translate3d(-2%,2%,0) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-logo {
  width: min(560px, 80vw);
  height: auto;
  margin: 0 auto 28px;
  filter: invert(1) drop-shadow(0 0 22px rgba(0,229,255,0.55));
  /* one-time reveal */
  opacity: 0;
  transform: scale(0.86);
  animation: logoReveal 1.4s cubic-bezier(.16,1,.3,1) 0.2s forwards;
}
@keyframes logoReveal {
  0%   { opacity: 0; transform: scale(0.86); filter: invert(1) drop-shadow(0 0 0 rgba(0,229,255,0)); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1);   filter: invert(1) drop-shadow(0 0 22px rgba(0,229,255,0.55)); }
}
.hero-tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  opacity: 0;
  animation: fadeUp 1s ease 1.1s forwards;
}
.hero-tagline .warn { color: var(--magenta); text-shadow: 0 0 14px rgba(255,46,154,0.5); }
.hero-tagline .neon {
  animation: neonFlicker 5s infinite steps(1, end);
}
@keyframes neonFlicker {
  0%, 100%   { opacity: 1; text-shadow: 0 0 14px rgba(255,46,154,0.55), 0 0 26px rgba(255,46,154,0.35); }
  92%        { opacity: 1; text-shadow: 0 0 14px rgba(255,46,154,0.55), 0 0 26px rgba(255,46,154,0.35); }
  93%        { opacity: 0.7; text-shadow: 0 0 6px rgba(255,46,154,0.25); }
  94%        { opacity: 1; text-shadow: 0 0 14px rgba(255,46,154,0.55); }
  96%        { opacity: 0.7; text-shadow: 0 0 6px rgba(255,46,154,0.25); }
  97%        { opacity: 1; text-shadow: 0 0 14px rgba(255,46,154,0.55), 0 0 26px rgba(255,46,154,0.35); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* scroll cue */
.scroll-cue {
  display: block;
  width: 26px; height: 44px;
  margin: 40px auto 0;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 14px;
  position: relative;
  opacity: 0;
  animation: fadeUp 1s ease 1.5s forwards;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--cyan);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--cyan);
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ===== GENERIC SECTIONS ===== */
.section { padding: 96px 24px; }
.section:nth-of-type(even) { background: var(--bg-alt); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.section-title.centered { text-align: center; }
.section-title .accent {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0,229,255,0.4);
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 36px;
}

/* two-column rows (bio / connect) */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col.reverse .col-media { order: 2; }
.col-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  /* subtle duotone-ish harmonising */
  filter: contrast(1.05) saturate(1.05);
}
.col-text p { color: var(--text-dim); margin-bottom: 16px; }
.pull-quote {
  margin-top: 24px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text) !important;
  border-left: 3px solid var(--magenta);
  padding-left: 16px;
  line-height: 1.4;
}

/* ===== LATEST MIX ===== */
.video-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto 20px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: #000;
}
.video-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-placeholder {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-dim);
  background: var(--surface);
}
.spinner {
  width: 42px; height: 42px;
  border: 3px solid rgba(0,229,255,0.2);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.video-title {
  text-align: center;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 24px;
  min-height: 1.2em;
}
.latest .btn-outline { display: table; margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(0,229,255,0.35);
}
.btn-primary {
  background: var(--cyan);
  color: #04121a;
  border-color: var(--cyan);
}
.btn-primary:hover {
  box-shadow: 0 0 24px rgba(0,229,255,0.55);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
}
.link-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

/* ===== FOOTER ===== */
.site-footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.9rem;
}
.site-footer .credit {
  margin-top: 6px;
  font-size: 0.8rem;
  opacity: 0.7;
}
.eq {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  height: 34px;
  margin: 0 auto 14px;
}
.eq span {
  display: block;
  width: 5px;
  height: 100%;
  background: var(--cyan);
  border-radius: 2px;
  transform-origin: bottom;
  transform: scaleY(0.3);
  box-shadow: 0 0 8px rgba(0,229,255,0.5);
  animation: eqBounce 0.9s ease-in-out infinite;
}
.eq span:nth-child(1) { animation-delay: 0s;   }
.eq span:nth-child(2) { animation-delay: 0.2s; }
.eq span:nth-child(3) { animation-delay: 0.4s; }
.eq span:nth-child(4) { animation-delay: 0.1s; }
.eq span:nth-child(5) { animation-delay: 0.5s; }
@keyframes eqBounce {
  0%, 100% { transform: scaleY(0.3); }
  50%      { transform: scaleY(1);   }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 760px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 0.85rem; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .two-col.reverse .col-media { order: 0; } /* photo on top when stacked */
  .section { padding: 72px 20px; }
}

/* ===== ACCESSIBILITY: reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .hero-logo { opacity: 1; transform: none; }
  .hero-tagline, .scroll-cue { opacity: 1; }
  .eq span { transform: scaleY(1); }
}
