/* =============================================================
   É ISSO QUE NOS FAZ GAROTAS / WHAT MAKES US GIRLS
   Marigold Montefiore — shared stylesheet
   Aesthetic: cracked stained glass, decayed 70s glamour, zine grit
   ============================================================= */

:root {
  /* Character palette — dirty, faded, mournful */
  --carmen: #7a1220;       /* vermelho sangue queimado */
  --carmen-dim: #4a0c14;
  --maryjane: #c48a9a;     /* rosa desbotado */
  --maryjane-dim: #7f4e5b;
  --molly: #3a1d50;        /* roxo profundo */
  --molly-dim: #1d0f28;
  --crystal: #7b98ae;      /* azul frio pálido */
  --crystal-dim: #3f536a;
  --lucy: #e6dfcf;         /* branco fantasmagórico */
  --lucy-dim: #a69e8c;

  /* Base tones — cigarette smoke, torn cassette */
  --ash: #0b0a09;
  --soot: #14110f;
  --smoke: #1e1a16;
  --bone: #ece4d3;
  --paper: #d8cdb6;
  --blood: #5a0f17;
  --rust: #723824;

  /* Type */
  --font-display: "Fraunces", "Bodoni Moda", Georgia, serif;
  --font-body: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --font-mono: "Special Elite", "Courier New", monospace;
  --font-scrawl: "Caveat", "Permanent Marker", cursive;

  /* Grid */
  --max: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ash);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay — never leaves the screen */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Vignette */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8999;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,0.65) 100%);
}

::selection { background: var(--carmen); color: var(--bone); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ---------- TYPOGRAPHY UTILITIES ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.7;
}

.scrawl {
  font-family: var(--font-scrawl);
  color: var(--bone);
  transform: rotate(-2deg);
}

.blood-text {
  color: transparent;
  -webkit-text-stroke: 1px var(--carmen);
  text-stroke: 1px var(--carmen);
}

/* Split / broken text effect */
.broken {
  position: relative;
  color: var(--bone);
  text-shadow:
    -2px 0 var(--carmen-dim),
    2px 0 var(--crystal-dim);
}

/* ---------- NAVIGATION ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem var(--gutter);
  mix-blend-mode: difference;
  color: var(--bone);
}

.nav__mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.nav__mark sup { font-size: 0.55em; opacity: 0.65; margin-left: 0.2em; }

.nav__links {
  display: flex;
  gap: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.nav__links a {
  position: relative;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.nav__links a:hover { opacity: 1; }

.nav__links a::before {
  content: attr(data-num);
  margin-right: 0.4em;
  opacity: 0.5;
}

.nav__lang {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  display: flex;
  gap: 0.6rem;
}

.nav__lang a { opacity: 0.55; }
.nav__lang a.is-active { opacity: 1; border-bottom: 1px solid currentColor; }

/* Hamburger toggle — hidden on desktop */
.nav__toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: inherit;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: stretch;
}

.nav__toggle span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav.is-open .nav__toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav.is-open .nav__toggle span:nth-child(2) {
  opacity: 0;
}
.nav.is-open .nav__toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 820px) {
  .nav {
    padding: 0.9rem var(--gutter);
    /* difference blend breaks readability when overlay is open; drop it in mobile */
    mix-blend-mode: normal;
    background: linear-gradient(180deg, rgba(10,9,7,0.85), rgba(10,9,7,0.55));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .nav__toggle { display: flex; order: 3; margin-left: 0.4rem; }
  .nav__mark { margin-right: auto; }
  .nav__lang { order: 2; font-size: 0.62rem; }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 360px);
    height: 100dvh;
    flex-direction: column;
    gap: 0;
    padding: 6rem 2rem 2rem;
    background: rgba(10, 9, 7, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 1px solid rgba(232, 223, 207, 0.12);
    font-size: 0.82rem;
    letter-spacing: 0.32em;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    overflow-y: auto;
  }

  .nav__links a {
    display: block;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(232, 223, 207, 0.08);
    opacity: 0.9;
  }

  /* Backdrop behind the slide-in menu */
  .nav::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
    z-index: 98;
  }
  .nav.is-open::after {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
  }

  .nav.is-open .nav__links { transform: translateX(0); }

  /* Lock scroll when menu is open */
  body.nav-open { overflow: hidden; }
}

