@import url("https://fonts.googleapis.com/css2?family=Metal+Mania&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Michroma&display=swap");
@import url("https://fonts.cdnfonts.com/css/pixeloid-sans");
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");

/* ===== Theme ===== */
:root {
  --indigo: #6366f1;
  --indigo-2: #4f46e5;
  --cyan: #06b6d4;
  --purple: #a855f7;
  --bg-900: #0a0f1f;
  --bg-950: #070b17;
  --text-100: #f3f4f6;
  --text-400: #9ca3af;
  --glass-blur: 12px;

  /* grid sizing */
  --nav-h: 4rem;
  --row-h: 100vh; /* constant move per row */
  --panel-h: calc(100vh - var(--nav-h));
}
body.home-mode {
  --nav-h: 0rem;
}

/* Fonts */
.metal-mania-regular {
  font-family: "Metal Mania", system-ui;
  font-weight: 400;
}
.michroma-regular {
  font-family: "Michroma", sans-serif;
  font-weight: 400;
}
.nav-brand-heading-size {
  font-size: 24px;
}
.mainbrand-section-heading-size {
  font-size: 48px;
}

/* Keep anchors clear of fixed nav */
html {
  scroll-padding-top: var(--nav-h);
}
.grid-section {
  scroll-margin-top: var(--nav-h);
}

/* Base */
html,
body {
  min-height: 100%;
}
body {
  font-family:
    "Space Grotesk",
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    "Helvetica Neue",
    Arial,
    "Noto Sans",
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol";
  background:
    radial-gradient(
      1200px 600px at 80% 10%,
      rgba(99, 102, 241, 0.08),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 20% 80%,
      rgba(6, 182, 212, 0.07),
      transparent 60%
    ),
    linear-gradient(180deg, var(--bg-900) 0%, var(--bg-950) 100%);
  color: var(--text-100);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

/* Scrollbars (yours) */
* {
  scrollbar-width: thin;
  scrollbar-color: #667eea rgba(17, 24, 39, 0.5);
}
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
*::-webkit-scrollbar-track {
  background: rgba(17, 24, 39, 0.5);
  border-radius: 10px;
}
*::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 10px;
  transition: all 0.3s ease;
}
*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}
*::-webkit-scrollbar-corner {
  background: rgba(17, 24, 39, 0.5);
}
body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/* Decorative BG */
.bg-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-size: 50px 50px;
  background-image:
    linear-gradient(to right, rgba(6, 182, 212, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(6, 182, 212, 0.06) 1px, transparent 1px);
  opacity: 0.18;
}
.bg-glow {
  position: fixed;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.18) 0%,
    rgba(6, 182, 212, 0.06) 50%,
    transparent 70%
  );
}
.bg-glow.top-right {
  top: -20%;
  right: -20%;
}
.bg-glow.bottom-left {
  bottom: -20%;
  left: -20%;
}

/* ===== Main logo - top nav ===== */

.header-logo {
  text-orientation: mixed;
  font-family: "Michroma", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 4px;
  color: var(--text-100);
  text-transform: uppercase;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-image: url("../images/overlay4_horiz.jpg");
  background-size: 800%;
  background-position: 60% 50%;
  /*
    background-image: url("../images/overlay9_horiz.jpg");
    background-size: 300%;
    background-position: 75% 50%;
    */
}

/* ===== Navbar ===== */
nav.glass {
  background: rgba(17, 24, 39, 0.72);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 0;
  border-bottom: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 0 !important;
  box-shadow: none;
}
#mobile-menu {
  background: rgba(17, 24, 39, 0.95);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
nav a {
  position: relative;
}
nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transform: translateX(-50%);
  border-radius: 2px;
  transition: width 0.25s ease;
}
nav a:hover::after,
nav a.is-active::after {
  width: 100%;
}
nav a.is-active,
nav a:hover {
  color: #e8f8ff;
}

