/* ==========================================================================
   Forgotten Heroes — „Die Lichtspur" (landing only)
   One continuous golden line drawn across the page; editorial museum plates.
   Loaded ONLY on page-forgotten-heroes.php. The tribute (single-hakim_hero)
   keeps forgotten-heroes.css. Design refs: docs/design-refs/fh-lichtspur/.
   Uppercase comes exclusively from the shared .hk-overline (a11y gate) —
   this file never declares text-transform.
   ========================================================================== */

/* ---- cross-document View Transitions (landing side) ---------------------
   The tribute page carries the static view-transition-name; the landing names
   the outgoing/incoming plate frame per navigation in fh-lichtspur.js. */
@view-transition { navigation: auto; }

::view-transition-old(root) { animation: none; }
::view-transition-new(root) {
    animation: hk-fade-in var(--hk-dur) var(--hk-ease) both;
}
::view-transition-group(fh-hero-portrait) {
    animation-duration: var(--hk-dur);
    animation-timing-function: var(--hk-ease);
}
::view-transition-old(fh-hero-portrait),
::view-transition-new(fh-hero-portrait) {
    object-fit: cover;
}
@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) { animation: none !important; }
}

/* ---- page scope + local tokens ------------------------------------------ */
.fh-lichtspur {
    /* Deep-ink ground is FH-specific (darker than brand navy); no global token
       exists for these shades, so they live here (self-contained scope rule).
       Gold/typography reuse the brand tokens. */
    --ink:        #0C1220;
    --ink-2:      #101828;
    --gold:       var(--hk-gold);
    --gold-light: var(--hk-gold-light);
    --paper:      #EDE7DA;
    --body:       rgba(237, 231, 218, 0.72);
    --faint:      rgba(237, 231, 218, 0.45);
    --hairline:   rgba(200, 169, 110, 0.26);
    --hairline-2: rgba(200, 169, 110, 0.13);
    --serif:      var(--hk-font-heading);
    --sans:       var(--hk-font-body);
    --arab:       var(--hk-font-arabic);
    --measure:    62ch;
    --gutter:     clamp(1.25rem, 5vw, 6rem);
    --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);

    position: relative;
    background: var(--ink);
    color: var(--body);
    font-family: var(--sans);
    font-weight: 300;
    font-size: 1.0625rem;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    min-height: 100vh;
}
.fh-lichtspur ::selection { background: var(--gold); color: var(--ink); }
.fh-lichtspur a { color: var(--gold-light); text-decoration: none; }
.fh-lichtspur a:focus-visible,
.fh-lichtspur button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
.fh-lichtspur img { max-width: 100%; display: block; }

/* Full-bleed under the fixed header (same contract as the old theatre). */
body.page-template-page-forgotten-heroes .hk-main { padding-top: 0; }

/* Global .hk-overline uses a dark gold tuned for light backgrounds — lift it. */
.fh-lichtspur .hk-overline { color: var(--gold); }

/* ---- cinematic chrome ---------------------------------------------------- */
.lb-bar { position: fixed; left: 0; width: 100%; height: 12vh; background: #05080F; z-index: calc(var(--hk-z-sticky) - 30); pointer-events: none; }
.lb-bar--top { top: 0; transform-origin: top; }
.lb-bar--bot { bottom: 0; transform-origin: bottom; }
#fh-grain {
    position: fixed; inset: -100%; width: 300%; height: 300%; z-index: calc(var(--hk-z-sticky) - 40); pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E") repeat;
    opacity: 0.04;
    animation: fh-grain-shift 1.1s steps(6) infinite;
}
@keyframes fh-grain-shift {
    0% { transform: translate(0, 0); } 17% { transform: translate(-2.2%, 1.4%); } 34% { transform: translate(1.6%, -2.4%); }
    51% { transform: translate(-1.2%, -1.8%); } 68% { transform: translate(2.4%, 1.2%); } 85% { transform: translate(-1.8%, 2.2%); } 100% { transform: translate(0, 0); }
}
#fh-vignette {
    position: fixed; inset: 0; z-index: 2; pointer-events: none;
    background: radial-gradient(ellipse at 50% 42%, transparent 55%, rgba(4, 7, 14, 0.55) 100%);
}
#ls-lamp {
    position: fixed; top: 0; left: 0; width: 52vmax; height: 52vmax; z-index: 4; pointer-events: none;
    background: radial-gradient(circle, rgba(200, 169, 110, 0.09) 0%, rgba(200, 169, 110, 0.04) 32%, transparent 62%);
    transform: translate(-50%, -50%); will-change: transform;
}

