/* ============================================
   FONTS
   ============================================ */

  @font-face {
    font-family: "OwenHand";
    src: url("assets/fonts/Owen_Hand.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
  }


  @font-face {
    font-family: "Comico-Regular";
    src: url("assets/fonts/Comico-Regular.otf") format("truetype");
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: 'Fanwood';
    src: url('assets/fonts/OFLGoudyStMTT.ttf') format('truetype');
  }

  @font-face {
    font-family: "Mathilde";
    src: url("assets/fonts/mathilde.otf") format("truetype");
    font-weight: normal;
    font-style: normal;
  }

/* ============================================
   TOKENS
   ============================================ */
:root{
  --paper: #EDEAE2;
  --paper-deep: #E2DDCF;
  --ink: #262420;
  --ink-soft: #5A5548;
  --moss: #5C6B4F;
  --moss-deep: #454F39;
  --wood: #9C7A54;
  --line: #C9C1AE;
  --line-soft: #DAD4C4;

  --display: 'Fraunces', serif;
  --body: 'Work Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --owen-hand: "Comico-Regular", serif;
  --mathilde: "Mathilde", serif;
  --fanwood: "Times New Roman", serif;

  --max: 1120px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --section-pad: clamp(4rem, 10vw, 8rem);
}

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

html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

body{
  background:var(--paper);
  color:var(--ink);
  font-family:var(--body);
  font-weight:400;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

/* subtle paper grain */
body::before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  z-index:2000;
  opacity:0.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }

.eyebrow{
  font-family:var(--fanwood);
  font-size:0.72rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--moss-deep);
}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding-left:var(--pad);
  padding-right:var(--pad);
}

/* ============================================
   STITCH DIVIDER (signature element)
   a hand-stitched thread line between sections
   ============================================ */
.stitch{
  width:100%;
  height:14px;
  display:block;
}
.stitch svg{ width:100%; height:100%; display:block; }
.stitch path{
  stroke:var(--wood);
  stroke-width:1.4;
  stroke-dasharray:7 7;
  fill:none;
  opacity:0.55;
}

/* ============================================
   HEADER / NAV
   ============================================ */
header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  padding:1.1rem var(--pad);
  display:flex;
  align-items:center;
  justify-content:space-between;
  transition:background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom:1px solid transparent;
}
header.scrolled{
  background-color:rgba(237,234,226,0.86);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line-soft);
}
header.scrolled nav.desktop-nav a{
  color:var(--ink);
}
.wordmark{
  font-family:var(--fanwood);
  font-weight:500;
  font-size:1.05rem;
  letter-spacing:0.02em;
  color: var(--paper);
}

.scroll-links{
  display:none;
  gap:1.4rem;
  opacity:0;
  transform:translateY(-6px);
  transition:opacity 0.4s ease, transform 0.4s ease;
}

.nav-bar-left {
  font-size:1.2rem;
  letter-spacing:0.06em;
  color:var(--ink);
  transition:color 0.3s ease;
  font-family:var(--fanwood);
  display: flex;
  align-items: center;
}
.name-nav {
  color: var(--paper);
  transition: color 0.3s ease;
}

.scroll-links::before {
  content: "•";
  margin-left: 1.5rem;
  color: var(--ink);
}


.scroll-links a{
  font-size:1.2rem;
  letter-spacing:0.06em;
  color:var(--ink);
  transition:color 0.3s ease;
  font-family:var(--fanwood);
}

.scroll-links a:hover{
  color:var(--ink);
}

header.scrolled .scroll-links{
  opacity:1;
  transform:translateY(0);
}

header.scrolled .name-nav {
  color:var(--ink);
}

@media (min-width:900px){
  .scroll-links{ display:flex; }
}

nav.desktop-nav{ display:none; }
nav.desktop-nav ul{ 
  display:flex; 
  gap:1.2rem;
  align-items:center; }
nav.desktop-nav a{
  font-family:var(--fanwood);
  font-size:1.25rem;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--paper);
  position:relative;
  padding-bottom:3px;
}
nav.desktop-nav a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:1px;
  background:var(--moss);
  transition:width 0.3s ease;
}
nav.desktop-nav a:hover{ color:var(--ink); }
nav.desktop-nav a:hover::after{ width:100%; }

.menu-btn{
  background:none; border:none;
  display:flex; flex-direction:column; gap:5px;
  padding:6px;
  z-index:1001;
}
.menu-btn span{
  width:22px; height:1.5px; background:var(--paper);
  transition:transform 0.3s ease, opacity 0.3s ease;
}
.menu-btn.open span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
.menu-btn.open span:nth-child(2){ opacity:0; }
.menu-btn.open span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }

.menu-btn.open span{
  background:var(--ink);
}

