* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(25px, 12vw, 64px);
  height: clamp(25px, 12vw, 64px);
  border-radius: 50%;
  background: transparent;
  font-size: 2.1rem;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  margin: 0 6px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.social-icon-btn img {
  width: 60%;
  height: 60%;
  max-width: 48px;
  max-height: 48px;
  min-width: 25px;
  min-height: 25px;
}

/* White outline, white icon, fills to white bg/black icon on hover */
.outline-white {
  border: 2px solid #fff;
  color: #fff;
}
.outline-white img {
  filter: invert(1);
  transition: filter 0.2s;
}
.outline-white:hover, .outline-white:focus {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.outline-white:hover img, .outline-white:focus img {
  filter: invert(0) !important;
}

/* Black outline, black icon, fills to black bg/white icon on hover */
.outline-black {
  border: 2px solid #000;
  color: #000;
}
.outline-black img {
  filter: invert(0);
  transition: filter 0.2s;
}
.outline-black:hover, .outline-black:focus {
  background: #000;
  color: #fff;
  border-color: #000;
}
.outline-black:hover img, .outline-black:focus img {
  filter: invert(1) !important;
}
html {
  scroll-behavior: smooth;
}
/* Ensure AOS-animated headers are always perfectly centered */
h1[data-aos], h2[data-aos] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center !important;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Difference blend effect for nav text */
.blend-difference {
  mix-blend-mode: difference !important;
  color: #fff !important;
  background: none !important;
  border: none !important;
  font-family: 'Cabin', Arial, sans-serif !important;
  font-weight: bold;
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  z-index: 10;
  position: relative;
}
/* Custom scroll-triggered off-screen slide-in animations - DISABLED to prevent AOS conflicts */
/*
.slide-in-from-top {
  opacity: 0;
  transform: translateY(-120vh);
  transition: opacity 4s cubic-bezier(.77,0,.18,1), transform 4s cubic-bezier(.77,0,.18,1);
}
.slide-in-from-bottom {
  opacity: 0;
  transform: translateY(120vh);
  transition: opacity 4s cubic-bezier(.77,0,.18,1), transform 4s cubic-bezier(.77,0,.18,1);
}
.slide-in-from-left {
  opacity: 0;
  transform: translateX(-120vw);
  transition: opacity 4s cubic-bezier(.77,0,.18,1), transform 4s cubic-bezier(.77,0,.18,1);
}
.slide-in-from-right {
  opacity: 0;
  transform: translateX(120vw);
  transition: opacity 4s cubic-bezier(.77,0,.18,1), transform 4s cubic-bezier(.77,0,.18,1);
}
.slide-in-animate {
  opacity: 1 !important;
  transform: translateX(0) translateY(0) !important;
}

/* Custom AOS animations for dramatic off-screen entrance */
@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in-left {
  animation: slideInFromLeft 1.5s cubic-bezier(.77,0,.18,1) both;
}
.slide-in-right {
  animation: slideInFromRight 1.5s cubic-bezier(.77,0,.18,1) both;
}
*/
.masthead {
  background-image: url("caca.png");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
}

header {
  position: relative;
  background-color: rgb(0,0,0);
  height: 85vh;
  min-height: 25rem;
  overflow: hidden;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}

header {
  background: url('https://drive.google.com/file/d/1lLolxM3PT7QATc6F92Iqr4qxJ-ocDhhP/preview') black no-repeat center center scroll;
}

@media (pointer: coarse) and (hover: none) {
  header video {
    display: none;
  }
}

.btn-default, .side-btn-black, .side-btn-white {
  transition: color 0.4s cubic-bezier(.4,0,.2,1), background-color 0.4s cubic-bezier(.4,0,.2,1), border-color 0.4s cubic-bezier(.4,0,.2,1);
}

.btn-default:focus, .btn-default:hover {
  color: #4a4242;
  border: 1px solid rgba(255,0,230,0);
  outline: none;
  background-color: #ffffff;
}

.btn-default {
  color: #fff;
  border: 1px solid #fff;
  background-color: transparent;
}

.btn-default:focus, .btn-default:hover {
  color: #4a4242;
  border: 1px solid rgba(255,0,230,0);
  outline: 0;
  background-color: #fff;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #eac2df;
  border-color: #00c2ff;
}

.btn-primary {
  background: transparent;
  border: none;
  color: inherit;
  box-shadow: none;
}

.btn-primary:focus, .btn-primary:hover {
  background: #fff;
  color: #222;
  border: 1.5px solid #fff;
}

body {
  margin: 0;
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif;
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.5;
  color: #ffffff;
  text-align: left;
  background-color: #000000;
}

header {
  position: relative;
  background-color: black;
  height: 100vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

header .container {
  position: relative;
  z-index: 2;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #000000;
  opacity: 0.5;
  z-index: 1;
}

@media (pointer: coarse) and (hover: none) {
  header video {
    display: none;
  }
}

body {
  font-family: Georgia, serif;
  position: relative;
  color: #fff;
  background-color: #000000;
  font-weight: normal;
  height: 100vh;
}

@media (min-width:576px) {
  .content-section {
    padding-top: 200px;
    padding-bottom: 200px;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    background-size: cover;
  }
}

@media (max-width:576px) {
  .content-section {
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    background-size: cover;
  }
}

@media (max-width: 411px) {
  .clip-text {
    position: relative;
    font-family: Impact, "Arial Black", Arial, sans-serif;
    font-size: 45px;
    letter-spacing: 20px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0,0,0,0), #00ffe0,#ff3672, rgba(0,0,0,0));
    background-repeat: no-repeat;
    background-size: 80%;
    animation: animate 6s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(255, 255, 255, 0);
  }
}

@media (max-width: 576px) {
  .clip-text {
    position: relative;
    font-family: Impact, "Arial Black", Arial, sans-serif;
    font-size: 45px;
    letter-spacing: 24px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0,0,0,0), #00ffe0,#ff3672, rgba(0,0,0,0));
    background-repeat: no-repeat;
    background-size: 80%;
    animation: animate 6s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(255, 255, 255, 0);
  }
}

