:root{
  --bg:#070709;
  --midnight:#0a1020;
  --panel:rgba(12,12,18,.72);
  --panel-2:rgba(18,18,24,.92);
  --text:#f4efe7;
  --muted:#c5bcb0;
  --line:rgba(255,255,255,.09);
  --wine:#2a0d12;
  --crimson:#4a141d;
  --gold:#caa56a;
  --bone:#d8d0c2;
  --shadow:0 26px 90px rgba(0,0,0,.55);
  --radius:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0;min-height:100%}
body{
  font-family:Inter,system-ui,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(74,20,29,.18), transparent 22%),
    radial-gradient(circle at 82% 12%, rgba(202,165,106,.06), transparent 16%),
    linear-gradient(180deg, #101425 0%, #0c0d13 34%, #070709 100%);
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit}
.grain{
  position:fixed; inset:0; pointer-events:none; opacity:.06; z-index:0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.22) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 30%, rgba(255,255,255,.14) 0 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,.12) 0 1px, transparent 1px);
  background-size:180px 180px, 220px 220px, 160px 160px;
}
.ambient{
  position:fixed; border-radius:999px; filter:blur(90px); pointer-events:none; z-index:0; opacity:.18;
  animation:drift 18s ease-in-out infinite alternate;
}
.ambient-a{width:260px;height:260px;background:rgba(74,20,29,.42);left:-30px;top:220px}
.ambient-b{width:300px;height:300px;background:rgba(201,165,106,.10);right:-40px;top:80px;animation-duration:24s}
.ambient-c{width:360px;height:360px;background:rgba(70,86,140,.14);left:40%;bottom:5%;animation-duration:26s}

.site-header{
  position:sticky;top:0;z-index:40;
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;
  padding:18px 28px;border-bottom:1px solid var(--line);
  background:rgba(8,8,10,.76);backdrop-filter:blur(18px)
}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand-mark{
  width:42px;height:42px;border-radius:999px;display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 50% 35%, rgba(202,165,106,.28), transparent 46%),
    linear-gradient(180deg, rgba(74,20,29,.55), rgba(18,18,22,.82));
  font-family:"Cormorant Garamond",serif;font-size:1.2rem;font-weight:700
}
.brand-copy{display:flex;flex-direction:column}
.brand-copy strong{font-size:.96rem;letter-spacing:.12em}
.brand-copy small{color:var(--muted);text-transform:uppercase;letter-spacing:.18em;font-size:.6rem}
.main-nav{display:flex;justify-content:center;gap:20px;flex-wrap:wrap}
.main-nav a{color:var(--muted);text-decoration:none;font-size:.94rem}
.main-nav a:hover{color:var(--text)}
.cta-link,.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;
  border-radius:999px;padding:12px 18px;border:1px solid rgba(255,255,255,.12);transition:.2s ease
}
.cta-link,.btn-secondary{background:rgba(255,255,255,.04);color:var(--text)}
.cta-link:hover,.btn-secondary:hover{background:rgba(255,255,255,.08)}
.btn-primary{
  background:
    linear-gradient(180deg, rgba(202,165,106,.18), rgba(202,165,106,.06)),
    linear-gradient(180deg, rgba(74,20,29,.92), rgba(42,13,18,.96));
  color:#fff;border-color:rgba(255,255,255,.08)
}
.btn-primary:hover{filter:brightness(1.08)}

main{position:relative;z-index:1;padding:18px 28px 56px}
.eyebrow,.role-tag{
  margin:0 0 12px;color:var(--muted);font-size:.72rem;letter-spacing:.24em;text-transform:uppercase
}
h1,h2,h3{margin:0;font-family:"Cormorant Garamond",serif}

.hero-shell{position:relative;min-height:calc(100vh - 96px);padding:24px 0 10px}
.hero-rail{
  position:absolute;top:50%;transform:translateY(-50%) rotate(180deg);
  writing-mode:vertical-rl;display:flex;gap:28px;letter-spacing:.28em;
  text-transform:uppercase;font-size:.66rem;color:rgba(255,255,255,.38)
}
.hero-rail-left{left:6px}
.hero-rail-right{right:6px;transform:translateY(-50%)}
.hero{
  min-height:calc(100vh - 140px);
  display:grid;
  grid-template-columns:minmax(0, .95fr) minmax(0, 1.05fr);
  gap:42px;
  align-items:center
}
.hero-copy{padding-right:30px;max-width:42rem}
.hero-kicker-block{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
}
.hero-kicker-line{
  width:68px;
  height:1px;
  background:linear-gradient(90deg, rgba(202,165,106,.5), rgba(255,255,255,.06));
}
.hero-copy h1{
  font-size:clamp(4.4rem, 9vw, 8.4rem);
  line-height:.78;
  letter-spacing:.028em;
  margin-bottom:12px;
  text-shadow:0 0 24px rgba(202,165,106,.08)
}
.hero-subtitle{
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(1.45rem, 2.8vw, 2.15rem);
  line-height:1.08;
  color:#efe2cf;
  margin:0 0 18px;
  max-width:38rem
}
.hero-text{
  max-width:38rem;
  font-size:1.02rem;
  line-height:1.9;
  color:var(--muted);
  margin:0 0 28px
}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:28px}
.hero-meta{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.08)
}
.hero-meta div{display:grid;gap:4px}
.hero-meta span{font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}
.hero-meta strong{font-size:1rem;line-height:1.4}

