/* tsParticles background container */
#aa-tsparticles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
/* After August - Site Styles (Dark Theme) */

/* Design Tokens */
:root {
  /* Dark theme base */
  --bg-primary: #0a0a0a;          /* Deep black */
  --bg-secondary: #1a1a1a;        /* Charcoal */
  --text-primary: #e0e0e0;        /* Light gray */
  --text-secondary: #a0a0a0;      /* Medium gray */
  --accent-primary: #d4a574;      /* Warm gold/amber */
  --accent-secondary: #b8935f;    /* Darker amber */
  --border: #333333;              /* Dark border */

  --space-xs: .5rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.5rem;
  --space-xl: 4rem;

  --radius: 10px;
  --transition: 0.3s ease;
  --shadow: 0 6px 20px rgba(0,0,0,0.25);
  /* Filter to color black SVG icons to accent color */
  --icon-accent-filter: invert(79%) sepia(24%) saturate(568%) hue-rotate(349deg) brightness(92%) contrast(92%);
}

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
html {
  background: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Brandon Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.65;
  padding-top: 64px; /* offset for fixed header */
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-secondary); }

.container { width: 92%; max-width: 1200px; margin: 0 auto; }

/* Header */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,10,0.8); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: .75rem;
  color: var(--text-primary);
}
.brand span { letter-spacing: 2px; font-weight: 600; font-size: .95rem; }