/* ---- the Lichtspur overlay ----------------------------------------------- */
#ls-svg { position: absolute; inset: 0 auto auto 0; z-index: 3; pointer-events: none; }
#ls-path { fill: none; stroke: var(--gold); stroke-width: 1.5; }
/* Soft under-glow as a second stroked path (kept in sync by JS) instead of a
   drop-shadow filter: the filter re-rasterizes the page-height path on every
   scroll frame and makes scrolling sluggish. */
#ls-glow { fill: none; stroke: var(--gold); stroke-width: 5; opacity: 0.22; }
#ls-tip { fill: var(--gold-light); filter: drop-shadow(0 0 12px rgba(212, 188, 138, 0.95)); }
.ls-dot {
    display: inline-block; width: 11px; height: 11px; border-radius: 50%;
    border: 1px solid var(--hairline); background: var(--ink);
    transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.ls-dot.lit { background: var(--gold); border-color: var(--gold-light); box-shadow: 0 0 14px rgba(200, 169, 110, 0.8); }
.ls-ripple {
    position: absolute; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--gold-light); pointer-events: none; z-index: 5;
}

/* ---- cover ---------------------------------------------------------------- */
.fh-lichtspur .cover { padding-top: clamp(6rem, 12vh, 9rem); position: relative; z-index: 2; }
.cover__plate {
    position: relative; margin-inline: var(--gutter);
    border: 1px solid var(--hairline);
    padding: clamp(0.5rem, 1.2vw, 1rem);
}
.cover__media { overflow: hidden; display: block; }
.cover__media img { width: 100%; height: clamp(300px, 58vh, 620px); object-fit: cover; object-position: center 30%; filter: saturate(0.85) contrast(1.02); will-change: transform; }
.cover__folio { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.8rem; }
.cover__folio-item { font-size: 0.72rem; letter-spacing: 0.18em; color: var(--faint); font-weight: 500; }
.cover__title-block { margin-top: clamp(1.1rem, 2.2vh, 1.8rem); position: relative; text-align: center; z-index: 2; padding-inline: var(--gutter); }
.cover__title {
    font-family: var(--serif); font-weight: 300;
    font-size: clamp(3.4rem, 9.5vw, 8.6rem);
    letter-spacing: -0.025em; line-height: 0.98; color: var(--paper); text-wrap: balance;
}
.cover__title .dot { color: var(--gold); }
.cover__tagline { margin-top: 1.4rem; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--body); }
.cover__spurstart { width: 120px; height: 1px; background: var(--gold); margin: 2.6rem auto 0; transform-origin: center; }
.cover__hint { display: block; margin-top: 1rem; font-size: 0.72rem; letter-spacing: 0.2em; color: var(--faint); font-weight: 500; }
@media (max-width: 700px) {
    .cover__folio { flex-direction: column; gap: 0.2rem; align-items: center; text-align: center; }
}