.hero-stage{
  position:relative;
  min-height:800px;
  border-radius:38px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 50% 14%, rgba(202,165,106,.11), transparent 20%),
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.045), transparent 18%),
    linear-gradient(180deg, rgba(8,12,24,.98), rgba(8,8,10,.98));
  box-shadow:var(--shadow)
}
.hero-stage::before{
  content:"";position:absolute;inset:18px;border-radius:30px;border:1px solid rgba(255,255,255,.06);pointer-events:none
}
.hero-vignette{
  position:absolute;inset:0;
  background:radial-gradient(circle at 50% 40%, transparent 28%, rgba(0,0,0,.22) 64%, rgba(0,0,0,.44) 100%);
  pointer-events:none
}
.sanctum-frame{
  position:absolute;
  left:50%;
  top:34%;
  transform:translate(-50%,-50%);
  width:500px;
  height:580px;
  border:1px solid rgba(255,255,255,.08);
  border-top-left-radius:260px;
  border-top-right-radius:260px;
  border-bottom-left-radius:26px;
  border-bottom-right-radius:26px;
  box-shadow:
    0 0 0 1px rgba(202,165,106,.04) inset,
    0 0 52px rgba(202,165,106,.03)
}
.stage-lines span{
  position:absolute;background:rgba(255,255,255,.06);pointer-events:none
}
.stage-lines span:nth-child(1){left:50%;top:0;bottom:0;width:1px}
.stage-lines span:nth-child(2){top:38%;left:0;right:0;height:1px}
.stage-lines span:nth-child(3){left:18%;top:0;bottom:0;width:1px;opacity:.25}
.stage-lines span:nth-child(4){right:18%;top:0;bottom:0;width:1px;opacity:.25}

.altar{
  position:absolute;
  left:50%;
  top:25%;
  transform:translate(-50%,-50%);
  width:390px;
  height:390px;
  display:grid;
  place-items:center
}
.altar__arch{
  position:absolute;
  inset:14px 48px 42px;
  border:1px solid rgba(255,255,255,.08);
  border-top-left-radius:190px;
  border-top-right-radius:190px;
  border-bottom-left-radius:20px;
  border-bottom-right-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.02), transparent)
}
.altar__pedestal{
  position:absolute;
  bottom:4px;
  width:270px;
  height:24px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(255,255,255,.17), rgba(255,255,255,.02) 66%, transparent 74%);
}
.altar__plinth{
  position:absolute;
  bottom:30px;
  width:196px;
  height:96px;
  background:linear-gradient(180deg, rgba(28,30,40,.92), rgba(10,10,14,.98));
  clip-path:polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  border:1px solid rgba(255,255,255,.06)
}
.altar__sigil{
  position:absolute;
  top:22px;
  width:258px;
  height:258px;
  border-radius:50%;
  border:1px solid rgba(202,165,106,.18);
  box-shadow:0 0 0 18px rgba(202,165,106,.03), 0 0 0 52px rgba(255,255,255,.02);
  animation:slowSpin 32s linear infinite;
}
.altar__light{
  position:absolute;
  top:6px;
  width:300px;
  height:300px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(202,165,106,.22), rgba(74,20,29,.08) 48%, transparent 74%);
  filter:blur(26px);
  animation:glowPulse 4.8s ease-in-out infinite
}
.altar__halo{
  position:absolute;
  left:50%;
  top:36%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  border:1px solid rgba(202,165,106,.16)
}
.halo-1{width:238px;height:238px}
.halo-2{width:326px;height:326px;border-color:rgba(255,255,255,.08)}
.halo-3{width:420px;height:420px;border-color:rgba(255,255,255,.04)}

.watch-eye{
  --eye-x: 0px;
  --eye-y: 0px;
  position:absolute;
  top:10px;
  left:50%;
  transform:translateX(-50%);
  width:320px;
  height:170px;
  overflow:hidden;
  filter:drop-shadow(0 0 24px rgba(202,165,106,.20)) drop-shadow(0 0 68px rgba(74,20,29,.24));
}
.watch-eye__white{
  position:absolute;inset:0;border-radius:100px/64px;
  background:radial-gradient(circle at 50% 48%, rgba(255,248,236,.96), rgba(222,214,201,.92) 70%, rgba(170,162,154,.88) 100%);
  clip-path:polygon(0 50%, 8% 32%, 24% 16%, 50% 8%, 76% 16%, 92% 32%, 100% 50%, 92% 68%, 76% 84%, 50% 92%, 24% 84%, 8% 68%);
  overflow:hidden;
}
.watch-eye__iris{
  position:absolute;
  left:50%;
  top:50%;
  width:92px;
  height:92px;
  border-radius:50%;
  transform:translate(calc(-50% + var(--eye-x)), calc(-50% + var(--eye-y)));
  transition:transform .12s ease-out;
  background:
    radial-gradient(circle at 42% 40%, rgba(247,233,202,.78), transparent 16%),
    radial-gradient(circle at 50% 50%, rgba(202,165,106,.99), rgba(96,24,34,.94) 62%, rgba(26,10,12,.99) 100%);
  box-shadow:0 0 20px rgba(202,165,106,.22), inset 0 0 16px rgba(255,255,255,.15);
}
.watch-eye__pupil{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:28px;height:28px;border-radius:50%;background:#060607;
  box-shadow:0 0 0 6px rgba(26,10,12,.44)
}
.watch-eye__shine{
  position:absolute;right:14px;top:14px;width:13px;height:13px;border-radius:50%;background:rgba(255,255,255,.84)
}
.watch-eye__lid{
  position:absolute;
  left:-8%;
  width:116%;
  height:52%;
  pointer-events:none;
  z-index:4;
  background:
    radial-gradient(circle at 50% 120%, rgba(255,255,255,.06), transparent 36%),
    linear-gradient(180deg, rgba(11,12,18,.98), rgba(8,10,16,.98));
  box-shadow:0 0 18px rgba(0,0,0,.24);
}
.lid-top{
  top:-46%;
  border-bottom:3px solid rgba(255,255,255,.18);
  border-radius:0 0 56% 56% / 0 0 100% 100%;
  animation:blinkTop 8.6s ease-in-out infinite;
}
.lid-bottom{
  bottom:-46%;
  border-top:2px solid rgba(255,255,255,.08);
  border-radius:56% 56% 0 0 / 100% 100% 0 0;
}