.mobile-nav{
  position:fixed; inset:0;
  background:var(--paper);
  z-index:999;
  display:flex; flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1.6rem;
  padding:0 var(--pad);
  transform:translateY(-100%);
  transition:transform 0.45s cubic-bezier(.65,0,.35,1);
}
.mobile-nav.open{ transform:translateY(0); }
.mobile-nav a{
  font-family:var(--fanwood);
  font-size:2.1rem;
  font-weight:400;
  color:var(--ink);
}
.mobile-nav-socials{
  position:absolute;
  bottom:3rem;
  left:0;
  width:100%;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:1rem;
}
.mobile-nav-socials a{
  font-size:2rem;
  color:var(--ink);
}

@media (min-width:900px){
  nav.desktop-nav{ display:block; }
  .menu-btn{ display:none; }
  .menu-btn.open{ display:flex; }
}



/* ============================================
   HERO
   ============================================ */

.hero{
  min-height:100svh;
  max-height:85vh;
  position:relative;

  background-image:
    linear-gradient(rgba(38,36,32,0.02), rgba(38,36,32,0.02)),
    url("assets/images/yanqing_artist_landscape_final.png");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.hero-tape-button-section {
  position:absolute;
  top:10rem;   /* lower this number to move it higher up the page */
  left:clamp(2rem, 8vw, 7rem);
  display:flex;
  flex-direction:column;
  gap: 15px;
}

@media (max-width:900px){
  
  .hero-tape-button-section{
    display:none;
  }
}

.hero-tape-button{
  display:block;   /* or inline-block, just no position:absolute */
  transition:transform 0.3s ease;
}

.hero-tape-button img{
  width:clamp(190px, 17vw, 340px);
  height:auto;
  display:block;
}

.hero-tape-button:hover{
  transform:scale(1.05);
}

.hero-button img{
  width:clamp(250px, 30vw, 300px);
  height:auto;
  display:block;
  position:absolute;
  top:6rem;
  right:clamp(1rem, 12vw, 12rem);
  transform: rotate(-9deg);
  transition:transform 0.3s ease;
}

.hero-button img:hover{
  transform: rotate(-9deg) scale(1.05);
}


.hero-inner{
  min-height:100svh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-end;
  padding-top:6rem;
  padding-bottom:3rem;
}

.hero .eyebrow{ margin-bottom:1.1rem; }

.hero-latest-release {
  align-self:flex-end;
  margin-top:auto;
  margin-bottom: 8rem;
  margin-right: clamp(1rem,30vw, 12rem);
}
@media (max-width:900px){
  .hero-latest-release{
    margin-right:2.5rem;
    margin-bottom: 4rem;
  }
}

.hero h1{
  font-family:var(--fanwood);
  font-weight:400;
  font-size:clamp(2rem, 3vw, 4rem);
  line-height:0.95;
  letter-spacing:-0.01em;
  color:var(--paper);
}

.hero h1 em{
  font-style:italic;
  font-weight:300;
  color:var(--paper);
}

.hero-actions{
  display:flex;
  align-items:center;
  gap:2rem;
  flex-wrap:wrap;
}

.hero .tagline{
  margin-top:1.4rem;
  font-size:clamp(1rem, 2vw, 1.2rem);
  color:var(--ink-soft);
  max-width:32ch;
  font-weight:300;
}

/* breathing waveform */
.waveform{
  display:flex;
  align-items:flex-end;
  gap:4px;
  height:34px;
  margin:2.6rem 0 2.2rem;
}
.waveform span{
  width:3px;
  background:var(--wood);
  border-radius:2px;
  opacity:0.7;
  animation:breathe 3.6s ease-in-out infinite;
}
.waveform span:nth-child(odd){ animation-duration:4.2s; }
.waveform span:nth-child(3n){ animation-duration:3.1s; animation-delay:-1s; }
.waveform span:nth-child(5n){ animation-delay:-2s; }
@keyframes breathe{
  0%,100%{ transform:scaleY(0.35); }
  50%{ transform:scaleY(1); }
}
@media (prefers-reduced-motion: reduce){
  .waveform span{ animation:none; transform:scaleY(0.7); }
}


.btn-primary{
  font-family:var(--fanwood);
  font-size:1rem;
  letter-spacing:0.06em;
  background:var(--ink);
  color:var(--paper);
  padding:0.8rem 1.5rem;
  border-radius:2px;
  transition:background 0.3s ease, color 0.3s ease;
  display:inline-flex;
  align-items:center;
  gap:0.6rem;
}
.btn-primary:hover{ 
  background:var(--paper);
  color:var(--ink);
}

.scroll-cue{
  font-family:var(--fanwood);
  font-size:0.75rem;
  color:var(--ink-soft);
  display:inline-flex;
  align-items:center;
  gap:0.5rem;
}
.scroll-cue span{ display:inline-block; animation:bob 2s ease-in-out infinite; }
@keyframes bob{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(4px);} }
@media (prefers-reduced-motion: reduce){ .scroll-cue span{ animation:none; } }