/* ---- manifesto (WP page body) --------------------------------------------- */
.manifest { padding: clamp(6rem, 14vh, 10rem) var(--gutter) 0; position: relative; z-index: 2; }
.manifest__inner { max-width: var(--measure); margin-inline: auto; padding-inline-start: clamp(1.5rem, 3vw, 3rem); }
.manifest__inner > p { margin-bottom: 1.5em; }
/* First paragraph = the proverb, set large. */
.manifest__inner > p:first-of-type {
    font-family: var(--serif); font-style: italic; font-weight: 300;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.35; color: var(--paper);
    text-wrap: balance; margin-bottom: 0;
}
.manifest__inner > p:first-of-type::after {
    content: ""; display: block; width: 72px; height: 1px; background: var(--gold); margin-top: 2.2rem; margin-bottom: 2.6rem;
}
.manifest__inner > p:nth-of-type(2)::first-letter {
    font-family: var(--serif); font-weight: 400; color: var(--gold);
    font-size: 3.4em; line-height: 0.8; float: left; padding-inline-end: 0.12em; padding-top: 0.08em;
}
/* The ayah blockquote keeps the site-wide Quran card styling (style.css /
   blog features) — canonical Quran language, already dark-compatible. */

/* ---- epochs ---------------------------------------------------------------- */
.epochs { padding-top: clamp(5rem, 12vh, 9rem); position: relative; z-index: 2; }
.epoch {
    display: grid; gap: clamp(1.5rem, 3vw, 3.5rem);
    grid-template-columns: 3.5rem minmax(220px, 1fr) 2.4fr;
    padding: clamp(4rem, 9vh, 7rem) var(--gutter);
    max-width: 1560px; margin-inline: auto;
}
.epoch__rail { grid-column: 1; display: flex; justify-content: center; padding-top: 0.6rem; }
.epoch__head { grid-column: 2; }
.epoch__head-inner { position: sticky; top: 22vh; }
.epoch__no {
    position: relative; display: block; font-family: var(--serif); font-weight: 300; line-height: 0.9;
    font-size: clamp(4.5rem, 8vw, 7.5rem); color: transparent;
    -webkit-text-stroke: 1px rgba(200, 169, 110, 0.35);
}
.epoch__no::after {
    content: attr(data-no); position: absolute; inset: 0;
    -webkit-text-stroke: 0; color: var(--gold); opacity: 0;
    transition: opacity 1.2s var(--ease);
}
.epoch.is-active .epoch__no::after { opacity: 0.22; }
.epoch__head-inner .hk-overline { display: block; margin-top: 1.2rem; }
.epoch__caption { display: block; margin-top: 0.4rem; font-size: 0.8rem; color: var(--faint); }
.epoch__count {
    display: block; margin-top: 1.6rem; font-size: 0.72rem; letter-spacing: 0.18em;
    color: var(--faint); font-weight: 500;
    border-top: 1px solid var(--hairline-2); padding-top: 1rem; max-width: 160px;
}
.epoch__plates { grid-column: 3; display: grid; gap: clamp(2rem, 3.5vw, 3.5rem); }
@media (min-width: 1000px) {
    .epoch__plates { grid-template-columns: repeat(2, 1fr); }
    .epoch__plates .plate:first-child { grid-column: 1 / -1; max-width: 82%; }
    .epoch:nth-of-type(even) .epoch__plates .plate:first-child { justify-self: end; }
}

