/* RZ-LABEL arz-layout-columns-20261124b-CT
 * The columns of Raziel's Library™.
 * One fixed 100vh wrapper per side (5vw gutter, half-column visible).
 * Inner stack is position:relative; capital / shaft / base are absolute
 * so the shaft is tiled exactly between the capital and the base.
 * No cherubs. Opacity 0.9. Hidden below 960px. Content 90vw when shown.
 */
:root{
  --rz-col-gutter:5vw;
  --rz-nav-h:3.25rem;
  --rz-col-capital-h:clamp(4.75rem, 6.5vw, 6.75rem);
  --rz-col-base-h:clamp(3.85rem, 5.5vw, 5.75rem);
  --rz-col-z:8;
  --rz-banner-z:25;
  --rz-page-width:100%;
  --rz-prose-max:70ch;
}
@media (min-width:960px){
  :root{ --rz-page-width:90vw; }
}

/* Gold name stays above the columns (higher z-index) but is held to the
   90vw shell so the letters do not cover the capitals in the gutters.
   body.ab-area-page beats angels.css z-index:1; width beats later 100% rules. */
body .rz-arz-banner,
body.ab-area-page .rz-arz-banner{
  position:relative;
  z-index:var(--rz-banner-z, 25);
}
@media (min-width:960px){
  body .rz-arz-banner,
  body.ab-area-page .rz-arz-banner{
    width:var(--rz-page-width, 90vw);
    max-width:90vw;
    margin-inline:auto;
    box-sizing:border-box;
  }
  header.ab-area,
  .ab-area{
    margin-top:clamp(.6rem, 1.4vw, 1.15rem);
  }
}

.rz-cols{
  display:none;
  pointer-events:none;
}
@media (min-width:960px){
  .rz-cols{ display:block; }
}

/* The wrapper: stretched 100vh, floating on the left (or right). */
.rz-col{
  position:fixed;
  top:0;
  bottom:0;
  height:100vh;
  height:100dvh;
  width:var(--rz-col-gutter, 5vw);
  overflow:hidden;
  z-index:var(--rz-col-z, 8);
  pointer-events:none;
  opacity:.9;
}
.rz-col--left{ left:0; }
.rz-col--right{ right:0; }

/* Full column is twice the gutter; the viewport edge cuts it in half.
   Axis sits on the viewport edge. Position:relative so the three
   children can be position:absolute inside it. */
.rz-col-inner{
  position:relative;
  height:100%;
  width:200%;
  pointer-events:none;
}
.rz-col--left .rz-col-inner{ left:-100%; }
.rz-col--right .rz-col-inner{ left:0; }

.rz-col-capital,
.rz-col-shaft,
.rz-col-base{
  position:absolute;
  left:0;
  width:100%;
  box-sizing:border-box;
  pointer-events:none;
}

/* Capital sits just under the nav so it is fully visible. */
.rz-col-capital{
  top:var(--rz-nav-h, 3.25rem);
  height:var(--rz-col-capital-h);
  background-image:url("columns/hall-column-capital.svg");
  background-repeat:no-repeat;
  background-position:center;
  background-size:100% 100%;
}

/* Shaft is tiled in the exact band between capital and base. */
.rz-col-shaft{
  top:calc(var(--rz-nav-h, 3.25rem) + var(--rz-col-capital-h));
  bottom:var(--rz-col-base-h);
  background-image:url("columns/hall-column-shaft.svg");
  background-repeat:repeat-y;
  background-position:top center;
  background-size:100% auto;
}

.rz-col-base{
  bottom:0;
  height:var(--rz-col-base-h);
  background-image:url("columns/hall-column-base.svg");
  background-repeat:no-repeat;
  background-position:center;
  background-size:100% 100%;
}

@media (prefers-reduced-motion:reduce){
  .rz-col, .rz-col-inner{ transition:none; }
}

/* Library / Mercy (and any other quiet path): never show house-ad chrome. */
html.ha-quiet [data-house-ads],
html.ha-quiet .ha-spot,
html.ha-quiet .ab-ad,
html.ha-quiet [data-house-ads-slot]{
  display:none !important;
}

/* RZ-LABEL nav960-fullbleed-20261124: nav bar stays full width so --rz-page-width:90vw
   does not clip Sign-in / wrap Browse the library at 960px. Wordmark
   does not shrink over the Library link. Undo: restore hall-columns.css
   from the sibling bak and revert the cache tag. */
@media (min-width:960px){
  .hn-bar .hn-wrap{
    width:100%;
    max-width:none;
    box-sizing:border-box;
    padding-inline:.5rem;
  }
}
.hn-home{ flex-shrink:0; }

@media (max-width:1099px){
  .hn-bar .rz-acct .lg{ display:none; }
}

/* RZ-LABEL arz-main-rz-page-width-20261125-CT
 * main.rz (Legends of Truth, Web of references, Sefer Raziel book
 * pages, and any other raziel.css page) used max-width:1320px and
 * 18px padding, so from 960px up the marble columns (5vw gutters)
 * overlap sidenavs, tables, titles and breadcrumbs. Hold the outer
 * main to the same 90vw shell as main.hl and the ARCHANGEL RAZIEL
 * banner. Do not apply 90vw to inner wrappers. Undo: restore
 * hall-columns.css and _inc/site-head.html from the sibling bak
 * and revert the cache tag.
 */
@media (min-width:960px){
  main.rz{
    width:var(--rz-page-width, 90vw);
    max-width:90vw;
    margin-inline:auto;
    box-sizing:border-box;
    min-width:0;
  }
}