@media (max-width: 420px) {
  .nav__mark { font-size: 1rem; }
  .nav__mark sup { display: none; }
}

/* ---------- HERO — A AUTÓPSIA ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 6rem var(--gutter) 4rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  align-items: end;
  background:
    radial-gradient(1200px 800px at 78% 15%, rgba(122, 18, 32, 0.35), transparent 60%),
    radial-gradient(900px 700px at 10% 90%, rgba(58, 29, 80, 0.45), transparent 60%),
    linear-gradient(180deg, #0a0907 0%, #0b0a08 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(232,223,207,0.02) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg, rgba(232,223,207,0.015) 0 1px, transparent 1px 3px);
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero__stamp {
  position: absolute;
  top: 8rem;
  right: var(--gutter);
  width: 180px;
  height: 180px;
  border: 1.5px solid var(--carmen);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: rotate(-14deg);
  color: var(--carmen);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.25;
  padding: 1rem;
  opacity: 0.82;
  box-shadow: inset 0 0 0 8px rgba(90,15,23,0.08);
}

.hero__stamp::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed var(--carmen);
  border-radius: 50%;
  opacity: 0.45;
}

.hero__meta {
  grid-column: 1 / 7;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 3;
}

.hero__meta-row {
  display: flex;
  gap: 2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.7;
}

.hero__meta-row span { border-left: 1px solid var(--paper); padding-left: 0.8rem; opacity: 0.8; }
.hero__meta-row span:first-child { border-left: none; padding-left: 0; }

.hero__title {
  grid-column: 1 / 13;
  margin: 2.5rem 0 1.2rem;
  z-index: 3;
  text-align: center;
}

.hero__title h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-size: clamp(3.5rem, 12vw, 11.5rem);
  line-height: 0.82;
  letter-spacing: -0.03em;
  color: var(--bone);
  text-align: center;
}

.hero__title h1 em {
  font-style: italic;
  color: var(--carmen);
  display: inline-block;
  transform: translateY(4px);
}

.hero__title .char {
  display: inline-block;
}

.hero__author {
  grid-column: 1 / 13;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  z-index: 3;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

.hero__author .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--paper), transparent);
  opacity: 0.35;
  max-width: 140px;
}

.hero__author .line--left {
  background: linear-gradient(90deg, transparent, var(--paper));
}
.hero__author .line--right {
  background: linear-gradient(90deg, var(--paper), transparent);
}

.hero__author .name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--bone);
}

.hero__quote {
  grid-column: 1 / 8;
  margin-top: 3rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1.2;
  color: var(--bone);
  max-width: 32ch;
  z-index: 3;
}

.hero__quote::before {
  content: "";
  display: block;
  width: 2.4rem;
  height: 1px;
  background: var(--carmen);
  margin-bottom: 1rem;
}

.hero__aside {
  grid-column: 9 / 13;
  align-self: end;
  z-index: 3;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hero__aside .note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.7;
}

.hero__aside .cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  align-self: flex-end;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone);
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--bone);
  transition: all 0.3s ease;
  background: rgba(232, 223, 207, 0.02);
}

.hero__aside .cta:hover {
  background: var(--carmen);
  border-color: var(--carmen);
  color: var(--bone);
}

.hero__aside .cta .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.hero__aside .cta:hover .arrow { transform: translateX(6px); }

/* Bleeding decorative elements */
.hero__bleed {
  position: absolute;
  top: 40%;
  left: -6%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle at 30% 30%, rgba(122, 18, 32, 0.5), transparent 60%);
  filter: blur(60px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero__scratch {
  position: absolute;
  font-family: var(--font-scrawl);
  color: var(--carmen);
  font-size: 1.2rem;
  z-index: 4;
  opacity: 0.85;
  transform: rotate(-8deg);
  top: 46%;
  right: 6%;
  max-width: 220px;
  line-height: 1.15;
  mix-blend-mode: screen;
}

.hero__scratch::before {
  content: "";
  position: absolute;
  inset: -10px -16px;
  border-top: 1px solid var(--carmen);
  border-bottom: 1px solid var(--carmen);
  transform: rotate(6deg);
  opacity: 0.5;
}

/* Parental-advisory-style corner */
.hero__warning {
  position: absolute;
  bottom: 1.5rem;
  left: var(--gutter);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: var(--bone);
  color: var(--ash);
  padding: 0.35rem 0.7rem;
  z-index: 4;
}

@media (max-width: 820px) {
  .hero {
    padding: 5.5rem var(--gutter) 3.5rem;
    min-height: auto;
    gap: 1.25rem;
  }
  .hero__stamp {
    top: auto;
    bottom: 4.5rem;
    right: 1rem;
    width: 96px;
    height: 96px;
    font-size: 0.5rem;
    letter-spacing: 0.18em;
    padding: 0.6rem;
  }
  .hero__stamp::after { inset: 6px; }
  .hero__meta { grid-column: 1 / 13; }
  .hero__meta-row {
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    row-gap: 0.4rem;
  }
  .hero__meta-row span {
    border-left: none;
    padding-left: 0;
  }
  .hero__meta-row span:not(:last-child)::after {
    content: "·";
    margin-left: 1rem;
    opacity: 0.5;
  }
  .hero__title { margin: 1.5rem 0 1rem; }
  .hero__title h1 { font-size: clamp(3rem, 13vw, 6rem); }
  .hero__author { gap: 0.75rem; margin-top: 0.5rem; }
  .hero__author .line { max-width: 60px; }
  .hero__author .name { font-size: 1.25rem; }
  .hero__quote {
    grid-column: 1 / 13;
    margin-top: 2rem;
    max-width: 100%;
  }
  .hero__aside {
    grid-column: 1 / 13;
    align-items: stretch;
    text-align: left;
  }
  .hero__aside .cta {
    align-self: flex-start;
    min-height: 44px;
    padding: 0.9rem 1.3rem;
  }
  .hero__scratch { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 5rem 1.1rem 3rem; }
  .hero__stamp {
    width: 78px;
    height: 78px;
    font-size: 0.44rem;
    bottom: 4rem;
  }
  .hero__title h1 { font-size: clamp(2.6rem, 14vw, 4rem); }
  .hero__meta-row { font-size: 0.62rem; }
  .hero__warning {
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    padding: 0.3rem 0.55rem;
    bottom: 1rem;
  }
}

/* ---------- MARQUEE ---------- */

.marquee {
  border-top: 1px solid rgba(232, 223, 207, 0.12);
  border-bottom: 1px solid rgba(232, 223, 207, 0.12);
  overflow: hidden;
  background: var(--soot);
  padding: 1.1rem 0;
}

.marquee__track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: slide 38s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--bone);
}