/* ---- plates: archival passe-partout mounts --------------------------------- */
.plate a { display: block; }
.plate__frame {
    display: block; background: var(--ink-2);
    border: 1px solid var(--hairline);
    padding: clamp(0.6rem, 1.1vw, 1rem);
    transition: border-color 0.35s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.plate a:hover .plate__frame {
    border-color: rgba(200, 169, 110, 0.55);
    box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.85), 0 0 40px -18px rgba(200, 169, 110, 0.35);
    transform: translateY(-4px);
}
.plate__mat { display: block; position: relative; padding: clamp(0.45rem, 0.9vw, 0.8rem); border: 1px solid var(--hairline-2); }
.plate__corner { position: absolute; width: 13px; height: 13px; border: 1px solid var(--gold); opacity: 0.55; transition: width 0.4s var(--ease), height 0.4s var(--ease), opacity 0.4s var(--ease); }
.plate__corner--tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.plate__corner--tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.plate__corner--bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.plate__corner--br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.plate a:hover .plate__corner { width: 22px; height: 22px; opacity: 1; }
.plate__clip { display: block; overflow: hidden; position: relative; }
.plate__clip::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(27, 42, 74, 0.06) 0%, rgba(12, 18, 32, 0.36) 100%);
    transition: opacity 0.6s var(--ease);
}
.plate a:hover .plate__clip::after { opacity: 0.3; }
.plate__clip img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; height: auto; filter: saturate(0.72) contrast(1.03); transition: filter 0.6s var(--ease); will-change: transform; }
.plate a:hover .plate__clip img { filter: saturate(1.05) contrast(1.02); }
.plate__label { display: block; padding-top: 1.15rem; }
.plate__meta { display: flex; align-items: baseline; gap: 0.9rem; }
.plate__tafel { font-size: 0.72rem; letter-spacing: 0.18em; font-weight: 500; }
.plate__diamond { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg) translateY(-1px); opacity: 0.7; flex: none; }
.plate__daten { margin-inline-start: auto; font-size: 0.78rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.plate__name {
    display: inline-block; position: relative; margin-top: 0.5rem;
    font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 1.8vw, 1.7rem);
    letter-spacing: 0.005em; color: var(--paper);
}
.plate__name::after {
    content: ""; position: absolute; inset-inline-start: 0; bottom: -5px; width: 100%; height: 1px;
    background: var(--gold); transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s var(--ease);
}
[dir="rtl"] .plate__name::after { transform-origin: right; }
.plate a:hover .plate__name::after { transform: scaleX(1); }
.plate__epithet { display: block; margin-top: 0.45rem; font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: rgba(212, 188, 138, 0.85); }
.plate__cta {
    display: block; margin-top: 0.7rem;
    font-size: 0.7rem; letter-spacing: 0.2em; font-weight: 500; color: var(--gold);
    opacity: 0; transform: translateX(-8px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.plate__cta::after { content: "\2192"; margin-inline-start: 0.5em; }
[dir="rtl"] .plate__cta::after { content: "\2190"; }
.plate a:hover .plate__cta { opacity: 1; transform: none; }

/* ---- register: Fachgebiete cabinet ------------------------------------------ */
.register { padding: clamp(6rem, 14vh, 10rem) var(--gutter); position: relative; z-index: 2; }
.register__spur { position: absolute; inset-inline-start: calc(var(--gutter) + 1.75rem); top: 0; height: 100%; width: 0; pointer-events: none; }
.register__inner { max-width: 1120px; margin-inline: auto; padding-inline-start: clamp(3rem, 6vw, 5.5rem); }
.register__masthead { text-align: center; margin-bottom: clamp(3.5rem, 7vh, 5.5rem); }
.register__masthead .hk-overline { display: block; }
.register__title {
    font-family: var(--serif); font-weight: 300; letter-spacing: -0.015em;
    font-size: clamp(2.4rem, 5vw, 4rem); color: var(--paper); margin-top: 0.9rem;
}
.register__sub { margin-top: 1rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--faint); }
.register__orn { display: flex; align-items: center; gap: 1rem; justify-content: center; margin-top: 1.6rem; }
.register__orn::before, .register__orn::after { content: ""; width: 72px; height: 1px; background: var(--hairline); }
.register__orn span { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.register__group {
    display: grid; grid-template-columns: minmax(240px, 1fr) 1.8fr;
    gap: clamp(1.5rem, 4vw, 4.5rem); align-items: start;
    padding: clamp(2.6rem, 5vh, 3.8rem) 0;
}
.register__group + .register__group { border-top: 1px solid var(--hairline-2); }
.register__gno {
    display: block; font-family: var(--serif); font-weight: 300; line-height: 1;
    font-size: clamp(2.6rem, 4vw, 3.6rem); color: transparent;
    -webkit-text-stroke: 1px rgba(200, 169, 110, 0.4);
    font-variant-numeric: tabular-nums;
}
.register__gtitle {
    font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: 0.005em;
    font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--paper); margin-top: 0.7rem;
}
.register__gcount { display: block; margin-top: 1rem; font-size: 0.7rem; letter-spacing: 0.18em; color: var(--faint); font-weight: 500; }
.register__list { display: flex; flex-direction: column; }
.register__row {
    display: flex; align-items: center; gap: 1.4rem;
    padding: 1.05rem 0.9rem; margin-inline: -0.9rem; border-radius: 2px;
    transition: background 0.35s var(--ease);
}
.register__row + .register__row { border-top: 1px solid var(--hairline-2); }
.register__row:hover { background: rgba(200, 169, 110, 0.05); }
.register__thumb {
    flex: none; width: 64px; height: 64px; overflow: hidden;
    border: 1px solid var(--hairline); padding: 3px; background: var(--ink-2);
}
.register__thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.6); transition: filter 0.5s var(--ease); }
.register__row:hover .register__thumb img { filter: saturate(1.05); }
.register__info { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.register__name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.2rem, 1.6vw, 1.45rem); color: var(--paper); transition: color 0.3s var(--ease); }
.register__row:hover .register__name { color: var(--gold-light); }
.register__rdaten { font-size: 0.78rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.register__repithet { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: rgba(212, 188, 138, 0.75); margin-top: 0.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.register__arrow {
    margin-inline-start: auto; color: var(--gold); font-size: 1.1rem;
    opacity: 0; transform: translateX(-10px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
[dir="rtl"] .register__arrow { transform: translateX(10px) scaleX(-1); }
.register__row:hover .register__arrow { opacity: 1; transform: none; }
[dir="rtl"] .register__row:hover .register__arrow { transform: scaleX(-1); }

/* ---- finale: newsletter ------------------------------------------------------ */
.fh-lichtspur .close { padding: clamp(5rem, 14vh, 10rem) var(--gutter) clamp(5rem, 10vh, 7rem); text-align: center; position: relative; z-index: 2; }
.close__bloom { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(200, 169, 110, 0.10), transparent 55%); pointer-events: none; }
.close__rule { width: 120px; height: 1px; background: var(--gold); margin: 0 auto 2.4rem; }
.close__title { font-family: var(--serif); font-weight: 300; line-height: 1.15; font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--paper); max-width: 22ch; margin: 1.2rem auto 0; text-wrap: balance; }
.close__lead { max-width: 52ch; margin: 1.6rem auto 0; }
.close__form { max-width: 560px; margin: 3rem auto 0; position: relative; }
.close__note { margin: 14px auto 0; max-width: 480px; font-size: 0.78rem; color: var(--faint); }

/* Standard newsletter partial, restyled for the dark register. */
.fh-lichtspur .hk-newsletter-form__row { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; }
.fh-lichtspur .hk-newsletter-form__input {
    flex: 1; min-width: 0; padding: 12px 16px;
    border: 1px solid rgba(200, 169, 110, 0.3); border-radius: 8px;
    background: rgba(255, 255, 255, 0.08); color: var(--paper);
    font-family: var(--sans); font-weight: 300; font-size: 15px;
}
.fh-lichtspur .hk-newsletter-form__input::placeholder { color: rgba(247, 244, 238, 0.5); }
.fh-lichtspur .hk-newsletter-form__input:focus-visible {
    outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15); border-radius: 8px;
}
.fh-lichtspur .hk-newsletter-form__btn { flex: none; }
.fh-lichtspur .hk-newsletter-form__consent {
    display: flex; align-items: flex-start; gap: 8px; margin: 12px auto 0; max-width: 480px;
    font-size: 12px; color: rgba(247, 244, 238, 0.6); cursor: pointer; text-align: start;
}
.fh-lichtspur .hk-newsletter-form__consent input[type="checkbox"] { margin-top: 2px; accent-color: var(--gold); }
.fh-lichtspur .hk-newsletter-form__consent a { color: var(--gold-light); text-decoration: underline; }
.fh-lichtspur .hk-newsletter-form__magnet-promise { margin: 12px auto 0; max-width: 480px; font-size: 0.8rem; color: var(--faint); }
.fh-lichtspur .hk-newsletter-form__magnet-promise strong { color: var(--gold-light); font-weight: 600; }
.fh-lichtspur .hk-newsletter-form__message { margin-top: 10px; font-size: 14px; max-width: 480px; margin-inline: auto; }
.fh-lichtspur .hk-newsletter-form__success {
    max-width: 480px; margin: 1.6rem auto 0; padding: 1.8rem 1.6rem; text-align: center;
    border: 1px solid var(--hairline); border-radius: 10px; background: rgba(255, 255, 255, 0.04);
}
.fh-lichtspur .hk-newsletter-form__success-icon {
    width: 52px; height: 52px; margin: 0 auto 1rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--hairline); color: var(--gold); background: transparent;
}
.fh-lichtspur .hk-newsletter-form__success h4 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--paper); }
.fh-lichtspur .hk-newsletter-form__success p { margin-top: 0.7rem; font-size: 0.92rem; line-height: 1.65; color: var(--body); }
.fh-lichtspur .hk-newsletter-form__success-tip { color: var(--faint); font-size: 0.8rem; }