@font-face {
  font-family: 'Anders';
  src: url('../assets/fonts/Anders.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Brandon Grotesque';
  src: url('../assets/fonts/Brandon-Grotesque/Brandon-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Brandon Grotesque';
  src: url('../assets/fonts/Brandon-Grotesque/Brandon-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Brandon Grotesque';
  src: url('../assets/fonts/Brandon-Grotesque/Brandon-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.logo-mark {
  font-family: 'Anders', serif;
  font-size: 32px;
  line-height: 1;
  color: var(--accent-primary);
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}

nav ul { display: none; gap: .75rem; align-items: center; list-style: none; margin: 0; padding: 0; }
nav a { color: var(--text-primary); padding: .35rem .5rem; border-radius: 6px; }
nav a:hover { color: var(--accent-primary); }
nav a { text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* Mobile nav */
.mobile-nav { position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; width: 30px; height: 24px; display: grid; gap: 5px; }
.mobile-nav summary::-webkit-details-marker{ display:none; }
.mobile-nav summary span { display:block; height:3px; background: var(--text-primary); border-radius: 2px; }
.mobile-nav[open] summary span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.mobile-nav[open] summary span:nth-child(2){ opacity: 0; }
.mobile-nav[open] summary span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }
.mobile-nav ul {
  position: absolute; right: 0; top: 110%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-s);
  display: grid; gap: .25rem; width: max(200px, 40vw);
  box-shadow: var(--shadow);
}
.mobile-nav a { color: var(--text-primary); padding: .5rem .6rem; border-radius: 6px; display: block; }
.mobile-nav a:hover { background: rgba(255,255,255,0.06); }

/* Desktop breakpoint */
@media (min-width: 768px) {
  nav ul { display: flex; }
  .mobile-nav { display: none; }
}

/* Sections */
section { padding: var(--space-xl) 0; border-top: 1px solid var(--border); }
section .section-header { text-align: center; margin-bottom: var(--space-l); }
section .section-header h2 { margin: 0 0 .25rem 0; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
section .section-header p { margin: 0; color: var(--text-secondary); }

.fade-in { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Hero */
.hero { padding-top: var(--space-xl); padding-bottom: var(--space-xl); background: transparent; border-top: none; }
.hero-grid { display: grid; gap: var(--space-l); align-items: center; }
.hero .video { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.hero iframe { width: 100%; height: 100%; border: 0; display: block; }
.hero .title { text-align: center; }
.hero .title h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .5rem 0; }
.hero .title p { color: var(--text-secondary); margin: 0; }
.scroll-indicator { text-align: center; margin-top: .5rem; color: var(--text-secondary); font-size: .9rem; }

/* Videos grid */
.videos {
  background: rgba(75, 75, 75, 0.25);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.videos-grid { display: grid; gap: var(--space-m); grid-template-columns: 1fr; }
.videos-grid .video { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #000; box-shadow: var(--shadow); }
.videos-grid iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 700px) { .videos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .videos-grid { grid-template-columns: repeat(3, 1fr); } }

/* Album section */
.album {
  background: rgba(75, 75, 75, 0.25);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  border-top: none;
  padding-top: var(--space-m);
}
.album .video { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #000; box-shadow: var(--shadow); }
.album iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Platforms */
.platforms { background: transparent; }
.platforms-grid { display: grid; gap: var(--space-m); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .platforms-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .platforms-grid { grid-template-columns: repeat(6, 1fr); } }
.platform-link { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: var(--space-s); border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-primary); transition: transform .15s ease, border-color var(--transition), box-shadow var(--transition); text-align: center; }
.platform-link:hover { transform: translateY(-2px); border-color: var(--accent-primary); box-shadow: var(--shadow); }
.platform-icon { width: 36px; height: 36px; filter: var(--icon-accent-filter); }
.platform-label { font-size: .95rem; color: var(--text-primary); }
.platform-cta { font-size: .8rem; color: var(--text-secondary); }

/* About */
.about {
  background: rgba(75, 75, 75, 0.25);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.about p { max-width: 900px; margin: 0 auto var(--space-s) auto; color: var(--text-primary); text-align: justify; }
/* About layout with image left, text right */
.about-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-m); align-items: start; position: relative; overflow: visible; }
.about-image { 
  --profile-scale: 1; 
  --profile-translate-x: 0px; 
  --profile-translate-y: 0px; 
  /* Shadow controls (single focal point + stretch) */
  --shadow-x: 30%;            /* center X within image bounds */
  --shadow-y: 50%;            /* center Y within image bounds */
  --shadow-size: 100%;        /* base diameter relative to image width */
  --shadow-scale-x: 1.1;        /* horizontal stretch factor */
  --shadow-scale-y: 1.2;        /* vertical stretch factor */
  --shadow-alpha: 0.25;       /* peak darkness */
  --shadow-blur: 20px;        /* blur amount */
  overflow: visible; 
  position: relative; 
}
.about-image::before {
  content: "";
  position: absolute;
  width: var(--shadow-size);
  height: var(--shadow-size);
  border-radius: 50%;
  left: calc(var(--shadow-x) - (var(--shadow-size) / 2));
  top: calc(var(--shadow-y) - (var(--shadow-size) / 2));
  transform-origin: bottom left;
  transform: translate(var(--profile-translate-x), var(--profile-translate-y)) scale(var(--profile-scale)) scale(var(--shadow-scale-x), var(--shadow-scale-y));
  /* Gentle two-stop falloff to avoid lobing */
  background: radial-gradient(circle, rgba(0,0,0,var(--shadow-alpha)) 0%, rgba(0,0,0,0) 75%);
  filter: blur(var(--shadow-blur));
  z-index: 0;
  pointer-events: none;
}
.about-image img {
  width: 100%; height: auto;
  position: relative; z-index: 1;
  transform-origin: bottom left;
  transform: translateZ(0) translate(var(--profile-translate-x), var(--profile-translate-y)) scale(var(--profile-scale));
}
/* Dedicated styling for the transparent profile image */
.profile-photo {
  display: block;
  width: clamp(460px, 38vw, 560px);
  height: auto;
  margin: 0 auto;
  border: 0;               /* no border for seamless blend */
  border-radius: 0;        /* keep natural transparent contour */
  transform: translateZ(0);
  /* Soft bottom fade to blend cutoff */
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
}
/* Ordered list styling within About */
.about-content ol { padding-left: 1.2rem; margin: 0 0 var(--space-s) 0; }
.about-content li { margin: 0 0 .5rem 0; text-align: justify; }
@media (min-width: 1000px) {
  .about-grid { grid-template-columns: 1fr 2fr; align-items: start; }
  /* Anchor image to bottom of section */
  .about { position: relative; overflow: visible; }
  .about-image { position: relative; z-index: 1; align-self: end; margin-bottom: calc(-1 * var(--space-xl)); top: -4rem; }
  /* Increased overlap: text above image and pulled left */
  .about-content { position: relative; z-index: 3; margin-left: 10%; padding-left: 0%; }
  /* Narrow overall width for better composition */
  .about .container { max-width: 860px; }
  /* Desktop default independent scale */
  .about-image { --profile-scale: 1.2; --profile-translate-x: 0px; --profile-translate-y: 50px; }
}

/* Ground shadow ellipse beneath the image on larger screens */
/* Remove base shadow ellipse */
@media (min-width: 700px) {
  .about-image::after { content: none; }
}

/* Narrower bounds for About on desktop */
@media (min-width: 1024px) {
  .hero { padding-top: var(--space-l); padding-bottom: var(--space-l); }
  .about .container { max-width: 860px; }
}

/* Social */
.social-links { display: flex; flex-wrap: wrap; gap: var(--space-s); justify-content: center; }
.social-links a { border: 1px solid var(--border); background: var(--bg-primary); padding: .6rem .8rem; border-radius: 999px; color: var(--text-primary); transition: border-color var(--transition), transform .15s ease; }
.social-links a:hover { border-color: var(--accent-primary); transform: translateY(-2px); }

/* Contact */
.contact { background: transparent; }
.contact form { max-width: 640px; margin: 0 auto; display: grid; gap: .75rem; }
.contact input, .contact textarea { width: 100%; padding: .8rem 1rem; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-primary); color: var(--text-primary); }
.contact button { cursor: pointer; padding: .8rem 1rem; border-radius: 8px; border: 1px solid var(--accent-secondary); background: var(--accent-primary); color: #111; font-weight: 600; transition: filter var(--transition); }
.contact button:hover { filter: brightness(0.95); }

/* Footer */
footer { 
  padding: var(--space-l) 0; 
  background: transparent; 
  color: var(--text-primary); 
  text-align: center; 
  position: relative;
  z-index: 1;
}

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .platform-link:hover { transform: none; }
}


