:root{
  /* Pulled from the artwork: sleeve black, brass rules, bone insert stock */
  --ink:      #141110;
  --ink-soft: #1F1A17;
  --brass:    #C08A3E;
  --brass-dim:#8A6229;
  --bone:     #EDE4D3;
  --paper:    #F1EADC;
  --sepia:    #4A3B2C;
  --dust:       #8A7B67;   /* on the dark sleeve */
  /* The same grey darkened for the paper half: #8A7B67 on --paper measures
     3.4:1, under the 4.5:1 WCAG AA floor for text set this small. */
  --dust-paper: #736450;

  --display: 'Bitter', Georgia, serif;
  /* EB Garamond matches the Where's Your Grace insert. Small x-height, so
     the sizing and leading below run larger than a typical serif needs. */
  --body:    'EB Garamond', Georgia, serif;
  --type:    'Courier Prime', 'Courier New', monospace;

  --measure: 66ch;
  --gutter:  clamp(1.5rem, 5vw, 4rem);
}

*,*::before,*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; }

body{
  margin:0;
  background:var(--ink);
  color:var(--bone);
  font-family:var(--body);
  font-size:clamp(1.1875rem,1.09rem + 0.45vw,1.3125rem);
  line-height:1.66;
  -webkit-font-smoothing:antialiased;
}

a{ color:inherit; }

:focus-visible{
  outline:2px solid var(--brass);
  outline-offset:3px;
}

/* The five brass rules from the sleeve. Used twice, no more. */
.rules{
  height:47px;
  background:repeating-linear-gradient(
    to bottom,
    var(--brass-dim) 0 3px,
    transparent 3px 11px
  );
  opacity:.85;
}

/* ---------- Sleeve (dark) ---------- */

.sleeve{
  padding:clamp(2.5rem,6vw,4.5rem) var(--gutter) clamp(3.5rem,8vw,6rem);
  position:relative;
  overflow:hidden;
}

.masthead{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:1rem 2rem;
  max-width:1100px;
  margin:0 auto clamp(3rem,8vw,5.5rem);
}

.wordmark{
  font-family:var(--display);
  font-weight:800;
  font-size:clamp(1.9rem,1.2rem + 3.4vw,3.4rem);
  line-height:.95;
  letter-spacing:.02em;
  text-transform:uppercase;
  margin:0;
  color:var(--bone);
}

.wordmark span{ display:block; }

.tagline{
  font-family:var(--type);
  font-size:.7rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--brass);
  margin:.9rem 0 0;
}

.jump{
  display:flex;
  gap:1.4rem;
  font-family:var(--type);
  font-size:.7rem;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.jump a{
  color:var(--dust);
  text-decoration:none;
  padding-bottom:2px;
  border-bottom:1px solid transparent;
  transition:color .18s ease, border-color .18s ease;
}

.jump a:hover{ color:var(--bone); border-bottom-color:var(--brass); }

/* The signature: rules run the full width, the sleeve interrupts them.
   This is the composition of the single's cover art. */
.stage{ position:relative; max-width:1100px; margin:0 auto; }

.stage .rules{
  position:absolute;
  left:0; right:0;
  top:50%;
  transform:translateY(-50%);
  z-index:0;
}

.plate{
  position:relative;
  z-index:1;
  background:var(--ink);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:clamp(1.75rem,4vw,3.5rem);
  padding:clamp(1.5rem,4vw,2.75rem) clamp(1.25rem,3.5vw,3rem);
  width:fit-content;
  margin:0 auto;
}

.cover{
  display:block;
  width:clamp(210px,34vw,330px);
  height:auto;
  border:1px solid rgba(237,228,211,.14);
}

.release-meta{ max-width:26rem; }

.eyebrow{
  font-family:var(--type);
  font-size:.7rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--brass);
  margin:0 0 .85rem;
}

.release-title{
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(1.55rem,1.2rem + 1.5vw,2.2rem);
  line-height:1.12;
  margin:0 0 .6rem;
}