/* ============================================
   SECTION SHELL
   ============================================ */
section{ padding:var(--section-pad) 0; }
.section-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  margin-bottom:3rem;
  gap:1rem;
  flex-wrap:wrap;
}
.section-head h2{
  font-family:var(--owen-hand);
  font-weight:400;
  font-size:clamp(2rem, 3vw, 2rem);
}
.section-head .count{
  font-family:var(--fanwood);
  font-size:0.78rem;
  color:var(--ink-soft);
}

.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in{ opacity:1; transform:translateY(0); }

/* ============================================
   NOW PLAYING
   ============================================ */
.now-playing{
  background:var(--paper-deep);
}
.np-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:2.5rem;
  align-items:center;
}
.np-cover{
  aspect-ratio:1/1;
  width:100%;
  max-width:340px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.18), transparent 55%),
    linear-gradient(155deg, var(--moss) 0%, var(--moss-deep) 65%, #333025 100%);
  border-radius:3px;
  position:relative;
  box-shadow:0 24px 50px -20px rgba(38,36,32,0.4);
}
.np-cover::after{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  font-size:2.4rem;
  color:rgba(237,234,226,0.55);
}
.np-info .eyebrow{ margin-bottom:0.9rem; }
.np-info h3{
  font-family:var(--owen-hand);
  font-size:clamp(2rem, 3vw, 2rem);
  font-weight:400;
  margin-bottom:0.6rem;
}
.np-info p{
  font-family:var(--fanwood);
  font-size:clamp(0.8rem, 4vw, 1rem);
  font-weight:400;
  margin-bottom:0.6rem;
}
.np-info p.desc{
  color:var(--ink-soft);
  max-width:46ch;
  margin-bottom:1.8rem;
  font-weight:300;
}
.platform-links{
  display:flex;
  flex-wrap:wrap;
  gap:0.8rem;
}
.platform-links a{
  font-family:var(--fanwood);
  font-size:0.75rem;
  letter-spacing:0.04em;
  text-transform:uppercase;
  text-decoration: underline;
  margin-bottom: 2rem;
  border:none;
  border-radius:2px;
  text-underline-offset: 7px;
  transition:border-color 0.3s ease, background 0.3s ease;
}
.platform-links a:hover{ color: maroon; }

@media (min-width:760px){
  .np-grid{ grid-template-columns:340px 1fr; gap:4rem; }
}

/* ============================================
   DISCOGRAPHY
   ============================================ */
   .disco-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:2.5rem 2rem;
  }
  
  .disco-card{
    display:flex;
    flex-direction:column;
  }
  
  .disco-cover{
    aspect-ratio:1/1;
    width:100%;
    border-radius:3px;
    overflow:hidden;
    margin-bottom:1rem;
    box-shadow:0 12px 30px -14px rgba(38,36,32,0.35);
  }
  
  .disco-cover img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform 0.4s ease;
  }
  
  .disco-card:hover .disco-cover img{
    transform:scale(1.04);
  }
  
  .disco-card h3{
    font-family:var(--fanwood);
    font-size:1.2rem;
    font-weight:400;
    margin-bottom:0.3rem;
  }
  
  .disco-meta{
    font-family:var(--fanwood);
    font-size:0.75rem;
    color:var(--ink-soft);
    margin-bottom:0.8rem;
  }
  
  .disco-listen{
    font-family:var(--fanwood);
    font-size:0.75rem;
    letter-spacing:0.04em;
    text-transform:uppercase;
    color:var(--moss-deep);
    border-bottom:1px solid transparent;
    align-self:flex-start;
    transition:border-color 0.3s ease;
    text-decoration: underline;
    text-underline-offset: 7px;
  }
  .disco-listen:hover{ color: maroon; }
  

/* ============================================
   ABOUT
   ============================================ */
#about {
  background:var(--paper-deep);
  display: none;
}
@media (max-width: 1100px){
  #about{
    background-size:1400px auto;
  }
}

.about-copy {
  display: flex;
  justify-content: center;
}

.about-text-box {
  background-image:url("assets/icons/paper_square.png");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  padding:2.5rem;
  max-width: 600px;      /* or whatever width you want */
  margin-right: 80px;    /* distance from the right edge */
  width: 100%;
}

@media (max-width: 1100px) {
  .about-grid {
    justify-items: center;
  }
  .about-text-box {
    margin-right: 0;
  }
}