.preview-connector{
  position:absolute;
  left:0;
  right:0;
  bottom:118px;
  width:100%;
  height:220px;
  pointer-events:none
}
.preview-connector path{
  fill:none;
  stroke:rgba(255,255,255,.18);
  stroke-width:1.6;
  stroke-linecap:round
}

.preview-node{
  position:absolute;display:flex;flex-direction:column;align-items:center;gap:10px;
  text-decoration:none;z-index:2;transition:transform .25s ease, filter .25s ease
}
.preview-node:hover{transform:translateY(-8px);filter:drop-shadow(0 0 12px rgba(202,165,106,.16))}
.preview-node img{
  height:108px;object-fit:contain;filter:drop-shadow(0 12px 24px rgba(0,0,0,.34));
  animation:floatSoft 7s ease-in-out infinite
}
.node-copy{display:grid;justify-items:center;gap:2px}
.node-copy strong{
  font-family:"Cormorant Garamond",serif;font-size:1.65rem;font-weight:600;
  padding:7px 16px;border-radius:999px;background:rgba(8,10,18,.52);backdrop-filter:blur(8px);
  letter-spacing:.01em; white-space:nowrap;
}
.node-dot{
  width:10px;height:10px;border-radius:50%;background:#efe7d9;box-shadow:0 0 0 6px rgba(255,255,255,.05)
}
.node-eli{left:8%;bottom:104px}
.node-jasmine{left:29%;bottom:48px}
.node-luther{right:29%;bottom:48px}
.node-cain{right:8%;bottom:104px}

.section{padding:88px 0}
.section-dark{
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  background:linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,.01));
  margin:0 -28px;padding-left:28px;padding-right:28px
}
.section-head{max-width:52rem;margin-bottom:28px}
.section-head h2{font-size:clamp(2.5rem, 4vw, 4rem);line-height:.92;margin-bottom:10px}
.section-note{margin:0;color:var(--muted);line-height:1.7}
.section-shell-split{display:grid;grid-template-columns:1.05fr .95fr;gap:24px;align-items:start}
.editorial-panel{
  position:relative;padding:28px;border:1px solid var(--line);border-radius:28px;
  background:
    radial-gradient(circle at 85% 18%, rgba(202,165,106,.07), transparent 18%),
    linear-gradient(180deg, rgba(18,18,22,.96), rgba(10,10,12,.98));
  box-shadow:var(--shadow)
}
.editorial-panel::before{
  content:"";position:absolute;left:22px;top:22px;bottom:22px;width:1px;background:rgba(255,255,255,.08)
}
.editorial-panel>*{margin-left:20px}
.editorial-kicker{margin:0 0 16px;color:var(--muted);letter-spacing:.22em;text-transform:uppercase;font-size:.7rem}
.editorial-panel blockquote{margin:0 0 18px;font-family:"Cormorant Garamond",serif;font-size:2rem;line-height:1.12}
.editorial-panel p{margin:0;color:var(--muted);line-height:1.75}

.reliquary-row{
  position:relative;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  align-items:end;
  padding:36px 0 10px
}
.reliquary-line{
  position:absolute;
  left:8%;
  right:8%;
  bottom:102px;
  height:1px;
  background:rgba(255,255,255,.18)
}
.reliquary-link{
  position:relative;
  display:grid;
  justify-items:center;
  gap:14px;
  text-decoration:none;
  min-height:270px;
  transition:transform .25s ease, filter .25s ease
}
.reliquary-link:hover{transform:translateY(-6px);filter:drop-shadow(0 0 12px rgba(202,165,106,.14))}
.reliquary-link::before{
  content:"";
  position:absolute;
  left:50%;
  top:120px;
  transform:translateX(-50%);
  width:1px;
  height:46px;
  background:rgba(255,255,255,.18)
}
.reliquary-link img{
  height:156px;
  object-fit:contain;
  filter:drop-shadow(0 16px 26px rgba(0,0,0,.34));
  animation:floatSoft 7s ease-in-out infinite
}
.reliquary-link span{
  font-family:"Cormorant Garamond",serif;
  font-size:1.84rem
}

.world-layout{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:18px}
.world-primary{grid-row:span 2}
.glass-card{
  border:1px solid var(--line);border-radius:24px;padding:22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)),
    rgba(10,10,14,.54);
  box-shadow:var(--shadow)
}
.glass-card h3{font-size:1.7rem;margin-bottom:10px}
.glass-card p{margin:0;color:var(--muted);line-height:1.75}

