:root{
  --wr-obsidian:#060808;
  --wr-charcoal:#101313;
  --wr-gold:#d2ad54;
  --wr-gold-dim:#9e7b32;
  --wr-ivory:#eee7dc;
  --wr-stone:#aaa49a;
  --wr-midnight:#102033;
  --wr-midnight-soft:#17283a;
  --wr-forest:#101b16;
  --wr-action-blue:#152a3a;
  --wr-being:#27313a;
  --wr-line:rgba(210,173,84,.23);
  --wr-line-soft:rgba(238,231,220,.11);
  --wr-max:1240px;
  --wr-reading:72ch;
}

*{box-sizing:border-box}
html{background:var(--wr-obsidian);color:var(--wr-ivory);scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  background:
    radial-gradient(circle at 70% 14%,rgba(16,32,51,.28),transparent 32rem),
    linear-gradient(180deg,#060808 0%,#080a0a 54%,#060707 100%);
  color:var(--wr-ivory);
  font-family:Georgia,"Times New Roman",serif;
  -webkit-font-smoothing:antialiased;
}
body::before{
  content:"";
  position:fixed;inset:0;
  pointer-events:none;
  opacity:.18;
  background-image:radial-gradient(rgba(255,255,255,.045) .5px,transparent .5px);
  background-size:7px 7px;
  mask-image:linear-gradient(to bottom,black,transparent 70%);
}
a{color:inherit}
a:focus-visible,button:focus-visible{outline:2px solid var(--wr-gold);outline-offset:4px}
.skip-link{position:absolute;left:1rem;top:-5rem;z-index:1000;padding:.8rem 1rem;background:var(--wr-ivory);color:var(--wr-obsidian)}
.skip-link:focus{top:1rem}

.site-header{
  position:sticky;top:0;z-index:80;
  min-height:5.3rem;
  display:grid;
  grid-template-columns:1fr auto auto;
  align-items:center;
  gap:2rem;
  padding:0 clamp(1.25rem,4vw,4rem);
  border-bottom:1px solid transparent;
  background:linear-gradient(180deg,rgba(6,8,8,.82),rgba(6,8,8,.36));
  backdrop-filter:blur(12px);
  transition:background .35s ease,border-color .35s ease;
}
.site-header.is-scrolled{
  background:rgba(6,8,8,.96);
  border-color:var(--wr-line);
}
.site-brand{display:inline-flex;align-items:center;gap:.95rem;text-decoration:none;min-width:0}
.site-brand__mark-shell,.hero__mark-shell,.site-footer__mark-shell,.companion-hero__mark-shell{
  display:none;
}
.site-brand__mark-shell.has-mark,.hero__mark-shell.has-mark,.site-footer__mark-shell.has-mark,.companion-hero__mark-shell.has-mark{
  display:grid;
  place-items:center;
}
.site-brand__mark{width:34px;height:34px;object-fit:contain}
.site-brand__wordmark{text-transform:uppercase;letter-spacing:.16em;font-size:.72rem;white-space:nowrap}
.site-nav{display:flex;gap:clamp(1rem,2.5vw,2rem);font-size:.81rem;color:var(--wr-stone)}
.site-nav a{text-decoration:none}
.site-nav a:hover{color:var(--wr-ivory)}
.sound-control{
  border:1px solid var(--wr-line);
  background:transparent;
  color:var(--wr-stone);
  font:inherit;
  font-size:.72rem;
  padding:.55rem .7rem;
  cursor:pointer;
}
.sound-control[aria-pressed="true"]{color:var(--wr-gold);border-color:rgba(210,173,84,.48)}

.entrance{
  position:fixed;inset:0;z-index:999;
  display:grid;place-items:center;
  background:var(--wr-obsidian);
  opacity:0;
  transition:opacity .45s ease;
}
.entrance.is-visible{opacity:1}
.entrance__inner{text-align:center}
.entrance__mark{width:min(30vw,260px);max-height:260px;opacity:0;transform:scale(.985);transition:opacity 1.1s ease,transform 1.1s ease}
.entrance.is-visible .entrance__mark{opacity:1;transform:none}
.entrance__inner p{
  margin:1.75rem 0 0;
  color:var(--wr-ivory);
  letter-spacing:.28em;
  font-size:.75rem;
  opacity:0;
  transition:opacity .8s ease 1.4s;
}
.entrance.is-complete .entrance__inner p{opacity:1}

.hero{
  position:relative;
  min-height:calc(100vh - 5.3rem);
  display:grid;place-items:center;
  overflow:hidden;
  padding:7rem 1.5rem 8rem;
  text-align:center;
  border-bottom:1px solid var(--wr-line-soft);
}
.hero__atmosphere{
  position:absolute;
  inset:-15%;
  background:
    radial-gradient(circle at 50% 48%,rgba(23,40,58,.31),transparent 24rem),
    radial-gradient(circle at 52% 50%,rgba(210,173,84,.035),transparent 36rem);
  filter:blur(1px);
}
.hero__inner{position:relative;z-index:1;width:min(100%,1040px)}
.hero__mark-shell{margin:0 auto 1.8rem;width:92px;height:92px}
.hero__mark{width:100%;height:100%;object-fit:contain}
.eyebrow{margin:0 0 1rem;color:var(--wr-gold);letter-spacing:.26em;text-transform:uppercase;font-size:clamp(.66rem,.78vw,.82rem)}
.hero h1{
  margin:1rem 0 1.45rem;
  font-weight:400;
  letter-spacing:.055em;
  font-size:clamp(4.7rem,11vw,10.5rem);
  line-height:.82;
}
.orientation{max-width:47rem;margin-inline:auto;color:var(--wr-stone);font-size:clamp(1.08rem,1.75vw,1.4rem);line-height:1.7}
.scroll-cue{
  display:inline-flex;flex-direction:column;align-items:center;gap:.55rem;
  margin-top:3rem;
  color:var(--wr-stone);
  text-decoration:none;
  font-size:.84rem;
}
.scroll-cue span:last-child{color:var(--wr-gold)}

.section,.inner-page{width:min(calc(100% - 3rem),var(--wr-max));margin-inline:auto}
.section{padding:clamp(6rem,10vw,10rem) 0}
.section-heading{max-width:54rem;margin-bottom:4rem}
.section h2,.inner-page h2{
  margin:.45rem 0 1rem;
  font-weight:400;
  font-size:clamp(2.5rem,5vw,4.8rem);
  line-height:1.03;
}
.section-heading>p:last-child,.lead,.known-knower__intro>p:last-child,.about-section>p{
  color:var(--wr-stone);
  line-height:1.75;
}

.book-worlds{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--wr-line-soft);border-bottom:1px solid var(--wr-line-soft)}
.book-world{
  min-height:430px;
  padding:2rem 1.6rem 2.3rem;
  display:flex;flex-direction:column;
  border-right:1px solid var(--wr-line-soft);
}
.book-world:last-child{border-right:0}
.book-world--reality{background:linear-gradient(180deg,rgba(16,32,51,.24),transparent)}
.book-world--experience{background:linear-gradient(180deg,rgba(16,27,22,.27),transparent)}
.book-world--action{background:linear-gradient(180deg,rgba(21,42,58,.20),rgba(210,173,84,.025),transparent)}
.book-world--being{background:linear-gradient(180deg,rgba(39,49,58,.19),transparent)}
.book-world__meta{display:flex;justify-content:space-between;color:var(--wr-gold);font-size:.67rem;letter-spacing:.18em}
.book-world h3{margin:4rem 0 1rem;font-weight:400;font-size:clamp(1.6rem,2vw,2.25rem);line-height:1.05}
.book-world__question{color:var(--wr-gold);font-style:italic;line-height:1.45}
.book-world__orientation{color:var(--wr-stone);line-height:1.65}
.book-world a{margin-top:auto;align-self:flex-start;text-decoration:none;border-bottom:1px solid var(--wr-gold);padding-bottom:.3rem}
.book-world__status{margin-top:auto;color:var(--wr-stone);font-size:.72rem;text-transform:uppercase;letter-spacing:.12em}

