/* ==========================================================================
   NEO-MINIMALIST EDITORIAL BENTO — RISHABH KUMAR
   Aesthetic: Swiss High-Contrast Poster Typography, Brutalist Bento, Tactile Textures
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500;600&family=Newsreader:ital,opsz,wght@1,6..72,400;1,6..72,500;1,6..72,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Canvas & Ground */
  --canvas-pitch: #050505;
  --canvas-surface: #0b0b0b;

  /* Card Palette (Swiss Tri-Tone Surface System) */
  --card-paper: #F3F1CF;
  --card-paper-ink: #0A0A0A;
  --card-paper-muted: #575742;
  --card-paper-border: rgba(10, 10, 10, 0.18);

  --card-brutalist: #C8C8C6;
  --card-brutalist-ink: #0A0A0A;
  --card-brutalist-border: rgba(10, 10, 10, 0.22);

  --card-charcoal: #141412;
  --card-charcoal-elevated: #1D1D1A;
  --card-charcoal-border: rgba(255, 255, 255, 0.18);
  --card-charcoal-border-high: rgba(255, 255, 255, 0.35);

  /* Acidic High-Heat Accent */
  --accent-acid: #E8D838;
  --accent-acid-glow: rgba(232, 216, 56, 0.28);
  --accent-acid-ink: #0A0A0A;

  /* Neutrals */
  --text-white: #FFFFFF;
  --text-cream: #F5F4F0;
  --text-dim: #9E9E98;
  --text-muted: #666660;

  /* Typography */
  --font-editorial: 'Newsreader', 'Instrument Serif', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Editorial Card Specs */
  --radius-bento: 20px;
  --radius-sm: 8px;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-normal: 0.35s;
}

/* ==========================================================================
   RESET & DOCUMENT BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--canvas-pitch);
  color: var(--text-white);
  font-family: var(--font-sans);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Global SVG Waves Background (assets/background.svg) */
.bg-topo-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image: url('../assets/background.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.75;
  filter: contrast(1.15) brightness(0.9);
}

/* Tactile Film Grain Overlay (opacity: 0.035) */
.noise-texture {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Selection */
::selection {
  background: var(--accent-acid);
  color: var(--accent-acid-ink);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--canvas-pitch);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-acid);
}

/* ==========================================================================
   FOUR CORNER ART-PRINT ANCHORS (Fixed Viewport Framing)
   ========================================================================== */
.corner-anchor {
  position: fixed;
  z-index: 999;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  pointer-events: none;
  mix-blend-mode: difference;
}

.corner-tl { top: 24px; left: 32px; }
.corner-tr { top: 24px; right: 32px; text-align: right; }
.corner-bl { bottom: 24px; left: 32px; }
.corner-br { bottom: 24px; right: 32px; text-align: right; }

.viewport-center-author {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  z-index: 999;
  pointer-events: none;
  mix-blend-mode: difference;
}

.anchor-indicator {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent-acid);
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 8px var(--accent-acid-glow);
}

/* ==========================================================================
   PRIMARY EDITORIAL BENTO WRAPPER
   ========================================================================== */
.bento-editorial-stage {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

/* Base Card Styling (framed poster feel, 20px radius, crisp hairlines) */
.b-card {
  position: relative;
  border-radius: var(--radius-bento);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-spring), 
              border-color var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-spring);
}

.b-card:hover {
  transform: translateY(-3px);
}

/* ==========================================================================
   CARD THEMES: PAPER, BRUTALIST GREY, CHARCOAL
   ========================================================================== */

