/* ========================================================================
   THE CATHEDRAL — Portal splash
   Ceremonial · minimal · sovereign · 432Hz gold
   ======================================================================== */

:root {
  --bg:        #06080d;
  --text:      #f5e6d3;
  --text-soft: #c9b8a3;
  --muted:     #6b6b7a;
  --gold:      #d4a947;
  --gold-hi:   #e8c46e;
  --gold-lo:   #8b6f2a;
  --maat:      #3668b5;

  --f-serif: 'Playfair Display','Georgia',serif;
  --f-mono:  'JetBrains Mono','Menlo','Consolas',monospace;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;height:100%}
html{background:var(--bg)}
body{
  background:
    radial-gradient(ellipse at 50% 35%,rgba(212,169,71,.14) 0%,transparent 55%),
    radial-gradient(ellipse at 50% 120%,rgba(54,104,181,.08) 0%,transparent 60%),
    var(--bg);
  color:var(--text);
  font-family:var(--f-serif);
  -webkit-font-smoothing:antialiased;
  min-height:100vh;
  overflow-x:hidden;
}

/* ============ PORTAL ============ */
.portal{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:40px 24px 80px;
  position:relative;
}

.portal-glyph{
  width:clamp(280px,40vw,480px);
  max-width:100%;
  margin-bottom:32px;
  animation:portalPulse 4s ease-in-out infinite;
  will-change:transform,filter;
  user-select:none;
  line-height:0;
}

.sankofa-img{
  width:100%;
  height:auto;
  display:block;
  border-radius:8px;
  filter:drop-shadow(0 0 60px rgba(212,169,71,.35));
}

@keyframes portalPulse{
  0%,100%{
    filter:drop-shadow(0 0 40px rgba(212,169,71,.3)) drop-shadow(0 0 12px rgba(212,169,71,.2));
    transform:scale(1);
  }
  50%{
    filter:drop-shadow(0 0 80px rgba(212,169,71,.6)) drop-shadow(0 0 24px rgba(212,169,71,.35));
    transform:scale(1.02);
  }
}

.portal-title{
  font-family:var(--f-serif);
  font-size:clamp(48px,7vw,96px);
  font-weight:900;
  letter-spacing:-.03em;
  line-height:1;
  margin:0 0 24px;
  color:var(--text);
}

.portal-sub{
  font-family:var(--f-serif);
  font-style:italic;
  font-size:clamp(15px,1.6vw,19px);
  color:var(--text-soft);
  max-width:560px;
  line-height:1.6;
  margin:0 0 56px;
  font-weight:400;
}

.portal-cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:18px 36px;
  background:linear-gradient(135deg,var(--gold) 0%,var(--gold-hi) 100%);
  color:var(--bg);
  font-family:var(--f-mono);
  font-weight:500;
  font-size:14px;
  letter-spacing:.05em;
  text-decoration:none;
  border-radius:100px;
  box-shadow:0 14px 50px rgba(212,169,71,.35),0 2px 8px rgba(0,0,0,.3);
  transition:transform .25s ease,box-shadow .25s ease;
  will-change:transform,box-shadow;
}

.portal-cta:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 60px rgba(212,169,71,.55),0 4px 12px rgba(0,0,0,.35);
}

.portal-cta:focus-visible{
  outline:2px solid var(--gold-hi);
  outline-offset:4px;
}

.portal-cta:active{
  transform:translateY(-1px);
}

/* ============ META FOOTER ============ */
.portal-meta{
  position:absolute;
  bottom:40px;
  left:50%;
  transform:translateX(-50%);
  font-family:var(--f-mono);
  font-size:10px;
  letter-spacing:.28em;
  color:var(--muted);
  text-transform:uppercase;
  display:flex;
  gap:12px;
  align-items:center;
  white-space:nowrap;
}

.portal-meta .dot{
  color:var(--gold-lo);
  font-size:14px;
  line-height:1;
}

/* ============ MOTION PREFERENCES ============ */
@media (prefers-reduced-motion: reduce){
  .portal-glyph{animation:none;text-shadow:0 0 80px rgba(212,169,71,.5)}
  .portal-cta{transition:none}
}

/* ============ SMALL SCREENS ============ */
@media (max-width:640px){
  .portal{padding:32px 20px 100px}
  .portal-sub{margin-bottom:44px}
  .portal-meta{
    bottom:28px;
    font-size:9px;
    letter-spacing:.22em;
    padding:0 16px;
    flex-wrap:wrap;
    justify-content:center;
  }
  .portal-meta .dot{display:none}
  .portal-meta span{margin:0 6px}
}

/* ============ SELECTION ============ */
::selection{background:var(--gold);color:var(--bg)}
