/*
  V9 — credibility and reliability polish
  ----------------------------------------
  This layer keeps the V8 composition, palette and typography roles intact.
  It strengthens provenance, readable microcopy, state continuity and graceful
  failure without introducing a new visual system.
*/

@font-face{
  font-family:"DM Sans";
  src:url("assets/fonts/DM-Sans-Variable.woff2") format("woff2");
  font-style:normal;
  font-weight:100 1000;
  font-display:swap;
}

@font-face{
  font-family:"Playfair Display";
  src:url("assets/fonts/Playfair-Display-Variable.woff2") format("woff2");
  font-style:normal;
  font-weight:400 900;
  font-display:swap;
}

@font-face{
  font-family:"Playfair Display";
  src:url("assets/fonts/Playfair-Display-Italic-Variable.woff2") format("woff2");
  font-style:italic;
  font-weight:400 900;
  font-display:swap;
}

@font-face{
  font-family:"Noto Sans SC";
  src:url("assets/fonts/Noto-Sans-SC-Variable.woff2") format("woff2");
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
}

:root{
  --v9-accent:#d2a0a7;
  --v9-accent-bright:#f0d4d7;
  --v9-ease:cubic-bezier(.16,1,.3,1);
}

.sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

/* --------------------------------------------------------------------------
   Evidence links: one restrained language from first claim to final source.
   -------------------------------------------------------------------------- */

.group-recognition .evidence-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  max-width:720px;
  margin-top:30px;
  border-top:1px solid rgba(90,47,54,.25);
  border-bottom:1px solid rgba(90,47,54,.2);
}

.group-recognition .evidence-actions .evidence-link{
  display:block;
  min-height:76px;
  margin:0;
  padding:17px 24px 16px 0;
  border:0;
  color:#5f2731;
  font-size:12px;
  letter-spacing:.055em;
  text-transform:none;
  transition:color .2s ease,background .2s ease;
}

.group-recognition .evidence-actions .evidence-link+ .evidence-link{
  padding-left:24px;
  border-left:1px solid rgba(90,47,54,.2);
}

.group-recognition .evidence-actions .evidence-link span{
  display:block;
  margin-bottom:9px;
  color:#9a5964;
  font:11px/1 "DM Sans","Noto Sans SC",sans-serif;
  letter-spacing:.12em;
}

.group-recognition .evidence-actions .evidence-link:is(:hover,:focus-visible){
  color:#2f0d14;
  background:linear-gradient(90deg,rgba(121,53,66,.07),transparent 82%);
}

.record-actions .evidence-link-inline{
  color:#ddb7bc;
}

.record-actions .evidence-link-inline::before{
  content:"SOURCE · ";
  color:#9d777c;
}

.live-source-strip{
  display:grid;
  grid-template-columns:115px minmax(0,1fr);
  gap:18px;
  align-items:center;
  margin-top:30px;
  padding:18px 0;
  border-top:1px solid #b7aea5;
  border-bottom:1px solid #b7aea5;
}

.live-source-strip span{
  color:#8c2635;
  font:11px/1.4 "DM Sans","Noto Sans SC",sans-serif;
  letter-spacing:.1em;
}

.live-source-strip a{
  color:#4c403b;
  font-size:13px;
  line-height:1.55;
  transition:color .2s ease;
}

.live-source-strip a:is(:hover,:focus-visible){color:#7a1f2e}

/* The approved portraits stay untouched; the role plate only protects type
   from text already printed inside a source photograph. */
#members .member-card>span{
  z-index:4;
  width:max-content;
  max-width:calc(100% - 36px);
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(19,7,10,.62);
  box-shadow:0 8px 28px rgba(0,0,0,.2);
  backdrop-filter:blur(9px);
  font-size:11px;
  line-height:1.25;
}

/* --------------------------------------------------------------------------
   Sound Map: route, selected record and persistent player speak one language.
   -------------------------------------------------------------------------- */

#sound .sound-route{
  transition:
    transform .28s var(--v9-ease),
    background .22s ease,
    color .22s ease,
    border-color .22s ease;
}

#sound .sound-route:is(:hover,:focus-visible),
#sound .sound-route.is-active{
  padding-left:0;
  transform:translate3d(8px,0,0);
}

#sound .sound-route:focus-visible{
  outline:2px solid var(--v9-accent-bright);
  outline-offset:5px;
}

#sound .sound-route.is-active{
  background:linear-gradient(90deg,rgba(179,89,104,.18),transparent 78%);
}

#sound .sound-route.is-active::before{
  top:20px;
  bottom:20px;
  width:3px;
  background:var(--v9-accent);
  box-shadow:0 0 24px rgba(208,154,163,.48);
}

#sound .sound-records-v6 .sound-record{
  position:relative;
  transition:background .24s ease,border-color .24s ease;
}

#sound .sound-records-v6 .sound-record::before{
  content:"";
  position:absolute;
  left:-16px;
  top:44px;
  bottom:44px;
  width:2px;
  background:var(--v9-accent);
  opacity:0;
  transform:scaleY(.2);
  transform-origin:center;
  transition:opacity .2s ease,transform .42s var(--v9-ease);
}

#sound .sound-records-v6 .sound-record.is-playing{
  border-top-color:var(--v9-accent);
  background:linear-gradient(90deg,rgba(110,35,49,.1),transparent 70%);
}