.release-kind{
  font-family:var(--type);
  font-size:.78rem;
  letter-spacing:.08em;
  color:var(--dust);
  margin:0 0 1.75rem;
}

.listen{
  display:inline-block;
  font-family:var(--type);
  font-size:.76rem;
  font-weight:700;
  letter-spacing:.17em;
  text-transform:uppercase;
  text-decoration:none;
  color:var(--ink);
  background:var(--brass);
  padding:.95rem 1.9rem;
  transition:background .18s ease, transform .18s ease;
}

.listen:hover{ background:var(--bone); transform:translateY(-1px); }

.player{
  position:relative;
  z-index:1;
  max-width:640px;
  margin:clamp(2rem,5vw,3rem) auto 0;
}

.player iframe{ display:block; border:0; }

/* The record after this one. Deliberately quieter than .plate — a strip, not a
   second sleeve — so the released song keeps the page. --ink-soft finally earns
   its place on the hover. */
.next{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:clamp(1rem,3vw,1.75rem);
  max-width:640px;
  margin:clamp(2rem,5vw,3rem) auto 0;
  padding:.9rem 1.1rem;
  border:1px solid rgba(237,228,211,.16);
  text-decoration:none;
  color:inherit;
  transition:border-color .18s ease, background .18s ease;
}

.next:hover{ border-color:var(--brass); background:var(--ink-soft); }

.next-cover{
  display:block;
  width:64px;
  height:64px;
  flex:0 0 auto;
  border:1px solid rgba(237,228,211,.14);
}

.next-meta{ display:flex; flex-direction:column; gap:.3rem; min-width:0; }

.next-eyebrow{
  font-family:var(--type);
  font-size:.66rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--brass);
}

.next-title{
  font-family:var(--display);
  font-weight:600;
  font-size:1.05rem;
  line-height:1.15;
  color:var(--bone);
}

.next-cta{
  font-family:var(--type);
  font-size:.7rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--dust);
  margin-left:auto;
  padding-bottom:2px;
  border-bottom:1px solid transparent;
  white-space:nowrap;
  transition:color .18s ease, border-color .18s ease;
}

.next:hover .next-cta{ color:var(--bone); border-bottom-color:var(--brass); }

@media (max-width:640px){
  .next{ flex-wrap:wrap; }
  .next-cta{ margin-left:0; flex-basis:100%; }
}

/* ---------- Insert (paper) ---------- */

.insert{
  background:var(--paper);
  color:var(--sepia);
  position:relative;
}

/* Faint grain so the paper reads as stock, not as a white box */
.insert::before{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.insert-inner{
  position:relative;
  max-width:1100px;
  margin:0 auto;
  padding:clamp(3.5rem,8vw,6rem) var(--gutter);
}

.block{
  /* Rules and content share one width, left edge aligned with the masthead. */
  max-width:44rem;
}

.block + .block{ margin-top:clamp(3.25rem,7vw,5rem); }

.block-head{
  font-family:var(--type);
  font-size:.7rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--brass-dim);
  margin:0 0 1.5rem;
  padding-bottom:.75rem;
  border-bottom:1px solid rgba(74,59,44,.18);
}

.prose{
  max-width:var(--measure);
  font-size:1.06em;
  line-height:1.72;
  margin:0;
}

.prose + .prose{ margin-top:1.1rem; }

/* Discography rows. Date carries the information, so no numbering. */
.entry{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:.4rem 1.5rem;
  padding:1.1rem 0;
  border-bottom:1px solid rgba(74,59,44,.14);
  text-decoration:none;
  color:inherit;
  transition:padding-left .18s ease;
}

.entry:hover{ padding-left:.5rem; }

.entry-date{
  font-family:var(--type);
  font-size:.76rem;
  letter-spacing:.06em;
  color:var(--dust-paper);
  flex:0 0 8.5rem;
}

.entry-title{
  font-family:var(--display);
  font-weight:600;
  font-size:1.22em;
  flex:1 1 12rem;
}

.entry-kind{
  font-family:var(--type);
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--brass-dim);
}

.links{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:.5rem 2.25rem;
}