/* Default: nav hidden (prevents flash on Home) */
.site-nav {
  height: var(--nav-h);
  background: rgba(17, 24, 39, 0.72);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid rgba(6, 182, 212, 0.25);
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    background 0.6s ease,
    border-bottom-color 0.6s ease;
}
body.nav-mode .site-nav {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Show nav on non-grid pages (like post pages) */
body:not(.no-scroll) nav {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

/* ---- Blog-mode: Constellation-inspired deep-navy atmosphere ---- */
body.blog-mode .site-nav {
  background: rgba(4, 8, 20, 0.92);
  border-bottom-color: rgba(99, 102, 241, 0.28);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    background 0.6s ease,
    border-bottom-color 0.6s ease;
}
body.blog-mode #blog {
  background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(30, 27, 75, 0.55) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 85% 100%, rgba(15, 23, 60, 0.4) 0%, transparent 65%),
              #05091a;
  transition: background 0.6s ease;
}
/* on Home it's hidden via default + body.home-mode */

/* ===== Lock page scrolling entirely (sections scroll internally only) ===== */
.no-scroll,
.no-scroll-html {
  overflow: hidden !important;
  height: 100vh;
}

/* ===== Grid viewport (prevents manual section-to-section scrolling) ===== */
#grid-viewport {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-h);
  width: 100vw;
  height: var(--panel-h);
  overflow: hidden;
  z-index: 1;
}
body.home-mode #grid-viewport {
  top: 0;
  height: 100vh;
}

/* Large canvas that slides inside the fixed viewport */
#grid-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 300vw;
  height: calc(var(--row-h) * 2);
  transition: transform 950ms cubic-bezier(0.16, 0.84, 0.44, 1);
  will-change: transform;
}

/* Sections fill ONE row height (not the whole canvas) */
.grid-section {
  position: absolute;
  width: 100vw;
  height: var(--row-h); /* <-- fixed */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-top: 1rem;
  padding-bottom: 3rem;
  padding-top: 50px; /* space added ABOVE each section header text*/
}
#home.grid-section {
  overflow: hidden;
} /* no manual scroll on HOME */

/* ===== Cards/Buttons/Headings (yours) */
.glass {
  background: rgba(17, 24, 39, 0.72);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: 0.9rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.glass:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 24px 60px rgba(6, 182, 212, 0.18);
}
#projects .glass,
#music .glass,
#blog .glass {
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.78),
    rgba(3, 7, 18, 0.86)
  );
  border: 1px solid rgba(99, 102, 241, 0.22);
}
#projects .glass:hover,
#music .glass:hover,
#blog .glass:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 24px 60px rgba(6, 182, 212, 0.18);
}
.btn-grad {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  background: linear-gradient(
    90deg,
    rgba(29, 33, 84, 0.95),
    rgba(54, 16, 74, 0.95)
  );
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #fff;
  font-weight: 500;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    opacity 0.2s;
}
.btn-grad:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.35);
}
.btn-outline {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #80eaff;
}
.btn-outline:hover {
  background: rgba(6, 182, 212, 0.08);
}
.heading-gradient {
  background: linear-gradient(90deg, #9fb6ff 0%, #6fd3e6 40%, #bca5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* ===== Shared section utilities ===== */
.section-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-kicker {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}
.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-100);
  margin-bottom: 2.5rem;
  line-height: 1;
}

/* ===== Blog post grid ===== */
#post-list.post-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  #post-list.post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1280px) {
  #post-list.post-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Blog card (Russ Beye inspired, dark edition) ===== */