.funding-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}
.funding-main{
  border:1px solid var(--line);border-radius:30px;padding:28px;
  background:
    radial-gradient(circle at 80% 16%, rgba(202,165,106,.12), transparent 18%),
    linear-gradient(180deg, rgba(15,18,28,.96), rgba(12,12,14,.98));
  box-shadow:var(--shadow)
}
.funding-main h3{font-size:2.3rem;margin-bottom:10px}
.funding-main p{margin:0;color:var(--muted);line-height:1.75}
.progress-block{margin:22px 0}
.progress-copy{display:flex;justify-content:space-between;gap:18px;margin-bottom:10px;flex-wrap:wrap}
.progress-copy span{color:var(--muted)}
.progress-copy strong{font-size:1.1rem}
.progress-bar{height:12px;border-radius:999px;background:rgba(255,255,255,.06);overflow:hidden}
.progress-bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg, rgba(74,20,29,.95), rgba(202,165,106,.75))}
.funding-stack{display:grid;gap:18px}

.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.editable-card [contenteditable="true"]{outline:none}
.role-tag{
  display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04)
}

.gallery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.gallery-item{
  margin:0;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:rgba(255,255,255,.03);box-shadow:var(--shadow)
}
.gallery-item img{width:100%;height:460px;object-fit:cover;background:#111}
.gallery-item figcaption{padding:14px 16px;color:var(--muted)}

.contact-shell{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.inline-link{text-decoration:none;color:#f2efe8}
.site-footer{padding:22px 28px 38px;color:var(--muted);text-align:center}

@keyframes drift{
  0%{transform:translate3d(0,0,0)}
  100%{transform:translate3d(24px,-18px,0)}
}
@keyframes floatSoft{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}
@keyframes glowPulse{
  0%,100%{opacity:.65}
  50%{opacity:1}
}
@keyframes slowSpin{
  from{transform:rotate(0deg)}
  to{transform:rotate(360deg)}
}
  15%{transform:translate(-50%,-50%) translate(-7px,-2px)}
  35%{transform:translate(-50%,-50%) translate(8px,2px)}
  55%{transform:translate(-50%,-50%) translate(2px,5px)}
  75%{transform:translate(-50%,-50%) translate(-6px,1px)}
}

@media (max-width:1200px){
  .site-header{grid-template-columns:1fr;justify-items:start}
  .main-nav{justify-content:flex-start}
  .hero{grid-template-columns:1fr}
  .hero-stage{min-height:760px}
  .hero-meta,.team-grid,.contact-shell{grid-template-columns:repeat(2,1fr)}
  .world-layout,.funding-layout,.section-shell-split{grid-template-columns:1fr}
}
@media (max-width:900px){
  .preview-node img{height:92px}
  .node-copy strong{font-size:1.2rem}
  .node-eli{left:8%;bottom:104px}
  .node-jasmine{left:29%;bottom:48px}
  .node-luther{right:29%;bottom:48px}
  .node-cain{right:8%;bottom:104px}
}
@media (max-width:760px){
  .site-header{padding:16px 18px}
  main{padding:22px 18px 42px}
  .section-dark{margin:0 -18px;padding-left:18px;padding-right:18px}
  .hero-shell{padding-top:10px}
  .hero-rail{display:none}
  .hero-stage{min-height:860px}
  .sanctum-frame{width:88%;height:360px;top:23%}
  .altar{top:18%;width:100%}
  .watch-eye{width:210px;height:112px;top:42px}
  .preview-connector{bottom:148px;height:220px}
  .preview-node img{height:74px}
  .node-copy strong{font-size:1rem;padding:5px 10px}
  .node-eli{left:8%;bottom:104px}
  .node-jasmine{left:29%;bottom:48px}
  .node-luther{right:29%;bottom:48px}
  .node-cain{right:8%;bottom:104px}
  .hero-meta,.world-layout,.team-grid,.gallery-grid,.contact-shell,.funding-layout,.reliquary-row{grid-template-columns:1fr}
  .reliquary-line{display:none}
  .reliquary-link::before{display:none}
  .reliquary-link{min-height:unset;padding:16px 0}
  .gallery-item img{height:340px}
}



  46% { transform:skewX(6deg) translateY(-18px); }
}


@keyframes blinkTop{
  0%, 43%, 47%, 74%, 78%, 100% { top:-46%; }
  45% { top:-2%; }
  76% { top:-22%; }
}


.hero-meta-polished div{
  padding:12px 14px 10px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.hero-meta-polished strong{font-weight:600}


.altar-caption{
  position:absolute;
  bottom:112px;
  left:50%;
  transform:translateX(-50%);
  font-size:.64rem;
  letter-spacing:.26em;
  text-transform:uppercase;
  color:rgba(255,255,255,.54);
}


/* -------------------------------------------------
   STEP 2: WHOLE-SITE VISUAL LANGUAGE UNIFICATION
------------------------------------------------- */

.section-unified{
  position:relative;
}

.section-unified::before{
  content:"";
  position:absolute;
  left:28px;
  right:28px;
  top:24px;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(202,165,106,.18), transparent);
  pointer-events:none;
}

.section-unified::after{
  content:"";
  position:absolute;
  left:50%;
  top:18px;
  transform:translateX(-50%) rotate(45deg);
  width:12px;
  height:12px;
  border:1px solid rgba(202,165,106,.18);
  background:linear-gradient(135deg, rgba(202,165,106,.08), rgba(74,20,29,.04));
  pointer-events:none;
}

.section-dark{
  background:
    radial-gradient(circle at 18% 18%, rgba(74,20,29,.08), transparent 20%),
    radial-gradient(circle at 82% 18%, rgba(202,165,106,.05), transparent 16%),
    linear-gradient(180deg, rgba(255,255,255,.016), rgba(255,255,255,.01));
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.section-head{
  position:relative;
  max-width:54rem;
  margin-bottom:34px;
  padding-left:18px;
}

.section-head::before{
  content:"";
  position:absolute;
  left:0;
  top:2px;
  bottom:8px;
  width:1px;
  background:linear-gradient(180deg, rgba(202,165,106,.24), rgba(255,255,255,.06));
}

.section-head::after{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:56px;
  height:1px;
  background:linear-gradient(90deg, rgba(202,165,106,.44), transparent);
}

.section-head h2{
  letter-spacing:.01em;
}

.section-note{
  max-width:46rem;
}

.editorial-panel,
.glass-card,
.funding-main,
.gallery-item{
  position:relative;
  overflow:hidden;
}

.editorial-panel::after,
.glass-card::after,
.funding-main::after,
.gallery-item::after{
  content:"";
  position:absolute;
  inset:10px;
  border:1px solid rgba(255,255,255,.05);
  border-radius:inherit;
  pointer-events:none;
}

.editorial-panel::before,
.glass-card::before,
.funding-main::before{
  content:"";
  position:absolute;
  top:0;
  left:22px;
  right:22px;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(202,165,106,.18), transparent);
  pointer-events:none;
}

.glass-card{
  background:
    radial-gradient(circle at 82% 16%, rgba(202,165,106,.06), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)),
    rgba(10,10,14,.56);
  border-color:rgba(255,255,255,.08);
  box-shadow:
    0 26px 90px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.02);
}