.about-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:2.5rem;
  align-items:start;
  justify-items: end;
}
.about-portrait{
  aspect-ratio:4/5;
  width:100%;
  max-width:380px;
  background:linear-gradient(160deg, #D7D0BE, var(--wood) 120%);
  border-radius:3px;
}
.about-copy p{
  font-weight:300;
  color:var(--ink-soft);
  max-width:56ch;
  margin-bottom:1.1rem;
  font-size:1.02rem;
}

.about-me-title {
  width: clamp(150px, 18rem, 300px);
  margin-left: auto;
  margin-right: auto;
}
.about-copy p:first-of-type{
  font-family:var(--fanwood);
  font-size:1.1rem;
  color:var(--ink);
  font-weight:400;
}
@media (min-width:1100px){
  .about-grid{ 
    grid-template-columns:450px 1fr; 
    gap:4rem; 
    margin-left:650px;
  }
}
/* ============================================
   TOUR DATES
   ============================================ */
.tour-list{ border-top:1px solid var(--line); }
.tour-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:0.3rem 1rem;
  padding:1.4rem 0;
  border-bottom:1px solid var(--line);
}
.tour-date{
  font-family:var(--fanwood);
  font-size:0.78rem;
  color:var(--moss-deep);
  grid-column:1;
}
.tour-status{
  font-family:var(--fanwood);
  font-size:0.72rem;
  text-transform:uppercase;
  letter-spacing:0.05em;
  align-self:center;
  grid-row:1/3;
  grid-column:2;
  padding:0.5rem 0.9rem;
  border:1px solid var(--line);
  border-radius:2px;
  white-space:nowrap;
  color:var(--ink-soft);
}
.tour-status.tickets{ border-color:var(--moss); color:var(--moss-deep); }
.tour-venue{
  font-family:var(--fanwood);
  font-size:1.15rem;
  grid-column:1;
}
.tour-venue span{
  font-family:var(--body);
  font-size:0.85rem;
  color:var(--ink-soft);
  font-weight:300;
}

@media (min-width:600px){
  .tour-row{ grid-template-columns:140px 1fr auto; align-items:center; }
  .tour-date{ grid-column:1; }
  .tour-venue{ grid-column:2; }
  .tour-status{ grid-column:3; grid-row:auto; }
}

/* ============================================
   CONTACT / NEWSLETTER
   ============================================ */
#contact {
    background:var(--paper-deep);
    background-image:
      linear-gradient(rgba(38,36,32,0.02), rgba(38,36,32,0.02)),
      url("assets/images/riverdale_picture.jpg");
      background-size:cover;
      background-position:center 80%;
      background-repeat:no-repeat;
  }
.contact .eyebrow{ color:var(--paper); opacity:0.6; font-family:var(--fanwood);}
.contact h2{
  font-family:var(--fanwood);
  font-weight:400;
  font-size:clamp(2.2rem, 6vw, 3.6rem);
  max-width:16ch;
  margin:1rem 0 2.2rem;
}
.contact-grid {
  display: flex;
  justify-content: flex-start;
}

.laylo-widget {
  width: 500px;
  max-width: 100%;
  height: 580px;
  border: none;
}
.newsletter-form{
  display:flex;
  flex-direction:column;
  gap:0.9rem;
  max-width:420px;
}
.newsletter-form .field{
  display:flex;
  border-bottom:1px solid rgba(237,234,226,0.35);
  padding-bottom:0.7rem;
}
.newsletter-form input{
  background:none;
  border:none;
  color:var(--paper);
  font-family:var(--body);
  font-size:1rem;
  width:100%;
  outline:none;
}
.newsletter-form input::placeholder{ color:rgba(237,234,226,0.45); }
.newsletter-form button{
  margin-top:0.6rem;
  align-self:flex-start;
  background:var(--paper);
  color:var(--ink);
  border:none;
  padding:0.85rem 1.6rem;
  font-family:var(--fanwood);
  font-size:0.78rem;
  letter-spacing:0.06em;
  text-transform:uppercase;
  border-radius:2px;
  transition:opacity 0.3s ease;
}
.newsletter-form button:hover{ opacity:0.85; }
.form-note{
  font-family:var(--fanwood);
  font-size:0.72rem;
  color:rgba(237,234,226,0.5);
}

.social-col{ display:flex; flex-direction:column; gap:0.9rem; align-self:end; }
.social-col a{
  font-family:var(--fanwood);
  font-size:1.3rem;
  font-style:italic;
  color:var(--paper);
  opacity:0.75;
  transition:opacity 0.3s ease;
}
.social-col a:hover{ opacity:1; }

@media (min-width:760px){
  .contact-grid{ grid-template-columns:1fr auto; align-items:end; }
}

/* ============================================
   FOOTER
   ============================================ */
footer{
  background:var(--ink);
  color:rgba(237,234,226,0.5);
  padding:1.6rem var(--pad) 2.2rem;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:0.6rem;
  font-family:var(--fanwood);
  font-size:0.72rem;
  letter-spacing:0.03em;
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline:2px solid var(--moss);
  outline-offset:3px;
}