.known-knower{
  border-top:1px solid var(--wr-line-soft);
  border-bottom:1px solid var(--wr-line-soft);
}
.known-knower__intro{max-width:52rem}
.inquiry-path{
  display:grid;
  grid-template-columns:repeat(13,auto);
  align-items:center;
  gap:.7rem;
  margin-top:4rem;
  color:var(--wr-stone);
  overflow-x:auto;
  padding-bottom:.5rem;
}
.inquiry-path i{width:42px;height:1px;background:linear-gradient(90deg,var(--wr-line),rgba(210,173,84,.5))}
.inquiry-path strong{color:var(--wr-gold);font-weight:400}

.book-one-feature{
  display:grid;
  grid-template-columns:minmax(300px,.8fr) 1.2fr;
  gap:clamp(4rem,9vw,9rem);
  align-items:center;
}
.book-cover-stage{
  position:relative;
  min-height:560px;
  display:grid;place-items:center;
  perspective:1200px;
}
.book-cover-image{
  display:block;
  width:min(100%,390px);
  max-height:560px;
  object-fit:contain;
  opacity:0;
  filter:drop-shadow(0 28px 38px rgba(0,0,0,.48));
  transform:rotateY(-4deg);
  transition:opacity .3s ease;
}
.book-cover-image.is-loaded{opacity:1}
.book-cover-fallback{
  width:min(100%,360px);aspect-ratio:2/3;
  display:grid;place-items:center;
  position:relative;
  border:1px solid var(--wr-line);
  background:
    radial-gradient(circle at 50% 36%,rgba(210,173,84,.06),transparent 22%),
    linear-gradient(145deg,#0b1522,#070909 70%);
  box-shadow:0 30px 60px rgba(0,0,0,.32);
}
.book-cover-fallback__ring{position:absolute;width:42%;aspect-ratio:1;border:1px solid rgba(210,173,84,.48);border-radius:50%}
.book-cover-fallback__point{position:absolute;top:26%;width:.55rem;aspect-ratio:1;border-radius:50%;background:var(--wr-gold)}
.book-cover-fallback p{position:absolute;bottom:11%;letter-spacing:.16em;color:var(--wr-ivory);font-size:.85rem}
.book-one-copy .lead{font-size:clamp(1.1rem,1.6vw,1.35rem)}
.book-one-question{color:var(--wr-gold);font-style:italic;font-size:1.15rem;line-height:1.6}
.button-row{display:flex;flex-wrap:wrap;gap:1rem;margin-top:2rem}
.button{display:inline-block;padding:.92rem 1.25rem;border:1px solid var(--wr-gold);background:var(--wr-gold);color:#080909;text-decoration:none}
.button--ghost{background:transparent;color:var(--wr-ivory)}

.editorial-teaser{border-top:1px solid var(--wr-line-soft);border-bottom:1px solid var(--wr-line-soft)}
.editorial-teaser__grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:3rem}
.editorial-teaser article{padding:2rem;border:1px solid var(--wr-line-soft);background:rgba(255,255,255,.012)}
.editorial-teaser article span{color:var(--wr-gold);font-size:.68rem;letter-spacing:.16em}
.editorial-teaser article h3{font-weight:400;font-size:1.55rem}
.editorial-teaser article p{color:var(--wr-stone);line-height:1.7}

.method-section{max-width:980px;margin-left:max(1.5rem,calc((100% - var(--wr-max))/2))}
.method-grid{display:flex;flex-wrap:wrap;gap:.65rem;margin:2.5rem 0}
.method-grid span{padding:.58rem .78rem;border:1px solid var(--wr-line-soft);color:var(--wr-stone);font-size:.8rem}
.method-note{max-width:var(--wr-reading);color:var(--wr-stone);line-height:1.7}

.about-section{
  display:grid;
  grid-template-columns:1fr 1.15fr;
  gap:clamp(3rem,8vw,8rem);
  border-top:1px solid var(--wr-line-soft);
}
.about-section>p{font-size:clamp(1.05rem,1.6vw,1.3rem)}

.page-hero{padding:clamp(6rem,11vw,10rem) 0 5rem;border-bottom:1px solid var(--wr-line-soft)}
.page-title{margin:.5rem 0 1rem;font-weight:400;letter-spacing:.025em;font-size:clamp(4.5rem,9vw,8.5rem);line-height:.9}
.page-hero .lead{max-width:52rem;font-size:1.2rem}

.books-panels{padding:1rem 0 7rem}
.books-panel{
  display:grid;grid-template-columns:90px 1fr;gap:2.4rem;
  padding:4.4rem 2rem;
  border-bottom:1px solid var(--wr-line-soft);
}
.books-panel__number{color:var(--wr-gold);font-size:2.5rem;font-style:italic}
.books-panel h2{font-size:clamp(2.2rem,4.2vw,4rem)}
.books-panel h2 a{text-decoration:none}
.books-panel>div:last-child>p:not(.eyebrow):not(.book-question):not(.status){color:var(--wr-stone)}
.books-panel--reality{background:linear-gradient(90deg,rgba(16,32,51,.18),transparent 54%)}
.books-panel--experience{background:linear-gradient(90deg,rgba(16,27,22,.18),transparent 54%)}
.books-panel--action{background:linear-gradient(90deg,rgba(21,42,58,.16),rgba(210,173,84,.02),transparent 60%)}
.books-panel--being{background:linear-gradient(90deg,rgba(39,49,58,.15),transparent 54%)}
.book-question{color:var(--wr-gold);font-style:italic;line-height:1.5}
.status{color:var(--wr-stone);text-transform:uppercase;letter-spacing:.13em;font-size:.7rem}
.quiet-link{display:inline-block;margin-top:1rem;text-decoration:none;border-bottom:1px solid var(--wr-gold);padding-bottom:.28rem}

.book-detail-hero{
  min-height:calc(100vh - 5.3rem);
  display:grid;
  grid-template-columns:minmax(300px,.85fr) 1.15fr;
  gap:clamp(4rem,8vw,8rem);
  align-items:center;
  padding:5rem 0 7rem;
  border-bottom:1px solid var(--wr-line-soft);
}
.book-cover-stage--detail{min-height:620px}
.book-detail-copy .lead{max-width:var(--wr-reading)}
.book-detail-section{max-width:850px;padding:6rem 0 8rem}
.book-detail-section p{color:var(--wr-stone);line-height:1.75}

.companion-hero{
  min-height:68vh;
  display:grid;
  grid-template-columns:1.35fr .65fr;
  gap:4rem;
  align-items:center;
  padding:6rem 0;
  border-bottom:1px solid var(--wr-line-soft);
}
.companion-hero__copy .lead{max-width:52rem}
.companion-hero__mark-shell{min-height:300px}
.companion-hero__mark{width:min(100%,260px);height:260px;object-fit:contain}
.companion-intro{max-width:860px;padding:6rem 0}
.companion-intro p:last-child{color:var(--wr-stone);line-height:1.75}
.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;padding:0 0 6rem}
.resource-card{min-height:260px;padding:2rem;border:1px solid var(--wr-line-soft);background:rgba(16,32,51,.055)}
.resource-card span{color:var(--wr-gold);font-size:.72rem}
.resource-card h2{font-size:1.55rem;margin-top:3rem}
.resource-card p{color:var(--wr-stone);line-height:1.7}
.companion-route{
  display:grid;grid-template-columns:1fr 1fr;gap:4rem;
  padding:4rem 0 8rem;
  border-top:1px solid var(--wr-line-soft);
}
.companion-route code{color:var(--wr-gold);overflow-wrap:anywhere}
.companion-route>p{color:var(--wr-stone);line-height:1.7}