/* 1. Stark Warm Paper */
.card-paper {
  background-color: var(--card-paper);
  color: var(--card-paper-ink);
  border: 1px solid var(--card-paper-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.card-paper a {
  color: var(--card-paper-ink);
}

/* 2. Brutalist Mid-Tone Grey */
.card-brutalist {
  background-color: var(--card-brutalist);
  color: var(--card-brutalist-ink);
  border: 1px solid var(--card-brutalist-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Vertical Column / Fluted-line Dividers inside brutalist card */
.fluted-divider-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 47px,
    rgba(10, 10, 10, 0.05) 48px,
    transparent 49px
  );
}

/* 3. Dark Matte Charcoal */
.card-charcoal {
  background-color: var(--card-charcoal);
  color: var(--text-cream);
  border: 1px solid var(--card-charcoal-border);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.card-charcoal:hover {
  border-color: var(--card-charcoal-border-high);
}

/* ==========================================================================
   MICRO-TYPOGRAPHY & TAG SYSTEM
   ========================================================================== */
.micro-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.micro-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

.tag-pill-dark {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: rgba(10, 10, 10, 0.08);
  border: 1px solid rgba(10, 10, 10, 0.16);
  border-radius: 4px;
}

.tag-pill-light {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  color: var(--text-dim);
}

/* ==========================================================================
   FEATURE CARD 1: HERO / EDITORIAL MANIFESTO (Span 8)
   Warm Paper with Swiss Typography, Editorial Columns & Large Profile Avatar
   ========================================================================== */
.col-span-8 { grid-column: span 8; }
.col-span-7 { grid-column: span 7; }
.col-span-6 { grid-column: span 6; }
.col-span-5 { grid-column: span 5; }
.col-span-4 { grid-column: span 4; }
.col-span-12 { grid-column: span 12; }

.card-hero-manifesto {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px;
}

.hero-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--card-paper-border);
}

/* Editorial Serif Headline with Selective Motion Blur */
.hero-display-serif {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.8rem, 4.6vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--card-paper-ink);
  margin: 24px 0 28px;
}

/* Signature Motion Blur Typography with SVG Directional Horizontal Blur */
.motion-blur-text {
  display: inline-block;
  color: var(--card-paper-ink);
  filter: url(#motion-blur-x);
  transition: filter 0.4s var(--ease-spring);
  cursor: default;
}

.card-hero-manifesto:hover .motion-blur-text,
.motion-blur-text:hover {
  filter: none;
}

/* Profile Identity Row with Bigger Avatar */
.hero-identity-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.editorial-avatar-box {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--card-paper-ink);
  background: var(--card-brutalist);
  flex-shrink: 0;
  box-shadow: 4px 4px 0 var(--card-paper-ink);
  position: relative;
}

.editorial-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) grayscale(15%);
  transition: filter var(--duration-normal) ease;
}

.editorial-avatar-box:hover .editorial-avatar-img {
  filter: contrast(1.1) grayscale(0%);
}

.hero-bio-title {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--card-paper-ink);
  line-height: 1.2;
}

.hero-bio-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--card-paper-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* Swiss Newspaper Justified Multi-Column Text */
.editorial-newspaper-columns {
  column-count: 2;
  column-gap: 24px;
  font-size: 11px;
  line-height: 1.4;
  text-align: justify;
  text-justify: inter-word;
  color: #262624;
  border-top: 1px solid var(--card-paper-border);
  padding-top: 16px;
}

.editorial-newspaper-columns strong {
  color: #000000;
  font-weight: 600;
}

/* Hero Card Socials & Contact Transmission Strip */
.hero-socials-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--card-paper-border);
}

.hero-social-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.hero-social-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--card-paper-ink);
  background: rgba(10, 10, 10, 0.05);
  border: 1px solid rgba(10, 10, 10, 0.12);
  transition: all 0.2s var(--ease-spring);
}

.hero-social-link:hover {
  background: #0A0A0A;
  color: #FFFFFF;
  border-color: #0A0A0A;
  transform: translateY(-1px);
}

.hero-social-link.email-featured {
  background: rgba(10, 10, 10, 0.08);
  border-color: rgba(10, 10, 10, 0.2);
  font-weight: 600;
}

.hero-social-link.email-featured:hover {
  background: #0A0A0A;
  color: var(--accent-acid);
}

.hero-social-link .social-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-acid);
  box-shadow: 0 0 6px var(--accent-acid);
}

.hero-social-link .arrow-glyph {
  font-size: 10px;
  opacity: 0.6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-social-link:hover .arrow-glyph {
  opacity: 1;
  transform: translate(1px, -1px);
}

/* ==========================================================================
   FEATURE CARD 2: REAL-TIME PRESENCE & SPOTIFY (Span 4)
   Clean, authentic Discord & Spotify status
   ========================================================================== */
.card-presence-clean,
.card-neon-atmosphere {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--card-charcoal);
  border: 1px solid var(--card-charcoal-border);
  min-height: 280px;
}

/* ==========================================================================
   WORKING LIVE PROJECT STRIP (notes.rishabh-rishuu.com)
   Minimal, understated, yet clearly visible across the bento grid
   ========================================================================== */
.card-live-project {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  background-color: var(--card-charcoal);
  border: 1px solid var(--card-charcoal-border);
  border-radius: var(--radius-bento);
  transition: transform var(--duration-normal) var(--ease-spring),
              border-color var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-spring);
}