.marquee__track span { opacity: 0.85; }
.marquee__track span::before { content: "✟"; color: var(--carmen); margin-right: 3rem; opacity: 0.8; }

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- SECTION BASICS ---------- */

.section {
  position: relative;
  padding: 8rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.section__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 2rem;
  margin-bottom: 4rem;
}

.section__head .num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--carmen);
}

.section__head .title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--bone);
}

.section__head .tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.6;
}

@media (max-width: 720px) {
  .section__head { grid-template-columns: 1fr; gap: 0.75rem; margin-bottom: 2.5rem; }
}

/* ---------- THE BAND INTRODUCTION ---------- */

.band {
  padding: 9rem var(--gutter);
  background:
    radial-gradient(800px 600px at 80% 20%, rgba(58, 29, 80, 0.25), transparent 65%),
    linear-gradient(180deg, #0a0807 0%, #120f0c 100%);
  border-top: 1px solid rgba(232,223,207,0.08);
  border-bottom: 1px solid rgba(232,223,207,0.08);
}

.band__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.band__left .kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--carmen);
  margin-bottom: 1.5rem;
}

.band__left h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--bone);
  margin-bottom: 2rem;
}

.band__left h2 em {
  font-style: normal;
  color: var(--carmen);
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

.band__left p {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--paper);
  opacity: 0.88;
  max-width: 46ch;
  margin-bottom: 1.2rem;
}

.band__left p + p { opacity: 0.75; }

.band__right {
  position: relative;
  aspect-ratio: 4/5;
}