.site-footer{
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:4rem;
  padding:4rem clamp(1.25rem,4vw,4rem);
  border-top:1px solid var(--wr-line);
  color:var(--wr-stone);
  font-size:.86rem;
}
.site-footer__identity{display:flex;gap:1.5rem;align-items:flex-start;max-width:650px}
.site-footer__mark{width:82px;height:82px;object-fit:contain}
.site-footer__brand{color:var(--wr-ivory);text-transform:uppercase;letter-spacing:.15em;font-size:.7rem}
.site-footer__links{display:flex;flex-wrap:wrap;gap:1.3rem;justify-content:flex-end;align-content:start}
.site-footer a{text-decoration:none}

@media(max-width:980px){
  .site-header{grid-template-columns:1fr auto}
  .site-nav{display:none}
  .book-worlds{grid-template-columns:1fr 1fr}
  .book-world:nth-child(2){border-right:0}
  .book-one-feature,.book-detail-hero,.companion-hero,.about-section,.companion-route{grid-template-columns:1fr}
  .companion-hero__mark-shell{min-height:140px;justify-content:start}
  .resource-grid{grid-template-columns:1fr}
  .editorial-teaser__grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .site-header{padding-top:.9rem;padding-bottom:.9rem}
  .site-brand__wordmark{white-space:normal;line-height:1.4}
  .hero{min-height:82vh}
  .hero h1{font-size:clamp(4rem,20vw,6.2rem)}
  .book-worlds{grid-template-columns:1fr}
  .book-world{border-right:0;border-bottom:1px solid var(--wr-line-soft);min-height:360px}
  .books-panel{grid-template-columns:1fr;gap:1rem;padding-left:0;padding-right:0}
  .books-panel__number{font-size:1.2rem}
  .inquiry-path{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:max-content}
  .site-footer{grid-template-columns:1fr}
  .site-footer__links{justify-content:flex-start}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    scroll-behavior:auto!important;
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important
  }
}