/* ---- mobile -------------------------------------------------------------------- */
@media (max-width: 999px) {
    .register__group { grid-template-columns: 1fr; gap: 1.4rem; }
    .register__inner { padding-inline-start: 2.2rem; }
    .register__spur { inset-inline-start: calc(var(--gutter) + 1rem); }
    .epoch { grid-template-columns: 2rem 1fr; }
    .epoch__rail { grid-column: 1; grid-row: 1 / span 2; }
    .epoch__head { grid-column: 2; }
    .epoch__head-inner { position: static; }
    .epoch__plates { grid-column: 2; margin-top: 2rem; }
    .epoch__no { font-size: 3.4rem; }
    #ls-lamp { display: none; }
}

/* ---- motion discipline ----------------------------------------------------------
   Non-essential chrome disappears under reduced motion; fh-lichtspur.js bails
   entirely (line renders fully drawn, dots lit). Print gets a plain page. */
@media (prefers-reduced-motion: reduce) {
    #fh-grain, .lb-bar, #ls-lamp { display: none !important; }
}
@media print {
    #ls-svg, #fh-grain, #fh-vignette, #ls-lamp, .lb-bar { display: none !important; }
    .fh-lichtspur { background: #fff; color: #222; }
}

/* ==========================================================================
   Phase 2 — Tribute layer („Die aufgeschlagene Tafel", .fh-tribute-l)
   Loaded ON TOP of forgotten-heroes.css (which keeps progress / back-to-top /
   share / references / entry-content). This layer carries only the new head,
   museum label, line anchors and plate navigation.
   ========================================================================== */

/* Align the old theatre base to the Lichtspur ink ground. */
.fh-tribute-l { --fh-bg: #0C1220; --fh-bg-elev: #101828; --fh-bg-card: #101828; }

/* ---- mount head ---- */
.tcover { padding: clamp(6rem, 12vh, 9rem) var(--gutter) 0; text-align: center; position: relative; z-index: 2; }
.tcover__folio { display: flex; justify-content: center; align-items: baseline; gap: 0.9rem; margin-bottom: clamp(1.6rem, 3vh, 2.4rem); }
.tcover__folio-item { font-size: 0.72rem; letter-spacing: 0.18em; color: var(--faint); font-weight: 500; }
.tcover__folio-sep { color: var(--gold); }
.tcover__mount { width: 100%; max-width: min(760px, 88vw); margin-inline: auto; }
/* Fixed plate ratio (same 16/10 language as the landing plates): images that
   don't match are zoomed to fill (cover), cropping the sides, never leaving
   empty space above/below. Also neutralizes the legacy tribute-hero cover
   layout (position:absolute + full-bleed) from forgotten-heroes.css. */
.fh-tribute-l .plate__clip.fh-tribute__portrait { position: relative; inset: auto; z-index: auto; height: auto; aspect-ratio: 16 / 10; }
.fh-tribute-l .plate__clip.fh-tribute__portrait img {
    position: static; width: 100%; height: 100%; max-height: none;
    object-fit: cover; object-position: center; transform: none;
}
.tcover__mount .plate__clip img {
    aspect-ratio: auto; display: block; width: auto; max-width: 100%; height: auto; max-height: 62vh;
    filter: saturate(0.85) contrast(1.02);
}
.tcover__credit { margin-top: 0.8rem; font-size: 0.72rem; letter-spacing: 0.14em; color: var(--faint); }
.tcover__head { max-width: 780px; margin-inline: auto; padding-top: clamp(1.6rem, 3.5vh, 2.6rem); }
.tcover__epithet { font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: rgba(212, 188, 138, 0.85); }
.tcover__name {
    margin-top: 0.6rem; font-family: var(--serif); font-weight: 300;
    font-size: clamp(2.6rem, 6.5vw, 5rem); letter-spacing: -0.02em; line-height: 1.05;
    color: var(--paper); text-wrap: balance;
}
.tcover__schild { margin: clamp(1.6rem, 3vh, 2.2rem) auto 0; display: flex; flex-direction: column; gap: 0; max-width: 460px; border-top: 1px solid var(--hairline-2); }
.tcover__schild-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.2rem; align-items: baseline; padding: 0.55rem 0; border-bottom: 1px solid var(--hairline-2); }
.tcover__schild-row dt { font-size: 0.68rem; letter-spacing: 0.18em; text-align: end; font-weight: 500; }
.tcover__schild-row dd { margin: 0; text-align: start; font-size: 0.92rem; color: var(--body); font-variant-numeric: tabular-nums; }
.tcover__spurstart { width: 120px; height: 1px; background: var(--gold); margin: clamp(2rem, 4vh, 2.8rem) auto 0; transform-origin: center; }

/* ---- body accents ---- */
.fh-tribute-l .tlead {
    font-family: var(--serif); font-style: italic; font-weight: 300;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.45; color: var(--paper);
    margin: clamp(3rem, 6vh, 4.5rem) 0 0; text-wrap: balance;
}
.fh-tribute-l .tlead::after { content: ""; display: block; width: 72px; height: 1px; background: var(--gold); margin-top: 1.8rem; }
.fh-tribute-l .entry-content > p:first-of-type::first-letter {
    font-family: var(--serif); font-weight: 400; color: var(--gold);
    font-size: 3.2em; line-height: 0.8; float: left; padding-inline-end: 0.12em; padding-top: 0.08em;
}

/* ---- plate navigation ---- */
.tnav { padding: clamp(4rem, 9vh, 6.5rem) var(--gutter) clamp(4rem, 8vh, 6rem); text-align: center; position: relative; z-index: 2; }
.tnav__rule { width: 120px; height: 1px; background: var(--gold); margin: 0 auto 2rem; }
.tnav__overline { display: block; margin-bottom: clamp(1.8rem, 4vh, 2.8rem); }
.tnav__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: clamp(1.6rem, 3.5vw, 3rem); justify-content: center; text-align: start; }
.tnav__grid--single { grid-template-columns: minmax(0, 420px); }
.tnav__dir { display: block; margin-bottom: 0.8rem; font-size: 0.68rem; color: var(--faint); }
.tnav .plate__name { font-size: 1.25rem; }
.tnav .plate__epithet { font-size: 0.95rem; }
.tnav__back-wrap { margin-top: clamp(2.4rem, 5vh, 3.4rem); }
.tnav__back {
    display: inline-block; padding-bottom: 0.35rem;
    font-size: 0.78rem; letter-spacing: 0.14em; font-weight: 500; color: var(--paper);
    border-bottom: 1px solid var(--hairline);
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tnav__back:hover { color: var(--gold-light); border-color: var(--gold); }
@media (max-width: 800px) {
    .tnav__grid { grid-template-columns: 1fr; }
    .tcover__schild-row { grid-template-columns: 1fr; gap: 0.15rem; }
    .tcover__schild-row dt { text-align: start; }
}