.card-live-project:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 216, 56, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(232, 216, 56, 0.1);
}

.live-project-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.live-project-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: rgba(232, 216, 56, 0.08);
  border: 1px solid rgba(232, 216, 56, 0.2);
  border-radius: 4px;
}

.live-project-text {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.live-project-name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: 0.02em;
}

.live-project-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
}

.live-project-desc {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-dim);
}

.live-project-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.card-live-project:hover .live-project-right {
  color: var(--accent-acid);
}

.card-live-project:hover .project-arrow-icon {
  transform: translate(2px, -2px);
}

.presence-status-box {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.lanyard-live-deck {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lanyard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
}

.status-beacon-pulse {
  display: flex;
  align-items: center;
  gap: 6px;
}

.beacon-dot,
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6b7280;
  display: inline-block;
}

.beacon-dot.online,
.status-dot.online { background: #10b981; box-shadow: 0 0 8px #10b981; }
.beacon-dot.idle,
.status-dot.idle { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }
.beacon-dot.dnd,
.status-dot.dnd { background: #ef4444; box-shadow: 0 0 8px #ef4444; }
.beacon-dot.offline,
.status-dot.offline { background: #6b7280; }

/* ==========================================================================
   EXPANDED TACTILE MUSIC DECK & ROTATING TEXTURED VINYL WHEEL
   ========================================================================== */
.spotify-deck-expanded {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 12px;
  transition: border-color var(--duration-normal) var(--ease-spring),
              background var(--duration-normal) var(--ease-spring);
}

.spotify-deck-expanded:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(232, 216, 56, 0.3);
}

.spotify-deck-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Vinyl Wheel Container */
.vinyl-wheel-container {
  position: relative;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Physical Textured Vinyl Disc */
.vinyl-disc {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #0d0d0d;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  will-change: transform;
}

.vinyl-disc.spinning {
  animation: spinVinyl 8s linear infinite;
}

.vinyl-disc.paused {
  animation: spinVinyl 8s linear infinite;
  animation-play-state: paused;
}

@keyframes spinVinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Concentric micro-groove physical vinyl texture */
.vinyl-grooves {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    #181818 0px,
    #0c0c0c 2px,
    #1d1d1d 3px,
    #0e0e0e 5px,
    #1a1a1a 6px,
    #090909 8px
  );
  opacity: 0.95;
  pointer-events: none;
}

/* Holographic / Light Refraction Sheen across Vinyl */
.vinyl-sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 35deg,
    transparent 0deg,
    rgba(255, 255, 255, 0.14) 40deg,
    transparent 80deg,
    transparent 180deg,
    rgba(255, 255, 255, 0.14) 220deg,
    transparent 260deg,
    transparent 360deg
  );
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Center Album Art Label */
.vinyl-label-wrap {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(10, 10, 10, 0.9);
  box-shadow: 0 0 0 1px rgba(232, 216, 56, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vinyl-label-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Center Spindle Hole */
.vinyl-spindle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.9);
  z-index: 3;
}

/* Track Metadata Details */
.spotify-track-details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  gap: 3px;
}

.spotify-live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.spotify-tag-now-playing {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-acid);
  text-transform: uppercase;
}

/* Live animated equalizer bars */
.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 9px;
}

.eq-bar {
  width: 2px;
  background: var(--accent-acid);
  border-radius: 1px;
  animation: eqBounce 1.2s ease-in-out infinite alternate;
}

.eq-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.eq-bar:nth-child(2) { height: 95%; animation-delay: 0.3s; }
.eq-bar:nth-child(3) { height: 60%; animation-delay: 0.2s; }

@keyframes eqBounce {
  0% { height: 25%; }
  50% { height: 100%; }
  100% { height: 35%; }
}