/* Phase 4B navigation / overlay hardening */
.site-header {
  isolation: isolate;
  pointer-events: auto;
}

.site-brand,
.site-nav,
.site-nav a,
.sound-control {
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.hero__atmosphere,
.book-cover-fallback,
.book-cover-fallback *,
body::before {
  pointer-events: none;
}

.entrance[hidden] {
  display: none !important;
  pointer-events: none !important;
}

.entrance {
  pointer-events: auto;
}

.entrance.is-complete {
  pointer-events: none;
}

.book-detail-hero {
  padding-top: clamp(7rem, 10vw, 9rem);
}

.book-cover-image[hidden] {
  display: none !important;
}

.book-cover-fallback[hidden] {
  display: none !important;
}

/* Phase 4B hard navigation repair */
.entrance {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 10000 !important;
  isolation: isolate !important;
  pointer-events: auto !important;
}
.site-header::before,
.site-header::after {
  pointer-events: none !important;
}
.site-header *,
.site-brand,
.site-nav,
.site-nav a,
.sound-control {
  pointer-events: auto !important;
}
.site-nav {
  position: relative !important;
  z-index: 10001 !important;
}
.site-nav a {
  display: inline-block !important;
  position: relative !important;
  z-index: 10002 !important;
  cursor: pointer !important;
}
.hero__atmosphere,
body::before {
  pointer-events: none !important;
}

/* Phase 4B refined homepage Enter the inquiry CTA */
.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .58rem;
  margin-top: 2rem;
  color: rgba(238, 231, 220, .88);
  text-decoration: none;
  font-size: clamp(1.05rem, 1.25vw, 1.12rem);
  letter-spacing: .03em;
  line-height: 1.25;
  transition: color .25s ease;
}