.band__logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(4rem, 12vw, 12rem);
  color: var(--bone);
  letter-spacing: -0.05em;
  mix-blend-mode: screen;
  text-shadow:
    0 0 30px rgba(122, 18, 32, 0.4),
    2px 0 var(--carmen-dim),
    -2px 0 var(--crystal-dim);
}

.band__logo-word {
  white-space: nowrap;
  display: inline-block;
}

.band__logo::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(122, 18, 32, 0.55), transparent 65%);
  filter: blur(40px);
  z-index: -1;
}

.band__logo sup {
  font-size: 0.15em;
  font-family: var(--font-mono);
  font-style: normal;
  letter-spacing: 0.3em;
  color: var(--paper);
  vertical-align: top;
  opacity: 0.7;
  margin-left: 0.3em;
}

.band__scratches {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
}

@media (max-width: 820px) {
  .band { padding: 5rem var(--gutter); }
  .band__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .band__right { aspect-ratio: 3/2; }
  .band__logo { font-size: clamp(3.5rem, 18vw, 7rem); }
  .band__logo-word { white-space: normal; text-align: center; }
}

/* ---------- THE GIRLS — STAINED GLASS ---------- */

.girls {
  padding: 10rem var(--gutter) 8rem;
  background: var(--ash);
  position: relative;
}

.girls::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(122, 18, 32, 0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(58, 29, 80, 0.12), transparent 40%);
  pointer-events: none;
}

.girls__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
}

.girl {
  position: relative;
  aspect-ratio: 1 / 1.9;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease;
  --c: var(--carmen);
  --cd: var(--carmen-dim);
}

.girl:nth-child(1) { --c: var(--carmen);   --cd: var(--carmen-dim);   margin-top: 0; }
.girl:nth-child(2) { --c: var(--maryjane); --cd: var(--maryjane-dim); margin-top: 3rem; }
.girl:nth-child(3) { --c: var(--molly);    --cd: var(--molly-dim);    margin-top: 0.5rem; }
.girl:nth-child(4) { --c: var(--lucy);     --cd: var(--lucy-dim);     margin-top: 4rem; }
.girl:nth-child(5) { --c: var(--crystal);  --cd: var(--crystal-dim);  margin-top: 1.5rem; }

.girl:hover { transform: translateY(-6px); }

.girl__glass {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 25%, rgba(232,223,207,0.25), transparent 55%),
    linear-gradient(155deg, var(--c) 0%, var(--cd) 100%);
  clip-path: polygon(
    10% 0%, 90% 0%,
    100% 8%, 100% 60%, 95% 72%, 100% 80%, 100% 96%,
    85% 100%, 15% 100%,
    0% 96%, 0% 75%, 5% 68%, 0% 60%, 0% 8%
  );
  box-shadow: inset 0 0 100px rgba(0,0,0,0.45);
  z-index: 1;
}

/* Photo slot — fill in with inline style="background-image:url(...)" */
.girl__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  clip-path: polygon(
    10% 0%, 90% 0%,
    100% 8%, 100% 60%, 95% 72%, 100% 80%, 100% 96%,
    85% 100%, 15% 100%,
    0% 96%, 0% 75%, 5% 68%, 0% 60%, 0% 8%
  );
  filter: grayscale(0.3) contrast(1.08) saturate(0.85);
  z-index: 0;
}

/* When a photo is set, blend the coloured glass with it and hide the silhouette */
.girl:has(.girl__photo[style*="background-image"]) .girl__glass {
  mix-blend-mode: multiply;
  opacity: 0.78;
}
.girl:has(.girl__photo[style*="background-image"]) .girl__figure { display: none; }

/* cracked leads overlay */
.girl__cracks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(100deg, transparent 48%, rgba(0,0,0,0.85) 49%, transparent 50%),
    linear-gradient(35deg,  transparent 38%, rgba(0,0,0,0.75) 39%, transparent 40%),
    linear-gradient(170deg, transparent 62%, rgba(0,0,0,0.7) 63%, transparent 64%),
    linear-gradient(65deg,  transparent 72%, rgba(0,0,0,0.65) 73%, transparent 74%);
  opacity: 0.7;
}