.glass-card h3,
.funding-main h3{
  letter-spacing:.01em;
}

.world-primary{
  background:
    radial-gradient(circle at 78% 12%, rgba(202,165,106,.08), transparent 18%),
    radial-gradient(circle at 16% 84%, rgba(74,20,29,.08), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)),
    rgba(10,10,14,.56);
}

.funding-main{
  background:
    radial-gradient(circle at 80% 16%, rgba(202,165,106,.14), transparent 18%),
    radial-gradient(circle at 16% 88%, rgba(74,20,29,.10), transparent 22%),
    linear-gradient(180deg, rgba(15,18,28,.96), rgba(12,12,14,.98));
  border-color:rgba(255,255,255,.08);
}

.funding-main::before{
  left:26px;
  right:26px;
}

.progress-bar{
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03);
}

.team-grid .glass-card,
.contact-shell .glass-card{
  min-height:218px;
}

.role-tag{
  border-color:rgba(202,165,106,.18);
  background:
    linear-gradient(180deg, rgba(202,165,106,.09), rgba(202,165,106,.03)),
    rgba(255,255,255,.03);
  color:#eadfce;
}

.editable-card h3{
  margin-bottom:10px;
}

.gallery-item{
  background:
    radial-gradient(circle at 82% 14%, rgba(202,165,106,.06), transparent 18%),
    rgba(255,255,255,.03);
}

.gallery-item figcaption{
  position:relative;
  padding:16px 18px;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  letter-spacing:.02em;
}

.gallery-item figcaption::before{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  top:0;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(202,165,106,.18), transparent);
}

.reliquary-row{
  padding-top:42px;
}

.reliquary-line{
  background:linear-gradient(90deg, rgba(255,255,255,.04), rgba(202,165,106,.18), rgba(255,255,255,.04));
}

.reliquary-link span{
  letter-spacing:.01em;
}

.contact-shell .glass-card h3,
.team-grid .glass-card h3{
  font-size:1.72rem;
}

.inline-link{
  color:#efe4d2;
  text-decoration:none;
  border-bottom:1px solid rgba(202,165,106,.22);
}

.site-footer{
  position:relative;
  border-top:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,.006));
}

.site-footer::before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  transform:translate(-50%,-50%) rotate(45deg);
  width:12px;
  height:12px;
  border:1px solid rgba(202,165,106,.18);
  background:linear-gradient(135deg, rgba(202,165,106,.08), rgba(74,20,29,.04));
}

@media (max-width:760px){
  .section-unified::before{
    left:18px;
    right:18px;
  }
  .section-head{
    padding-left:14px;
  }
}


/* -------------------------------------------------
   STEP 3: PREMIUM MOTION PASS
------------------------------------------------- */

.hero-stage{
  --mx: 0px;
  --my: 0px;
}

.sanctum-frame{
  transition:transform .35s ease-out, box-shadow .35s ease-out;
}

.altar{
  transition:transform .35s ease-out;
}

.altar__light{
  animation:glowPulse 4.8s ease-in-out infinite, sanctumDrift 9s ease-in-out infinite;
}

.halo-1{ animation:haloPulse 7.4s ease-in-out infinite; }
.halo-2{ animation:haloPulse 10.2s ease-in-out infinite reverse; }
.halo-3{ animation:haloPulse 12.4s ease-in-out infinite; }

.preview-node,
.reliquary-link,
.glass-card,
.funding-main,
.gallery-item,
.editorial-panel{
  will-change:transform, opacity, filter;
}