.scroll-cue__label {
  display: block;
}

.scroll-cue__line {
  display: block;
  width: 3.6rem;
  height: 1px;
  background: var(--wr-gold);
  transform-origin: center;
  transform: scaleX(.78);
  opacity: .92;
  transition: transform .28s ease, opacity .28s ease;
}

.scroll-cue__arrow {
  display: block;
  color: var(--wr-gold);
  font-size: 1.02rem;
  line-height: 1;
  margin-top: .06rem;
  transition: transform .25s ease;
}

.scroll-cue:hover {
  color: var(--wr-gold);
}

.scroll-cue:hover .scroll-cue__line {
  transform: scaleX(1);
  opacity: 1;
}

.scroll-cue:hover .scroll-cue__arrow {
  transform: translateY(2px);
}

.scroll-cue:focus-visible {
  outline: 2px solid var(--wr-gold);
  outline-offset: .5rem;
  border-radius: 2px;
}

@media (max-width: 620px) {
  .scroll-cue {
    margin-top: 1.65rem;
    font-size: 1.05rem;
    gap: .52rem;
  }

  .scroll-cue__line {
    width: 3.2rem;
  }

  .scroll-cue__arrow {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue,
  .scroll-cue__line,
  .scroll-cue__arrow {
    transition: none !important;
  }

  .scroll-cue:hover .scroll-cue__arrow {
    transform: none;
  }
}

/* Phase 4B homepage hero identity refinement */
.hero__title {
  color: var(--wr-ivory);
}

.hero__orientation {
  margin-top: clamp(.8rem, 1.35vw, 1.15rem);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.85rem;
  color: var(--wr-gold);
  text-decoration: none;
  font-size: clamp(1.08rem, 1.25vw, 1.12rem);
  font-weight: 500;
  letter-spacing: .035em;
  line-height: 1.25;
  opacity: .96;
  transition: color .22s ease, opacity .22s ease;
}

.scroll-cue__label {
  display: inline-block;
}

.scroll-cue__line,
.scroll-cue__arrow {
  display: none !important;
}

.scroll-cue:hover {
  color: var(--wr-antique-gold, #C6923E);
  opacity: 1;
}

.scroll-cue:focus-visible {
  outline: 2px solid var(--wr-gold);
  outline-offset: .42rem;
  border-radius: 2px;
}

@media (max-width: 620px) {
  .hero__orientation {
    margin-top: .75rem;
  }

  .scroll-cue {
    margin-top: 1.55rem;
    font-size: 1.05rem;
    letter-spacing: .03em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue {
    transition: none !important;
  }
}

/* Phase 5A minimum public site pages */
.page-title--editorial { max-width: 15ch; }
.page-hero--editorial .lead { max-width: 60rem; }
.editorial-body { max-width: 74ch; padding: 4.5rem 0 6rem; color: var(--wr-ivory); font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.82; }
.editorial-body p { margin: 0 0 1.45rem; }
.section-link-list { padding: 1rem 0 7rem; border-top: 1px solid var(--wr-line-soft); }
.section-link-list__item { padding: 2.6rem 0; border-bottom: 1px solid var(--wr-line-soft); }
.section-link-list__item p { color: var(--wr-stone); line-height: 1.7; }
.doorway-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 4rem 0 8rem; background: var(--wr-line-soft); }
.doorway-card { min-height: 330px; display: flex; flex-direction: column; padding: 2.2rem; background: var(--wr-obsidian); }
.doorway-card--science { background: linear-gradient(145deg, rgba(23,40,58,.25), var(--wr-obsidian) 70%); }
.doorway-card--experience { background: linear-gradient(145deg, rgba(23,48,41,.22), var(--wr-obsidian) 70%); }
.doorway-card--action { background: linear-gradient(145deg, rgba(21,42,58,.20), rgba(210,173,84,.025), var(--wr-obsidian) 75%); }
.doorway-card--nondual { background: linear-gradient(145deg, rgba(39,49,58,.20), var(--wr-obsidian) 70%); }
.doorway-card h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); }
.doorway-card p:not(.eyebrow) { color: var(--wr-stone); line-height: 1.7; }
.doorway-card a, .doorway-card > span:last-child { margin-top: auto; align-self: flex-start; }
.doorway-card > span:last-child { color: var(--wr-stone); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.mobile-nav-toggle { display: none; border: 1px solid var(--wr-line); background: transparent; color: var(--wr-ivory); padding: .55rem .7rem; font: inherit; cursor: pointer; }
.mobile-nav-panel { display: none; }
@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto !important; }
  .site-nav { display: none !important; }
  .mobile-nav-toggle { display: inline-flex; position: relative; z-index: 10003; }
  .mobile-nav-panel { position: fixed; inset: 0; z-index: 9999; display: none; flex-direction: column; justify-content: center; gap: 1.2rem; padding: 6rem 2rem 3rem; background: rgba(6,8,8,.985); }
  .mobile-nav-panel.is-open { display: flex; }
  .mobile-nav-panel a { font-size: clamp(1.8rem, 8vw, 3.3rem); text-decoration: none; }
  .doorway-grid { grid-template-columns: 1fr; }
}