.girl__halo {
  position: absolute;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  width: 48%;
  aspect-ratio: 1;
  border: 2px solid rgba(0,0,0,0.5);
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 0 0 6px rgba(0,0,0,0.25), inset 0 0 25px rgba(0,0,0,0.35);
}

.girl__halo::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,223,207,0.55), transparent 60%);
  z-index: -1;
  mix-blend-mode: screen;
}

.girl__figure {
  position: absolute;
  left: 50%;
  top: 22%;
  transform: translateX(-50%);
  width: 60%;
  aspect-ratio: 1 / 1.8;
  background:
    radial-gradient(ellipse at 50% 22%, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.9) 35%, transparent 60%),
    radial-gradient(ellipse at 50% 70%, rgba(0,0,0,0.9) 0%, transparent 70%);
  clip-path: polygon(
    35% 0%, 65% 0%,
    72% 15%, 70% 28%,
    85% 38%, 95% 60%, 98% 100%,
    2% 100%, 5% 60%, 15% 38%,
    30% 28%, 28% 15%
  );
  z-index: 2;
  mix-blend-mode: multiply;
}

.girl__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  padding: 1.25rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.88));
  color: var(--bone);
}

.girl__label .name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: var(--bone);
  letter-spacing: -0.01em;
}

.girl__label .role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.75;
  color: var(--c);
  filter: brightness(1.35);
}

.girl__label .fate {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.975rem;
  margin-top: 0.6rem;
  opacity: 0.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.girl:hover .girl__label .fate { max-height: 120px; }

.girl__saint {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.75;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .girls { padding: 6rem var(--gutter) 5rem; }
  .girls__grid { grid-template-columns: repeat(3, 1fr); }
  .girl:nth-child(4) { margin-top: 0; }
}
@media (max-width: 640px) {
  .girls { padding: 5rem 1.1rem 4rem; }
  .girls__grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .girl {
    margin-top: 0 !important;
    aspect-ratio: 1 / 1.55;
  }
  /* On touch / narrow, reveal fate text permanently — no hover */
  .girl__label .fate {
    max-height: 160px;
    font-size: 0.85rem;
    margin-top: 0.4rem;
  }
  .girl__label { padding: 1rem 0.75rem 0.85rem; }
  .girl__label .name { font-size: 1.45rem; }
  .girl__label .role { font-size: 0.6rem; letter-spacing: 0.22em; }
}
@media (max-width: 380px) {
  .girls__grid { grid-template-columns: 1fr; gap: 1rem; }
  .girl { aspect-ratio: 1 / 1.4; }
}

/* ---------- ALBUMS — DISCOGRAPHY OF PAIN ---------- */

.albums {
  padding: 10rem var(--gutter);
  background: linear-gradient(180deg, var(--ash) 0%, #0c0a08 100%);
  position: relative;
}

.albums__list {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-top: 1px solid rgba(232, 223, 207, 0.14);
  border-bottom: 1px solid rgba(232, 223, 207, 0.14);
}

.album {
  display: grid;
  grid-template-columns: 80px 1fr 1fr 140px;
  gap: 2rem;
  align-items: center;
  padding: 2.2rem 0;
  border-bottom: 1px solid rgba(232, 223, 207, 0.14);
  position: relative;
  transition: background 0.4s ease, padding-left 0.4s ease;
  cursor: pointer;
}

.album:last-child { border-bottom: none; }

.album:hover {
  background:
    linear-gradient(90deg, rgba(122, 18, 32, 0.18) 0%, transparent 60%);
  padding-left: 1.5rem;
}

.album__year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  color: var(--paper);
  opacity: 0.7;
  line-height: 1.35;
  white-space: nowrap;
}

.album__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--bone);
}

.album__title .sub {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.6;
}

.album__desc {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--paper);
  opacity: 0.78;
  max-width: 42ch;
}

.album__art {
  justify-self: end;
  width: 120px;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  filter: saturate(0.7) contrast(1.1);
}

/* Photo slot for album cover — fill in with inline style="background-image:url(...)" */
.album__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* When a cover photo is set, fade the decorative pattern so the image reads */
.album__art:has(.album__photo[style*="background-image"])::before,
.album__art:has(.album__photo[style*="background-image"])::after {
  opacity: 0.35;
  z-index: 2;
}