.preview-node,
.reliquary-link{
  transition:
    transform .28s ease,
    filter .28s ease,
    opacity .28s ease;
}

.preview-node:hover,
.reliquary-link:hover{
  filter:drop-shadow(0 0 18px rgba(202,165,106,.18));
}

.glass-card,
.funding-main,
.gallery-item,
.editorial-panel{
  transition:
    transform .34s ease,
    box-shadow .34s ease,
    border-color .34s ease,
    background .34s ease;
}

.glass-card:hover,
.funding-main:hover,
.gallery-item:hover,
.editorial-panel:hover{
  transform:translateY(-4px);
  box-shadow:
    0 30px 96px rgba(0,0,0,.4),
    inset 0 1px 0 rgba(255,255,255,.03);
  border-color:rgba(202,165,106,.14);
}

.section-unified::after{
  animation:sectionGlyphPulse 7s ease-in-out infinite;
}

/* Scroll reveal system */
.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.2,.8,.2,1);
}

.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

.reveal-delay-1{ transition-delay:.08s; }
.reveal-delay-2{ transition-delay:.16s; }
.reveal-delay-3{ transition-delay:.24s; }
.reveal-delay-4{ transition-delay:.32s; }

@keyframes sanctumDrift{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-8px); }
}

@keyframes haloPulse{
  0%,100%{
    opacity:1;
    box-shadow:none;
  }
  50%{
    opacity:.7;
    box-shadow:0 0 26px rgba(202,165,106,.06);
  }
}

@keyframes sectionGlyphPulse{
  0%,100%{
    opacity:1;
    transform:translateX(-50%) rotate(45deg) scale(1);
  }
  50%{
    opacity:.72;
    transform:translateX(-50%) rotate(45deg) scale(1.14);
  }
}


/* -------------------------------------------------
   STEP 4: SPONSOR-FACING SECTION POLISH
------------------------------------------------- */

.pitch-proof-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:22px;
}

.pitch-proof-card{
  min-height:220px;
}

.funding-proof-grid{
  grid-template-columns:repeat(2, 1fr);
  margin-top:22px;
}

.funding-note-row{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
  margin:22px 0 20px;
}

.funding-note{
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)),
    rgba(8,10,16,.38);
}

.funding-note span{
  display:block;
  font-size:.7rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:6px;
}

.funding-note strong{
  line-height:1.45;
}

.team-status-strip{
  margin-top:22px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

.team-status-strip div{
  padding:16px 18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:
    radial-gradient(circle at 82% 14%, rgba(202,165,106,.05), transparent 16%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)),
    rgba(10,10,14,.5);
}

.team-status-strip span{
  display:block;
  font-size:.7rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:6px;
}

.contact-banner{
  margin-top:22px;
  padding:18px 20px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  background:
    radial-gradient(circle at 86% 18%, rgba(202,165,106,.06), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)),
    rgba(10,10,14,.54);
  box-shadow:0 20px 60px rgba(0,0,0,.24);
}

.contact-banner p{
  margin:10px 0 0;
  color:var(--muted);
  line-height:1.8;
}

@media (max-width:1200px){
  .pitch-proof-grid,
  .funding-proof-grid,
  .team-status-strip{
    grid-template-columns:1fr;
  }
}

@media (max-width:760px){
  .funding-note-row{
    grid-template-columns:1fr;
  }
}


/* -------------------------------------------------
   STEP 5: BRAND IDENTITY LAYER
------------------------------------------------- */

:root{
  --sigil-stroke: rgba(202,165,106,.22);
  --sigil-soft: rgba(255,255,255,.06);
}

.identity-strip{
  position:relative;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:18px;
  align-items:center;
  padding:18px 0 6px;
}

.identity-strip__line{
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(202,165,106,.18), transparent);
}

.identity-strip__content{
  display:flex;
  align-items:center;
  gap:14px;
  padding:10px 16px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)),
    rgba(10,10,14,.44);
  box-shadow:0 18px 48px rgba(0,0,0,.18);
}

.identity-chip{
  font-size:.68rem;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--muted);
}

.identity-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#efe4d2;
  box-shadow:0 0 0 5px rgba(255,255,255,.04);
}

.eyebrow{
  position:relative;
  display:inline-block;
  padding-left:24px;
}

.eyebrow::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%) rotate(45deg);
  width:10px;
  height:10px;
  border:1px solid rgba(202,165,106,.22);
  background:linear-gradient(135deg, rgba(202,165,106,.08), rgba(74,20,29,.04));
}

.panel-crest{
  position:absolute;
  top:18px;
  right:18px;
  width:34px;
  height:34px;
  border-radius:50%;
  border:1px solid var(--sigil-stroke);
  box-shadow:
    0 0 0 8px rgba(202,165,106,.025),
    inset 0 0 0 1px rgba(255,255,255,.02);
  pointer-events:none;
}

.panel-crest::before,
.panel-crest::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%) rotate(45deg);
}

.panel-crest::before{
  width:10px;
  height:10px;
  border:1px solid var(--sigil-stroke);
  background:linear-gradient(135deg, rgba(202,165,106,.08), rgba(74,20,29,.04));
}

.panel-crest::after{
  width:22px;
  height:22px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.05);
}

.archive-code{
  display:block;
  margin-bottom:6px;
  font-size:.62rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--muted);
}