/* Inquiry Mark geometry lock */
.site-brand img,
.brand-mark img,
.inquiry-mark img,
img[src*="inquiry-mark-gold-approved.png"] {
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  flex: 0 0 auto;
}

.site-brand img,
img[src*="inquiry-mark-gold-approved.png"] {
  min-width: 24px;
  min-height: 24px;
}

/* Phase 5A logo transparency hard override */
.site-brand,
.site-brand__mark,
.site-brand__logo,
.brand-mark,
.inquiry-mark,
.hero-mark,
.hero-logo,
.home-hero__mark,
.companion-mark,
.footer-mark,
.site-footer__mark,
.logo-wrap,
.logo-wrapper,
[class*="brand-mark"],
[class*="inquiry-mark"],
[class*="hero-mark"],
[class*="logo-wrap"] {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
}

.site-brand img,
.site-brand__mark img,
.site-brand__logo img,
.brand-mark img,
.inquiry-mark img,
.hero-mark img,
.hero-logo img,
.home-hero__mark img,
.companion-mark img,
.footer-mark img,
.site-footer__mark img,
.logo-wrap img,
.logo-wrapper img,
img[src*="inquiry-mark-gold-approved.png"] {
  display: block !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  border-radius: 0 !important;
  filter: none !important;
  object-fit: contain !important;
}

/* Phase 5A inquiry sequence canonical sizing */
.inquiry-stage {
  display: inline-block !important;
  font-size: clamp(1.55rem, 2.25vw, 2.15rem) !important;
  line-height: 1.15 !important;
  font-weight: 500 !important;
  letter-spacing: .01em !important;
  font-family: inherit !important;
  transform: none !important;
  scale: 1 !important;
  white-space: nowrap !important;
}

