:root {
  --ink: #070503;
  --ink-soft: #0f0b07;
  --gold: #d7b96f;
  --gold-bright: #f2db9b;
  --gold-dim: #8e7542;
  --ivory: #f4eddc;
  --ivory-soft: rgba(244, 237, 220, .72);
  --line: rgba(215, 185, 111, .34);
  --line-soft: rgba(244, 237, 220, .14);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Arial, Helvetica, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.77, 0, .18, 1);
  --header-h: 92px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --px: 0;
  --py: 0;
}

* { box-sizing: border-box; }
html { width: 100%; min-height: 100%; background: var(--ink); color-scheme: dark; }
html.is-locked, html.is-locked body { overflow: hidden !important; }
body {
  width: 100%; min-height: 100%; margin: 0; background: var(--ink); color: var(--ivory);
  font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.home { height: 100%; overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
::selection { background: var(--gold); color: var(--ink); }

.skip-link {
  position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 11px 15px;
  background: var(--ivory); color: var(--ink); transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Preloader / transitions ---------- */
.preloader {
  position: fixed; z-index: 999; inset: 0; display: grid; place-items: center;
  background: #030201; transition: opacity .8s var(--ease-out), visibility .8s;
}
.preloader.is-complete { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__sigil { position: relative; width: 74px; height: 92px; margin-bottom: 30px; }
.preloader__vertical, .preloader__horizontal {
  position: absolute; left: 50%; top: 50%; display: block; background: linear-gradient(180deg, transparent, var(--gold-bright), transparent);
  box-shadow: 0 0 28px rgba(242, 219, 155, .5); transform: translate(-50%, -50%);
}
.preloader__vertical { width: 1px; height: 72px; animation: preloader-line 1.35s ease-in-out infinite alternate; }
.preloader__horizontal { width: 42px; height: 1px; top: 41%; background: linear-gradient(90deg, transparent, var(--gold-bright), transparent); }
.preloader__ring {
  position: absolute; inset: 2px 0 16px; border: 1px solid rgba(215,185,111,.28); border-radius: 50%;
  animation: preloader-ring 5s linear infinite;
}
.preloader p { position: absolute; top: calc(50% + 78px); margin: 0; font: 12px/1 var(--serif); letter-spacing: .42em; color: var(--gold); }
.preloader__line { position: absolute; left: 50%; bottom: 9vh; width: min(300px, 60vw); height: 1px; transform: translateX(-50%); background: rgba(215,185,111,.18); overflow: hidden; }
.preloader__line span { display: block; width: 0; height: 100%; background: var(--gold-bright); box-shadow: 0 0 16px var(--gold); transition: width .25s ease; }
@keyframes preloader-line { from { opacity: .35; transform: translate(-50%,-50%) scaleY(.7); } to { opacity: 1; transform: translate(-50%,-50%) scaleY(1); } }
@keyframes preloader-ring { to { transform: rotate(360deg); } }

.page-transition { position: fixed; z-index: 950; inset: 0; pointer-events: none; display: grid; grid-template-columns: 1fr 1fr; }
.page-transition span { background: #030201; transform: scaleX(0); transition: transform .58s var(--ease-in-out); }
.page-transition span:first-child { transform-origin: left; }
.page-transition span:last-child { transform-origin: right; }
.page-transition.is-entering span { transform: scaleX(1); }

/* ---------- Shared header ---------- */
.site-header {
  position: fixed; z-index: 80; top: 0; left: 0; width: 100%; height: calc(var(--header-h) + var(--safe-top));
  padding: calc(25px + var(--safe-top)) clamp(22px, 3.5vw, 68px) 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  background: linear-gradient(180deg, rgba(4,3,2,.78) 0%, rgba(4,3,2,.18) 72%, transparent 100%);
  transition: transform .55s var(--ease-out), background .35s ease;
}
.site-header::after {
  content: ""; position: absolute; left: clamp(22px,3.5vw,68px); right: clamp(22px,3.5vw,68px); bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215,185,111,.18), transparent); opacity: .5;
}
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: max-content; position: relative; z-index: 2; }
.brand__name { font: 15px/1 var(--serif); letter-spacing: .24em; color: var(--gold-bright); text-shadow: 0 0 18px rgba(215,185,111,.22); }
.brand__mark { position: relative; width: 23px; height: 31px; display: block; }
.brand__mark i, .brand__mark b { position: absolute; display: block; background: var(--gold); box-shadow: 0 0 12px rgba(215,185,111,.35); }
.brand__mark i { width: 1px; height: 29px; left: 11px; top: 1px; }
.brand__mark b { width: 19px; height: 1px; left: 2px; top: 10px; }
.brand__mark::before, .brand__mark::after { content:""; position:absolute; width: 5px; height: 5px; border: 1px solid var(--gold); transform: rotate(45deg); left: 9px; }
.brand__mark::before { top: -2px; }
.brand__mark::after { bottom: -2px; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(19px, 2.4vw, 45px); margin-left: auto; }
.primary-nav a { position: relative; padding: 10px 0; font: 11px/1 var(--serif); letter-spacing: .22em; text-transform: uppercase; color: rgba(244,237,220,.74); transition: color .25s ease; }
.primary-nav a::after { content:""; position:absolute; left:0; right:0; bottom:3px; height:1px; background:var(--gold); transform:scaleX(0); transform-origin:center; transition:transform .35s var(--ease-out); }
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav a[aria-current="page"] { color: var(--gold-bright); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav a[aria-current="page"]::after { transform:scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 24px; min-width: max-content; }
.sound-toggle { width: 30px; height: 28px; padding: 0 4px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; gap: 3px; cursor: pointer; }
.sound-toggle span { width: 1px; height: 5px; background: var(--gold); transition: height .3s ease, opacity .3s ease; opacity: .65; }
.sound-toggle span:nth-child(2) { height: 11px; }
.sound-toggle span:nth-child(3) { height: 16px; }
.sound-toggle span:nth-child(4) { height: 8px; }
.sound-toggle[aria-pressed="true"] span { animation: equalizer .8s ease-in-out infinite alternate; opacity: 1; }
.sound-toggle[aria-pressed="true"] span:nth-child(2) { animation-delay: -.3s; }
.sound-toggle[aria-pressed="true"] span:nth-child(3) { animation-delay: -.55s; }
.sound-toggle[aria-pressed="true"] span:nth-child(4) { animation-delay: -.18s; }
@keyframes equalizer { to { height: 18px; } }
.menu-toggle { border: 0; background: transparent; padding: 8px 0 8px 8px; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.menu-toggle__label { font: 10px/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; color: rgba(244,237,220,.72); }
.menu-toggle__lines { position: relative; width: 24px; height: 12px; display: block; }
.menu-toggle__lines i { position: absolute; right: 0; width: 24px; height: 1px; background: var(--gold); transition: transform .35s ease, top .35s ease, width .35s ease; }
.menu-toggle__lines i:first-child { top: 2px; }
.menu-toggle__lines i:last-child { top: 10px; width: 15px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:first-child { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:last-child { top: 6px; width: 24px; transform: rotate(-45deg); }

/* ---------- Homepage visual ---------- */
.site-shell { position: relative; width: 100%; height: 100dvh; min-height: 620px; overflow: hidden; background: #050403; isolation: isolate; }
.hero-visual { position: absolute; inset: -2.5%; z-index: 0; overflow: hidden; background: #070503; transform: translateZ(0); }
.hero-visual picture, .hero-visual img { width: 100%; height: 100%; }
.hero-visual img {
  object-fit: cover; object-position: 50% 48%; filter: contrast(1.08) saturate(.88) brightness(.84);
  transform: scale(1.075) translate3d(calc(var(--px) * -13px), calc(var(--py) * -9px), 0);
  transition: filter 1.1s ease; will-change: transform;
}
#celestial-canvas { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; opacity: .72; pointer-events: auto; }
.holy-beam {
  position: absolute; z-index: 2; left: 50%; top: -12%; width: min(30vw, 500px); height: 102%; transform: translateX(-50%) rotate(.5deg);
  background: linear-gradient(180deg, rgba(255,246,203,.32), rgba(245,208,119,.09) 42%, transparent 82%);
  filter: blur(18px); mix-blend-mode: screen; opacity: .62; animation: beam-breathe 7s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes beam-breathe { to { opacity: .88; filter: blur(13px); transform: translateX(-50%) rotate(-.4deg) scaleX(1.07); } }
.celestial-rings {
  position: absolute; z-index: 3; left: 50%; top: 31%; width: clamp(260px, 36vw, 690px); aspect-ratio: 1; transform: translate(-50%, -50%) translate3d(calc(var(--px) * 10px), calc(var(--py) * 7px), 0); opacity: .24; pointer-events: none;
  border: 1px solid rgba(242,219,155,.2); border-radius: 50%; box-shadow: 0 0 90px rgba(215,185,111,.1), inset 0 0 70px rgba(215,185,111,.08);
  animation: ring-turn 40s linear infinite;
}
.celestial-rings::before, .celestial-rings::after { content:""; position:absolute; border-radius:50%; border:1px solid rgba(242,219,155,.18); }
.celestial-rings::before { inset: 8%; border-style: dashed; animation: ring-turn 27s linear infinite reverse; }
.celestial-rings::after { inset: 21%; border-color: rgba(242,219,155,.25); }
@keyframes ring-turn { to { rotate: 360deg; } }
.hero-shadow {
  position: absolute; z-index: 4; inset: 0; background:
    linear-gradient(180deg, rgba(3,2,1,.42) 0%, transparent 15%, transparent 48%, rgba(3,2,1,.38) 72%, rgba(3,2,1,.94) 100%),
    linear-gradient(90deg, rgba(2,2,1,.55), transparent 28%, transparent 72%, rgba(2,2,1,.55)); pointer-events: none;
}
.vignette { position:absolute; z-index:5; inset:0; box-shadow: inset 0 0 190px 35px rgba(0,0,0,.82); pointer-events:none; }
.grain { position:absolute; z-index:6; inset:-80%; pointer-events:none; opacity:.085; mix-blend-mode:soft-light; animation:grain .24s steps(2) infinite;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E"); }
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(3%,-2%)} 50%{transform:translate(-2%,3%)} 75%{transform:translate(2%,2%)} 100%{transform:translate(-3%,-1%)} }

.home-main { position: relative; z-index: 10; width: 100%; height: 100%; display: grid; place-items: end center; padding: var(--header-h) clamp(24px,4vw,72px) calc(38px + var(--safe-bottom)); }
.hero-copy { width: min(1180px, 94vw); text-align: center; margin-bottom: clamp(64px, 8vh, 105px); position: relative; }
.hero-copy__overline { margin: 0 0 14px; display:flex; align-items:center; justify-content:center; gap:14px; font: 10px/1 var(--serif); letter-spacing:.33em; color:rgba(244,237,220,.68); text-transform:uppercase; opacity:0; transform:translateY(14px); animation:reveal-up .9s .9s var(--ease-out) forwards; }
.hero-copy__overline span { width: 54px; height:1px; background:linear-gradient(90deg,transparent,var(--gold),transparent); }
.hero-copy h1 { margin:0; font-family:var(--serif); font-weight:400; font-size:clamp(66px, 9.25vw, 172px); line-height:.82; letter-spacing:.055em; color:#efe5cd; text-shadow:0 4px 30px rgba(0,0,0,.72), 0 0 40px rgba(215,185,111,.14); white-space:nowrap; opacity:0; transform:translateY(28px) scale(.99); animation:hero-title 1.25s .65s var(--ease-out) forwards; }
.hero-copy h1 span:last-child { color: transparent; -webkit-text-stroke: 1px rgba(241,225,186,.88); text-shadow: 0 0 32px rgba(215,185,111,.22); }
@keyframes hero-title { to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes reveal-up { to { opacity:1; transform:translateY(0); } }
.hero-copy__creed { margin:21px 0 0; display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:clamp(8px,1.1vw,18px); opacity:0; transform:translateY(14px); animation:reveal-up .9s 1.05s var(--ease-out) forwards; }
.hero-copy__creed button { border:0; background:transparent; padding:5px 0; cursor:pointer; font:italic clamp(17px,1.35vw,24px)/1 var(--serif); letter-spacing:.07em; color:var(--gold-bright); text-shadow:0 2px 18px rgba(0,0,0,.7); transition:color .25s ease, text-shadow .25s ease, transform .25s ease; }
.hero-copy__creed button:hover, .hero-copy__creed button:focus-visible { color:#fff7df; text-shadow:0 0 24px rgba(242,219,155,.75); transform:translateY(-2px); }
.hero-copy__creed i { font-style:normal; color:rgba(215,185,111,.55); }
.enter-button { margin:25px auto 0; min-width:180px; height:53px; border:1px solid rgba(215,185,111,.55); background:rgba(5,4,3,.35); backdrop-filter:blur(10px); display:inline-flex; align-items:center; justify-content:center; gap:20px; padding:0 28px; color:var(--gold-bright); cursor:pointer; position:relative; overflow:hidden; font:11px/1 var(--serif); letter-spacing:.34em; transition:border-color .35s ease, color .35s ease, transform .35s var(--ease-out), background .35s ease; opacity:0; transform:translateY(14px); animation:reveal-up .9s 1.2s var(--ease-out) forwards; }
.enter-button::before { content:""; position:absolute; inset:0; background:linear-gradient(110deg,transparent 25%,rgba(255,244,207,.23) 48%,transparent 70%); transform:translateX(-130%); transition:transform .8s var(--ease-out); }
.enter-button:hover::before, .enter-button:focus-visible::before { transform:translateX(130%); }
.enter-button:hover, .enter-button:focus-visible { border-color:var(--gold-bright); color:#fff9e8; background:rgba(99,72,25,.2); transform:translateY(-3px); box-shadow:0 15px 50px rgba(0,0,0,.35),0 0 35px rgba(215,185,111,.12); }
.enter-button svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.4; }
.hero-corner { position:absolute; z-index:12; bottom:35px; color:rgba(244,237,220,.55); font:9px/1.55 var(--serif); letter-spacing:.23em; text-transform:uppercase; }
.hero-corner--left { left:clamp(24px,3.5vw,68px); display:flex; align-items:flex-end; gap:14px; }
.hero-corner--left span { color:var(--gold); font-size:11px; padding-bottom:3px; }
.hero-corner--left p { margin:0; }
.hero-corner--right { right:clamp(24px,3.5vw,68px); display:flex; align-items:center; gap:16px; }
.hero-corner--right p { margin:0; }
.hero-corner--right span { color:var(--gold); font-size:17px; }
.drag-instruction { position:absolute; z-index:12; left:50%; bottom:29px; transform:translateX(-50%); display:flex; align-items:center; gap:10px; font:8px/1 var(--sans); letter-spacing:.22em; color:rgba(244,237,220,.42); transition:opacity .6s ease; }
.drag-instruction span { width:32px; height:1px; background:var(--gold-dim); position:relative; }
.drag-instruction span::after { content:""; position:absolute; width:4px; height:4px; border:1px solid var(--gold); border-radius:50%; right:-1px; top:-2px; }
.drag-instruction.is-hidden { opacity:0; }
.edge-line { position:absolute; z-index:15; top:50%; width:1px; height:clamp(90px,16vh,180px); background:linear-gradient(transparent,var(--line),transparent); pointer-events:none; }
.edge-line--left { left:18px; }
.edge-line--right { right:18px; }

/* ---------- Expanded site menu ---------- */
.site-menu { position:fixed; z-index:70; inset:0; background:rgba(4,3,2,.97); backdrop-filter:blur(18px); visibility:hidden; pointer-events:none; clip-path:inset(0 0 100% 0); transition:clip-path .75s var(--ease-in-out), visibility .75s; overflow:hidden; }
.site-menu.is-open { visibility:visible; pointer-events:auto; clip-path:inset(0 0 0 0); }
.site-menu__light { position:absolute; top:-28%; right:6%; width:58vw; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle,rgba(232,204,139,.18),rgba(117,79,23,.05) 36%,transparent 66%); filter:blur(18px); }
.site-menu__close { position:absolute; z-index:5; top:calc(24px + var(--safe-top)); right:clamp(22px,3.5vw,68px); width:48px; height:48px; border:1px solid rgba(215,185,111,.25); border-radius:50%; background:rgba(0,0,0,.14); cursor:pointer; }
.site-menu__close span { position:absolute; left:14px; top:23px; width:20px; height:1px; background:var(--gold); }
.site-menu__close span:first-child { transform:rotate(45deg); }
.site-menu__close span:last-child { transform:rotate(-45deg); }
.site-menu__light::before { content:""; position:absolute; inset:18%; border:1px solid rgba(215,185,111,.16); border-radius:50%; box-shadow:0 0 120px rgba(215,185,111,.08); }
.site-menu__inner { position:relative; z-index:2; min-height:100%; padding:calc(var(--header-h) + 38px + var(--safe-top)) clamp(26px,7vw,120px) calc(42px + var(--safe-bottom)); display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto 1fr auto; column-gap:8vw; }
.site-menu__eyebrow { grid-column:1/-1; margin:0 0 26px; font:9px/1 var(--sans); letter-spacing:.34em; color:var(--gold); }
.site-menu nav { align-self:center; width:min(760px,65vw); }
.site-menu nav a { display:grid; grid-template-columns:52px minmax(0,1fr) auto; align-items:baseline; gap:22px; padding:13px 0; border-bottom:1px solid rgba(244,237,220,.1); transition:padding-left .35s var(--ease-out), border-color .35s ease; }
.site-menu nav a span { font:10px/1 var(--sans); letter-spacing:.14em; color:var(--gold-dim); }
.site-menu nav a strong { font:400 clamp(42px,5.2vw,88px)/.92 var(--serif); letter-spacing:.03em; color:rgba(244,237,220,.86); transition:color .3s ease,text-shadow .3s ease; }
.site-menu nav a em { font:italic 14px/1 var(--serif); color:rgba(244,237,220,.45); white-space:nowrap; }
.site-menu nav a:hover, .site-menu nav a:focus-visible { padding-left:14px; border-color:var(--gold); }
.site-menu nav a:hover strong, .site-menu nav a:focus-visible strong { color:var(--gold-bright); text-shadow:0 0 35px rgba(215,185,111,.16); }
.site-menu__footer { grid-column:1/-1; align-self:end; display:flex; justify-content:space-between; gap:30px; padding-top:24px; border-top:1px solid rgba(215,185,111,.18); font:9px/1 var(--sans); letter-spacing:.24em; color:rgba(244,237,220,.52); text-transform:uppercase; }
.site-menu__footer p { margin:0; }
.site-menu__footer a { color:var(--gold); }

/* ---------- Revelation overlay ---------- */
.revelation { position:fixed; z-index:90; inset:0; background:rgba(3,2,1,.9); backdrop-filter:blur(20px); visibility:hidden; opacity:0; pointer-events:none; transition:opacity .55s ease,visibility .55s; overflow:hidden; }
.revelation::before { content:""; position:absolute; inset:0; background:
  radial-gradient(circle at 50% 18%,rgba(244,219,150,.17),transparent 34%),
  linear-gradient(110deg,rgba(0,0,0,.9),rgba(8,6,3,.48) 48%,rgba(0,0,0,.9)); }
.revelation::after { content:""; position:absolute; left:50%; top:-20%; width:2px; height:115%; transform:translateX(-50%); background:linear-gradient(transparent,rgba(255,246,210,.72),rgba(215,185,111,.16),transparent); box-shadow:0 0 80px 28px rgba(215,185,111,.1); opacity:.8; }
.revelation.is-open { visibility:visible; opacity:1; pointer-events:auto; }
.revelation__close { position:absolute; z-index:5; top:calc(29px + var(--safe-top)); right:clamp(22px,3.5vw,68px); width:48px; height:48px; border:1px solid rgba(215,185,111,.25); border-radius:50%; background:rgba(0,0,0,.15); cursor:pointer; }
.revelation__close span { position:absolute; left:14px; top:23px; width:20px; height:1px; background:var(--gold); }
.revelation__close span:first-child { transform:rotate(45deg); }
.revelation__close span:last-child { transform:rotate(-45deg); }
.revelation__rail { position:absolute; z-index:4; left:clamp(24px,4vw,72px); top:50%; transform:translateY(-50%); display:flex; flex-direction:column; gap:18px; }
.revelation__rail button { border:0; background:transparent; padding:5px 0; text-align:left; cursor:pointer; color:rgba(244,237,220,.35); font:9px/1 var(--sans); letter-spacing:.18em; display:flex; align-items:center; gap:13px; transition:color .3s ease; }
.revelation__rail button::before { content:""; width:16px; height:1px; background:currentColor; transition:width .35s var(--ease-out); }
.revelation__rail button span { font:italic 13px/1 var(--serif); letter-spacing:.06em; opacity:0; transform:translateX(-6px); transition:opacity .3s ease,transform .3s ease; }
.revelation__rail button[aria-selected="true"] { color:var(--gold-bright); }
.revelation__rail button[aria-selected="true"]::before { width:45px; }
.revelation__rail button[aria-selected="true"] span { opacity:1; transform:translateX(0); }
.revelation__stage { position:relative; z-index:3; width:100%; height:100%; display:grid; place-items:center; padding:90px clamp(90px,13vw,230px); }
.pillar { width:min(1050px,74vw); text-align:center; opacity:0; transform:translateY(24px) scale(.985); transition:opacity .55s ease,transform .7s var(--ease-out); }
.pillar.is-active { opacity:1; transform:translateY(0) scale(1); }
.pillar__number { margin:0 0 20px; font:9px/1 var(--sans); letter-spacing:.34em; color:var(--gold); }
.pillar h2 { margin:0; font:400 clamp(70px,12vw,220px)/.78 var(--serif); letter-spacing:.03em; color:transparent; -webkit-text-stroke:1px rgba(244,237,220,.82); text-shadow:0 0 55px rgba(215,185,111,.12); }
.pillar__line { margin:42px auto 0; font:italic clamp(22px,2.25vw,38px)/1.25 var(--serif); color:var(--gold-bright); }
.pillar__body { max-width:650px; margin:18px auto 0; font:12px/1.8 var(--sans); letter-spacing:.08em; color:rgba(244,237,220,.58); }
.revelation__footer { position:absolute; z-index:4; left:clamp(24px,4vw,72px); right:clamp(24px,4vw,72px); bottom:calc(32px + var(--safe-bottom)); display:flex; justify-content:space-between; align-items:center; padding-top:18px; border-top:1px solid rgba(215,185,111,.2); }
.revelation__footer a { font:10px/1 var(--serif); letter-spacing:.24em; color:var(--gold-bright); }
.revelation__footer a span { margin-left:13px; }
.revelation__footer p { margin:0; font:8px/1 var(--sans); letter-spacing:.24em; color:rgba(244,237,220,.36); }

/* ---------- Cursor ---------- */
.cursor { position:fixed; z-index:1001; top:0; left:0; width:34px; height:34px; border:1px solid rgba(242,219,155,.5); border-radius:50%; pointer-events:none; transform:translate(-50%,-50%); opacity:0; transition:width .25s ease,height .25s ease,border-color .25s ease,opacity .2s ease; mix-blend-mode:difference; }
.cursor::before, .cursor::after { content:""; position:absolute; background:rgba(255,255,255,.65); }
.cursor::before { width:8px; height:1px; left:12px; top:16px; }
.cursor::after { width:1px; height:8px; left:16px; top:12px; }
.cursor span { position:absolute; width:3px; height:3px; left:14.5px; top:14.5px; border-radius:50%; background:#fff; }
.cursor.is-visible { opacity:1; }
.cursor.is-active { width:56px; height:56px; border-color:#fff; }
.cursor.is-active::before { left:22px; top:27px; width:10px; }
.cursor.is-active::after { left:27px; top:22px; height:10px; }
.cursor.is-active span { left:25.5px; top:25.5px; }

/* ---------- Inner pages ---------- */
body.inner-page { min-height:100%; overflow-x:hidden; background:#060403; }
.inner-backdrop { position:fixed; z-index:0; inset:0; overflow:hidden; background:#050403; }
.inner-backdrop::before { content:""; position:absolute; inset:-8%; background-image:url("../media/hero-desktop.webp"); background-size:cover; background-position:center 32%; filter:blur(3px) brightness(.34) saturate(.65); transform:scale(1.08); }
.inner-backdrop::after { content:""; position:absolute; inset:0; background:
  radial-gradient(circle at 50% 7%,rgba(228,197,120,.26),transparent 36%),
  linear-gradient(180deg,rgba(4,3,2,.5),#070503 78%); }
.inner-canvas { position:fixed; z-index:1; inset:0; width:100%; height:100%; mix-blend-mode:screen; opacity:.55; }
.inner-grain { position:fixed; z-index:2; inset:-80%; pointer-events:none; opacity:.065; animation:grain .3s steps(2) infinite; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.62'/%3E%3C/svg%3E"); }
.inner-main { position:relative; z-index:3; min-height:100dvh; padding-top:calc(var(--header-h) + var(--safe-top)); }
.page-hero { min-height:100dvh; display:grid; align-items:center; padding:clamp(130px,17vh,210px) clamp(25px,8vw,150px) clamp(70px,10vh,130px); position:relative; }
.page-hero__index { position:absolute; left:clamp(25px,3.5vw,68px); top:50%; transform:translateY(-50%); writing-mode:vertical-rl; font:8px/1 var(--sans); letter-spacing:.38em; color:rgba(215,185,111,.55); }
.page-hero__content { width:min(1040px,84vw); }
.page-hero__eyebrow { margin:0 0 22px; font:9px/1 var(--sans); letter-spacing:.36em; color:var(--gold); text-transform:uppercase; }
.page-hero h1 { margin:0; font:400 clamp(72px,12vw,200px)/.78 var(--serif); letter-spacing:.025em; color:var(--ivory); text-transform:uppercase; text-shadow:0 8px 42px rgba(0,0,0,.5); }
.page-hero h1.outline { color:transparent; -webkit-text-stroke:1px rgba(244,237,220,.85); }
.page-hero__lead { max-width:760px; margin:34px 0 0; font:italic clamp(23px,2.4vw,40px)/1.25 var(--serif); color:var(--gold-bright); }
.page-hero__body { max-width:680px; margin:22px 0 0; font:14px/1.9 var(--sans); letter-spacing:.035em; color:rgba(244,237,220,.62); }
.page-hero__actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
.text-button { min-height:51px; padding:0 28px; border:1px solid rgba(215,185,111,.45); display:inline-flex; align-items:center; gap:15px; font:10px/1 var(--serif); letter-spacing:.24em; text-transform:uppercase; color:var(--gold-bright); background:rgba(0,0,0,.15); transition:background .3s ease,border-color .3s ease,transform .3s var(--ease-out); }
.text-button:hover, .text-button:focus-visible { border-color:var(--gold-bright); background:rgba(215,185,111,.1); transform:translateY(-2px); }
.text-button--ghost { border-color:transparent; }
.scroll-mark { position:absolute; right:clamp(24px,4vw,72px); bottom:42px; display:flex; align-items:center; gap:14px; font:8px/1 var(--sans); letter-spacing:.25em; color:rgba(244,237,220,.45); }
.scroll-mark span { display:block; width:1px; height:50px; background:linear-gradient(var(--gold),transparent); animation:scroll-mark 1.5s ease-in-out infinite; transform-origin:top; }
@keyframes scroll-mark { 50%{transform:scaleY(.55);opacity:.45} }

/* Manifesto */
.manifesto-scroll { scroll-snap-type:y mandatory; }
.manifesto-section { min-height:100dvh; scroll-snap-align:start; display:grid; grid-template-columns:100px minmax(0,1fr) minmax(260px,420px); align-items:center; gap:clamp(20px,5vw,90px); padding:calc(var(--header-h) + 55px) clamp(25px,6vw,110px) 70px; border-bottom:1px solid rgba(215,185,111,.12); position:relative; overflow:hidden; }
.manifesto-section::before { content:attr(data-word); position:absolute; right:-.02em; bottom:-.22em; font:400 clamp(130px,24vw,410px)/1 var(--serif); color:rgba(244,237,220,.018); letter-spacing:-.05em; pointer-events:none; }
.manifesto-section__number { align-self:start; padding-top:18vh; font:9px/1 var(--sans); letter-spacing:.28em; color:var(--gold); }
.manifesto-section h2 { margin:0; font:400 clamp(74px,11vw,190px)/.78 var(--serif); letter-spacing:.02em; color:transparent; -webkit-text-stroke:1px rgba(244,237,220,.82); }
.manifesto-section blockquote { margin:28px 0 0; max-width:790px; font:italic clamp(23px,2.6vw,44px)/1.32 var(--serif); color:var(--gold-bright); }
.manifesto-section__copy { padding-left:clamp(0px,2vw,34px); border-left:1px solid rgba(215,185,111,.25); }
.manifesto-section__copy p { margin:0; font:13px/1.9 var(--sans); color:rgba(244,237,220,.58); }
.manifesto-section__copy p + p { margin-top:18px; }

/* Journal / Work / About */
.word-list { display:flex; flex-wrap:wrap; gap:9px 24px; max-width:920px; margin:34px 0 0; }
.word-list span { font:400 clamp(27px,3.1vw,52px)/1.1 var(--serif); color:rgba(244,237,220,.32); transition:color .25s ease; }
.word-list span:hover { color:var(--gold-bright); }
.journal-entry { margin-top:42px; max-width:850px; padding-top:25px; border-top:1px solid rgba(215,185,111,.22); display:grid; grid-template-columns:110px 1fr auto; align-items:start; gap:26px; }
.journal-entry time { font:9px/1 var(--sans); letter-spacing:.2em; color:var(--gold-dim); }
.journal-entry h2 { margin:0; font:400 clamp(30px,4vw,64px)/1 var(--serif); color:var(--ivory); }
.journal-entry p { margin:12px 0 0; font:13px/1.75 var(--sans); color:rgba(244,237,220,.55); }
.journal-entry a { margin-top:8px; font:10px/1 var(--serif); letter-spacing:.2em; color:var(--gold); }
.about-signature { margin-top:46px; display:flex; align-items:center; gap:18px; font:italic 20px/1 var(--serif); color:var(--gold-bright); }
.about-signature::before { content:""; width:60px; height:1px; background:var(--gold); }

/* Contact */
.contact-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,560px); gap:clamp(55px,9vw,150px); align-items:center; width:100%; }
.contact-grid .page-hero__content { width:100%; min-width:0; }
.contact-grid .page-hero__content h1 { font-size:clamp(72px,8.6vw,148px); letter-spacing:-.015em; }
.contact-form { padding:clamp(24px,3.5vw,48px); border:1px solid rgba(215,185,111,.22); background:rgba(5,4,3,.5); backdrop-filter:blur(14px); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-field { position:relative; margin-bottom:20px; }
.form-field label { display:block; margin-bottom:9px; font:8px/1 var(--sans); letter-spacing:.24em; color:var(--gold); text-transform:uppercase; }
.form-field input, .form-field textarea { width:100%; border:0; border-bottom:1px solid rgba(244,237,220,.22); background:transparent; color:var(--ivory); padding:10px 0 12px; outline:none; font:14px/1.5 var(--sans); transition:border-color .25s ease; }
.form-field textarea { min-height:120px; resize:vertical; }
.form-field input:focus, .form-field textarea:focus { border-color:var(--gold-bright); }
.form-field--trap { position:absolute !important; left:-9999px !important; opacity:0 !important; pointer-events:none !important; }
.form-submit { width:100%; min-height:52px; border:1px solid rgba(215,185,111,.55); background:rgba(215,185,111,.08); color:var(--gold-bright); cursor:pointer; font:10px/1 var(--serif); letter-spacing:.26em; text-transform:uppercase; transition:background .3s ease,border-color .3s ease; }
.form-submit:hover, .form-submit:focus-visible { background:rgba(215,185,111,.17); border-color:var(--gold-bright); }
.form-status { margin:16px 0 0; min-height:19px; font:11px/1.55 var(--sans); color:var(--gold-bright); }
.contact-direct { margin-top:33px; display:flex; flex-direction:column; gap:12px; }
.contact-direct a { width:max-content; font:italic clamp(20px,2vw,30px)/1 var(--serif); color:var(--gold-bright); border-bottom:1px solid rgba(215,185,111,.4); padding-bottom:5px; }

/* 404 */
.error-page { min-height:100dvh; display:grid; place-items:center; text-align:center; padding:50px 24px; background:radial-gradient(circle at 50% 25%,rgba(215,185,111,.16),transparent 30%),#050403; }
.error-page__cross { width:50px; height:80px; margin:0 auto 25px; position:relative; }
.error-page__cross::before,.error-page__cross::after { content:""; position:absolute; background:var(--gold); left:50%; top:50%; transform:translate(-50%,-50%); }
.error-page__cross::before { width:1px; height:70px; }
.error-page__cross::after { width:42px; height:1px; top:39%; }
.error-page h1 { margin:0; font:400 clamp(100px,20vw,260px)/.8 var(--serif); color:transparent; -webkit-text-stroke:1px rgba(244,237,220,.72); }
.error-page p { margin:28px auto; max-width:560px; font:italic 24px/1.3 var(--serif); color:var(--gold-bright); }

.noscript-message { position:fixed; z-index:1000; left:15px; right:15px; bottom:15px; padding:12px; background:#111; color:#fff; text-align:center; }

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
  :root { --header-h: 78px; }
  .primary-nav { display:none; }
  .site-menu__inner { grid-template-columns:1fr; }
  .site-menu nav { width:min(820px,88vw); }
  .site-menu nav a { grid-template-columns:42px 1fr; }
  .site-menu nav a em { display:none; }
  .manifesto-section { grid-template-columns:65px minmax(0,1fr); }
  .manifesto-section__copy { grid-column:2; max-width:720px; }
  .contact-grid { grid-template-columns:1fr; }
  .contact-form { max-width:650px; }
}

@media (max-width: 700px) {
  :root { --header-h: 68px; }
  .site-header { padding:calc(18px + var(--safe-top)) 18px 12px; }
  .site-header::after { left:18px; right:18px; }
  .brand__name { font-size:12px; letter-spacing:.18em; }
  .brand__mark { transform:scale(.85); }
  .sound-toggle { display:none; }
  .menu-toggle__label { display:none; }
  .site-shell { min-height:560px; }
  .hero-visual { inset:-2%; }
  .hero-visual img { object-position:50% 48%; transform:scale(1.06) translate3d(calc(var(--px) * -7px),calc(var(--py) * -5px),0); filter:contrast(1.08) saturate(.9) brightness(.76); }
  .hero-shadow { background:linear-gradient(180deg,rgba(3,2,1,.45) 0%,transparent 18%,transparent 45%,rgba(3,2,1,.56) 70%,rgba(3,2,1,.97) 100%); }
  .vignette { box-shadow:inset 0 0 105px 20px rgba(0,0,0,.78); }
  .holy-beam { width:75vw; height:92%; opacity:.55; }
  .celestial-rings { top:29%; width:90vw; opacity:.17; }
  .home-main { padding:var(--header-h) 18px calc(25px + var(--safe-bottom)); align-items:end; }
  .hero-copy { width:100%; margin-bottom:76px; }
  .hero-copy__overline { font-size:8px; letter-spacing:.2em; gap:9px; margin-bottom:12px; }
  .hero-copy__overline span { width:28px; }
  .hero-copy h1 { font-size:clamp(48px,16.2vw,78px); line-height:.84; letter-spacing:.03em; white-space:normal; }
  .hero-copy h1 span { display:block; }
  .hero-copy__creed { margin-top:16px; gap:6px 9px; }
  .hero-copy__creed button { font-size:15px; letter-spacing:.02em; }
  .enter-button { margin-top:21px; min-width:160px; height:48px; font-size:9px; }
  .hero-corner { display:none; }
  .drag-instruction { bottom:18px; font-size:7px; width:100%; justify-content:center; }
  .edge-line { display:none; }
  .site-menu__close { top:calc(16px + var(--safe-top)); right:18px; width:42px; height:42px; }
  .site-menu__close span { left:11px; top:20px; }
  .site-menu__inner { padding:calc(var(--header-h) + 42px + var(--safe-top)) 24px calc(28px + var(--safe-bottom)); }
  .site-menu__eyebrow { margin-bottom:16px; }
  .site-menu nav { width:100%; }
  .site-menu nav a { grid-template-columns:30px 1fr; gap:12px; padding:10px 0; }
  .site-menu nav a strong { font-size:clamp(37px,12vw,58px); }
  .site-menu__footer { flex-direction:column; gap:13px; font-size:7px; letter-spacing:.17em; }
  .revelation__rail { left:18px; top:auto; bottom:92px; transform:none; flex-direction:row; gap:9px; }
  .revelation__rail button { width:30px; overflow:hidden; gap:0; }
  .revelation__rail button::before, .revelation__rail button span { display:none; }
  .revelation__stage { padding:90px 22px 150px; align-items:center; }
  .pillar { width:100%; }
  .pillar h2 { font-size:clamp(56px,17vw,92px); line-height:.88; overflow-wrap:anywhere; }
  .pillar__number { font-size:8px; margin-bottom:16px; }
  .pillar__line { margin-top:27px; font-size:22px; }
  .pillar__body { font-size:12px; line-height:1.7; }
  .revelation__footer { left:18px; right:18px; bottom:calc(26px + var(--safe-bottom)); }
  .revelation__footer p { display:none; }
  .revelation__close { top:calc(18px + var(--safe-top)); right:18px; }
  .cursor { display:none; }
  .page-hero { padding:calc(var(--header-h) + 70px) 23px 75px; min-height:100svh; }
  .page-hero__index { display:none; }
  .page-hero__content { width:100%; }
  .page-hero h1 { font-size:clamp(58px,18vw,105px); }
  .page-hero__lead { font-size:24px; }
  .page-hero__body { font-size:13px; line-height:1.8; }
  .scroll-mark { display:none; }
  .manifesto-section { min-height:100svh; grid-template-columns:1fr; align-content:center; padding:calc(var(--header-h) + 55px) 23px 65px; gap:23px; }
  .manifesto-section__number { padding:0; }
  .manifesto-section h2 { font-size:clamp(58px,17vw,94px); overflow-wrap:anywhere; }
  .manifesto-section blockquote { font-size:24px; margin-top:20px; }
  .manifesto-section__copy { grid-column:1; padding-left:18px; }
  .journal-entry { grid-template-columns:1fr; gap:10px; }
  .journal-entry a { margin-top:5px; }
  .form-row { grid-template-columns:1fr; gap:0; }
  .contact-grid .page-hero__content h1 { font-size:clamp(58px,18vw,88px); }
  .contact-form { padding:22px; }
  .inner-backdrop::before { background-image:url("../media/hero-mobile.webp"); background-position:center 30%; }
}

@media (max-height: 700px) and (min-width: 701px) {
  .hero-copy { margin-bottom:54px; }
  .hero-copy h1 { font-size:clamp(58px,8.2vw,126px); }
  .hero-copy__creed { margin-top:14px; }
  .enter-button { margin-top:18px; height:46px; }
  .hero-corner, .drag-instruction { bottom:18px; }
}

@media (hover:none), (pointer:coarse) {
  .cursor { display:none; }
  #celestial-canvas { pointer-events:none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; transition-duration:.001ms !important; }
  .hero-visual img, .celestial-rings { transform:none !important; }
  .grain { display:none; }
}

/* ========================================================================== 
   GLORY HOMEPAGE — full-scene 4K composition
   ========================================================================== */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.home--glory .glory-shell {
  height: 100svh;
  min-height: 560px;
  background: #030201;
}

.home--glory .glory-visual {
  inset: 0;
  background: #030201;
  isolation: isolate;
}

.home--glory .glory-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -5%;
  background: url("../media/hero-glory-1920.webp") center / cover no-repeat;
  filter: blur(24px) brightness(.42) saturate(.7);
  transform: scale(1.08);
}

.home--glory .glory-visual picture {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.home--glory .glory-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  filter: contrast(1.045) saturate(.98) brightness(.94);
  transform: translate3d(calc(var(--px) * -3px), calc(var(--py) * -2px), 0) scale(1.003);
  transition: filter 1.1s ease;
}

.home--glory #celestial-canvas {
  z-index: 2;
  opacity: .58;
  mix-blend-mode: screen;
}

.home--glory .holy-beam {
  z-index: 3;
  top: -18%;
  width: min(22vw, 420px);
  height: 94%;
  opacity: .38;
  filter: blur(24px);
}

.home--glory .celestial-rings {
  z-index: 3;
  top: 15.5%;
  width: clamp(190px, 23vw, 470px);
  opacity: .13;
}

.home--glory .hero-shadow {
  z-index: 6;
  background:
    linear-gradient(180deg, rgba(2,1,1,.34) 0%, transparent 12%, transparent 72%, rgba(2,1,1,.48) 88%, rgba(2,1,1,.9) 100%),
    linear-gradient(90deg, rgba(2,1,1,.32), transparent 18%, transparent 82%, rgba(2,1,1,.32));
}

.home--glory .vignette {
  z-index: 7;
  box-shadow: inset 0 0 150px 20px rgba(0,0,0,.66);
}

.home--glory .grain {
  z-index: 8;
  opacity: .055;
}

/* Atmospheric cleanup over rasterized concept-copy; the live page supplies its own UI. */
.glory-clean {
  position: absolute;
  z-index: 5;
  left: 50%;
  pointer-events: none;
  transform: translateX(-50%);
}

.glory-clean--tagline {
  top: 38.15%;
  width: min(48vw, 930px);
  height: 6.5%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(5,3,2,.99) 0 34%, rgba(6,4,2,.94) 48%, rgba(6,4,2,.68) 64%, rgba(5,3,2,.25) 77%, transparent 88%);
  filter: blur(5px);
}

.glory-clean--button {
  top: 42.15%;
  width: min(25vw, 475px);
  height: 9.2%;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(5,3,2,1) 0 39%, rgba(7,5,3,.96) 53%, rgba(6,4,2,.69) 69%, rgba(5,3,2,.24) 82%, transparent 92%);
  filter: blur(5px);
}

.glory-clean--mobile-title {
  display: none;
}

.glory-clean--bottom {
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 15.5%;
  transform: none;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(42,29,10,.18), transparent 42%),
    linear-gradient(180deg, transparent 0%, rgba(4,3,2,.54) 24%, rgba(4,3,2,.9) 53%, #040302 84%);
  filter: none;
}

.home--glory .glory-header {
  height: calc(82px + var(--safe-top));
  padding: calc(19px + var(--safe-top)) clamp(22px, 3.1vw, 58px) 17px;
  background: linear-gradient(180deg, #050403 0%, rgba(5,4,3,.94) 48%, rgba(5,4,3,.64) 76%, transparent 100%);
}

.home--glory .glory-header::after {
  opacity: .3;
}

.home--glory .primary-nav a {
  font-size: 10px;
  letter-spacing: .19em;
}

.home--glory .header-actions {
  gap: 16px;
}

.home--glory .glory-music {
  width: auto;
  min-width: 102px;
  height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(215,185,111,.36);
  border-radius: 999px;
  background: rgba(4,3,2,.45);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease, transform .3s ease;
}

.home--glory .glory-music:hover,
.home--glory .glory-music:focus-visible {
  border-color: rgba(242,219,155,.82);
  background: rgba(63,43,14,.28);
  box-shadow: 0 0 28px rgba(215,185,111,.13);
  transform: translateY(-1px);
}

.home--glory .glory-music > .sound-toggle__note {
  width: auto;
  height: auto;
  opacity: .95;
  background: none;
  color: var(--gold-bright);
  font: 16px/1 var(--serif);
}

.home--glory .glory-music > .sound-toggle__label {
  width: auto;
  height: auto;
  opacity: 1;
  background: none;
  color: rgba(242,219,155,.9);
  font: 9px/1 var(--serif);
  letter-spacing: .24em;
}

.home--glory .glory-music > .sound-toggle__bars {
  width: 18px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  opacity: .82;
  background: none;
}

.home--glory .glory-music .sound-toggle__bars i {
  display: block;
  width: 1px;
  height: 4px;
  background: var(--gold);
  transition: height .3s ease, opacity .3s ease;
}

.home--glory .glory-music .sound-toggle__bars i:nth-child(2) { height: 9px; }
.home--glory .glory-music .sound-toggle__bars i:nth-child(3) { height: 13px; }
.home--glory .glory-music .sound-toggle__bars i:nth-child(4) { height: 7px; }
.home--glory .glory-music[aria-pressed="true"] .sound-toggle__bars i { animation: equalizer .72s ease-in-out infinite alternate; }
.home--glory .glory-music[aria-pressed="true"] .sound-toggle__bars i:nth-child(2) { animation-delay: -.26s; }
.home--glory .glory-music[aria-pressed="true"] .sound-toggle__bars i:nth-child(3) { animation-delay: -.51s; }
.home--glory .glory-music[aria-pressed="true"] .sound-toggle__bars i:nth-child(4) { animation-delay: -.17s; }

.home--glory .glory-main {
  z-index: 12;
  display: block;
  padding: 0;
}

.hero-name-mobile {
  display: none;
}

.foundation-hierarchy {
  position: absolute;
  z-index: 14;
  left: 50%;
  bottom: calc(15px + var(--safe-bottom));
  width: min(680px, 84vw);
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  text-align: center;
  opacity: 0;
  animation: reveal-up .95s 1.12s var(--ease-out) forwards;
}

.foundation-hierarchy button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-shadow: 0 2px 20px #000, 0 0 17px rgba(215,185,111,.18);
}

.foundation-hierarchy__god {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 3px 24px 4px;
  transition: transform .3s var(--ease-out), color .3s ease;
}

.foundation-hierarchy__crown {
  color: var(--gold);
  font: 13px/1 var(--serif);
  text-shadow: 0 0 15px rgba(242,219,155,.52);
}

.foundation-hierarchy__god strong {
  color: #f3dfaa;
  font: 400 clamp(25px, 2vw, 36px)/1 var(--serif);
  letter-spacing: .34em;
  padding-left: .34em;
}

.foundation-hierarchy__god:hover,
.foundation-hierarchy__god:focus-visible {
  color: #fff8e6;
  transform: translateY(-3px) scale(1.035);
}

.foundation-hierarchy__axis {
  position: relative;
  display: block;
  width: min(470px, 72vw);
  height: 16px;
  margin: 0 0 2px;
}

.foundation-hierarchy__axis::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215,185,111,.54) 25%, rgba(242,219,155,.82) 50%, rgba(215,185,111,.54) 75%, transparent);
}

.foundation-hierarchy__axis::after {
  content: "✝";
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 0 10px;
  transform: translate(-50%, -50%);
  background: #050403;
  color: var(--gold-bright);
  font: 14px/1 var(--serif);
}

.foundation-hierarchy__three {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.foundation-hierarchy__three button {
  position: relative;
  min-height: 29px;
  padding: 6px 18px;
  color: rgba(241,225,186,.85);
  font: 9px/1 var(--serif);
  letter-spacing: .31em;
  transition: color .3s ease, transform .3s var(--ease-out), text-shadow .3s ease;
}

.foundation-hierarchy__three button + button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  transform: translateY(-50%);
  background: linear-gradient(transparent, rgba(215,185,111,.48), transparent);
}

.foundation-hierarchy__three button:hover,
.foundation-hierarchy__three button:focus-visible {
  color: #fff7df;
  transform: translateY(-2px);
  text-shadow: 0 0 24px rgba(242,219,155,.55);
}

@media (min-width: 2100px) {
  .home--glory .glory-visual::before { background-image: url("../media/hero-glory-2560.webp"); }
}

@media (max-width: 1050px) {
  .home--glory .glory-header { height: calc(76px + var(--safe-top)); }
  .home--glory .glory-music { min-width: 94px; }
}

@media (max-width: 700px) {
  .home--glory .glory-shell { min-height: 520px; }
  .home--glory .glory-visual::before {
    background-image: url("../media/hero-glory-mobile.webp");
    filter: blur(18px) brightness(.38) saturate(.72);
  }
  .home--glory .glory-visual img {
    object-fit: cover;
    object-position: 50% 50%;
    filter: contrast(1.04) saturate(.98) brightness(.89);
    transform: translate3d(calc(var(--px) * -2px), calc(var(--py) * -1px), 0) scale(1.002);
  }
  .home--glory .glory-header {
    height: calc(68px + var(--safe-top));
    padding: calc(14px + var(--safe-top)) 15px 12px;
    background: linear-gradient(180deg, #050403 0%, rgba(5,4,3,.93) 60%, transparent 100%);
  }
  .home--glory .brand__mark { display: none; }
  .home--glory .brand__name { font-size: 10px; letter-spacing: .15em; }
  .home--glory .header-actions { gap: 10px; }
  .home--glory .glory-music {
    display: inline-flex;
    min-width: 39px;
    width: 39px;
    height: 34px;
    padding: 0;
    gap: 0;
  }
  .home--glory .glory-music > .sound-toggle__label,
  .home--glory .glory-music > .sound-toggle__note { display: none; }
  .home--glory .glory-music > .sound-toggle__bars { width: 17px; }
  .home--glory .menu-toggle { padding-left: 2px; }
  .home--glory .holy-beam { width: 52vw; opacity: .32; }
  .home--glory .celestial-rings { top: 13%; width: 64vw; opacity: .1; }
  .home--glory .hero-shadow {
    background:
      linear-gradient(180deg, rgba(2,1,1,.38) 0%, transparent 14%, transparent 72%, rgba(2,1,1,.62) 88%, rgba(2,1,1,.95) 100%),
      linear-gradient(90deg, rgba(2,1,1,.24), transparent 22%, transparent 78%, rgba(2,1,1,.24));
  }
  .home--glory .vignette { box-shadow: inset 0 0 105px 17px rgba(0,0,0,.65); }
  .glory-clean--tagline,
  .glory-clean--button { display: none; }
  .glory-clean--mobile-title {
    display: block;
    top: 25.5%;
    width: 100%;
    height: 24%;
    background:
      radial-gradient(ellipse at 50% 48%, rgba(5,3,2,.98) 0 28%, rgba(6,4,2,.91) 46%, rgba(6,4,2,.48) 67%, transparent 84%);
    filter: blur(7px);
  }
  .glory-clean--bottom { height: 18.5%; }
  .hero-name-mobile {
    position: absolute;
    z-index: 14;
    left: 50%;
    top: 31%;
    transform: translateX(-50%);
    display: grid;
    justify-items: center;
    color: #ead6a3;
    font: 400 clamp(50px, 16vw, 82px)/.78 var(--serif);
    letter-spacing: .07em;
    text-shadow: 0 5px 28px rgba(0,0,0,.9), 0 0 22px rgba(215,185,111,.24);
    opacity: 0;
    animation: hero-title 1.15s .72s var(--ease-out) forwards;
    pointer-events: none;
  }
  .hero-name-mobile span:last-child {
    color: transparent;
    -webkit-text-stroke: 1px rgba(242,219,155,.9);
  }
  .foundation-hierarchy {
    bottom: calc(10px + var(--safe-bottom));
    width: min(430px, 94vw);
  }
  .foundation-hierarchy__crown { font-size: 10px; }
  .foundation-hierarchy__god strong {
    font-size: clamp(21px, 6.7vw, 29px);
    letter-spacing: .29em;
    padding-left: .29em;
  }
  .foundation-hierarchy__axis {
    width: min(300px, 72vw);
    height: 13px;
    margin-bottom: 1px;
  }
  .foundation-hierarchy__axis::before { top: 6px; }
  .foundation-hierarchy__axis::after { font-size: 11px; padding: 0 8px; }
  .foundation-hierarchy__three button {
    min-height: 27px;
    padding: 5px 5px;
    font-size: 7px;
    letter-spacing: .17em;
  }
  .foundation-hierarchy__three button + button::before { height: 13px; }
}

@media (max-height: 720px) and (min-width: 701px) {
  .foundation-hierarchy { bottom: calc(8px + var(--safe-bottom)); }
  .foundation-hierarchy__god strong { font-size: 25px; }
  .foundation-hierarchy__axis { height: 12px; }
  .foundation-hierarchy__three button { min-height: 25px; padding-block: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .home--glory .glory-visual img { transform: none !important; }
}

/* Glory composition refinements */
.home--glory .glory-header {
  background: linear-gradient(180deg, #050403 0%, #050403 68%, rgba(5,4,3,.94) 82%, transparent 100%);
}

.glory-clean--tagline {
  top: 37.45%;
  width: min(74vw, 1420px);
  height: 13.2%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(5,3,2,.8) 16%,
    rgba(5,3,2,.98) 37%,
    #050302 55%,
    rgba(5,3,2,.96) 72%,
    rgba(5,3,2,.62) 86%,
    transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  filter: none;
}

.glory-clean--button { display: none; }

@keyframes glory-foundations-in {
  from { opacity: 0; transform: translate(-50%, 14px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes glory-mobile-name-in {
  from { opacity: 0; transform: translate(-50%, 24px) scale(.985); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

.foundation-hierarchy {
  bottom: calc(20px + var(--safe-bottom));
  animation-name: glory-foundations-in;
}

.foundation-hierarchy__god strong {
  font-size: clamp(29px, 2.15vw, 40px);
}

.foundation-hierarchy__three button {
  font-size: 10px;
  color: rgba(241,225,186,.92);
}

@media (max-width: 700px) {
  .glory-clean--mobile-title {
    top: 22.5%;
    width: 115%;
    height: 31%;
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(5,3,2,.78) 12%,
      rgba(5,3,2,.98) 30%,
      #050302 52%,
      rgba(5,3,2,.97) 72%,
      rgba(5,3,2,.58) 88%,
      transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    filter: none;
  }
  .hero-name-mobile {
    top: 29.5%;
    width: 100%;
    transform: translateX(-50%);
    font-size: clamp(48px, 15.2vw, 70px);
    line-height: .82;
    animation-name: glory-mobile-name-in;
  }
  .foundation-hierarchy {
    bottom: calc(15px + var(--safe-bottom));
    animation-name: glory-foundations-in;
  }
  .foundation-hierarchy__god strong {
    font-size: clamp(24px, 7.2vw, 31px);
  }
  .foundation-hierarchy__three button {
    font-size: 8px;
    letter-spacing: .19em;
  }
}

/* Live title replaces every rasterized line in the selected concept. */
.glory-clean--tagline {
  top: 25.8%;
  width: min(84vw, 1610px);
  height: 25.2%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(4,3,2,.66) 13%,
    rgba(4,3,2,.96) 29%,
    #040302 48%,
    #040302 62%,
    rgba(4,3,2,.94) 78%,
    rgba(4,3,2,.56) 90%,
    transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  backdrop-filter: blur(8px) brightness(.48);
}

@keyframes glory-live-name-in {
  from { opacity: 0; transform: translate(-50%, 22px) scale(.99); letter-spacing: .105em; }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); letter-spacing: .075em; }
}

.hero-name-live {
  position: absolute;
  z-index: 15;
  left: 50%;
  top: 29.4%;
  width: min(94vw, 1640px);
  margin: 0;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: .25em;
  color: #e9d29a;
  font: 400 clamp(76px, 8.35vw, 160px)/.9 var(--serif);
  letter-spacing: .075em;
  text-align: center;
  white-space: nowrap;
  text-shadow:
    0 5px 28px rgba(0,0,0,.92),
    0 0 24px rgba(215,185,111,.2),
    0 1px 0 rgba(255,247,220,.35);
  opacity: 0;
  animation: glory-live-name-in 1.25s .72s var(--ease-out) forwards;
  pointer-events: none;
}

.hero-name-live span:last-child {
  color: transparent;
  -webkit-text-stroke: 1px rgba(238,216,163,.94);
  text-shadow: 0 5px 28px rgba(0,0,0,.9), 0 0 24px rgba(215,185,111,.18);
}

.hero-name-mobile { display: none !important; }

@media (max-width: 700px) {
  .glory-clean--mobile-title { display: none; }
  .glory-clean--tagline {
    display: block;
    top: 21.8%;
    width: 118%;
    height: 33%;
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(4,3,2,.72) 12%,
      rgba(4,3,2,.98) 28%,
      #040302 47%,
      #040302 63%,
      rgba(4,3,2,.94) 80%,
      rgba(4,3,2,.48) 91%,
      transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    backdrop-filter: blur(7px) brightness(.44);
  }
  .hero-name-live {
    top: 28.2%;
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 0;
    font-size: clamp(48px, 15.3vw, 70px);
    line-height: .8;
    letter-spacing: .055em;
    white-space: normal;
    animation-name: glory-live-name-in;
  }
}

/* Final desktop treatment: retain the selected image's monumental name and let divine light erase its old sub-copy. */
.hero-name-live { display: none !important; }
.hero-name-mobile { display: none !important; }

.glory-clean--tagline {
  z-index: 5;
  top: 37.05%;
  width: min(43vw, 825px);
  height: 13.8%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 48%,
      rgba(255,249,225,.99) 0 24%,
      rgba(250,226,166,.97) 35%,
      rgba(236,188,93,.84) 49%,
      rgba(197,126,33,.48) 64%,
      rgba(148,89,17,.14) 76%,
      transparent 87%);
  -webkit-mask-image: none;
  mask-image: none;
  backdrop-filter: none;
  filter: blur(11px);
  box-shadow: 0 0 64px 20px rgba(233,184,84,.22);
  opacity: .98;
}

@media (max-width: 700px) {
  .glory-clean--tagline {
    z-index: 5;
    top: 21.8%;
    width: 118%;
    height: 33%;
    border-radius: 0;
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(4,3,2,.72) 12%,
      rgba(4,3,2,.98) 28%,
      #040302 47%,
      #040302 63%,
      rgba(4,3,2,.94) 80%,
      rgba(4,3,2,.48) 91%,
      transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    filter: none;
    box-shadow: none;
    opacity: 1;
  }
  .hero-name-mobile {
    position: absolute;
    z-index: 15;
    left: 50%;
    top: 28.2%;
    width: 100%;
    transform: translateX(-50%);
    display: grid !important;
    justify-items: center;
    gap: 0;
    margin: 0;
    color: #ead6a3;
    font: 400 clamp(48px, 15.3vw, 70px)/.8 var(--serif);
    letter-spacing: .055em;
    text-align: center;
    text-shadow: 0 5px 28px rgba(0,0,0,.92), 0 0 22px rgba(215,185,111,.24);
    opacity: 0;
    animation: glory-mobile-name-in 1.15s .72s var(--ease-out) forwards;
    pointer-events: none;
  }
  .hero-name-mobile span:last-child {
    color: transparent;
    -webkit-text-stroke: 1px rgba(242,219,155,.9);
  }
}

@media (min-width: 701px) {
  .glory-clean--tagline {
    top: 36.75%;
    width: min(47vw, 900px);
    height: 14.5%;
    border-radius: 0;
    background: linear-gradient(90deg,
      transparent 0%,
      rgba(235,180,72,.58) 5%,
      rgba(255,236,184,.98) 13%,
      rgb(255,249,226) 22%,
      rgb(255,249,226) 78%,
      rgba(255,236,184,.98) 87%,
      rgba(235,180,72,.58) 95%,
      transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    filter: blur(9px);
    box-shadow: 0 0 78px 25px rgba(239,190,89,.2);
    opacity: 1;
  }
}