/* Album 1 — The Killing of America (punk, flag, blood) */
.art-1 {
  background:
    repeating-linear-gradient(0deg, var(--blood) 0 6px, var(--bone) 6px 12px);
  position: relative;
}
.art-1::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 48%;
  height: 55%;
  background: var(--molly-dim);
}
.art-1::after {
  content: "×";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--ash);
  font-weight: 900;
}

/* Album 2 — No Coward Soul (witchcraft, moon) */
.art-2 {
  background: radial-gradient(circle at 50% 50%, var(--molly) 0%, var(--molly-dim) 60%, var(--ash) 100%);
  position: relative;
}
.art-2::before {
  content: "";
  position: absolute;
  inset: 18% 22% 18% 18%;
  border-radius: 50%;
  background: var(--bone);
  box-shadow: 8px 4px 0 rgba(0,0,0,0.6) inset;
}
.art-2::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 48%, rgba(232,223,207,0.6) 49%, transparent 50%),
    linear-gradient(-45deg, transparent 48%, rgba(232,223,207,0.35) 49%, transparent 50%);
  opacity: 0.5;
}

/* Album 3 — St. Jude (stained glass saint) */
.art-3 {
  background: linear-gradient(180deg, var(--crystal-dim), var(--molly-dim));
  position: relative;
  overflow: hidden;
}
.art-3::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 15%;
  transform: translateX(-50%);
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--lucy), var(--lucy-dim));
  box-shadow: 0 0 30px rgba(232,223,207,0.4);
}
.art-3::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 48%, rgba(0,0,0,0.8) 49%, transparent 50%),
    linear-gradient(120deg, transparent 48%, rgba(0,0,0,0.6) 49%, transparent 50%),
    linear-gradient(60deg, transparent 48%, rgba(0,0,0,0.6) 49%, transparent 50%);
}

/* Album 4 — I Wish I Was a Girl Again (ghost, ice) */
.art-4 {
  background: linear-gradient(180deg, var(--crystal) 0%, var(--ash) 100%);
  position: relative;
}
.art-4::before {
  content: "";
  position: absolute;
  left: 20%; right: 20%;
  top: 12%; bottom: 0;
  background: var(--lucy);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 80% 75%, 100% 100%, 0 100%, 20% 75%, 0 60%);
  opacity: 0.85;
}
.art-4::after {
  content: "·  ·  ·";
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  text-align: center;
  color: var(--ash);
  font-size: 2rem;
  letter-spacing: 0.4em;
}

@media (max-width: 820px) {
  .albums { padding: 5rem var(--gutter); }
  .album { grid-template-columns: 1fr; gap: 0.6rem; padding: 1.8rem 0; }
  .album:hover { padding-left: 0; }
  .album__art { justify-self: start; width: 100px; margin-top: 0.5rem; }
  .album__desc { max-width: 100%; }
}
@media (max-width: 480px) {
  .albums { padding: 4rem 1.1rem; }
}

/* ---------- TAINTED KIDS — THE LEGACY WALL ---------- */

.kids {
  padding: 10rem var(--gutter);
  background: #0a0a08;
  position: relative;
  overflow: hidden;
}

.kids::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 40px,
      rgba(232, 223, 207, 0.02) 40px 41px
    ),
    radial-gradient(1000px 600px at 50% 20%, rgba(122,18,32,0.1), transparent 70%);
  pointer-events: none;
}

.kids__wall {
  position: relative;
  max-width: var(--max);
  margin: 4rem auto 0;
  min-height: 720px;
}

.scrap {
  position: absolute;
  padding: 1.25rem 1.5rem;
  max-width: 340px;
  background: var(--paper);
  color: var(--ash);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow:
    0 10px 25px rgba(0,0,0,0.55),
    0 1px 0 rgba(0,0,0,0.2);
  transition: transform 0.4s ease, z-index 0s 0.4s;
}

.scrap:hover {
  transform: scale(1.04) rotate(0deg) !important;
  z-index: 10;
  transition: transform 0.4s ease, z-index 0s;
}