#sound .sound-records-v6 .sound-record.is-playing::before{
  opacity:1;
  transform:scaleY(1);
}

#sound .sound-listen.is-playing{
  color:var(--v9-accent-bright);
}

#sound .sound-listen.is-playing::before{
  content:"● ";
  color:var(--v9-accent);
}

#sound .sound-now-playing{
  background:linear-gradient(90deg,rgba(102,31,44,.13),transparent 74%);
  transition:border-color .22s ease,background .22s ease;
}

#sound .sound-now-playing:has(#sound-current-state:not(:empty)){
  border-top-color:rgba(223,181,187,.42);
}

.audio-dock{
  border-color:rgba(226,184,190,.5);
  box-shadow:0 20px 80px rgba(0,0,0,.58),0 0 0 1px rgba(179,89,104,.08);
}

.audio-kicker{color:var(--v9-accent-bright)}

.audio-dock-actions a:is(:hover,:focus-visible){
  color:#fff;
  border-color:var(--v9-accent-bright);
}

/* The final coordinate is chronological context, not a fifth Sound Map route. */
#sound .release-line-track{grid-template-columns:repeat(8,1fr)}
#sound .release-point.is-current:not(.is-active){opacity:.74}
#sound .release-point.is-current:not(.is-active) i{
  border-color:rgba(232,190,196,.7);
  box-shadow:0 0 0 5px rgba(207,134,146,.07);
}

#sound .sound-focus-cover figcaption small,
#sound .sound-focus-play span,
#sound .sound-route-links small{font-size:11px}

.timeline-current-covers{
  grid-column:1;
  grid-row:1;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  align-self:center;
}

.timeline-cover-item{
  position:relative;
  display:block;
  aspect-ratio:1;
  overflow:hidden;
}

.timeline-cover-item img,
.timeline-current-covers img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.72);
}

.timeline-edition-current .timeline-source{
  display:inline-block;
  margin-top:28px;
  padding-bottom:6px;
  border-bottom:1px solid rgba(211,160,168,.48);
  color:#d4a2aa;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.timeline-edition-current .timeline-source:is(:hover,:focus-visible){color:#fff0e8}

/* --------------------------------------------------------------------------
   About: V8's page turn stays, but its metadata is no longer microprint.
   -------------------------------------------------------------------------- */

.about-flip-close{font-size:12px}
.about-flip-heading>span,
.about-flip-meta span{font-size:12px;line-height:1.45}
.about-flip-heading p{font-size:15px;line-height:1.95}
.about-flip-route span{font-size:12px}
.about-flip-route strong{font-size:30px}
.about-flip-route small{font-size:13px;line-height:1.7;color:#b7a6a3}
.about-flip-meta p{font-size:13px;line-height:1.85;color:#b3a19e}
.about-flip-sources{font-size:12px;line-height:1.55}
.about-flip-sources a{transition:color .2s ease,border-color .2s ease}
.about-flip-sources a:is(:hover,:focus-visible){color:#fff;border-color:#d4a2a9}

/* A hardware-aware fallback keeps the interaction but never asks a very tall
   document to become one enormous 3D texture. */
body.about-flip-lite.about-flip-active .page-flip-front{
  transform:none;
  transition:opacity 300ms ease;
  will-change:opacity;
}

body.about-flip-lite.about-flip-active .about-flip-page{
  transform:perspective(1200px) rotateX(-4deg) translateY(26px);
  transform-origin:center top;
  transition:opacity 260ms ease,transform 620ms var(--v9-ease);
  will-change:opacity,transform;
}

body.about-flip-lite.about-flip-to-back .page-flip-front{
  opacity:0;
  transform:none;
}

body.about-flip-lite.about-flip-to-back .about-flip-page{
  opacity:1;
  transform:perspective(1200px) rotateX(0) translateY(0);
}

/* --------------------------------------------------------------------------
   Asset states: failures become intentional states instead of broken icons.
   -------------------------------------------------------------------------- */

.v9-image-shell-static{position:relative}
.v9-image-shell.v9-image-loading>img{opacity:.34}
.v9-image-shell.v9-image-ready>img{opacity:1}
.v9-image-shell.v9-image-error>img{opacity:0}

.v9-image-fallback{
  position:absolute;
  z-index:1;
  inset:0;
  display:grid;
  place-items:center;
  padding:24px;
  background:
    linear-gradient(135deg,rgba(82,17,28,.95),rgba(13,9,10,.98)),
    #16080b;
  color:#d9c4c1;
  text-align:center;
  font:12px/1.7 "DM Sans","Noto Sans SC",sans-serif;
  letter-spacing:.05em;
}

.noscript-note{
  position:fixed;
  z-index:1400;
  left:24px;
  right:24px;
  bottom:24px;
  margin:0;
  padding:16px 20px;
  border:1px solid rgba(239,224,215,.38);
  background:#22090e;
  color:#f2e5dd;
  font-size:14px;
  line-height:1.7;
}

@media(max-width:1350px){
  .about-flip-route a{min-height:184px;padding-right:18px}
  .about-flip-route a:not(:nth-child(4n+1)){padding-left:18px}
  .about-flip-route strong{font-size:27px}
  .about-flip-route small{font-size:12px}
  .about-flip-meta{gap:5vw}
  .about-flip-meta>div{grid-template-columns:102px 1fr;gap:0 20px}
  #members .member-card>span{font-size:11px}
}
