/* Project: Reborn — pre-announcement dossier
   Palette drawn from the key art: pale fog grey, ash-green, ink text.
   One accent per faction, used only as rules/marks (never as reading text). */

:root{
  --fog:      #e7e8e3;
  --fog-2:    #dcded7;
  --ink:      #1b1d19;
  --muted:    #565a4f;
  --line:     #c6c8bd;
  --char:     #212320;
  --char-fg:  #d7d8d0;
  --char-mut: #9ea095;

  --oxide:     #9a3b2c;
  --verdigris: #3f7d6c;
  --amber:     #a9772b;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --mono:  ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --measure: 60ch;
  --gutter: clamp(20px, 5vw, 72px);
}

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

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

body{
  margin: 0;
  background: var(--fog);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(17px, 1.05rem + 0.2vw, 20px);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a{ color: var(--oxide); text-underline-offset: 3px; }
a:hover{ color: var(--ink); }

h1, h2{ font-weight: 600; line-height: 1.14; margin: 0; text-wrap: balance; }

.inner{
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.prose{ max-width: calc(var(--measure) + var(--gutter) * 2); }
.prose p{ margin: 0 0 1.1em; text-wrap: pretty; }
.prose p:last-child{ margin-bottom: 0; }

/* --- shared mono labels --- */
.desig, .section-tag, .cap, .slot__note, .hero__desig,
.log, .ledger, .margin-note, .footer__contact, .footer__legal{
  font-family: var(--mono);
}
.section-tag{
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.4rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent, var(--line));
}

/* --- masthead --- */
.masthead{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem var(--gutter);
  border-bottom: 1px solid var(--line);
}
.desig{
  margin: 0;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink);
}
.desig--muted{ color: var(--muted); letter-spacing: .2em; }

/* --- hero --- */
.hero{ position: relative; }
.hero__img{
  width: 100%;
  height: clamp(500px, 90vh, 880px);
  object-fit: cover;
  object-position: 62% 50%;
}
.hero__scrim{
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(231,232,227,0) 40%,
    rgba(231,232,227,.72) 78%,
    var(--fog) 100%);
}
.hero__block{
  position: absolute;
  left: 0; right: 0; bottom: clamp(24px, 5vh, 60px);
  width: 100%;
}
.hero__desig{
  margin: 0 0 .9rem;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}
.slot__title{
  margin: 0;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: clamp(1.6rem, 4.6vw, 3.1rem);
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ink);
}
.slot__note{
  margin: .7rem 0 0;
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Over the hero photograph the muted grey label colour washes out — the two
   labels keep their place in the hierarchy by size and letterspacing instead,
   and the genre line must never be the illegible one. */
.hero .hero__desig, .hero .slot__note{
  color: var(--ink);
  opacity: .82;
  text-shadow: 0 0 14px rgba(231,232,227,.65);
}
.hero__premise{
  margin: 1.5rem 0 0;
  max-width: 20ch;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* --- bands --- */
.band{ padding-block: clamp(56px, 10vw, 120px); }
.band .plate{ margin-bottom: clamp(36px, 6vw, 72px); }

.lede{
  font-size: clamp(1.4rem, 2.6vw, 2.05rem);
  line-height: 1.24;
  margin-bottom: 1.2rem;
  max-width: 26ch;
}
.thesis{
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid currentColor;
  font-style: italic;
  font-size: 1.12em;
  opacity: .92;
}

.band--dark{ background: var(--char); color: var(--char-fg); }
.band--dark .section-tag{ color: var(--char-mut); }
.prose--dark .thesis{ border-color: rgba(215,216,208,.3); }

/* --- image plates --- */
.plate{ margin: 0; }
.plate img{
  width: 100%;
  height: clamp(280px, 52vh, 560px);
  object-fit: cover;
}
.plate--tall img{ height: clamp(320px, 62vh, 660px); }
.cap{
  margin: .8rem var(--gutter) 0;
  max-width: 1180px;
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 1180px){
  .cap{ margin-inline: max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter))); }
}
.cap--ondark{ color: var(--char-mut); }

/* --- factions --- */
.faction{ padding-block: clamp(48px, 8vw, 96px); border-top: 1px solid var(--line); }
.faction:first-child{ border-top: 0; }
.faction .plate{ margin-bottom: clamp(28px, 4vw, 48px); }
.faction__name{
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.015em;
  margin-bottom: 1.3rem;
}
.faction__text{ max-width: calc(var(--measure) + var(--gutter) * 2); }

/* voice blocks — mono, terse, report-like */
.log, .ledger, .margin-note{
  font-size: .96rem;
  line-height: 1.72;
}
.log p, .ledger p, .margin-note p{
  margin: 0 0 .55em;
  padding-left: 1.1rem;
  position: relative;
  color: var(--ink);
}
.log p::before, .ledger p::before, .margin-note p::before{
  content: "";
  position: absolute; left: 0; top: .62em;
  width: .5rem; height: 2px;
  background: var(--accent);
}
.margin-note p{ padding-left: 1.2rem; }
.margin-note p::before{ top: .78em; height: 1px; width: .7rem; opacity: .8; }

/* --- footer --- */
.footer{
  background: var(--char);
  color: var(--char-fg);
  padding-block: clamp(48px, 8vw, 88px);
  border-top: 1px solid rgba(215,216,208,.12);
}
.footer .desig{ color: var(--char-fg); margin-bottom: 1.4rem; }
.footer__contact{ margin: 0 0 .6rem; font-size: .82rem; letter-spacing: .04em; color: var(--char-fg); }
.footer__legal{ margin: 0; font-size: .72rem; letter-spacing: .06em; color: var(--char-mut); max-width: 52ch; }

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