@keyframes animate {
  0% {
    background-position: -500%;
  }
  100% {
    background-position: 500%;
  }
}

#mainNav {
  font-family: Cabin, Arial, Helvetica, sans-serif;
  margin-bottom: 0;
  text-transform: uppercase;
  border-bottom: 1px solid hsla(0,0%,100%,.3);
  background-color: #000000;
}

@media (min-width:992px) {
  #mainNav {
    transition: background .3s ease-in-out,padding-top .3s ease-in-out,padding-bottom .3s;
    letter-spacing: 1px;
    border-bottom: none;
    background: transparent;
  }
}

@media (min-width: 578px) {
  .clip-text {
    font-size: 100px;
    color: #ffffff;
    padding-bottom: 17px;
    padding-top: 30px;
    font-family: Impact, "Arial Black", Arial, sans-serif;
  }
}

body::before {
  content: none !important;
}

/* Reset any unwanted top margins/padding */
html, body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Ensure nav stays at top */
#mainNav {
  top: 0 !important;
  z-index: 9999 !important;
}

/* Bandcamp section (gif container) sits inside wrapper */
.bandcamp-section {
    background: url('../img/bandcampbg.gif');
    background-size: cover;
    background-position: center;
    background-attachment: local;
    border-radius: 12px;
    transition: all 0.3s ease;
    padding: clamp(60px, 6vh, 80px) clamp(30px, 3vw, 50px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    width: clamp(600px, 60vw, 800px);
    margin: 0 auto;
    height: 50h;
}

@media (max-width: 767px) {
    .bandcamp-section {
        width: calc(100vw - clamp(160px, 24vw, 300px));

    }
}

@media (max-width: 575px) {
    .bandcamp-section {
        width: calc(100vw - clamp(100px, 20vw, 160px));

    }
}

/* Track ticker behind the LATEST PROJECT section */
.track-ticker {
    position: fixed;
    top: 0;
    left: 0;
    width: 1920px;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    filter: opacity(0.5);
    gap: 0;
    margin: 0;
    padding: 0;
}

.track-row {
    white-space: nowrap;
    overflow: hidden;
    font-family: 'Coral Pixels', monospace;
    font-weight: 400;
    font-size: 48px;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 2px;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 0;
    line-height: 0.6;
    margin: 0;
    padding: 0;
    height: calc(100vh / 20);
    box-sizing: border-box;
    transform: scaleY(1);
}

/* Upside down rows */
.track-row.upside-down {
    transform: scaleY(1) rotate(180deg);
}

/* Backwards rows */
.track-row.backwards {
    transform: scaleY(1) scaleX(-1);
}

.track-scroll {
    display: inline-block;
    white-space: nowrap;
    animation-fill-mode: both;
}

/* Row 1: Left to right - Fast */
.track-row:nth-child(1) .track-scroll {
    animation: scroll-seamless-left 180s linear infinite;
}

/* Row 2: Right to left - Very slow */
.track-row:nth-child(2) .track-scroll {
    animation: scroll-seamless-right 720s linear infinite;
    animation-delay: -360s;
}

/* Row 3: Left to right - Medium */
.track-row:nth-child(3) .track-scroll {
    animation: scroll-seamless-left 420s linear infinite;
    animation-delay: -210s;
}

/* Row 4: Right to left - Fast */
.track-row:nth-child(4) .track-scroll {
    animation: scroll-seamless-right 240s linear infinite;
    animation-delay: -120s;
}

/* Row 5: Left to right - Very fast */
.track-row:nth-child(5) .track-scroll {
    animation: scroll-seamless-left 120s linear infinite;
    animation-delay: -60s;
}

/* Row 6: Right to left - Slow */
.track-row:nth-child(6) .track-scroll {
    animation: scroll-seamless-right 600s linear infinite;
    animation-delay: -300s;
}

/* Row 7: Left to right - Medium fast */
.track-row:nth-child(7) .track-scroll {
    animation: scroll-seamless-left 360s linear infinite;
    animation-delay: -180s;
}

/* Row 8: Right to left - Very slow */
.track-row:nth-child(8) .track-scroll {
    animation: scroll-seamless-right 840s linear infinite;
    animation-delay: -420s;
}

/* Row 9: Left to right - Fast */
.track-row:nth-child(9) .track-scroll {
    animation: scroll-seamless-left 200s linear infinite;
    animation-delay: -100s;
}

/* Row 10: Right to left - Medium */
.track-row:nth-child(10) .track-scroll {
    animation: scroll-seamless-right 480s linear infinite;
    animation-delay: -240s;
}

/* Row 11: Left to right - Very fast */
.track-row:nth-child(11) .track-scroll {
    animation: scroll-seamless-left 150s linear infinite;
    animation-delay: -75s;
}

/* Row 12: Right to left (backwards) - Medium fast */
.track-row:nth-child(12) .track-scroll {
    animation: scroll-seamless-right 320s linear infinite;
    animation-delay: -160s;
}

/* Row 13: Left to right (upside down) - Very slow */
.track-row:nth-child(13) .track-scroll {
    animation: scroll-seamless-left 900s linear infinite;
    animation-delay: -450s;
}

/* Row 14: Right to left - Fast */
.track-row:nth-child(14) .track-scroll {
    animation: scroll-seamless-right 160s linear infinite;
    animation-delay: -80s;
}

/* Row 15: Left to right (backwards) - Medium */
.track-row:nth-child(15) .track-scroll {
    animation: scroll-seamless-left 540s linear infinite;
    animation-delay: -270s;
}

/* Row 16: Right to left (upside down) - Very fast */
.track-row:nth-child(16) .track-scroll {
    animation: scroll-seamless-right 90s linear infinite;
    animation-delay: -45s;
}

/* Row 17: Left to right - Slow */
.track-row:nth-child(17) .track-scroll {
    animation: scroll-seamless-left 660s linear infinite;
    animation-delay: -330s;
}

/* Row 18: Right to left (backwards) - Medium fast */
.track-row:nth-child(18) .track-scroll {
    animation: scroll-seamless-right 280s linear infinite;
    animation-delay: -140s;
}

/* Row 19: Left to right (upside down) - Fast */
.track-row:nth-child(19) .track-scroll {
    animation: scroll-seamless-left 220s linear infinite;
    animation-delay: -110s;
}

/* Row 20: Right to left - Very slow */
.track-row:nth-child(20) .track-scroll {
    animation: scroll-seamless-right 780s linear infinite;
    animation-delay: -390s;
}

@keyframes scroll-seamless-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-seamless-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Z-index layering for sections to hide ticker behind everything except white background */

/* Navigation */
#mainNav {
    z-index: 9999 !important;
}

