/* RZ-LABEL
 * Name:      /angels/assets/arz-banner.css
 * What:      ARCHANGEL RAZIEL banner for the Sanctuary of the Angels (live template, angel area only)
 * Does:      Full-width name row that scrolls away under the sticky menu; letters always fit (no clipping)
 * Created:   2026-11-23 CT   By: Grok Bot executor for Aether (AETH-E96K)
 * From:      the staged Hall header banner design (Aether, 2026-11-23), stage-only rules removed
 * Undo:      remove /angels/ (backup under [server backup, see Continuity])
 * /RZ-LABEL */


/* Deeper gold than --gold (#c9a04a), still in the Hall family with #b88d36 / #8a6a24 */
.rz-arz-banner,
.rz-site-header {
  --gold-deep: #a87c2a;
}


/* Full-bleed name row: first thing on the page, above the logo (and above the nav). */
.rz-arz-banner {
  position: relative;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: .55rem clamp(.75rem, 2.5vw, 1.25rem) .5rem;
  overflow: visible; /* do not clip the last letter (stroke + breath scale) */
  isolation: isolate;
  z-index: 25; /* above the fixed Raziel Library columns; below the sticky nav */
  background: transparent;
}

.rz-arz-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.rz-arz-name {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow: visible;
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-style: normal;
  /* Fixed size on desktop: larger than hero max (3.4rem). Tracking, not font-size, fills the width. */
  font-size: 3.75rem;
  line-height: 1.22;
  letter-spacing: 0;
  text-align: left;
  color: var(--gold-deep, #a87c2a);
  -webkit-text-stroke: 1px #fff;
  text-stroke: 1px #fff;
  paint-order: stroke fill;
  text-shadow:
    0 0 3px rgba(255, 255, 255, .85),
    0 0 8px rgba(201, 160, 74, .5),
    0 0 18px rgba(168, 124, 42, .35);
}

.rz-arz-letter,
.rz-arz-space {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
}

.rz-arz-letter, .rz-arz-space { flex: 0 0 auto; }
.rz-arz-letter {
  transform-origin: 50% 65%;
  animation: rz-arz-breathe 6.2s ease-in-out infinite;
  will-change: transform, filter;
}

.rz-arz-space {
  /* Word gap starts as a normal space; JS adds the same extra tracking as other gaps. */
  width: .35em;
}

@keyframes rz-arz-breathe {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px rgba(201, 160, 74, .25));
  }
  50% {
    transform: scale(1.03);
    filter: drop-shadow(0 0 8px rgba(201, 160, 74, .8)) drop-shadow(0 0 14px rgba(255, 255, 255, .35));
  }
}

@media (prefers-reduced-motion: reduce) {
  .rz-arz-letter {
    animation: none;
    filter: none;
    transform: none;
  }
}

/* Phones: one line, no wrap; JS sets the largest font-size that fits. Keep it the biggest type on the page. */
@media (max-width: 700px) {
  .rz-arz-banner { padding: .4rem .75rem .3rem; }
}