.inquiry-stage--matter,
.inquiry-stage--life,
.inquiry-stage--brain,
.inquiry-stage--mind,
.inquiry-stage--experience,
.inquiry-stage--knowledge {
  color: var(--wr-ivory) !important;
}

.inquiry-stage--knower {
  color: var(--wr-gold) !important;
  font-size: clamp(1.55rem, 2.25vw, 2.15rem) !important;
  line-height: 1.15 !important;
  font-weight: 500 !important;
}

@media (max-width: 760px) {
  .inquiry-stage,
  .inquiry-stage--knower {
    font-size: clamp(1.28rem, 5vw, 1.65rem) !important;
    line-height: 1.15 !important;
    font-weight: 500 !important;
  }
}

/* Phase 5B sound control inline-nav normalization */
/* Sound On/Off should visually match the surrounding navigation items. */
[data-sound-control],
[data-audio-control],
[data-audio-toggle],
[data-sound-toggle],
.sound-toggle,
.audio-toggle {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    color: inherit;
}

[data-sound-control]:hover,
[data-audio-control]:hover,
[data-audio-toggle]:hover,
[data-sound-toggle]:hover,
.sound-toggle:hover,
.audio-toggle:hover {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Keep keyboard focus visible without reintroducing a rectangular box. */
[data-sound-control]:focus-visible,
[data-audio-control]:focus-visible,
[data-audio-toggle]:focus-visible,
[data-sound-toggle]:focus-visible,
.sound-toggle:focus-visible,
.audio-toggle:focus-visible {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    text-decoration: underline;
    text-underline-offset: 0.22em;
}

/* Phase 5B author portrait */
.author-portrait-block {
    width: min(100%, 34rem);
    margin: 0 auto clamp(2rem, 5vw, 4.5rem);
}

.author-portrait-figure {
    margin: 0;
}

.author-portrait-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
    border-radius: 0;
    box-shadow: none;
}

@media (min-width: 900px) {
    .author-portrait-block {
        width: min(38vw, 31rem);
        margin-left: 0;
        margin-right: auto;
    }
}

/* Phase 5B series book cover thumbnails */
.series-cover {
    margin: 0 0 1.25rem;
}

.series-cover img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.series-cover--home {
    width: min(100%, 12rem);
}

.series-cover--books {
    width: min(100%, 11rem);
}

@media (max-width: 720px) {
    .series-cover--home,
    .series-cover--books {
        width: min(58vw, 11rem);
    }
}

/* PHASE5B: UNIFORM INQUIRY-SERIES COVER CARDS */
/* One geometry for Books I-IV. object-fit preserves full cover safe areas. */
.books-panel__cover-wrap {
  width: clamp(150px, 13vw, 190px);
  aspect-ratio: 2 / 3;
  margin: 0 0 clamp(1.15rem, 2vw, 1.65rem);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.books-panel__cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
}

@media (max-width: 760px) {
  .books-panel__cover-wrap {
    width: clamp(138px, 44vw, 180px);
    margin-bottom: 1.1rem;
  }
}
/* END PHASE5B: UNIFORM INQUIRY-SERIES COVER CARDS */

/* PHASE5B: HOMEPAGE FOUR-BOOK COVER CARDS */
/* One cover geometry for all four Inquiry Series cards. */
.book-world__cover-wrap {
  width: clamp(150px, 13vw, 190px);
  aspect-ratio: 2 / 3;
  margin: 0 0 clamp(1.1rem, 2vw, 1.5rem);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.book-world__cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
}

@media (max-width: 760px) {
  .book-world__cover-wrap {
    width: clamp(138px, 44vw, 180px);
    margin-bottom: 1.05rem;
  }
}
/* END PHASE5B: HOMEPAGE FOUR-BOOK COVER CARDS */

/* PHASE5B: MOBILE MENU + INQUIRY KNOWER NORMALIZATION */
/* Uniform signature-path typography and a true full-screen mobile menu. */

.inquiry-stage,
.inquiry-stage--knower {
  font-size: clamp(1.55rem, 2.25vw, 2.15rem) !important;
  line-height: 1.15 !important;
  font-weight: 500 !important;
  font-family: inherit !important;
  letter-spacing: .01em !important;
  transform: none !important;
  scale: 1 !important;
}

.inquiry-stage--knower {
  color: var(--wr-gold) !important;
}