/* Music and socials section (gif background) - more specific selector */
section.text-center.content-section {
    position: relative;
    z-index: 10 !important;
    background: transparent;
}

/* Gif overlay in music and socials section */
.gif-overlay {
    z-index: 1 !important;
}

/* General content sections */
.content-section {
    position: relative;
    z-index: 10 !important;
}

/* Spotify section and other sections */
section {
    position: relative;
    z-index: 10 !important;
    background-color: inherit;
    overflow: hidden;
}

/* Black section with music notes */
#hi2 {
    position: relative;
    z-index: 10 !important;
}

/* Footer */
footer {
    position: relative;
    z-index: 10 !important;
}

/* White latest project section should have lower z-index so ticker shows through */
section[style*="background:#ffffff"] {
    z-index: auto !important;
    padding-top: clamp(40px, 18vw, 200px) !important;
    padding-bottom: clamp(40px, 36vw, 400px) !important;
}

/* Global heading styles */
h1, h2 {
    font-family: Georgia, serif;
    font-weight: 900;
    font-style: italic;
    text-align: center;
    color: rgb(0,0,0);
    text-transform: uppercase;
    font-stretch: condensed;
    letter-spacing: -0.07em;
}

h1 {
  font-size: clamp(2rem, 15vw, 8rem);
}