.spotify-title-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.spotify-title-text {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.spotify-title-link:hover .spotify-title-text {
  color: var(--accent-acid);
}

.spotify-title-link:hover .arrow-glyph {
  transform: translate(2px, -2px);
  color: var(--accent-acid);
}

.spotify-artist-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-album-text {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Live Scrubber Progress Bar */
.spotify-scrubber-wrap {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.spotify-scrubber-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.spotify-scrubber-fill {
  width: 0%;
  height: 100%;
  background: var(--accent-acid);
  border-radius: 2px;
  transition: width 0.3s linear;
}

.spotify-scrubber-times {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Idle Notice */
.spotify-idle-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  padding: 6px 0;
}

.idle-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.spotify-track-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.spotify-art-mini {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
  background: #000;
  flex-shrink: 0;
}

.spotify-meta-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.spotify-title-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-artist-text {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   FEATURE CARD 3 & 4: SELECTED REPOSITORIES (Span 6 Each)
   Brutalist Grey & Matte Charcoal
   ========================================================================== */
.card-project {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--duration-normal) var(--ease-spring),
              border-color var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-spring);
}

.card-project:hover {
  border-color: rgba(232, 216, 56, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 24px rgba(232, 216, 56, 0.12);
}

a.card-project {
  color: inherit;
}

a.card-brutalist,
.card-brutalist a {
  color: var(--card-brutalist-ink);
}

a.card-charcoal,
.card-charcoal a {
  color: var(--text-cream);
}

.card-brutalist .project-name-display {
  color: var(--card-brutalist-ink);
}

.card-charcoal .project-name-display {
  color: var(--text-white);
}

.project-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.project-name-display {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-arrow-icon {
  font-size: 1.1rem;
  transition: transform var(--duration-normal) var(--ease-spring);
}

.card-project:hover .project-arrow-icon {
  transform: translate(3px, -3px);
}

.project-synopsis {
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 20px;
}

.card-paper .project-synopsis,
.card-brutalist .project-synopsis {
  color: #1f1f1d;
  font-weight: 450;
}

.card-charcoal .project-synopsis {
  color: #c4c4be;
}

.card-brutalist .micro-label {
  color: #111110;
}

.card-brutalist .micro-num {
  color: #3b3b38;
}

/* Wireframe Star / Sparkle Motif in Corner */
.star-wireframe-motif {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
  pointer-events: none;
  opacity: 0.35;
  transition: transform 0.6s var(--ease-spring), opacity 0.3s ease;
}

.card-project:hover .star-wireframe-motif {
  transform: rotate(90deg) scale(1.15);
  opacity: 0.9;
}

/* ==========================================================================
   FEATURE CARD 5: BAUHAUS & ORGANIC MOTIF PHILOSOPHY (Span 5)
   Interlocking Geometric Rings + Raw Charcoal Organic Lines
   ========================================================================== */
.card-bauhaus-motif {
  padding: 28px;
  background-color: var(--card-charcoal);
  border: 1px solid var(--card-charcoal-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.bauhaus-rings-visual {
  width: 100%;
  height: 110px;
  margin: 16px 0;
  position: relative;
  overflow: hidden;
}

.bauhaus-rings-visual svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Kinetic Geometric Animations */
.orbit-group {
  transform-origin: center;
  transition: transform 0.4s var(--ease-spring);
}

.orbit-1 {
  animation: floatDrift1 7s ease-in-out infinite alternate;
}

.orbit-2 {
  animation: floatDrift2 9s ease-in-out infinite alternate;
}

.orbit-3 {
  animation: floatDrift3 8s ease-in-out infinite alternate;
}

.orbit-4 {
  animation: floatDrift4 6s ease-in-out infinite alternate;
}

.spin-forward {
  transform-origin: 120px 50px;
  animation: rotateCircle 18s linear infinite;
}

.spin-forward-slow {
  transform-origin: 240px 50px;
  animation: rotateCircle 24s linear infinite;
}

.spin-reverse {
  transform-origin: 60px 50px;
  animation: rotateCircleReverse 12s linear infinite;
}

.pulse-ring {
  transform-origin: 180px 50px;
  animation: pulseScale 4s ease-in-out infinite alternate;
}

.card-bauhaus-motif:hover .spin-forward {
  animation-duration: 8s;
}

.card-bauhaus-motif:hover .spin-reverse {
  animation-duration: 5s;
}

.card-bauhaus-motif:hover .spin-forward-slow {
  animation-duration: 10s;
}

@keyframes rotateCircle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCircleReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes pulseScale {
  0% { transform: scale(0.9); opacity: 0.4; }
  100% { transform: scale(1.18); opacity: 0.85; stroke: var(--accent-acid); }
}

@keyframes floatDrift1 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-3px, -4px); }
}

@keyframes floatDrift2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(4px, 3px); }
}

@keyframes floatDrift3 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-3px, 4px); }
}

@keyframes floatDrift4 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(3px, -3px); }
}

.manifesto-quote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--text-cream);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.manifesto-author {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-acid);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ==========================================================================
   FEATURE CARD 6: FAVORITES & CULTURE DECK (Span 7)
   Warm Paper, High-Contrast Typography & Max Verstappen Reference
   ========================================================================== */