@media (max-width: 980px) {
  html.mobile-nav-lock,
  body.mobile-nav-lock {
    overflow: hidden !important;
    height: 100% !important;
    overscroll-behavior: none;
  }

  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative !important;
    z-index: 10003 !important;
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
  }

  .mobile-nav-panel {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10002 !important;
    box-sizing: border-box !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding:
      max(7rem, calc(env(safe-area-inset-top) + 5.75rem))
      max(1.4rem, env(safe-area-inset-right))
      max(2rem, env(safe-area-inset-bottom))
      max(1.4rem, env(safe-area-inset-left)) !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 0 !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;

    background: rgba(8, 9, 9, .992) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-.35rem);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 0s linear 180ms;
  }

  .mobile-nav-panel.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 0s linear 0s;
  }

  .mobile-nav-panel a {
    display: flex !important;
    align-items: center;
    width: 100%;
    min-height: 62px;
    padding: .85rem 0 !important;
    border-bottom: 1px solid rgba(212, 175, 55, .16);
    color: var(--wr-ivory) !important;
    font-size: clamp(1.55rem, 7vw, 2.2rem) !important;
    line-height: 1.15 !important;
    text-decoration: none !important;
  }

  .mobile-nav-panel a:first-child {
    border-top: 1px solid rgba(212, 175, 55, .16);
  }

  .mobile-nav-toggle:focus-visible,
  .mobile-nav-panel a:focus-visible {
    outline: 2px solid var(--wr-gold) !important;
    outline-offset: 4px;
  }
}

@media (max-width: 760px) {
  .inquiry-stage,
  .inquiry-stage--knower {
    font-size: clamp(1.28rem, 5vw, 1.65rem) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-panel {
    transition: none !important;
    transform: none !important;
  }
}
/* END PHASE5B: MOBILE MENU + INQUIRY KNOWER NORMALIZATION */

/* PHASE5B: MOBILE HERO CENTERING */
/*
 * Mobile-only correction for the homepage hero.
 * Desktop layout is intentionally untouched.
 *
 * Goals:
 * - keep the hero geometrically centered in the viewport
 * - prevent the large title from overflowing to the right
 * - preserve the explicit WHAT / REMAINS line break
 * - keep logo, label, subtitle, and entry cue centered as one composition
 */
@media (max-width: 620px) {
  .hero {
    overflow-x: clip !important;
  }

  .hero__inner {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(1rem, 4vw, 1.4rem) !important;
    padding-right: clamp(1rem, 4vw, 1.4rem) !important;
    text-align: center !important;
    justify-items: center !important;
    align-items: center !important;
  }

  .hero__mark-shell {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero h1 {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;

    /*
     * The previous 20vw mobile size could exceed the usable viewport once
     * glyph width and letter spacing were included. 17vw preserves the
     * intended monumentality while fitting the longest line safely.
     */
    font-size: clamp(3.15rem, 17vw, 5.2rem) !important;
    line-height: .9 !important;
    text-align: center !important;
    overflow: visible !important;
  }

  .hero .eyebrow,
  .hero .orientation,
  .hero .scroll-cue {
    box-sizing: border-box !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .hero .orientation {
    width: min(100%, 31rem) !important;
  }

  .hero .scroll-cue {
    align-self: center !important;
    justify-self: center !important;
  }
}
/* END PHASE5B: MOBILE HERO CENTERING */

/* PHASE5B: FINAL MOBILE VIEWPORT ALIGNMENT */
/* Final viewport-centered narrow-screen geometry. */
@media (max-width: 620px) {
  .hero {
    overflow-x: clip !important;
  }

  .hero__inner {
    box-sizing: border-box !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: clamp(1rem, 4vw, 1.4rem) !important;
    padding-right: clamp(1rem, 4vw, 1.4rem) !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    text-align: center !important;
    justify-items: center !important;
    align-items: center !important;
  }

  .hero__mark-shell,
  .hero .eyebrow,
  .hero h1,
  .hero .orientation,
  .hero .scroll-cue {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .hero h1 {
    width: 100% !important;
    max-width: 100% !important;
  }

  [data-sound-control] {
    position: fixed !important;
    top: var(--phase5b-sound-top, 5.9rem) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: max-content !important;
    max-width: calc(100vw - 2rem) !important;
    margin: 0 !important;
    text-align: center !important;
    white-space: nowrap;
    z-index: 10002 !important;
  }
}
/* END PHASE5B: FINAL MOBILE VIEWPORT ALIGNMENT */