.reliquary-link,
.character-card,
.glass-card,
.editorial-panel,
.funding-main,
.gallery-item{
  position:relative;
}

.reliquary-link::after,
.preview-node::after{
  content:"";
  position:absolute;
  width:18px;
  height:18px;
  border-radius:50%;
  border:1px solid rgba(202,165,106,.14);
  top:8px;
  right:4px;
  box-shadow:0 0 0 8px rgba(202,165,106,.018);
  opacity:.7;
}

.site-header{
  box-shadow:0 10px 36px rgba(0,0,0,.14);
}

.brand-mark{
  box-shadow:
    0 0 0 8px rgba(202,165,106,.03),
    inset 0 0 0 1px rgba(255,255,255,.03);
}

.footer-sigil{
  margin:0 auto 14px;
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid var(--sigil-stroke);
  box-shadow:
    0 0 0 10px rgba(202,165,106,.02),
    inset 0 0 0 1px rgba(255,255,255,.02);
  position:relative;
}

.footer-sigil::before,
.footer-sigil::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%) rotate(45deg);
}

.footer-sigil::before{
  width:12px;
  height:12px;
  border:1px solid var(--sigil-stroke);
  background:linear-gradient(135deg, rgba(202,165,106,.08), rgba(74,20,29,.04));
}

.footer-sigil::after{
  width:28px;
  height:28px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.05);
}

@media (max-width:760px){
  .identity-strip{
    grid-template-columns:1fr;
    gap:10px;
  }
  .identity-strip__line:first-child,
  .identity-strip__line:last-child{
    display:none;
  }
  .identity-strip__content{
    flex-wrap:wrap;
    justify-content:center;
  }
}


/* -------------------------------------------------
   HOTFIX: HERO CHARACTER CLUSTER READABILITY
------------------------------------------------- */

.preview-node{
  width:148px;
  z-index:6;
  text-align:center;
}

.preview-node::after{
  content:none !important;
}

.preview-node img{
  height:106px;
}

.node-copy{
  width:100%;
}

.node-copy strong{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:92px;
  font-size:1.34rem;
  padding:6px 10px;
  background:rgba(8,10,18,.28);
  border:1px solid rgba(255,255,255,.06);
  box-shadow:0 8px 20px rgba(0,0,0,.18);
}

.preview-connector{
  bottom:146px;
}

.node-eli{
  left:10%;
  bottom:124px;
}
.node-jasmine{
  left:33%;
  bottom:70px;
}
.node-luther{
  right:33%;
  bottom:70px;
}
.node-cain{
  right:10%;
  bottom:124px;
}

@media (max-width:900px){
  .preview-node{
    width:124px;
  }
  .node-copy strong{
    min-width:78px;
    font-size:1.14rem;
    padding:5px 9px;
  }
  .preview-connector{
    bottom:156px;
  }
  .node-eli{left:7%; bottom:138px;}
  .node-jasmine{left:25%; bottom:92px;}
  .node-luther{right:25%; bottom:92px;}
  .node-cain{right:7%; bottom:138px;}
}

@media (max-width:760px){
  .preview-node{
    width:98px;
  }
  .preview-node img{
    height:66px;
  }
  .node-copy strong{
    min-width:64px;
    font-size:.92rem;
    padding:4px 8px;
  }
  .preview-connector{
    bottom:174px;
    height:200px;
  }
  .node-eli{left:4%; bottom:182px;}
  .node-jasmine{left:20%; bottom:132px;}
  .node-luther{right:20%; bottom:132px;}
  .node-cain{right:4%; bottom:182px;}
}


/* -------------------------------------------------
   HOTFIX v21: CLEAN HERO TOP CLUSTER
------------------------------------------------- */

.hero-stage .preview-node{
  width:136px !important;
  text-align:center !important;
  gap:8px !important;
  z-index:7 !important;
  transform:none !important;
}

.hero-stage .preview-node::after{
  content:none !important;
}

.hero-stage .preview-node img{
  height:96px !important;
  object-fit:contain !important;
}

.hero-stage .node-copy{
  width:100% !important;
}

.hero-stage .node-copy strong{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:82px !important;
  max-width:100% !important;
  font-size:1.22rem !important;
  line-height:1 !important;
  padding:6px 10px !important;
  border-radius:999px !important;
  white-space:nowrap !important;
  background:rgba(8,10,18,.30) !important;
  border:1px solid rgba(255,255,255,.06) !important;
  box-shadow:0 8px 20px rgba(0,0,0,.18) !important;
}

.hero-stage .node-dot{
  width:10px !important;
  height:10px !important;
}

.hero-stage .preview-connector{
  bottom:128px !important;
  height:210px !important;
}

.hero-stage .node-eli{
  left:9% !important;
  bottom:112px !important;
}
.hero-stage .node-jasmine{
  left:31% !important;
  bottom:58px !important;
}
.hero-stage .node-luther{
  right:31% !important;
  bottom:58px !important;
}
.hero-stage .node-cain{
  right:9% !important;
  bottom:112px !important;
}

@media (max-width:900px){
  .hero-stage .preview-node{
    width:116px !important;
  }
  .hero-stage .preview-node img{
    height:84px !important;
  }
  .hero-stage .node-copy strong{
    min-width:72px !important;
    font-size:1.02rem !important;
    padding:5px 8px !important;
  }
  .hero-stage .preview-connector{
    bottom:144px !important;
    height:204px !important;
  }
  .hero-stage .node-eli{left:8% !important; bottom:126px !important;}
  .hero-stage .node-jasmine{left:26% !important; bottom:82px !important;}
  .hero-stage .node-luther{right:26% !important; bottom:82px !important;}
  .hero-stage .node-cain{right:8% !important; bottom:126px !important;}
}