.card-culture-strip {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.culture-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.culture-col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--card-paper-muted);
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--card-paper-border);
}

.culture-col ul {
  list-style: none;
}

.culture-col ul li {
  font-size: 12px;
  line-height: 1.5;
  color: var(--card-paper-ink);
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.culture-col ul li::before {
  content: "—";
  color: var(--card-paper-muted);
  font-size: 10px;
}

/* ==========================================================================
   FEATURE CARD 7: COLLAPSIBLE VISUAL PROOF-SHEET ARCHIVE (Span 12)
   Dynamic Auto-Detecting Image Gallery
   ========================================================================== */
.card-archive-proofsheet {
  padding: 28px;
  background-color: var(--card-charcoal);
  border: 1px solid var(--card-charcoal-border);
}

.archive-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.editorial-toggle-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  background: var(--text-white);
  color: var(--canvas-pitch);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
}

.editorial-toggle-btn:hover {
  background: var(--accent-acid);
  color: var(--accent-acid-ink);
  transform: translateY(-1px);
}

.gallery-collapsible-deck {
  display: none;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--card-charcoal-border);
}

.gallery-collapsible-deck.expanded {
  display: block;
}

.editorial-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-tile,
.gallery-item {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--card-charcoal-border);
  background: #000;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s var(--ease-spring);
}

.gallery-tile:hover,
.gallery-item:hover {
  border-color: var(--accent-acid);
  transform: scale(1.02);
}

.gallery-tile img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.2s ease;
}

.gallery-tile:hover img,
.gallery-item:hover img {
  filter: brightness(1.08);
}

/* ==========================================================================
   FEATURE CARD 8: GLOBAL SOCIAL TRANSMISSIONS / LINKS (Span 12)
   High-Contrast Horizontal Grid
   ========================================================================== */
/* ==========================================================================
   FEATURE CARD 8: COMPACT MINIMALIST FOOTER (Span 12)
   Low-profile, sleek, minimal
   ========================================================================== */
.footer-compact-strip {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background-color: var(--card-charcoal);
  border: 1px solid var(--card-charcoal-border);
}

.footer-compact-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-compact-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-mini-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 3px 6px;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease-spring);
}

.footer-mini-link:hover {
  color: var(--accent-acid);
  background: rgba(232, 216, 56, 0.08);
  transform: translateY(-1px);
}

.footer-sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 10px;
}

.card-social-transmissions {
  padding: 24px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background-color: var(--card-brutalist);
  border: 1px solid var(--card-brutalist-border);
}

.transmission-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(10, 10, 10, 0.06);
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 8px;
  text-decoration: none;
  color: var(--card-brutalist-ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s var(--ease-spring);
}

.transmission-link:hover {
  background: #0A0A0A;
  color: var(--text-white);
  transform: translateY(-2px);
}

.transmission-arrow {
  font-family: var(--font-mono);
  font-size: 11px;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5, 5, 5, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-viewport {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-bento);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #000;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.modal-viewport img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.modal-close-trigger {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: var(--card-paper);
  color: var(--card-paper-ink);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.modal-close-trigger:hover {
  transform: rotate(90deg);
  background: var(--accent-acid);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Adaptive Swiss Typography & Bento Re-flow)
   ========================================================================== */
@media (max-width: 992px) {
  .col-span-8, .col-span-7, .col-span-6, .col-span-5, .col-span-4 {
    grid-column: span 12;
  }
  .card-social-transmissions {
    grid-template-columns: repeat(2, 1fr);
  }
  .editorial-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .bento-editorial-stage {
    padding: 48px 16px 64px;
  }
  .corner-anchor {
    display: none; /* Keep mobile view clean */
  }
  .editorial-newspaper-columns {
    column-count: 1;
  }
  .culture-columns {
    grid-template-columns: 1fr;
  }
  .card-social-transmissions {
    grid-template-columns: 1fr;
  }
  .editorial-gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-identity-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-socials-strip {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-social-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .footer-compact-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
  }
  .card-live-project {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 12px;
  }
  .live-project-right {
    align-self: flex-end;
  }
}

/* ==========================================================================
   MINIMAL SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }

/* Organic line-art SVG overlay */
.organic-stroke-motif {
  position: absolute;
  bottom: -15px;
  right: -10px;
  width: 140px;
  height: 140px;
  pointer-events: none;
  opacity: 0.12;
  stroke: currentColor;
  transform: rotate(15deg);
}