.scrap::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 70px;
  height: 22px;
  background: rgba(122, 18, 32, 0.55);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  backdrop-filter: blur(2px);
}

.scrap em { font-style: italic; color: var(--carmen); font-weight: bold; }

.scrap small {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* Individual scrap positioning */
.scrap-1 { top: 0;     left: 2%;   transform: rotate(-4deg); background: var(--paper); }
.scrap-2 { top: 40px;  right: 4%;  transform: rotate(3deg);  background: #f0e8cf; }
.scrap-3 { top: 300px; left: 16%;  transform: rotate(-1deg); background: var(--ash); color: var(--bone); }
.scrap-3::before { background: var(--carmen); }
.scrap-4 { top: 280px; right: 18%; transform: rotate(4deg);  background: #efe1e4; }
.scrap-4::before { background: var(--maryjane); }
.scrap-5 { top: 520px; left: 6%;   transform: rotate(2deg);  background: #cfc7b5; }
.scrap-6 { top: 540px; right: 2%;  transform: rotate(-3deg); background: var(--lucy); }

/* Handwriting graffiti overlays */
.graffiti {
  position: absolute;
  font-family: var(--font-scrawl);
  color: var(--carmen);
  line-height: 1;
  pointer-events: none;
  opacity: 0.85;
  mix-blend-mode: screen;
  z-index: 1;
}

.graffiti-1 { top: 180px; left: 38%; font-size: 3rem; transform: rotate(-8deg); color: var(--maryjane); }
.graffiti-2 { top: 420px; left: 44%; font-size: 2.2rem; transform: rotate(4deg); color: var(--bone); }
.graffiti-3 { top: 640px; left: 36%; font-size: 2.6rem; transform: rotate(-3deg); color: var(--crystal); }

@media (max-width: 820px) {
  .kids { padding: 5rem var(--gutter); }
  .kids__wall { min-height: auto; display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
  .scrap {
    position: static !important;
    transform: none !important;
    max-width: 100%;
    font-size: 0.85rem;
  }
  .graffiti { display: none; }
}
@media (max-width: 480px) {
  .kids { padding: 4rem 1.1rem; }
  .scrap { padding: 1.1rem 1.15rem; }
}

/* ---------- PURCHASE / AMAZON CTA ---------- */

.buy {
  padding: 10rem var(--gutter);
  background: radial-gradient(ellipse at 50% 0%, var(--carmen-dim) 0%, var(--ash) 65%);
  text-align: center;
  position: relative;
}

.buy__quote {
  max-width: 32ch;
  margin: 0 auto 3rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  line-height: 1.25;
  color: var(--bone);
}

.buy__quote::before,
.buy__quote::after {
  content: "—";
  color: var(--carmen);
  display: block;
  margin: 0.8rem auto;
  font-style: normal;
}

.buy__cta {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ash);
  background: var(--bone);
  padding: 1.3rem 2.5rem;
  border: 1px solid var(--bone);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.buy__cta::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--carmen);
  transition: left 0.4s ease;
  z-index: 0;
}

.buy__cta span { position: relative; z-index: 1; }
.buy__cta:hover { color: var(--bone); border-color: var(--carmen); }
.buy__cta:hover::before { left: 0; }

.buy__note {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* ---------- FOOTER ---------- */

.foot {
  padding: 3rem var(--gutter) 4rem;
  border-top: 1px solid rgba(232, 223, 207, 0.08);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.55;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.foot a { border-bottom: 1px solid currentColor; }

/* ---------- MOBILE — MARQUEE / BUY / FOOTER ---------- */

@media (max-width: 820px) {
  .marquee { padding: 0.8rem 0; }
  .marquee__track { font-size: 1.3rem; gap: 2rem; }
  .marquee__track span::before { margin-right: 2rem; }

  .buy { padding: 5.5rem var(--gutter); }
  .buy__cta {
    padding: 1.1rem 1.6rem;
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    min-height: 44px;
    gap: 0.9rem;
  }

  .foot {
    padding: 2.5rem var(--gutter) 3rem;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
  }
}

@media (max-width: 480px) {
  .buy { padding: 4.5rem 1.1rem; }
  .marquee__track { font-size: 1.1rem; }
}

/* ---------- REVEAL ANIMATION ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