h2 {
  font-size: clamp(1.5rem, 15vw, 5rem);
}

/* General text centering */
.text-center {
    text-align: center;
}

p, .content {
    text-align: center;
}

/* Side Projects special font styling */
.side-projects-text {
    font-family: Georgia, serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(0.1rem, 3.5vw, 3rem);
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    transition: font-size 0.4s cubic-bezier(.4,0,.2,1);
    text-align: center;
}

/* If you want the stroke effect: */
.side-projects-text.row-1 { -webkit-text-stroke: 0.5px currentColor; }
.side-projects-text.row-2 { -webkit-text-stroke: 1px currentColor; }
.side-projects-text.row-3 { -webkit-text-stroke: 1.5px currentColor; }
.side-projects-text.row-4 { -webkit-text-stroke: 2px currentColor; }
.side-projects-text.row-5 { -webkit-text-stroke: 2.5px currentColor; }
.side-projects-text.row-6 { -webkit-text-stroke: 3px currentColor; }

.side-projects-page .btn-default {
  color: #fff;
  border: 1px solid #fff;
  background-color: #000;
}
.side-projects-page .btn-default:focus,
.side-projects-page .btn-default:hover {
  color: #fff;
  background-color: #000;
  border: 1px solid #fff;
}

.side-btn-black {
  color: #fff !important;
  background: #000 !important;
  border: 1.5px solid currentColor !important;
  transition: background-color 0.4s cubic-bezier(.4,0,.2,1), color 0.4s cubic-bezier(.4,0,.2,1), border-color 0.4s cubic-bezier(.4,0,.2,1);
}
.side-btn-black:focus,
.side-btn-black:hover {
  color: #000 !important;
  background: #fff !important;
  border: 1.5px solid currentColor !important;
}

.side-btn-white {
  color: #000 !important;
  background: #fff !important;
  border: 1.5px solid currentColor !important;
  transition: background-color 0.4s cubic-bezier(.4,0,.2,1), color 0.4s cubic-bezier(.4,0,.2,1), border-color 0.4s cubic-bezier(.4,0,.2,1);
}
.side-btn-white:focus,
.side-btn-white:hover {
  color: #fff !important;
  background: #000 !important;
  border: 1.5px solid currentColor !important;
}

/* Home page: always show white border on .btn-default */
body:not(.side-projects-page) .btn-default {
  border: 1.5px solid #fff;
}

.album-cover-scale {
  width: clamp(80px, 30vw, 400px);
  height: auto;
  transition: width 0.4s cubic-bezier(.4,0,.2,1), max-width 0.4s cubic-bezier(.4,0,.2,1);
  display: block;
  margin: 0 auto;
  padding: 0;
  border: none;
  box-shadow: none;
}

.svg-invert-text {
  filter: url(#invert-text);
  mix-blend-mode: difference;
  position: relative;
  z-index: 10;
}