.fn-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #0e1525;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fn-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.65);
}
.fn-link {
  position: absolute;
  inset: 0;
  z-index: 10;
}
/* Cover image — tall, with fade-to-dark at the bottom (the key Russ Beye effect) */
.fn-cover {
  height: 11rem;
  background-size: cover;
  background-position: center;
  border-radius: 5px 5px 0 0;
  box-shadow: inset 0 -80px 60px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: flex-start;
  padding: 0.75rem 1.1rem;
}
/* No-cover header row */
.fn-no-cover {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 1.1rem 0;
}
/* Author row (inside cover) */
.fn-author-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* Circular avatar — gradient placeholder, swap background-image for a real photo */
.fn-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  border: 2px solid rgba(255, 255, 255, 0.25);
}
.fn-author {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
}
.fn-author--muted {
  color: rgba(255, 255, 255, 0.38);
}
/* Body — matches Russ Beye's 80%-width centered body */
.fn-body {
  padding: 0.8rem 1.1rem 0.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.fn-title {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-100);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.fn-excerpt {
  font-size: 0.855rem;
  color: rgba(156, 163, 175, 0.82);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Tags — uppercase, bordered, no fill (exact Russ Beye style) */
.fn-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.fn-tags span {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.62rem;
  height: 1.4rem;
  line-height: 1.4rem;
  letter-spacing: 1px;
  padding: 0 0.45rem;
  text-transform: uppercase;
  white-space: nowrap;
}
/* Footer — date pill on left, icons on right */
.fn-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.5rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}
.fn-date {
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  padding: 0 0.4rem;
  font-size: 0.6rem;
  height: 1.35rem;
  line-height: 1.35rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  white-space: nowrap;
}
.fn-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.fn-action-item {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.2s;
}
.fn-action-item svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.fn-card:hover .fn-action-item { color: rgba(255, 255, 255, 0.5); }
.fn-num {
  font-size: 0.6rem;
  position: relative;
  top: -0.3rem;
  letter-spacing: 0.5px;
}

/* ===== HOME styles (animated hero + left rail) ===== */
#home .background-text {
  position: fixed;
  inset: 0;
  font-size: 25vw;
  font-weight: 700;
  line-height: 0.8;
  color: rgba(99, 102, 241, 0.03);
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transform: rotate(-15deg);
}
#home .background-text::before {
  content: "creativilization";
  position: absolute;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: url("https://images.unsplash.com/photo-1534577403868-27b805ca4b9c?fm=jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: -400px;
  filter: blur(100px);
}
#home .sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 160px;
  background: rgba(10, 15, 31, 0.95);
  backdrop-filter: blur(var(--glass-blur));
  border-right: 1px solid rgba(99, 102, 241, 0.15);
  z-index: 30;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
body.nav-mode #home .sidebar {
  opacity: 0;
  transform: translateY(-24px);
  pointer-events: none;
}
body.home-mode #home .sidebar {
  opacity: 1;
  transform: none;
}
#home .sidebar-title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: "Michroma", sans-serif;
  font-size: 7.5vh;
  letter-spacing: 4px;
  color: var(--text-100);
  text-transform: uppercase;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-image: url("https://i.pinimg.com/736x/c0/3c/71/c03c710c7894197ee67aa6d0b3dcfc08.jpg");
  background-size: cover;
  background-position: 69%;
}
#home .main-content {
  margin-left: 160px;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 10;
  padding: 0 80px;
  /*overflow: hidden;*/
}
#home .content-overlay {
  position: relative;
  max-width: 600px;
}
#home .primary-heading {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 10px;
  color: var(--text-100);
  opacity: 0;
  transform: translateY(50px);
  animation: homeFadeUp 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}
#home .subtitle-text {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-400);
  line-height: 1.7;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: homeFadeUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.1s forwards;
}
@keyframes homeFadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}
#home .accent-line {
  position: absolute;
  top: 10%;
  left: -80px;
  width: 2px;
  height: 80vh;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  opacity: 0.6;
  z-index: 30;
}
#home .nav-links {
  display: flex;
  flex-direction: column;
  gap: 0px;
  opacity: 0;
  transform: translateY(20px);
  animation: homeFadeUp 1s cubic-bezier(0.4, 0, 0.2, 1) 1.6s forwards;
  align-items: flex-start;
}
#home .nav-link {
  font-size: 1.1rem;
  color: var(--text-400);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0 8px 45px;
  display: inline-block;
  width: fit-content;
  /* Add isolation to prevent rendering conflicts */
  isolation: isolate;
}
#home .nav-link::before {
  content: "→";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cyan);
  font-weight: 600;
  transition: transform 0.3s ease;
}
#home .nav-link::after {
  content: "";
  position: absolute;
  left: 45px;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--indigo));
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0.9;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* Force GPU acceleration for smoother rendering */
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
#home .nav-link:hover {
  color: var(--text-100);
  transform: translateX(10px);
}
#home .nav-link:hover::before {
  transform: translateY(-50%) translateX(-10px);
}
#home .nav-link:hover::after {
  transform: scaleX(1);
}
/* Alternative fallback for browsers with rendering issues */
@supports not (transform: scaleX(1)) {
  #home .nav-link::after {
    width: 0;
    transition: width 0.4s ease;
  }

  #home .nav-link:hover::after {
    width: calc(100% - 45px);
  }
}