@media (max-width:760px){
  .hero-stage .preview-node{
    width:92px !important;
  }
  .hero-stage .preview-node img{
    height:62px !important;
  }
  .hero-stage .node-copy strong{
    min-width:58px !important;
    font-size:.88rem !important;
    padding:4px 7px !important;
  }
  .hero-stage .preview-connector{
    bottom:172px !important;
    height:190px !important;
  }
  .hero-stage .node-eli{left:4% !important; bottom:172px !important;}
  .hero-stage .node-jasmine{left:21% !important; bottom:126px !important;}
  .hero-stage .node-luther{right:21% !important; bottom:126px !important;}
  .hero-stage .node-cain{right:4% !important; bottom:172px !important;}
}


/* -------------------------------------------------
   HOTFIX v22: HERO NODES MUST STAY ABSOLUTE
------------------------------------------------- */

.hero-stage .preview-node{
  position:absolute !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
}

.hero-stage .preview-node img{
  display:block !important;
}

.hero-stage .node-copy{
  position:relative !important;
  z-index:8 !important;
}

.hero-stage .node-dot{
  position:relative !important;
  z-index:8 !important;
}


/* -------------------------------------------------
   STEP 6: FINAL POLISH PASS
------------------------------------------------- */

html{
  scroll-padding-top: 96px;
}

body{
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-header{
  background:rgba(8,8,10,.82);
  box-shadow:
    0 14px 36px rgba(0,0,0,.18),
    inset 0 -1px 0 rgba(255,255,255,.04);
}

.main-nav a,
.cta-link,
.btn,
.inline-link,
.preview-node,
.reliquary-link{
  transition:
    color .22s ease,
    background .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    transform .22s ease,
    opacity .22s ease,
    filter .22s ease;
}

.main-nav a:hover{
  color:#f0e7da;
  text-shadow:0 0 12px rgba(202,165,106,.12);
}

.main-nav a:focus-visible,
.cta-link:focus-visible,
.btn:focus-visible,
.inline-link:focus-visible,
.preview-node:focus-visible,
.reliquary-link:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 1px rgba(202,165,106,.32),
    0 0 0 6px rgba(202,165,106,.08);
  border-radius:999px;
}

.hero-text,
.section-note,
.editorial-panel p,
.glass-card p,
.funding-main p,
.contact-banner p{
  max-width: 66ch;
}

.hero-subtitle{
  max-width: 18ch;
}

.hero-copy .btn,
.funding-main .btn{
  min-height: 46px;
}

.btn-primary,
.cta-link{
  box-shadow:0 10px 30px rgba(74,20,29,.18);
}

.btn-primary:hover,
.cta-link:hover{
  transform:translateY(-1px);
}

.identity-strip{
  padding-top:12px;
  padding-bottom:2px;
}

.identity-strip__content{
  border-color:rgba(255,255,255,.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.012)),
    rgba(10,10,14,.42);
}

.identity-chip{
  color:#d7cebf;
}

.section{
  padding-top:96px;
  padding-bottom:96px;
}

.section-head{
  margin-bottom:38px;
}

.section-head h2{
  max-width: 16ch;
}

.world-layout,
.funding-layout,
.team-grid,
.contact-shell,
.pitch-proof-grid,
.gallery-grid{
  align-items:stretch;
}

.glass-card,
.funding-main,
.editorial-panel,
.contact-banner{
  backdrop-filter: blur(12px);
}

.glass-card,
.funding-main{
  border-color:rgba(255,255,255,.075);
}

.glass-card:hover,
.funding-main:hover,
.gallery-item:hover,
.editorial-panel:hover{
  transform:translateY(-3px);
}

.pitch-proof-card,
.team-grid .glass-card,
.contact-shell .glass-card{
  min-height:232px;
}

.world-primary{
  min-height:100%;
}

.reliquary-link img,
.preview-node img,
.gallery-item img{
  transform-origin:center;
}

.gallery-item{
  isolation:isolate;
}

.gallery-item img{
  transition:transform .55s ease, filter .55s ease;
}

.gallery-item:hover img{
  transform:scale(1.02);
  filter:saturate(1.03);
}

.archive-code{
  color:#d1c3ae;
}

.panel-crest,
.footer-sigil{
  opacity:.86;
}

.site-footer{
  padding-top:30px;
  padding-bottom:42px;
}

.site-footer p{
  max-width:56ch;
  margin:0 auto;
}

[contenteditable="true"]{
  border-radius:10px;
}

[contenteditable="true"]:focus{
  outline:none;
  background:rgba(255,255,255,.03);
  box-shadow:0 0 0 1px rgba(202,165,106,.16);
}

@media (max-width:1200px){
  .section-head h2{
    max-width:20ch;
  }
}

@media (max-width:760px){
  html{
    scroll-padding-top: 82px;
  }

  .section{
    padding-top:82px;
    padding-bottom:82px;
  }

  .section-head h2,
  .hero-subtitle{
    max-width:none;
  }

  .pitch-proof-card,
  .team-grid .glass-card,
  .contact-shell .glass-card{
    min-height:auto;
  }
}

@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}