.links a{
  display:inline-block;
  width:fit-content;
  font-family:var(--type);
  font-size:.82rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  text-decoration:none;
  padding:.55rem 0 .3rem;
  border-bottom:1px solid rgba(74,59,44,.28);
  transition:color .18s ease, border-color .18s ease;
}

.links a:hover{ color:var(--brass-dim); border-bottom-color:var(--brass); }

.links a::after{
  content:"\2197";
  margin-left:.5rem;
  color:var(--dust-paper);
}

.contact-line{
  font-family:var(--type);
  font-size:.95rem;
  letter-spacing:.02em;
}

.contact-line a{
  color:var(--sepia);
  text-decoration:none;
  border-bottom:1px solid var(--brass);
  padding-bottom:1px;
}

.contact-line a:hover{ color:var(--brass-dim); }

/* Colophon: the sleeve composition once more at small scale, the mark
   interrupting the rules the way the snapshot does on the cover. */
.colophon{
  position:relative;
  max-width:44rem;
  margin-top:clamp(3.25rem,7vw,5rem);
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:110px;
}

.colophon::before{
  content:"";
  position:absolute;
  left:0; right:0; top:50%;
  transform:translateY(-50%);
  height:29px;
  background:repeating-linear-gradient(
    to bottom,
    rgba(138,98,41,.55) 0 2px,
    transparent 2px 7px
  );
}

.colophon img{
  position:relative;
  display:block;
  width:88px;
  height:auto;
  background:var(--paper);
  padding:0 1.75rem;
}

footer{
  background:var(--ink);
  padding:clamp(2.5rem,6vw,3.5rem) var(--gutter);
}

.footer-inner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:.75rem 2rem;
  font-family:var(--type);
  font-size:.7rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--dust);
}

/* Quiet entrance. Nothing scroll-jacked. */
@media (prefers-reduced-motion:no-preference){
  .fade{ animation:rise .8s cubic-bezier(.2,.7,.3,1) both; }
  .fade-2{ animation-delay:.12s; }
  @keyframes rise{
    from{ opacity:0; transform:translateY(12px); }
    to  { opacity:1; transform:none; }
  }
}

@media (max-width:640px){
  .plate{ flex-direction:column; align-items:flex-start; width:100%; }
  .stage .rules{ display:none; }
  .entry-date{ flex-basis:100%; }
  .masthead{ flex-direction:column; align-items:flex-start; }
}

/* ---------- Lyrics ---------- */

.slim{
  padding:clamp(1.75rem,4vw,2.75rem) var(--gutter);
}

.slim .masthead{ margin-bottom:0; }

.slim .wordmark{
  font-size:clamp(1.35rem,1rem + 1.6vw,1.9rem);
}

.slim .wordmark span{ display:inline; }

.song + .song{
  margin-top:clamp(4rem,9vw,7rem);
  padding-top:clamp(4rem,9vw,7rem);
  border-top:1px solid rgba(74,59,44,.18);
}

.song-title{
  font-family:var(--display);
  font-weight:600;
  font-size:clamp(1.6rem,1.25rem + 1.5vw,2.25rem);
  line-height:1.12;
  margin:0 0 .5rem;
}

.song-meta{
  font-family:var(--type);
  font-size:.74rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--dust-paper);
  margin:0 0 clamp(2rem,4vw,2.75rem);
}

/* Line breaks carry meaning in a lyric, so they are preserved as written
   rather than reflowed. Blank lines open the stanzas. */
.lyric{
  white-space:pre-line;
  max-width:34rem;
  font-size:1.08em;
  line-height:1.9;
  margin:0;
}

.back{
  display:inline-block;
  font-family:var(--type);
  font-size:.74rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  text-decoration:none;
  color:var(--dust-paper);
  margin-top:clamp(3rem,6vw,4rem);
  padding-bottom:2px;
  border-bottom:1px solid transparent;
  transition:color .18s ease, border-color .18s ease;
}

.back:hover{ color:var(--sepia); border-bottom-color:var(--brass); }