#home .scroll-indicator {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-400);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 10;
  animation: homePulse 2s ease-in-out infinite;
}
@keyframes homePulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
#home .cat-sprite {
  position: fixed;
  top: 90%;
  left: 160px;
  width: 64px;
  height: 64px;
  background: url("../images/8-bit-cat-sprite-256_3.png") no-repeat 0 0;
  image-rendering: pixelated;
  animation:
    blink 1.5s steps(4) infinite,
    peek 8s ease-in-out infinite;
  transform-origin: center center;
  z-index: 0;
  transform: translateY(-50%);
}
@keyframes blink {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -256px 0;
  }
}
@keyframes peek {
  0%,
  100% {
    transform: translateY(-50%) translateX(-64px);
  }
  50% {
    transform: translateY(-50%) translateX(-7px);
  }
}
@media (max-width: 768px) {
  #home .sidebar {
    display: none;
  }
  #home .main-content {
    margin-left: 0;
    padding: 0 40px;
  }
  #home .accent-line,
  #home .cat-sprite {
    display: none;
  }
}

/* ===== About section ===== */
.about-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.5rem 2rem 3rem;
}
.about-intro {
  margin-bottom: 0;
}
.about-name {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-100);
  line-height: 1;
  margin: 0.5rem 0 0.65rem;
}
.about-role {
  font-size: 0.875rem;
  color: var(--cyan);
  letter-spacing: 0.04em;
  margin-bottom: 1.4rem;
  opacity: 0.85;
}
.about-bio {
  font-size: 1rem;
  color: var(--text-400);
  line-height: 1.8;
  max-width: 680px;
}
.about-rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 2rem 0;
}
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 640px) {
  .about-cols { grid-template-columns: 1fr; gap: 1.5rem; }
}
.about-col-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  opacity: 0.8;
}
.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.about-list li {
  font-size: 0.875rem;
  color: var(--text-400);
  line-height: 1.5;
  padding-left: 1.1rem;
  position: relative;
}
.about-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(6, 182, 212, 0.35);
  font-size: 0.7rem;
  top: 0.1rem;
}
.about-list li strong {
  color: var(--text-100);
  font-weight: 600;
}
.about-quote {
  font-size: 1rem;
  color: var(--text-400);
  font-style: italic;
  line-height: 1.8;
  max-width: 680px;
  border-left: 2px solid rgba(6, 182, 212, 0.5);
  padding-left: 1.4rem;
  margin: 0;
}

/* ===== Projects section ===== */
.projects-list {
  display: flex;
  flex-direction: column;
}
.project-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 1.5rem;
  align-items: start;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: opacity 0.2s;
}
.project-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.project-item:hover {
  opacity: 0.8;
}
.project-num {
  font-family: "Michroma", sans-serif;
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  padding-top: 0.3rem;
  opacity: 0.7;
}
.project-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-100);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.project-desc {
  font-size: 0.855rem;
  color: var(--text-400);
  line-height: 1.65;
  margin-bottom: 0.7rem;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.project-tags span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(156, 163, 175, 0.7);
}
.project-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
  padding-top: 0.25rem;
}
.project-link {
  font-size: 0.78rem;
  color: var(--text-400);
  transition: color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.project-link:hover { color: var(--text-100); }
.project-link.accent { color: var(--cyan); }
.project-link.accent:hover { color: #fff; }

/* ===== Music section ===== */
.music-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .music-grid { grid-template-columns: repeat(3, 1fr); }
}
/* Card shell — matches blog card aesthetic exactly */
.music-card {
  border-radius: 6px;
  overflow: hidden;
  background: #0e1525;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.music-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.65);
}
/* Art area — square, atmospheric gradient, fades to card bg at bottom */
.music-art {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #060d1e;
  box-shadow: inset 0 -70px 55px rgba(14, 21, 37, 0.88);
}
/* Six distinct gradient "color worlds" per card (box-shadow persists across all) */
.music-card:nth-child(6n+1) .music-art { background: radial-gradient(ellipse at 30% 40%, rgba(99,102,241,0.65) 0%, #060d1e 65%), radial-gradient(ellipse at 75% 70%, rgba(6,182,212,0.2) 0%, transparent 55%); }
.music-card:nth-child(6n+2) .music-art { background: radial-gradient(ellipse at 65% 30%, rgba(168,85,247,0.65) 0%, #060d1e 65%), radial-gradient(ellipse at 25% 75%, rgba(236,72,153,0.2) 0%, transparent 55%); }
.music-card:nth-child(6n+3) .music-art { background: radial-gradient(ellipse at 45% 65%, rgba(6,182,212,0.6) 0%, #060d1e 65%), radial-gradient(ellipse at 80% 20%, rgba(99,102,241,0.2) 0%, transparent 50%); }
.music-card:nth-child(6n+4) .music-art { background: radial-gradient(ellipse at 55% 35%, rgba(236,72,153,0.55) 0%, #060d1e 65%), radial-gradient(ellipse at 20% 70%, rgba(168,85,247,0.2) 0%, transparent 55%); }
.music-card:nth-child(6n+5) .music-art { background: radial-gradient(ellipse at 25% 50%, rgba(59,130,246,0.6) 0%, #060d1e 65%), radial-gradient(ellipse at 75% 30%, rgba(6,182,212,0.2) 0%, transparent 50%); }
.music-card:nth-child(6n+6) .music-art { background: radial-gradient(ellipse at 60% 55%, rgba(34,197,94,0.45) 0%, #060d1e 65%), radial-gradient(ellipse at 30% 25%, rgba(99,102,241,0.2) 0%, transparent 55%); }
/* Large faded track number — decorative background text */
.music-bignum {
  position: absolute;
  bottom: -8px;
  right: 8px;
  font-family: "Michroma", sans-serif;
  font-size: 5.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.055);
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
}
/* Centered play button */
.music-play {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 2px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.music-card:hover .music-play {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}
/* Body — light weight title, bordered tag pills matching blog cards */
.music-body {
  padding: 0.8rem 1.1rem 0.6rem;
  flex: 1;
}
.music-title {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-100);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.music-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.music-tags span {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.62rem;
  height: 1.4rem;
  line-height: 1.4rem;
  letter-spacing: 1px;
  padding: 0 0.45rem;
  text-transform: uppercase;
  white-space: nowrap;
}
/* Footer — duration pill on left, waveform icon on right */
.music-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.5rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.music-duration {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  padding: 0 0.4rem;
  font-size: 0.6rem;
  height: 1.35rem;
  line-height: 1.35rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.music-wave-icon {
  width: 28px;
  height: 16px;
  color: rgba(255, 255, 255, 0.22);
  transition: color 0.25s;
}
.music-card:hover .music-wave-icon { color: rgba(255, 255, 255, 0.5); }

/* ===== Contact section ===== */
.contact-section-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 65vh;
}
.contact-big-email {
  font-size: clamp(1.4rem, 3.5vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0.6rem 0 1.1rem;
  line-height: 1.1;
}
.contact-email-link {
  color: var(--text-100);
  text-decoration: none;
  border-bottom: 1px solid rgba(6, 182, 212, 0.38);
  padding-bottom: 3px;
  transition: color 0.25s, border-color 0.25s;
}
.contact-email-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}
.contact-tagline {
  font-size: 1rem;
  color: var(--text-400);
  max-width: 420px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.contact-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.contact-meta-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-400);
  margin-bottom: 0.35rem;
  opacity: 0.7;
}
.contact-meta-value {
  font-size: 0.9rem;
  color: var(--text-100);
}
.contact-socials-block {
  display: flex;
  gap: 0.6rem;
}
.contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-400);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.contact-social-btn:hover {
  color: var(--text-100);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ===== BLOG POSTS PAGE ===== */
.blog-section-header-spacing {
  margin-top: 50px;
}
